Package | Description |
---|---|
org.eclipse.gef.editpolicies |
This package contains EditPolicy implementations for many common editing
Roles.
|
org.eclipse.gef.requests |
This package contains the common Request types used by the provided tools and edit policies.
|
org.eclipse.gef.tools |
This package provides several tool implementations.
|
Modifier and Type | Method and Description |
---|---|
protected Command |
ConstrainedLayoutEditPolicy.createAddCommand(ChangeBoundsRequest request,
EditPart child,
java.lang.Object constraint)
Returns the
Command to perform an Add with the specified
child and constraint. |
protected Command |
ConstrainedLayoutEditPolicy.createChangeConstraintCommand(ChangeBoundsRequest request,
EditPart child,
java.lang.Object constraint)
The request is now made available when creating the change constraint
command.
|
protected void |
NonResizableEditPolicy.eraseChangeBoundsFeedback(ChangeBoundsRequest request)
Erases drag feedback.
|
protected abstract Command |
TreeContainerEditPolicy.getAddCommand(ChangeBoundsRequest request)
Returns a Command for adding the children to the container.
|
protected Command |
ConstrainedLayoutEditPolicy.getChangeConstraintCommand(ChangeBoundsRequest request)
Returns the
Command for changing bounds for a group of
children. |
protected Command |
ContainerEditPolicy.getCloneCommand(ChangeBoundsRequest request)
Override to contribute to clone requests.
|
protected Command |
LayoutEditPolicy.getCloneCommand(ChangeBoundsRequest request)
Override to contribute to clone requests.
|
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 |
ConstrainedLayoutEditPolicy.getConstraintForClone(GraphicalEditPart part,
ChangeBoundsRequest request)
Deprecated.
|
protected abstract Command |
TreeContainerEditPolicy.getMoveChildrenCommand(ChangeBoundsRequest request)
Returns a Command for moving the children within the container.
|
protected Command |
NonResizableEditPolicy.getMoveCommand(ChangeBoundsRequest request)
Returns the command contribution to a change bounds request.
|
protected Command |
ConstrainedLayoutEditPolicy.getResizeChildrenCommand(ChangeBoundsRequest request)
Returns the
Command to resize a group of children. |
protected Command |
ResizableEditPolicy.getResizeCommand(ChangeBoundsRequest request)
Returns the command contribution for the given resize request.
|
protected void |
NonResizableEditPolicy.showChangeBoundsFeedback(ChangeBoundsRequest request)
Shows or updates feedback for a change bounds request.
|
Modifier and Type | Class and Description |
---|---|
class |
AlignmentRequest
A request to align multiple objects.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ResizeTracker.enforceConstraintsForResize(ChangeBoundsRequest changeBoundsRequest)
Ensures size constraints (by default minimum and maximum) are respected
by the given request.
|
protected Dimension |
ResizeTracker.getMaximumSizeFor(ChangeBoundsRequest request)
Determines the maximum size that the host can be resized to for
a given request.
|
protected Dimension |
ResizeTracker.getMinimumSizeFor(ChangeBoundsRequest request)
Determines the minimum size that the specified child can be
resized to.By default, a default value is returned.
|
protected void |
DragEditPartsTracker.snapPoint(ChangeBoundsRequest request)
This method can be overridden by clients to customize the snapping
behavior.
|
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.