Class LinkingContainerEditpart

All Implemented Interfaces:
IAdaptable, org.eclipse.gef.EditPart, org.eclipse.gef.GraphicalEditPart, org.eclipse.gef.NodeEditPart, org.eclipse.gef.RequestConstants

public class LinkingContainerEditpart extends AbstractLinkingContainerEditpart
The Editpart Controller for a linking Container
  • Constructor Details

    • LinkingContainerEditpart

      public LinkingContainerEditpart()
  • Method Details

    • doCreateFigure

      protected org.eclipse.draw2d.IFigure doCreateFigure()
      Description copied from class: AbstractBaseEditPart
      Create and initialize the widget figure with the property values in model.
      Specified by:
      doCreateFigure in class AbstractBaseEditPart
      Returns:
      the widget figure
    • setParent

      public void setParent(org.eclipse.gef.EditPart parent)
      Specified by:
      setParent in interface org.eclipse.gef.EditPart
      Overrides:
      setParent in class org.eclipse.gef.editparts.AbstractEditPart
    • createEditPolicies

      protected void createEditPolicies()
      Overrides:
      createEditPolicies in class AbstractContainerEditpart
    • getWidgetModel

      public LinkingContainerModel getWidgetModel()
      Overrides:
      getWidgetModel in class AbstractContainerEditpart
    • registerPropertyChangeHandlers

      protected void registerPropertyChangeHandlers()
      Description copied from class: AbstractBaseEditPart
      Register the property change handlers. Subclass should register its property change handlers in this method.
      Specified by:
      registerPropertyChangeHandlers in class AbstractBaseEditPart
    • performAutosize

      public void performAutosize()
      Automatically set the container size according its children's geography size.
      Overrides:
      performAutosize in class AbstractContainerEditpart
    • createChild

      protected final org.eclipse.gef.EditPart createChild(Object model)
      Overrides:
      createChild in class org.eclipse.gef.editparts.AbstractEditPart
    • getContentPane

      public org.eclipse.draw2d.IFigure getContentPane()
      Specified by:
      getContentPane in interface org.eclipse.gef.GraphicalEditPart
      Overrides:
      getContentPane in class org.eclipse.gef.editparts.AbstractGraphicalEditPart
    • layout

      public void layout()
      Overrides:
      layout in class AbstractContainerEditpart
    • doRefreshVisuals

      protected void doRefreshVisuals(org.eclipse.draw2d.IFigure refreshableFigure)
      Description copied from class: AbstractBaseEditPart
      Resizes the figure. Use AbstractBaseEditPart to implement more complex refreshing behavior.
      Overrides:
      doRefreshVisuals in class AbstractBaseEditPart
      Parameters:
      refreshableFigure - the figure
    • getAdapter

      public Object getAdapter(Class adapter)
      Specified by:
      getAdapter in interface IAdaptable
      Overrides:
      getAdapter in class AbstractContainerEditpart
    • getScrollPane

      public org.eclipse.draw2d.ScrollPane getScrollPane()
      Specified by:
      getScrollPane in class AbstractScrollableEditpart
      Returns:
      The ScrollPane of this scrollable EditPart