Uses of Interface
org.eclipse.gef.GraphicalEditPart
Packages that use GraphicalEditPart
Package
Description
All interfaces, base types, and the plugin class are here.
This package contains abstract implementation of the EditPart interface.
This package contains EditPolicy implementations for many common editing
Roles.
This package provide several common handle implementations.
This package provides several tool implementations.
This package support for using JFace Actions in your EditorPart.
-
Uses of GraphicalEditPart in org.eclipse.gef
Subinterfaces of GraphicalEditPart in org.eclipse.gefModifier and TypeInterfaceDescriptioninterface
A specialization ofGraphicalEditPart
for representing connections.interface
A specializedGraphicalEditPart
that supports both target and sourceConnectionEditParts
.Fields in org.eclipse.gef declared as GraphicalEditPartModifier and TypeFieldDescriptionprotected GraphicalEditPart
SnapToGeometry.container
The container editpart providing the coordinates and the children to which snapping occurs.protected GraphicalEditPart
SnapToGrid.container
The graphical part whose content's figure defines the grid.protected GraphicalEditPart
SnapToGuides.container
The graphical editpart to which guides are relative.Methods in org.eclipse.gef that return types with arguments of type GraphicalEditPartModifier and TypeMethodDescriptionprotected List<? extends GraphicalEditPart>
SnapToGeometry.generateSnapPartsList
(List<? extends EditPart> exclusions) Generates a list of parts which should be snapped to.List<? extends GraphicalEditPart>
GraphicalEditPart.getChildren()
The children of GraphicalEditparts have to be GraphicalEditParts.Methods in org.eclipse.gef with parameters of type GraphicalEditPartModifier and TypeMethodDescriptionprotected Rectangle
SnapToGeometry.getFigureBounds
(GraphicalEditPart part) Returns the rectangular contribution for the given editpart.Method parameters in org.eclipse.gef with type arguments of type GraphicalEditPartModifier and TypeMethodDescriptionprotected void
SnapToGeometry.populateRowsAndCols
(List<? extends GraphicalEditPart> parts) Updates the cached row and column Entries using the provided parts.Constructors in org.eclipse.gef with parameters of type GraphicalEditPartModifierConstructorDescriptionSnapToGeometry
(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.editpartsModifier and TypeInterfaceDescriptioninterface
Should be implemented by EditParts, to which anScrollableSelectionFeedbackEditPolicy
is 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 GraphicalEditPartModifier and TypeClassDescriptionclass
The base implementation forConnectionEditPart
.class
Default implementation forGraphicalEditPart
.class
A graphical root that usesFreeformFigures
as the layers in the diagram.class
Deprecated.this class will be deleted, use ScrollingGraphicalViewer with ScalableRootEditPart insteadclass
Adds Zoom support to the standard FreeformGraphicalRootEditPart.class
A graphical root composed of regularLayers
.class
Default implementation of RootEditPart for GraphicalViewers.Fields in org.eclipse.gef.editparts declared as GraphicalEditPartModifier and TypeFieldDescriptionprotected GraphicalEditPart
ViewportHelper.owner
protected GraphicalEditPart
ViewportHelper.owner
protected GraphicalEditPart
ViewportHelper.owner
Methods in org.eclipse.gef.editparts that return types with arguments of type GraphicalEditPartModifier and TypeMethodDescriptionList<? extends GraphicalEditPart>
AbstractGraphicalEditPart.getChildren()
Constructors in org.eclipse.gef.editparts with parameters of type GraphicalEditPartModifierConstructorDescriptionConstructs a new helper on the given GraphicalEditPart.ViewportAutoexposeHelper
(GraphicalEditPart owner, Insets threshold) Constructs a new helper on the given GraphicalEditPart.Constructs a new ViewportExposeHelper on the specified GraphicalEditPart.ConstructorViewportMouseWheelHelper
(GraphicalEditPart part, int lineHeight, int pageHeight) Constructor -
Uses of GraphicalEditPart in org.eclipse.gef.editpolicies
Methods in org.eclipse.gef.editpolicies that return GraphicalEditPartModifier and TypeMethodDescriptionGraphicalEditPolicy.getHost()
Cast the parent getHost to GraphicalEditPart This reduces the necessary cast operations in this and all child classes as well as in any users of a GraphicalEditPolicy.Methods in org.eclipse.gef.editpolicies with parameters of type GraphicalEditPartModifier and TypeMethodDescriptionprotected void
ScrollableSelectionFeedbackEditPolicy.createNodeFeedbackFigure
(GraphicalEditPart childEditPart) Creates a ghost image feedback figure for the givenGraphicalEditPart
's figure and adds it to the feedback layer.protected Object
ConstrainedLayoutEditPolicy.getConstraintFor
(Request request, GraphicalEditPart child, 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 Object
ConstrainedLayoutEditPolicy.getConstraintFor
(ChangeBoundsRequest request, GraphicalEditPart child) Generates a draw2d constraint object for the givenChangeBoundsRequest
and child EditPart by delegating toConstrainedLayoutEditPolicy.getConstraintFor(Request, GraphicalEditPart, Rectangle)
.protected Object
XYLayoutEditPolicy.getConstraintFor
(Request request, GraphicalEditPart child, Rectangle rect) Overridden to preserve existing width and height (as well as preferred sizes) during MOVE requests.protected Object
ConstrainedLayoutEditPolicy.getConstraintForClone
(GraphicalEditPart part, ChangeBoundsRequest request) Deprecated.protected Rectangle
XYLayoutEditPolicy.getCurrentConstraintFor
(GraphicalEditPart child) Retrieves the child's current constraint from theLayoutManager
.protected Dimension
XYLayoutEditPolicy.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 GraphicalEditPartModifier and TypeMethodDescriptionprotected GraphicalEditPart
AbstractHandle.getOwner()
Returns theGraphicalEditPart
associated with this handle.Methods in org.eclipse.gef.handles with parameters of type GraphicalEditPartModifier and TypeMethodDescriptionstatic void
ResizableHandleKit.addCornerAndSideHandles
(GraphicalEditPart part, List handles) Fills the given List with handles at each corner and side of a figure.static void
ResizableHandleKit.addCornerAndSideHandles
(GraphicalEditPart part, List handles, DragTracker tracker, Cursor cursor) Fills the given List with handles at each corner and side of a figure.static void
NonResizableHandleKit.addCornerHandles
(GraphicalEditPart part, List handles) Fills the given List with handles at each corner of a figure.static void
NonResizableHandleKit.addCornerHandles
(GraphicalEditPart part, List handles, DragTracker tracker, Cursor cursor) Fills the given List with handles at each corner of a figure.static void
NonResizableHandleKit.addHandle
(GraphicalEditPart part, List handles, int direction) Adds a single handle in the given direction to the given List.static void
NonResizableHandleKit.addHandle
(GraphicalEditPart part, List handles, int direction, DragTracker tracker, Cursor cursor) Adds a single handle in the given direction to the given List.static void
ResizableHandleKit.addHandle
(GraphicalEditPart part, List handles, int direction) Adds a single handle in the given direction to the given List.static void
ResizableHandleKit.addHandle
(GraphicalEditPart part, List handles, int direction, DragTracker tracker, Cursor cursor) Adds a single handle in the given direction to the given List with the given DragTrackerstatic void
NonResizableHandleKit.addHandles
(GraphicalEditPart part, List handles) Deprecated.static void
NonResizableHandleKit.addHandles
(GraphicalEditPart part, List handles, DragTracker tracker, Cursor cursor) Deprecated.static void
ResizableHandleKit.addHandles
(GraphicalEditPart part, List handles) Deprecated.static void
NonResizableHandleKit.addMoveHandle
(GraphicalEditPart f, List handles) Fills the given List with move borders at each side of a figure.static void
NonResizableHandleKit.addMoveHandle
(GraphicalEditPart f, List handles, DragTracker tracker, Cursor cursor) Fills the given List with move borders at each side of a figure.static void
ResizableHandleKit.addMoveHandle
(GraphicalEditPart f, List handles) Fills the given List with move borders at each side of a figure.static void
ResizableHandleKit.addMoveHandle
(GraphicalEditPart f, List handles, DragTracker tracker, Cursor cursor) Fills the given List with move borders with the given DragTracker at each side of a figure.static Handle
NonResizableHandleKit.moveHandle
(GraphicalEditPart owner) Returns a newMoveHandle
with the given owner.static Handle
NonResizableHandleKit.moveHandle
(GraphicalEditPart owner, DragTracker tracker, Cursor cursor) Returns a newMoveHandle
with the given owner.static Handle
ResizableHandleKit.moveHandle
(GraphicalEditPart owner) Returns a newMoveHandle
with the given owner.static Handle
ResizableHandleKit.moveHandle
(GraphicalEditPart owner, DragTracker tracker, Cursor cursor) Returns a newMoveHandle
with the given owner and DragTracker.protected void
AbstractHandle.setOwner
(GraphicalEditPart editpart) Sets the owner editpart associated with this handle.Constructors in org.eclipse.gef.handles with parameters of type GraphicalEditPartModifierConstructorDescriptionAbstractHandle
(GraphicalEditPart owner, Locator loc) Creates a handle for the givenGraphicalEditPart
using the givenLocator
.AbstractHandle
(GraphicalEditPart owner, Locator loc, Cursor c) Creates a handle for the givenGraphicalEditPart
using the givenLocator
andCursor
.MoveHandle
(GraphicalEditPart owner) Creates a MoveHandle for the givenGraphicalEditPart
using a defaultLocator
.MoveHandle
(GraphicalEditPart owner, Locator loc) Creates a MoveHandle for the givenGraphicalEditPart
using the givenLocator
.Deprecated.Creates a NonResizableHandle for the givenGraphicalEditPart
using a defaultLocator
.NonResizableHandle
(GraphicalEditPart owner, Locator loc) Deprecated.Creates a NonResizableHandle for the givenGraphicalEditPart
using the givenLocator
.ResizeHandle
(GraphicalEditPart owner, int direction) Creates a new ResizeHandle for the given GraphicalEditPart.ResizeHandle
(GraphicalEditPart owner, Locator loc, Cursor c) Creates a new ResizeHandle for the given GraphicalEditPart.SquareHandle
(GraphicalEditPart owner, Locator loc) Creates a SquareHandle for the givenGraphicalEditPart
with the givenLocator
.SquareHandle
(GraphicalEditPart owner, Locator loc, Cursor c) Creates a SquareHandle for the givenGraphicalEditPart
with the givenCursor
using the givenLocator
. -
Uses of GraphicalEditPart in org.eclipse.gef.tools
Methods in org.eclipse.gef.tools that return GraphicalEditPartModifier and TypeMethodDescriptionprotected GraphicalEditPart
DirectEditManager.getEditPart()
Returns the source edit part.protected GraphicalEditPart
ResizeTracker.getOwner()
Returns the owner of this resize tracker.protected GraphicalEditPart
ResizeTracker.getTargetEditPart()
The TargetEditPart is the parent of the EditPart being resized.Methods in org.eclipse.gef.tools that return types with arguments of type GraphicalEditPartModifier and TypeMethodDescriptionprotected Collection<? extends GraphicalEditPart>
MarqueeSelectionTool.calculateMarqueeSelectedEditParts()
Called fromMarqueeSelectionTool.performMarqueeSelect()
to determine thoseGraphicalEditPart
s that are affected by the current marquee selection.Methods in org.eclipse.gef.tools with parameters of type GraphicalEditPartModifier and TypeMethodDescriptionprotected boolean
MarqueeSelectionTool.isMarqueeSelectable
(GraphicalEditPart editPart) Decides whether the given edit part may potentially be included in the current marquee selection.protected void
DirectEditManager.setEditPart
(GraphicalEditPart source) Sets the source edit part.Constructors in org.eclipse.gef.tools with parameters of type GraphicalEditPartModifierConstructorDescriptionDirectEditManager
(GraphicalEditPart source, Class<? extends CellEditor> editorType, CellEditorLocator locator) Constructs a new DirectEditManager for the given source edit part.DirectEditManager
(GraphicalEditPart source, Class<? extends CellEditor> editorType, CellEditorLocator locator, 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 GraphicalEditPartModifier and TypeMethodDescriptionprotected Point
PasteTemplateAction.getPasteLocation
(GraphicalEditPart container) -
Uses of GraphicalEditPart in org.eclipse.gef.ui.parts
Methods in org.eclipse.gef.ui.parts that return GraphicalEditPartModifier and TypeMethodDescriptionprotected GraphicalEditPart
GraphicalViewerKeyHandler.getFocusEditPart()
Methods in org.eclipse.gef.ui.parts that return types with arguments of type GraphicalEditPartModifier and TypeMethodDescriptionprotected List<? extends GraphicalEditPart>
GraphicalViewerKeyHandler.getNavigationSiblings()
Returns the list of editparts which are conceptually at the same level of navigation as the currently focused editpart. -
Uses of GraphicalEditPart in org.eclipse.gef.util
Methods in org.eclipse.gef.util that return types with arguments of type GraphicalEditPartModifier and TypeMethodDescriptionstatic LinkedHashSet<? extends GraphicalEditPart>
EditPartUtilities.getAllChildren
(GraphicalEditPart parentEditPart) Returns the transitive child edit part set of the given parentGraphicalEditPart
.Methods in org.eclipse.gef.util with parameters of type GraphicalEditPartModifier and TypeMethodDescriptionstatic LinkedHashSet<? extends GraphicalEditPart>
EditPartUtilities.getAllChildren
(GraphicalEditPart parentEditPart) Returns the transitive child edit part set of the given parentGraphicalEditPart
.static HashSet<? extends ConnectionEditPart>
EditPartUtilities.getAllNestedConnectionEditParts
(GraphicalEditPart graphicalEditPart) Returns the transitive nested connection edit parts.static HashSet<? extends ConnectionEditPart>
EditPartUtilities.getNestedConnectionEditParts
(GraphicalEditPart graphicalEditPart) Returns the set ofConnectionEditPart
s that are linked to the child edit parts of the givenGraphicalEditPart
.