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 |
Modifier and Type | Interface and Description |
---|---|
interface |
ConnectionEditPart
A specialization of
GraphicalEditPart for
representing connections. |
interface |
NodeEditPart
A specialized
GraphicalEditPart that supports both target
and source ConnectionEditParts . |
Modifier and Type | Field and Description |
---|---|
protected GraphicalEditPart |
SnapToGeometry.container
The container editpart providing the coordinates and the children to
which snapping occurs.
|
protected GraphicalEditPart |
SnapToGuides.container
The graphical editpart to which guides are relative.
|
protected GraphicalEditPart |
SnapToGrid.container
The graphical part whose content's figure defines the grid.
|
Modifier and Type | Method and Description |
---|---|
protected Rectangle |
SnapToGeometry.getFigureBounds(GraphicalEditPart part)
Returns the rectangular contribution for the given editpart.
|
Constructor and 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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IScrollableEditPart
Should be implemented by EditParts, to which an
ScrollableSelectionFeedbackEditPolicy is to be registered, as it
grants the edit policy type-safe access to the edit part's
IScrollableFigure . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractConnectionEditPart
The base implementation for
ConnectionEditPart . |
class |
AbstractGraphicalEditPart
Default implementation for
GraphicalEditPart . |
class |
FreeformGraphicalRootEditPart
A graphical root that uses
FreeformFigures as the layers in the diagram. |
class |
GraphicalRootEditPart
Deprecated.
this class will be deleted, use ScrollingGraphicalViewer with
ScalableRootEditPart instead
|
class |
ScalableFreeformRootEditPart
Adds Zoom support to the standard FreeformGraphicalRootEditPart.
|
class |
ScalableRootEditPart
A graphical root composed of regular
Layers . |
class |
SimpleRootEditPart
Default implementation of RootEditPart for GraphicalViewers.
|
Constructor and Description |
---|
ViewportAutoexposeHelper(GraphicalEditPart owner)
Constructs a new helper on the given GraphicalEditPart.
|
ViewportAutoexposeHelper(GraphicalEditPart owner,
Insets threshold)
Constructs a new helper on the given GraphicalEditPart.
|
ViewportExposeHelper(GraphicalEditPart owner)
Constructs a new ViewportExposeHelper on the specified GraphicalEditPart.
|
ViewportMouseWheelHelper(GraphicalEditPart part)
Constructor
|
ViewportMouseWheelHelper(GraphicalEditPart part,
int lineHeight,
int pageHeight)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
ScrollableSelectionFeedbackEditPolicy.createNodeFeedbackFigure(GraphicalEditPart childEditPart)
Creates a ghost image feedback figure for the given
GraphicalEditPart 's figure and adds it to the feedback layer. |
protected java.lang.Object |
ConstrainedLayoutEditPolicy.getConstraintFor(ChangeBoundsRequest request,
GraphicalEditPart child)
Generates a draw2d constraint object for the given
ChangeBoundsRequest and child EditPart by delegating to
ConstrainedLayoutEditPolicy.getConstraintFor(Request, GraphicalEditPart, Rectangle) . |
protected java.lang.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 java.lang.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 java.lang.Object |
ConstrainedLayoutEditPolicy.getConstraintForClone(GraphicalEditPart part,
ChangeBoundsRequest request)
Deprecated.
|
protected Rectangle |
XYLayoutEditPolicy.getCurrentConstraintFor(GraphicalEditPart child)
Retrieves the child's current constraint from the
LayoutManager . |
protected Dimension |
XYLayoutEditPolicy.getMinimumSizeFor(GraphicalEditPart child)
Deprecated.
Clients should no longer extend this method. Instead, the
resize tracker, constructed by the 'satellite' primary drag
edit policy should be parameterized with max and min size
constraints.
|
Modifier and Type | Method and Description |
---|---|
protected GraphicalEditPart |
AbstractHandle.getOwner()
Returns the
GraphicalEditPart associated with this handle. |
Modifier and Type | Method and Description |
---|---|
static void |
ResizableHandleKit.addCornerAndSideHandles(GraphicalEditPart part,
java.util.List handles)
Fills the given List with handles at each corner and side of a figure.
|
static void |
ResizableHandleKit.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 void |
NonResizableHandleKit.addCornerHandles(GraphicalEditPart part,
java.util.List handles)
Fills the given List with handles at each corner of a figure.
|
static void |
NonResizableHandleKit.addCornerHandles(GraphicalEditPart part,
java.util.List handles,
DragTracker tracker,
Cursor cursor)
Fills the given List with handles at each corner of a figure.
|
static void |
NonResizableHandleKit.addHandle(GraphicalEditPart part,
java.util.List handles,
int direction)
Adds a single handle in the given direction to the given List.
|
static void |
ResizableHandleKit.addHandle(GraphicalEditPart part,
java.util.List handles,
int direction)
Adds a single handle in the given direction to the given List.
|
static void |
NonResizableHandleKit.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 void |
ResizableHandleKit.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 DragTracker
|
static void |
NonResizableHandleKit.addHandles(GraphicalEditPart part,
java.util.List handles)
Deprecated.
|
static void |
ResizableHandleKit.addHandles(GraphicalEditPart part,
java.util.List handles)
Deprecated.
|
static void |
NonResizableHandleKit.addHandles(GraphicalEditPart part,
java.util.List handles,
DragTracker tracker,
Cursor cursor)
Deprecated.
|
static void |
NonResizableHandleKit.addMoveHandle(GraphicalEditPart f,
java.util.List handles)
Fills the given List with move borders at each side of a figure.
|
static void |
ResizableHandleKit.addMoveHandle(GraphicalEditPart f,
java.util.List handles)
Fills the given List with move borders at each side of a figure.
|
static void |
NonResizableHandleKit.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 void |
ResizableHandleKit.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 Handle |
NonResizableHandleKit.moveHandle(GraphicalEditPart owner)
Returns a new
MoveHandle with the given owner. |
static Handle |
ResizableHandleKit.moveHandle(GraphicalEditPart owner)
Returns a new
MoveHandle with the given owner. |
static Handle |
NonResizableHandleKit.moveHandle(GraphicalEditPart owner,
DragTracker tracker,
Cursor cursor)
Returns a new
MoveHandle with the given owner. |
static Handle |
ResizableHandleKit.moveHandle(GraphicalEditPart owner,
DragTracker tracker,
Cursor cursor)
Returns a new
MoveHandle with the given owner and DragTracker. |
protected void |
AbstractHandle.setOwner(GraphicalEditPart editpart)
Sets the owner editpart associated with this handle.
|
Constructor and Description |
---|
AbstractHandle(GraphicalEditPart owner,
Locator loc)
Creates a handle for the given
GraphicalEditPart using the
given Locator . |
AbstractHandle(GraphicalEditPart owner,
Locator loc,
Cursor c)
Creates a handle for the given
GraphicalEditPart using the
given Locator and Cursor . |
MoveHandle(GraphicalEditPart owner)
Creates a MoveHandle for the given
GraphicalEditPart using a
default Locator . |
MoveHandle(GraphicalEditPart owner,
Locator loc)
Creates a MoveHandle for the given
GraphicalEditPart using
the given Locator . |
NonResizableHandle(GraphicalEditPart owner)
Deprecated.
Creates a NonResizableHandle for the given
GraphicalEditPart
using a default Locator . |
NonResizableHandle(GraphicalEditPart owner,
Locator loc)
Deprecated.
Creates a NonResizableHandle for the given
GraphicalEditPart
using the given Locator . |
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 given
GraphicalEditPart with
the given Locator . |
SquareHandle(GraphicalEditPart owner,
Locator loc,
Cursor c)
Creates a SquareHandle for the given
GraphicalEditPart with
the given Cursor using the given Locator . |
Modifier and Type | Method and Description |
---|---|
protected 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.
|
Modifier and Type | Method and Description |
---|---|
protected 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.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
protected Point |
PasteTemplateAction.getPasteLocation(GraphicalEditPart container) |
Modifier and Type | Method and Description |
---|---|
protected GraphicalEditPart |
GraphicalViewerKeyHandler.getFocusEditPart() |
Modifier and Type | Method and Description |
---|---|
static java.util.LinkedHashSet |
EditPartUtilities.getAllChildren(GraphicalEditPart parentEditPart)
Returns the transitive child edit part set of the given parent
GraphicalEditPart . |
static java.util.HashSet |
EditPartUtilities.getAllNestedConnectionEditParts(GraphicalEditPart graphicalEditPart)
Returns the transitive nested connection edit parts.
|
static java.util.HashSet |
EditPartUtilities.getNestedConnectionEditParts(GraphicalEditPart graphicalEditPart)
Returns the set of
ConnectionEditPart s that are linked to
the child edit parts of the given GraphicalEditPart . |
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.