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

public class ContainerComboBoxSection<T,V> extends ComboBoxSection<V>
  • Constructor Details

    • ContainerComboBoxSection

      public ContainerComboBoxSection()
  • Method Details

    • createSection

      public void createSection()
      Overrides:
      createSection in class com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
    • updateOnContainerChange

      public void updateOnContainerChange()
      Makes the section call Section.updateSection() when the object in the container changes.
    • createButton

      protected InternalButton createButton(IButtonProperties buttonProperties)
      Overrides:
      createButton in class ComboBoxSection<V>
    • getDataBinding

      public ContainerComboboxDataBinding<T,V> getDataBinding()
      Overrides:
      getDataBinding in class ComboBoxSection<V>
    • isVisible

      public boolean isVisible()
      Description copied from interface: ISection
      Returns whether the section is visible for the current container object.
      Specified by:
      isVisible in interface ISection
      Overrides:
      isVisible in class com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
      Returns:
      true if the section is visible
    • isEnabled

      public boolean isEnabled()
      Description copied from interface: ISection
      Returns whether the section is enabled for the current container object.
      Specified by:
      isEnabled in interface ISection
      Overrides:
      isEnabled in class com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
      Returns:
      true if the section is enabled
    • visible

      public void visible(Predicate<T> visible)
    • enabled

      public void enabled(Predicate<T> enabled)