Class WindowNewContainer
- 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
-
- com.vaadin.componentfactory.EnhancedDialog
-
- org.neotropic.util.visual.dialog.ConfirmDialog
-
- com.neotropic.kuwaiba.modules.commercial.ospman.dialogs.WindowNewContainer
-
- 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
,com.vaadin.flow.component.HasTheme
,Serializable
public class WindowNewContainer extends ConfirmDialog
Dialog to create a new container connection.- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description BusinessEntityManager
bem
Reference to the Business Entity ManagerMetadataEntityManager
mem
Reference to the Metadata Entity ManagerBusinessObjectLight
source
Source LocationBusinessObjectLight
target
Target LocationTranslationService
ts
Reference to the Translation Service
-
Constructor Summary
Constructors Constructor Description WindowNewContainer(BusinessObjectLight source, BusinessObjectLight target, TranslationService ts, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, PhysicalConnectionsService physicalConnectionService, Consumer<BusinessObjectLight> containerConsumer, Runnable callbackCancel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GridLayout
getCrateContainerContent(com.vaadin.flow.component.textfield.TextField txtName, com.vaadin.flow.component.combobox.ComboBox cmbClass, com.vaadin.flow.component.combobox.ComboBox cmbTemplate)
GridLayout
getSelectContainerContent(com.vaadin.flow.component.combobox.ComboBox cmbContainer)
void
init()
void
open()
-
Methods inherited from class org.neotropic.util.visual.dialog.ConfirmDialog
getBtnCancel, getBtnConfirm, setContentSizeFull, setEnableBtnConfirm, setHeader
-
Methods inherited from class com.vaadin.componentfactory.EnhancedDialog
add, addComponentAtIndex, addThemeVariants, addToFooter, addToHeader, remove, removeAll, setContent, setFooter, setHeader, setThemeVariants
-
Methods inherited from class com.vaadin.flow.component.dialog.Dialog
addAttachListener, addDetachListener, addDialogCloseActionListener, addOpenedChangeListener, addResizeListener, addThemeVariants, close, getChildren, getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, isCloseOnEsc, isCloseOnOutsideClick, isDraggable, isModal, isOpened, isResizable, onAttach, removeThemeVariants, 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, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
source
public final BusinessObjectLight source
Source Location
-
target
public final BusinessObjectLight target
Target Location
-
bem
public final BusinessEntityManager bem
Reference to the Business Entity Manager
-
mem
public final MetadataEntityManager mem
Reference to the Metadata Entity Manager
-
ts
public final TranslationService ts
Reference to the Translation Service
-
-
Constructor Detail
-
WindowNewContainer
public WindowNewContainer(BusinessObjectLight source, BusinessObjectLight target, TranslationService ts, ApplicationEntityManager aem, BusinessEntityManager bem, MetadataEntityManager mem, PhysicalConnectionsService physicalConnectionService, Consumer<BusinessObjectLight> containerConsumer, Runnable callbackCancel)
-
-
Method Detail
-
open
public void open()
- Overrides:
open
in classcom.vaadin.flow.component.dialog.Dialog
-
init
public void init() throws InventoryException
- Throws:
InventoryException
-
getCrateContainerContent
public GridLayout getCrateContainerContent(com.vaadin.flow.component.textfield.TextField txtName, com.vaadin.flow.component.combobox.ComboBox cmbClass, com.vaadin.flow.component.combobox.ComboBox cmbTemplate)
-
getSelectContainerContent
public GridLayout getSelectContainerContent(com.vaadin.flow.component.combobox.ComboBox cmbContainer)
-
-