Class ContainerTextSection<T,V>
java.lang.Object
com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
com.amalgamasimulation.desktop.ui.editor.sections.TextSection<V>
com.amalgamasimulation.desktop.ui.editor.sections.ContainerTextSection<T,V>
- All Implemented Interfaces:
ILabelSection,ISection,ITextSection<V>
- Direct Known Subclasses:
EmfTextSection,EmfViewSection
-
Field Summary
Fields inherited from class com.amalgamasimulation.desktop.ui.editor.sections.TextSection
buttons, internalLabel, internalText, textDataBindingFields 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.TextSection
addButton, addButton, getColumnCount, getMeasuredLabelWidth, getText, isAlignmentSkipped, labelProperties, labelWidth, textProperties, updateEnabledMethods inherited from class com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
dispose, enabled, getCompositeSection, isPageEnabled, moveBelow, pageEnabled, pageVisible, setChangeNotifier, setEventBroker, setParent, 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, updateSection, updateVisible
-
Constructor Details
-
ContainerTextSection
public ContainerTextSection()
-
-
Method Details
-
getDataBinding
- Overrides:
getDataBindingin classTextSection<V>
-
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 classTextSection<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
-