Class AbstractConfigurationDialog
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.dialog.GeneratedVaadinDialog<com.vaadin.flow.component.dialog.Dialog>
-
- com.vaadin.flow.component.dialog.Dialog
-
- org.ikasan.dashboard.ui.general.component.AbstractCloseableResizableDialog
-
- org.ikasan.dashboard.ui.general.component.AbstractConfigurationDialog
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasSize,java.io.Serializable
- Direct Known Subclasses:
ComponentConfigurationDialog,FlowConfigurationDialog,InvokerConfigurationDialog
public abstract class AbstractConfigurationDialog extends AbstractCloseableResizableDialog
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected com.vaadin.componentfactory.TooltipaddListItemButtonTooltipprotected com.vaadin.componentfactory.TooltipaddMapItemButtonTooltipprotected java.lang.StringcomponentNameprotected org.ikasan.spec.metadata.ConfigurationMetaData<java.util.List<org.ikasan.spec.metadata.ConfigurationParameterMetaData>>configurationMetaDataprotected org.ikasan.spec.module.client.ConfigurationServiceconfigurationRestServiceprotected com.vaadin.flow.component.button.ButtondownloadButtonprotected com.vaadin.componentfactory.TooltipdownloadButtonTooltipprotected java.lang.StringflowNameprotected booleanloadedConfigurationprotected Modulemoduleprotected java.util.Map<org.ikasan.spec.metadata.ConfigurationParameterMetaData,java.lang.Object>parameterMetaDataComponentMapprotected java.util.List<com.vaadin.componentfactory.Tooltip>removeListItemButtonTooltipsprotected java.util.List<com.vaadin.componentfactory.Tooltip>removeMapItemButtonTooltips-
Fields inherited from class org.ikasan.dashboard.ui.general.component.AbstractCloseableResizableDialog
content, DOCK, FULLSCREEN, title
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractConfigurationDialog(Module module, java.lang.String flowName, java.lang.String componentName, org.ikasan.spec.module.client.ConfigurationService configurationRestService)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract booleanloadConfigurationMetaData()Abstract method responsible for loading the configuration metadata.protected voidonAttach(com.vaadin.flow.component.AttachEvent attachEvent)voidopen()protected voidsave()-
Methods inherited from class com.vaadin.flow.component.dialog.Dialog
add, addAttachListener, addComponentAtIndex, addDetachListener, addDialogCloseActionListener, addOpenedChangeListener, addResizeListener, close, getChildren, getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, isCloseOnEsc, isCloseOnOutsideClick, isDraggable, isModal, isOpened, isResizable, remove, removeAll, setCloseOnEsc, setCloseOnOutsideClick, setDraggable, setHeight, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setModal, setOpened, setResizable, setWidth
-
Methods inherited from class com.vaadin.flow.component.dialog.GeneratedVaadinDialog
getAriaLabelString, isOpenedBoolean, setAriaLabel
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
-
-
-
Field Detail
-
configurationRestService
protected org.ikasan.spec.module.client.ConfigurationService configurationRestService
-
configurationMetaData
protected org.ikasan.spec.metadata.ConfigurationMetaData<java.util.List<org.ikasan.spec.metadata.ConfigurationParameterMetaData>> configurationMetaData
-
module
protected Module module
-
flowName
protected java.lang.String flowName
-
componentName
protected java.lang.String componentName
-
downloadButton
protected com.vaadin.flow.component.button.Button downloadButton
-
downloadButtonTooltip
protected com.vaadin.componentfactory.Tooltip downloadButtonTooltip
-
addMapItemButtonTooltip
protected com.vaadin.componentfactory.Tooltip addMapItemButtonTooltip
-
removeMapItemButtonTooltips
protected java.util.List<com.vaadin.componentfactory.Tooltip> removeMapItemButtonTooltips
-
addListItemButtonTooltip
protected com.vaadin.componentfactory.Tooltip addListItemButtonTooltip
-
removeListItemButtonTooltips
protected java.util.List<com.vaadin.componentfactory.Tooltip> removeListItemButtonTooltips
-
parameterMetaDataComponentMap
protected java.util.Map<org.ikasan.spec.metadata.ConfigurationParameterMetaData,java.lang.Object> parameterMetaDataComponentMap
-
loadedConfiguration
protected boolean loadedConfiguration
-
-
Constructor Detail
-
AbstractConfigurationDialog
protected AbstractConfigurationDialog(Module module, java.lang.String flowName, java.lang.String componentName, org.ikasan.spec.module.client.ConfigurationService configurationRestService)
-
-
Method Detail
-
open
public void open()
- Overrides:
openin classcom.vaadin.flow.component.dialog.Dialog
-
save
protected void save()
-
loadConfigurationMetaData
protected abstract boolean loadConfigurationMetaData()
Abstract method responsible for loading the configuration metadata.- Returns:
-
onAttach
protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
- Overrides:
onAttachin classcom.vaadin.flow.component.Component
-
-