Class ContainerShapeEditPart

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.gef.editparts.AbstractGraphicalEditPart

        org.eclipse.gef.editparts.AbstractGraphicalEditPart.AccessibleGraphicalEditPart, org.eclipse.gef.editparts.AbstractGraphicalEditPart.DefaultAccessibleAnchorProvider
      • Nested classes/interfaces inherited from class org.eclipse.gef.editparts.AbstractEditPart

        org.eclipse.gef.editparts.AbstractEditPart.EditPolicyIterator
    • Field Summary

      • Fields inherited from class org.eclipse.gef.editparts.AbstractGraphicalEditPart

        figure, sourceConnections, targetConnections
      • Fields inherited from class org.eclipse.gef.editparts.AbstractEditPart

        children, FLAG_ACTIVE, FLAG_FOCUS, MAX_FLAG
      • Fields inherited from interface org.eclipse.gef.EditPart

        SELECTED, SELECTED_NONE, SELECTED_PRIMARY
      • Fields inherited from interface org.eclipse.gef.RequestConstants

        REQ_ADD, REQ_ALIGN, REQ_ALIGN_CHILDREN, REQ_CLONE, REQ_CONNECTION_END, REQ_CONNECTION_START, REQ_CREATE, REQ_CREATE_BENDPOINT, REQ_DELETE, REQ_DELETE_DEPENDANT, REQ_DIRECT_EDIT, REQ_MOVE, REQ_MOVE_BENDPOINT, REQ_MOVE_CHILDREN, REQ_OPEN, REQ_ORPHAN, REQ_ORPHAN_CHILDREN, REQ_RECONNECT_SOURCE, REQ_RECONNECT_TARGET, REQ_RESIZE, REQ_RESIZE_CHILDREN, REQ_SELECTION, REQ_SELECTION_HOVER
    • Constructor Detail

      • ContainerShapeEditPart

        public ContainerShapeEditPart​(IConfigurationProviderInternal configurationProvider,
                                      ContainerShape containerShape)
        Creates a new ContainerShapeEditPart.
        Parameters:
        configurationProvider - the configuration provider
        containerShape - the container shape
    • Method Detail

      • createEditPolicies

        protected void createEditPolicies()
        Creates the EditPolicies of this EditPart. Subclasses often overwrite this method to change the behaviour of the editpart. This implementation adds the layout-specific EditPolicy to the super-implementation.
        Overrides:
        createEditPolicies in class ShapeEditPart
        See Also:
        ShapeEditPart
      • createFigure

        protected org.eclipse.draw2d.IFigure createFigure()
        Creates the Figure of this editpart. This determines how the editpart will be displayed. The actual data for this figure should be provided in refreshVisuals().
        Overrides:
        createFigure in class ShapeEditPart
        Returns:
        the i figure
        See Also:
        AbstractGraphicalEditPart.createFigure()
      • addChildVisual

        protected void addChildVisual​(org.eclipse.gef.EditPart childEditPart,
                                      int index)
        Overrides:
        addChildVisual in class org.eclipse.gef.editparts.AbstractGraphicalEditPart
      • getAdapter

        public java.lang.Object getAdapter​(java.lang.Class adapter)
        Specified by:
        getAdapter in interface org.eclipse.core.runtime.IAdaptable
        Overrides:
        getAdapter in class ShapeEditPart
      • 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