Class AbstractPage<T extends org.eclipse.emf.ecore.EObject,C extends org.eclipse.emf.ecore.EObject>

java.lang.Object
com.amalgamasimulation.desktop.properties.PropertyPage<T>
com.amalgamasimulation.desktop.ui.editor.pages.AbstractPage<T,C>

public abstract class AbstractPage<T extends org.eclipse.emf.ecore.EObject,C extends org.eclipse.emf.ecore.EObject> extends com.amalgamasimulation.desktop.properties.PropertyPage<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.eclipse.core.databinding.observable.value.IObservableValue<C>
     

    Fields inherited from class com.amalgamasimulation.desktop.properties.PropertyPage

    containers, DEFAULT_EDITORS_FIXED_WIDTH, DEFAULT_LABELS_FIXED_WIDTH, eventBroker, observable, parent, propertySections, window
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractPage(Function<T,C> scenarioExtractor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final String
     
    protected abstract String
    Returns the localized object class name for the object properties page heading.
    protected String
    Object name, as displayed in the object properties page.
    protected org.eclipse.emf.databinding.FeaturePath[]
    Feature list which object name depends on (see getObjectDisplayName())
    void
    setSelection(Object selectedObject)
     

    Methods inherited from class com.amalgamasimulation.desktop.properties.PropertyPage

    addBooleanSection, addBooleanSection, addColorSection, addColorSection, addContainer, addCustomSection, addCustomSection, addDateTimeSection, addDateTimeSection, addDistributionSection, addDistributionSection, addEnumSection, addEnumSection, addHeaderSection, addImageSection, addNumericSection, addNumericSection, addReferenceSection, addReferenceSection, addSeparatorSection, addStringSection, addStringSection, addTableSection, addTableSection, addTimeSeriesSection, addTriangleDistributionSection, addTriangleDistributionSection, addTwoTablesSection, addTwoTablesSection, createControls, createControlsInternal, getControlsMarginRule, getEditorsFixedWidth, getLabelsFixedWidth, getNewSectionVerticalOffset, getParent, getPropertySections, isVisible, recalculatePreferredHeight, recalculatePreferredWidth, redraw, refreshLabelTitle, removeContainer, setEventBroker, setLastPropertySection, setWindow

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • containerObservable

      protected org.eclipse.core.databinding.observable.value.IObservableValue<C extends org.eclipse.emf.ecore.EObject> containerObservable
  • Constructor Details

    • AbstractPage

      protected AbstractPage(Function<T,C> scenarioExtractor)
  • Method Details

    • getLabelTitle

      protected final String getLabelTitle()
      Overrides:
      getLabelTitle in class com.amalgamasimulation.desktop.properties.PropertyPage<T extends org.eclipse.emf.ecore.EObject>
    • getObjectDisplayName

      protected String getObjectDisplayName()
      Object name, as displayed in the object properties page. Should not include object type. Can be null or empty string.
    • getUpdateListeners

      protected org.eclipse.emf.databinding.FeaturePath[] getUpdateListeners()
      Feature list which object name depends on (see getObjectDisplayName())
    • getNameClassObject

      protected abstract String getNameClassObject()
      Returns the localized object class name for the object properties page heading.
    • setSelection

      public void setSelection(Object selectedObject)
      Overrides:
      setSelection in class com.amalgamasimulation.desktop.properties.PropertyPage<T extends org.eclipse.emf.ecore.EObject>