Class AbstractLinkingContainerModel

All Implemented Interfaces:
IAdaptable, IPropertySource
Direct Known Subclasses:
LinkingContainerModel

public abstract class AbstractLinkingContainerModel extends AbstractContainerModel
The abstract base model for LinkingContainer widgets.
  • Field Details

    • PROP_OPI_FILE

      public static final String PROP_OPI_FILE
      The ID of the resource property.
      See Also:
    • PROP_GROUP_NAME

      public static final String PROP_GROUP_NAME
      The name of the group container widget in the OPI file, which will be loaded if it is specified. If it is not specified, the whole OPI file will be loaded.
      See Also:
  • Constructor Details

    • AbstractLinkingContainerModel

      public AbstractLinkingContainerModel()
  • Method Details

    • configureBaseProperties

      protected void configureBaseProperties()
      Overrides:
      configureBaseProperties in class AbstractContainerModel
    • getGroupName

      public String getGroupName()
    • getOPIFilePath

      public IPath getOPIFilePath()
      Return the target resource.
      Returns:
      The target resource.
    • setOPIFilePath

      public void setOPIFilePath(String path)
    • setDisplayModel

      public void setDisplayModel(DisplayModel displayModel)
      Set the display model of the loaded opi.
      Parameters:
      displayModel -
    • getDisplayModel

      public DisplayModel getDisplayModel()
      Returns:
      display model of the loaded opi. null if no opi has been loaded.
    • setDisplayModelViewer

      public void setDisplayModelViewer(org.eclipse.gef.GraphicalViewer viewer)
    • setDisplayModelDisplayID

      public void setDisplayModelDisplayID(int displayID)
    • setDisplayModelExecutionMode

      public void setDisplayModelExecutionMode(ExecutionMode executionMode)
    • setDisplayModelOpiRuntime

      public void setDisplayModelOpiRuntime(IOPIRuntime opiRuntime)