Class ArtifactEditorDialog
- java.lang.Object
-
- org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualAction<com.vaadin.flow.component.dialog.Dialog>
-
- com.neotropic.kuwaiba.modules.commercial.processman.components.ArtifactEditorDialog
-
- All Implemented Interfaces:
Comparable<AbstractVisualAction>,ActionCompletedListener
@Component public class ArtifactEditorDialog extends AbstractVisualAction<com.vaadin.flow.component.dialog.Dialog> implements ActionCompletedListener
Manage artifacts, add or remove items.- Author:
- Mauricio Ruiz Beltrán <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 ArtifactEditorDialog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionCompleted(ActionCompletedListener.ActionCompletedEvent ev)Notifies that a module action has been completed.voidclearListeners()byte[]getAsXML(com.vaadin.flow.component.orderedlayout.VerticalLayout layout)Get the current form as a byte array with the XML document.AbstractActiongetModuleAction()The underlying action wrapped by this visual object.com.vaadin.flow.component.dialog.DialoggetVisualComponent(ModuleActionParameterSet parameters)The visual component (a XXLayout, for example), to be embedded in a Dialog upon triggering the action.-
Methods inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualAction
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:ActionCompletedListenerNotifies that a module action has been completed.- Specified by:
actionCompletedin interfaceActionCompletedListener
-
clearListeners
public void clearListeners()
- Overrides:
clearListenersin classAbstractVisualAction<com.vaadin.flow.component.dialog.Dialog>
-
getVisualComponent
public com.vaadin.flow.component.dialog.Dialog getVisualComponent(ModuleActionParameterSet parameters)
Description copied from class:AbstractVisualActionThe visual component (a XXLayout, for example), to be embedded in a Dialog upon triggering the action.- Specified by:
getVisualComponentin 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.
-
getModuleAction
public AbstractAction getModuleAction()
Description copied from class:AbstractVisualActionThe underlying action wrapped by this visual object.- Specified by:
getModuleActionin classAbstractVisualAction<com.vaadin.flow.component.dialog.Dialog>- Returns:
- The action.
-
getAsXML
public byte[] getAsXML(com.vaadin.flow.component.orderedlayout.VerticalLayout layout)
Get the current form as a byte array with the XML document.- Parameters:
layout- Contains the elements.- Returns:
- The byte array with the form.
-
-