Uses of Interface
org.eclipse.gef.GraphicalEditPart
-
Packages that use GraphicalEditPart Package Description org.eclipse.gef All interfaces, base types, and the plugin class are here.org.eclipse.gef.editparts This package contains abstract implementation of the EditPart interface.org.eclipse.gef.editpolicies This package contains EditPolicy implementations for many common editing Roles.org.eclipse.gef.handles This package provide several common handle implementations.org.eclipse.gef.tools This package provides several tool implementations.org.eclipse.gef.ui.actions This package support for using JFace Actions in your EditorPart.org.eclipse.gef.ui.parts org.eclipse.gef.util -
-
Uses of GraphicalEditPart in org.eclipse.gef
Subinterfaces of GraphicalEditPart in org.eclipse.gef Modifier and Type Interface Description interfaceConnectionEditPartA specialization ofGraphicalEditPartfor representing connections.interfaceNodeEditPartA specializedGraphicalEditPartthat supports both target and sourceConnectionEditParts.Fields in org.eclipse.gef declared as GraphicalEditPart Modifier and Type Field Description protected GraphicalEditPartSnapToGeometry. containerThe container editpart providing the coordinates and the children to which snapping occurs.protected GraphicalEditPartSnapToGrid. containerThe graphical part whose content's figure defines the grid.protected GraphicalEditPartSnapToGuides. containerThe graphical editpart to which guides are relative.Methods in org.eclipse.gef with parameters of type GraphicalEditPart Modifier and Type Method Description protected org.eclipse.draw2d.geometry.RectangleSnapToGeometry. getFigureBounds(GraphicalEditPart part)Returns the rectangular contribution for the given editpart.Constructors in org.eclipse.gef with parameters of type GraphicalEditPart Constructor Description SnapToGeometry(GraphicalEditPart container)Constructs a helper that will use the given part as its basis for snapping.SnapToGrid(GraphicalEditPart container)Constructs a gridded snap helper on the given editpart.SnapToGuides(GraphicalEditPart container)Constructs a new snap-to-guides helper using the given container as the basis. -
Uses of GraphicalEditPart in org.eclipse.gef.editparts
Subinterfaces of GraphicalEditPart in org.eclipse.gef.editparts Modifier and Type Interface Description interfaceIScrollableEditPartShould be implemented by EditParts, to which anScrollableSelectionFeedbackEditPolicyis to be registered, as it grants the edit policy type-safe access to the edit part'sIScrollableFigure.Classes in org.eclipse.gef.editparts that implement GraphicalEditPart Modifier and Type Class Description classAbstractConnectionEditPartThe base implementation forConnectionEditPart.classAbstractGraphicalEditPartDefault implementation forGraphicalEditPart.classFreeformGraphicalRootEditPartA graphical root that usesFreeformFiguresas the layers in the diagram.classGraphicalRootEditPartDeprecated.this class will be deleted, use ScrollingGraphicalViewer with ScalableRootEditPart insteadclassScalableFreeformRootEditPartAdds Zoom support to the standard FreeformGraphicalRootEditPart.classScalableRootEditPartA graphical root composed of regularLayers.classSimpleRootEditPartDefault implementation of RootEditPart for GraphicalViewers.Fields in org.eclipse.gef.editparts declared as GraphicalEditPart Modifier and Type Field Description protected GraphicalEditPartViewportHelper. ownerprotected GraphicalEditPartViewportHelper. ownerprotected GraphicalEditPartViewportHelper. ownerConstructors in org.eclipse.gef.editparts with parameters of type GraphicalEditPart Constructor Description ViewportAutoexposeHelper(GraphicalEditPart owner)Constructs a new helper on the given GraphicalEditPart.ViewportAutoexposeHelper(GraphicalEditPart owner, org.eclipse.draw2d.geometry.Insets threshold)Constructs a new helper on the given GraphicalEditPart.ViewportExposeHelper(GraphicalEditPart owner)Constructs a new ViewportExposeHelper on the specified GraphicalEditPart.ViewportMouseWheelHelper(GraphicalEditPart part)ConstructorViewportMouseWheelHelper(GraphicalEditPart part, int lineHeight, int pageHeight)Constructor -
Uses of GraphicalEditPart in org.eclipse.gef.editpolicies
Methods in org.eclipse.gef.editpolicies with parameters of type GraphicalEditPart Modifier and Type Method Description protected voidScrollableSelectionFeedbackEditPolicy. createNodeFeedbackFigure(GraphicalEditPart childEditPart)Creates a ghost image feedback figure for the givenGraphicalEditPart's figure and adds it to the feedback layer.protected java.lang.ObjectConstrainedLayoutEditPolicy. getConstraintFor(Request request, GraphicalEditPart child, org.eclipse.draw2d.geometry.Rectangle rectangle)Responsible of generating a draw2d constraint for the given Rectangle, which represents the already transformed (layout-relative) position and size of the given Request.protected java.lang.ObjectConstrainedLayoutEditPolicy. getConstraintFor(ChangeBoundsRequest request, GraphicalEditPart child)Generates a draw2d constraint object for the givenChangeBoundsRequestand child EditPart by delegating toConstrainedLayoutEditPolicy.getConstraintFor(Request, GraphicalEditPart, Rectangle).protected java.lang.ObjectXYLayoutEditPolicy. getConstraintFor(Request request, GraphicalEditPart child, org.eclipse.draw2d.geometry.Rectangle rect)Overridden to preserve existing width and height (as well as preferred sizes) during MOVE requests.protected java.lang.ObjectConstrainedLayoutEditPolicy. getConstraintForClone(GraphicalEditPart part, ChangeBoundsRequest request)Deprecated.protected org.eclipse.draw2d.geometry.RectangleXYLayoutEditPolicy. getCurrentConstraintFor(GraphicalEditPart child)Retrieves the child's current constraint from theLayoutManager.protected org.eclipse.draw2d.geometry.DimensionXYLayoutEditPolicy. getMinimumSizeFor(GraphicalEditPart child)Deprecated.Clients should no longer extend this method. -
Uses of GraphicalEditPart in org.eclipse.gef.handles
Methods in org.eclipse.gef.handles that return GraphicalEditPart Modifier and Type Method Description protected GraphicalEditPartAbstractHandle. getOwner()Returns theGraphicalEditPartassociated with this handle.Methods in org.eclipse.gef.handles with parameters of type GraphicalEditPart Modifier and Type Method Description static voidResizableHandleKit. addCornerAndSideHandles(GraphicalEditPart part, java.util.List handles)Fills the given List with handles at each corner and side of a figure.static voidResizableHandleKit. addCornerAndSideHandles(GraphicalEditPart part, java.util.List handles, DragTracker tracker, Cursor cursor)Fills the given List with handles at each corner and side of a figure.static voidNonResizableHandleKit. addCornerHandles(GraphicalEditPart part, java.util.List handles)Fills the given List with handles at each corner of a figure.static voidNonResizableHandleKit. addCornerHandles(GraphicalEditPart part, java.util.List handles, DragTracker tracker, Cursor cursor)Fills the given List with handles at each corner of a figure.static voidNonResizableHandleKit. addHandle(GraphicalEditPart part, java.util.List handles, int direction)Adds a single handle in the given direction to the given List.static voidNonResizableHandleKit. addHandle(GraphicalEditPart part, java.util.List handles, int direction, DragTracker tracker, Cursor cursor)Adds a single handle in the given direction to the given List.static voidResizableHandleKit. addHandle(GraphicalEditPart part, java.util.List handles, int direction)Adds a single handle in the given direction to the given List.static voidResizableHandleKit. addHandle(GraphicalEditPart part, java.util.List handles, int direction, DragTracker tracker, Cursor cursor)Adds a single handle in the given direction to the given List with the given DragTrackerstatic voidNonResizableHandleKit. addHandles(GraphicalEditPart part, java.util.List handles)Deprecated.static voidNonResizableHandleKit. addHandles(GraphicalEditPart part, java.util.List handles, DragTracker tracker, Cursor cursor)Deprecated.static voidResizableHandleKit. addHandles(GraphicalEditPart part, java.util.List handles)Deprecated.static voidNonResizableHandleKit. addMoveHandle(GraphicalEditPart f, java.util.List handles)Fills the given List with move borders at each side of a figure.static voidNonResizableHandleKit. addMoveHandle(GraphicalEditPart f, java.util.List handles, DragTracker tracker, Cursor cursor)Fills the given List with move borders at each side of a figure.static voidResizableHandleKit. addMoveHandle(GraphicalEditPart f, java.util.List handles)Fills the given List with move borders at each side of a figure.static voidResizableHandleKit. addMoveHandle(GraphicalEditPart f, java.util.List handles, DragTracker tracker, Cursor cursor)Fills the given List with move borders with the given DragTracker at each side of a figure.static HandleNonResizableHandleKit. moveHandle(GraphicalEditPart owner)Returns a newMoveHandlewith the given owner.static HandleNonResizableHandleKit. moveHandle(GraphicalEditPart owner, DragTracker tracker, Cursor cursor)Returns a newMoveHandlewith the given owner.static HandleResizableHandleKit. moveHandle(GraphicalEditPart owner)Returns a newMoveHandlewith the given owner.static HandleResizableHandleKit. moveHandle(GraphicalEditPart owner, DragTracker tracker, Cursor cursor)Returns a newMoveHandlewith the given owner and DragTracker.protected voidAbstractHandle. setOwner(GraphicalEditPart editpart)Sets the owner editpart associated with this handle.Constructors in org.eclipse.gef.handles with parameters of type GraphicalEditPart Constructor Description AbstractHandle(GraphicalEditPart owner, org.eclipse.draw2d.Locator loc)Creates a handle for the givenGraphicalEditPartusing the givenLocator.AbstractHandle(GraphicalEditPart owner, org.eclipse.draw2d.Locator loc, Cursor c)Creates a handle for the givenGraphicalEditPartusing the givenLocatorandCursor.MoveHandle(GraphicalEditPart owner)Creates a MoveHandle for the givenGraphicalEditPartusing a defaultLocator.MoveHandle(GraphicalEditPart owner, org.eclipse.draw2d.Locator loc)Creates a MoveHandle for the givenGraphicalEditPartusing the givenLocator.NonResizableHandle(GraphicalEditPart owner)Deprecated.Creates a NonResizableHandle for the givenGraphicalEditPartusing a defaultLocator.NonResizableHandle(GraphicalEditPart owner, org.eclipse.draw2d.Locator loc)Deprecated.Creates a NonResizableHandle for the givenGraphicalEditPartusing the givenLocator.ResizeHandle(GraphicalEditPart owner, int direction)Creates a new ResizeHandle for the given GraphicalEditPart.ResizeHandle(GraphicalEditPart owner, org.eclipse.draw2d.Locator loc, Cursor c)Creates a new ResizeHandle for the given GraphicalEditPart.SquareHandle(GraphicalEditPart owner, org.eclipse.draw2d.Locator loc)Creates a SquareHandle for the givenGraphicalEditPartwith the givenLocator.SquareHandle(GraphicalEditPart owner, org.eclipse.draw2d.Locator loc, Cursor c)Creates a SquareHandle for the givenGraphicalEditPartwith the givenCursorusing the givenLocator. -
Uses of GraphicalEditPart in org.eclipse.gef.tools
Methods in org.eclipse.gef.tools that return GraphicalEditPart Modifier and Type Method Description protected GraphicalEditPartDirectEditManager. getEditPart()Returns the source edit part.protected GraphicalEditPartResizeTracker. getOwner()Returns the owner of this resize tracker.protected GraphicalEditPartResizeTracker. getTargetEditPart()The TargetEditPart is the parent of the EditPart being resized.Methods in org.eclipse.gef.tools with parameters of type GraphicalEditPart Modifier and Type Method Description protected booleanMarqueeSelectionTool. isMarqueeSelectable(GraphicalEditPart editPart)Decides whether the given edit part may potentially be included in the current marquee selection.protected voidDirectEditManager. setEditPart(GraphicalEditPart source)Sets the source edit part.Constructors in org.eclipse.gef.tools with parameters of type GraphicalEditPart Constructor Description DirectEditManager(GraphicalEditPart source, java.lang.Class editorType, CellEditorLocator locator)Constructs a new DirectEditManager for the given source edit part.DirectEditManager(GraphicalEditPart source, java.lang.Class editorType, CellEditorLocator locator, java.lang.Object feature)Constructs a new DirectEditManager for the given source edit part.ResizeTracker(GraphicalEditPart owner, int direction)Constructs a resize tracker that resizes in the specified direction. -
Uses of GraphicalEditPart in org.eclipse.gef.ui.actions
Methods in org.eclipse.gef.ui.actions with parameters of type GraphicalEditPart Modifier and Type Method Description protected org.eclipse.draw2d.geometry.PointPasteTemplateAction. getPasteLocation(GraphicalEditPart container) -
Uses of GraphicalEditPart in org.eclipse.gef.ui.parts
Methods in org.eclipse.gef.ui.parts that return GraphicalEditPart Modifier and Type Method Description protected GraphicalEditPartGraphicalViewerKeyHandler. getFocusEditPart() -
Uses of GraphicalEditPart in org.eclipse.gef.util
Methods in org.eclipse.gef.util with parameters of type GraphicalEditPart Modifier and Type Method Description static java.util.LinkedHashSetEditPartUtilities. getAllChildren(GraphicalEditPart parentEditPart)Returns the transitive child edit part set of the given parentGraphicalEditPart.static java.util.HashSetEditPartUtilities. getAllNestedConnectionEditParts(GraphicalEditPart graphicalEditPart)Returns the transitive nested connection edit parts.static java.util.HashSetEditPartUtilities. getNestedConnectionEditParts(GraphicalEditPart graphicalEditPart)Returns the set ofConnectionEditParts that are linked to the child edit parts of the givenGraphicalEditPart.
-