Class ProjectActivityDialog
- java.lang.Object
-
- org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualAction<com.vaadin.flow.component.dialog.Dialog>
-
- com.neotropic.kuwaiba.modules.commercial.planning.projects.components.ProjectActivityDialog
-
- All Implemented Interfaces:
Comparable<AbstractVisualAction>
,ActionCompletedListener
,PropertySheet.IPropertyValueChangedListener
@CssImport("./css/poolConfigurationDialog.css") @Component public class ProjectActivityDialog extends AbstractVisualAction<com.vaadin.flow.component.dialog.Dialog> implements ActionCompletedListener, PropertySheet.IPropertyValueChangedListener
Visual wrapper of manage project activity action.- Author:
- Mauricio Ruiz <mauricio.ruiz@kuwaiba.org>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualAction
AbstractVisualAction.VisualActionType
-
Nested classes/interfaces inherited from interface org.neotropic.kuwaiba.core.apis.integration.modules.actions.ActionCompletedListener
ActionCompletedListener.ActionCompletedEvent
-
-
Field Summary
-
Fields inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualAction
childrenActions, formatOptions, icon, listeners, moduleId, type
-
-
Constructor Summary
Constructors Constructor Description ProjectActivityDialog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionCompleted(ActionCompletedListener.ActionCompletedEvent ev)
Notifies that a module action has been completed.void
freeResources(com.vaadin.flow.component.DetachEvent ev)
AbstractAction
getModuleAction()
The underlying action wrapped by this visual object.com.vaadin.flow.component.dialog.Dialog
getVisualComponent(ModuleActionParameterSet parameters)
The visual component (a XXLayout, for example), to be embedded in a Dialog upon triggering the action.void
updatePropertyChanged(AbstractProperty<? extends Object> property)
-
Methods inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualAction
clearListeners, compareTo, fireActionCompletedEvent, getChildrenActions, getFormatOptions, getIcon, getModuleId, registerActionCompletedLister, setChildrenActions, setFormatOptions, setIcon, setModuleId, unregisterListener
-
-
-
-
Method Detail
-
actionCompleted
public void actionCompleted(ActionCompletedListener.ActionCompletedEvent ev)
Description copied from interface:ActionCompletedListener
Notifies that a module action has been completed.- Specified by:
actionCompleted
in interfaceActionCompletedListener
-
freeResources
public void freeResources(com.vaadin.flow.component.DetachEvent ev)
-
getVisualComponent
public com.vaadin.flow.component.dialog.Dialog getVisualComponent(ModuleActionParameterSet parameters)
Description copied from class:AbstractVisualAction
The visual component (a XXLayout, for example), to be embedded in a Dialog upon triggering the action.- Specified by:
getVisualComponent
in classAbstractVisualAction<com.vaadin.flow.component.dialog.Dialog>
- Parameters:
parameters
- The initial parameters necessary to build the visual component. Some or all these parameters might be later passed to the underlyingAbstractAction
.- Returns:
- The visual component.
-
updatePropertyChanged
public void updatePropertyChanged(AbstractProperty<? extends Object> property)
- Specified by:
updatePropertyChanged
in interfacePropertySheet.IPropertyValueChangedListener
-
getModuleAction
public AbstractAction getModuleAction()
Description copied from class:AbstractVisualAction
The underlying action wrapped by this visual object.- Specified by:
getModuleAction
in classAbstractVisualAction<com.vaadin.flow.component.dialog.Dialog>
- Returns:
- The action.
-
-