Class ContainerComboBoxSection<T,V>
java.lang.Object
com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
com.amalgamasimulation.desktop.ui.editor.sections.ComboBoxSection<V>
com.amalgamasimulation.desktop.ui.editor.sections.ContainerComboBoxSection<T,V>
- All Implemented Interfaces:
IComboBoxSection<V>,ILabelSection,ISection
- Direct Known Subclasses:
EmfComboBoxSection
-
Field Summary
Fields inherited from class com.amalgamasimulation.desktop.ui.editor.sections.ComboBoxSection
buttons, comboboxDataBinding, internalComboBox, internalLabelFields inherited from class com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
compositeForSection, elements, eventBroker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InternalButtoncreateButton(IButtonProperties buttonProperties) voidvoidbooleanReturns whether the section is enabled for the current container object.booleanReturns whether the section is visible for the current container object.voidMakes the section callSection.updateSection()when the object in the container changes.voidMethods inherited from class com.amalgamasimulation.desktop.ui.editor.sections.ComboBoxSection
addButton, addButton, comboBoxProperties, getColumnCount, getMeasuredLabelWidth, isAlignmentSkipped, labelProperties, labelWidthMethods inherited from class com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
dispose, enabled, getCompositeSection, moveBelow, setEventBroker, setParent, updateEnabled, updateSection, updateVisible, visibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.amalgamasimulation.desktop.ui.editor.common.ISection
dispose, updateEnabled, updateSection, updateVisible
-
Constructor Details
-
ContainerComboBoxSection
public ContainerComboBoxSection()
-
-
Method Details
-
createSection
public void createSection()- Overrides:
createSectionin classcom.amalgamasimulation.desktop.ui.editor.sections.internal.Section
-
updateOnContainerChange
public void updateOnContainerChange()Makes the section callSection.updateSection()when the object in the container changes. -
createButton
- Overrides:
createButtonin classComboBoxSection<V>
-
getDataBinding
- Overrides:
getDataBindingin classComboBoxSection<V>
-
isVisible
public boolean isVisible()Description copied from interface:ISectionReturns whether the section is visible for the current container object. -
isEnabled
public boolean isEnabled()Description copied from interface:ISectionReturns whether the section is enabled for the current container object. -
visible
-
enabled
-