Class DeleteTemplateDataSourceVisualAction
- java.lang.Object
-
- org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualAction<com.vaadin.flow.component.dialog.Dialog>
-
- org.neotropic.kuwaiba.modules.commercial.sync.actions.DeleteTemplateDataSourceVisualAction
-
- All Implemented Interfaces:
Comparable<AbstractVisualAction>
@Component public class DeleteTemplateDataSourceVisualAction extends AbstractVisualAction<com.vaadin.flow.component.dialog.Dialog>
Visual wrapper of delete a data source template- Author:
- Hardy Ryan Chingal Martinez <ryan.chingal@neotropic.co>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualAction
AbstractVisualAction.VisualActionType
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAM_COMMANDCLOSE
Parameter command close.static String
PARAM_EXCEPTION
Parameter exception.static String
PARAM_TEMPLATE_DATA_SOURCE
Parameter, template data source configuration.-
Fields inherited from class org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualAction
childrenActions, formatOptions, icon, listeners, moduleId, type
-
-
Constructor Summary
Constructors Constructor Description DeleteTemplateDataSourceVisualAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.flow.server.Command
getCommandClose()
refresh gridAbstractAction
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
setCommandClose(com.vaadin.flow.server.Command commandClose)
-
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
-
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.
-
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.
-
getCommandClose
public com.vaadin.flow.server.Command getCommandClose()
refresh grid- Returns:
- commandClose;Command; refresh action
-
setCommandClose
public void setCommandClose(com.vaadin.flow.server.Command commandClose)
- Parameters:
commandClose
- ;Command; refresh action
-
-