# Package org.eclipse.gef.editpolicies

package org.eclipse.gef.editpolicies

This package contains EditPolicy implementations for many common editing Roles.

Related Packages
Package
Description
org.eclipse.gef
All interfaces, base types, and the plugin class are here.
Classes
Class
Description
AbstractEditPolicy
The default implementation of `EditPolicy`.
AbstractTreeContainerEditPolicy
Deprecated.
Use TreeContainerEditPolicy
BendpointEditPolicy
Used to add bendpoint handles on a `ConnectionEditPart`.
ComponentEditPolicy
A model-based EditPolicy for components within a container.
ConnectionEditPolicy
A model-based EditPolicy for connections.
ConnectionEndpointEditPolicy
A selection handle policy for placing handles at the two ends of a ConnectionEditPart.
ConstrainedLayoutEditPolicy
For use with `LayoutManager` that require a constraint.
ContainerEditPolicy
An EditPolicy for use with container editparts.
DirectEditPolicy
Shows DirectEdit feedback and creates the Command to perform a "direct edit".
FeedbackHelper
Helps display connection feedback during drags of the connection ends.
FlowLayoutEditPolicy
An EditPolicy for use with `FlowLayout`.
GraphicalEditPolicy
A `GraphicalEditPolicy` is used with a `GraphicalEditPart`.
GraphicalNodeEditPolicy
A GraphicalNodeEditPolicy is responsible for creating and reconnecting connections graphically.
LayoutEditPolicy
Provides support for interacting with children `GraphicalEditParts` with the host figure's current `LayoutManager`.
NonResizableEditPolicy
Provide support for selecting and positioning a non-resizable editpart.
OrderedLayoutEditPolicy
A LayoutEditPolicy for use with `LayoutManagers` that take no constraints.
ResizableEditPolicy
Provides support for selecting, positioning, and resizing an edit part.
RootComponentEditPolicy
The root component cannot be removed from its parent.
ScrollableSelectionFeedbackEditPolicy
A `SelectionEditPolicy`, which may be registered to an `IScrollableEditPart` to provide primary selection feedback by rendering the hidden contents of the host figure's `ScrollPane`'s nested `Viewport` by means of `GhostImageFigure`s.
SelectionEditPolicy
A GraphicalEditPolicy that is sensitive to the host's selection.
SelectionHandlesEditPolicy
A SelectionEditPolicy which manages a List of handles provided by the subclass.
SnapFeedbackPolicy
An EditPolicy that is used to show snap feedback for guides (red lines) and geometry (blue lines).
StrokePointList
TreeContainerEditPolicy
An EditPolicy for handling ADDS, MOVES, and CREATES on a `TreeEditPart` .
XYLayoutEditPolicy
An EditPolicy for use with `Figures` in `XYLayout`.