Methods in
org.eclipse.gef.editpolicies that return
Command
|
protected abstract
Command
|
TreeContainerEditPolicy.
getAddCommand
(
ChangeBoundsRequest request)
Returns a Command for adding the children to the container. |
protected abstract
Command
|
TreeContainerEditPolicy.
getCreateCommand
(
CreateRequest request)
Returns a Command for creating the object inside the container. |
protected abstract
Command
|
TreeContainerEditPolicy.
getMoveChildrenCommand
(
ChangeBoundsRequest request)
Returns a Command for moving the children within the container. |
Command
|
TreeContainerEditPolicy.
getCommand
(
Request req)
|
protected
Command
|
RootComponentEditPolicy.
createDeleteCommand
(
GroupRequest request)
Overridden to prevent the host from being deleted. |
Command
|
ResizableEditPolicy.
getCommand
(
Request request)
|
protected
Command
|
ResizableEditPolicy.
getResizeCommand
(
ChangeBoundsRequest request)
Returns the command contribution for the given resize request. |
protected abstract
Command
|
OrderedLayoutEditPolicy.
createAddCommand
(
EditPart child,
EditPart after)
Returns the Command to add the specified child after a reference
EditPart . |
protected abstract
Command
|
OrderedLayoutEditPolicy.
createMoveChildCommand
(
EditPart child,
EditPart after)
Returns the Command to move the specified child before the given reference
EditPart . |
protected
Command
|
OrderedLayoutEditPolicy.
getAddCommand
(
Request req)
This method is overridden from the superclass to calculate the index at which
the children should be added. |
protected
Command
|
OrderedLayoutEditPolicy.
getMoveChildrenCommand
(
Request request)
A move is interpreted here as a change in order of the children. |
Command
|
NonResizableEditPolicy.
getCommand
(
Request request)
|
protected
Command
|
NonResizableEditPolicy.
getAlignCommand
(
AlignmentRequest request)
Returns the command contribution to an alignment request |
protected
Command
|
NonResizableEditPolicy.
getMoveCommand
(
ChangeBoundsRequest request)
Returns the command contribution to a change bounds request. |
protected
Command
|
NonResizableEditPolicy.
getOrphanCommand
(
Request req)
Subclasses may override to contribute to the orphan request. |
protected
Command
|
LayoutEditPolicy.
getAddCommand
(
Request request)
Override to return the Command to perform an
ADD . |
protected
Command
|
LayoutEditPolicy.
getCloneCommand
(
ChangeBoundsRequest request)
Override to contribute to clone requests. |
Command
|
LayoutEditPolicy.
getCommand
(
Request request)
Factors incoming requests into various specific methods. |
protected abstract
Command
|
LayoutEditPolicy.
getCreateCommand
(
CreateRequest request)
Returns the Command to perform a create. |
protected
Command
|
LayoutEditPolicy.
getDeleteDependantCommand
(
Request request)
Returns the Command to delete a child. |
protected abstract
Command
|
LayoutEditPolicy.
getMoveChildrenCommand
(
Request request)
Returns the Command to move a group of children. |
protected
Command
|
LayoutEditPolicy.
getOrphanChildrenCommand
(
Request request)
Returns the Command to orphan a group of children. |
Command
|
GraphicalNodeEditPolicy.
getCommand
(
Request request)
Factors the request into one of four abstract methods. |
protected abstract
Command
|
GraphicalNodeEditPolicy.
getConnectionCompleteCommand
(
CreateConnectionRequest request)
Returns the Command that will create the connection. |
protected abstract
Command
|
GraphicalNodeEditPolicy.
getConnectionCreateCommand
(
CreateConnectionRequest request)
Returns the Command that represents the first half of creating a connection. |
protected abstract
Command
|
GraphicalNodeEditPolicy.
getReconnectTargetCommand
(
ReconnectRequest request)
Returns the Command to reconnect a connection's target end to the
host. |
protected abstract
Command
|
GraphicalNodeEditPolicy.
getReconnectSourceCommand
(
ReconnectRequest request)
Returns the Command to reconnect a connection's source end to the
host. |
Command
|
DirectEditPolicy.
getCommand
(
Request request)
|
protected abstract
Command
|
DirectEditPolicy.
getDirectEditCommand
(
DirectEditRequest request)
Returns the Command to perform the direct edit. |
protected
Command
|
ContainerEditPolicy.
getAddCommand
(
GroupRequest request)
Override to contribute to add requests. |
protected
Command
|
ContainerEditPolicy.
getCloneCommand
(
ChangeBoundsRequest request)
Override to contribute to clone requests. |
Command
|
ContainerEditPolicy.
getCommand
(
Request request)
Overridden to check for add, create, and orphan. |
protected abstract
Command
|
ContainerEditPolicy.
getCreateCommand
(
CreateRequest request)
Clients must implement to contribute to create requests. |
protected
Command
|
ContainerEditPolicy.
getOrphanChildrenCommand
(
GroupRequest request)
Override to contribute to orphan requests. |
protected
Command
|
ConstrainedLayoutEditPolicy.
createAddCommand
(
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 abstract
Command
|
ConstrainedLayoutEditPolicy.
createChangeConstraintCommand
(
EditPart child,
java.lang.Object constraint)
Returns the Command to change the specified child's constraint. |
protected
Command
|
ConstrainedLayoutEditPolicy.
getAddCommand
(
Request generic)
Overrides getAddCommand() to generate the proper constraint for each child
being added. |
protected
Command
|
ConstrainedLayoutEditPolicy.
getAlignChildrenCommand
(
AlignmentRequest request)
Returns the command to align a group of children. |
Command
|
ConstrainedLayoutEditPolicy.
getCommand
(
Request request)
Factors out RESIZE and ALIGN requests, otherwise calls super . |
protected
Command
|
ConstrainedLayoutEditPolicy.
getResizeChildrenCommand
(
ChangeBoundsRequest request)
Returns the Command to resize a group of children. |
protected
Command
|
ConstrainedLayoutEditPolicy.
getMoveChildrenCommand
(
Request request)
Returns the Command to move a group of children. |
Command
|
ConnectionEndpointEditPolicy.
getCommand
(
Request request)
|
Command
|
ConnectionEditPolicy.
getCommand
(
Request request)
|
protected abstract
Command
|
ConnectionEditPolicy.
getDeleteCommand
(
GroupRequest request)
Subclasses should implement to return the Command to delete the connection. |
protected
Command
|
ComponentEditPolicy.
createDeleteCommand
(
GroupRequest deleteRequest)
Override to contribute to the component's being deleted. |
Command
|
ComponentEditPolicy.
getCommand
(
Request request)
Factors the incoming Request into ORPHANs and DELETEs. |
protected
Command
|
ComponentEditPolicy.
getDeleteCommand
(
GroupRequest request)
Calls and returns
ComponentEditPolicy.createDeleteCommand(GroupRequest) . |
protected
Command
|
ComponentEditPolicy.
getOrphanCommand
()
Returns the command contribution for orphaning this component from its container. |
Command
|
BendpointEditPolicy.
getCommand
(
Request request)
Factors the Request into either a MOVE, a DELETE, or a CREATE of a bendpoint. |
protected abstract
Command
|
BendpointEditPolicy.
getCreateBendpointCommand
(
BendpointRequest request)
Implement this method to return a Command that will create a bendpoint. |
protected abstract
Command
|
BendpointEditPolicy.
getDeleteBendpointCommand
(
BendpointRequest request)
Implement this method to return a Command that will delete a bendpoint. |
protected abstract
Command
|
BendpointEditPolicy.
getMoveBendpointCommand
(
BendpointRequest request)
Implement this method to return a Command that will move a bendpoint. |
Command
|
AbstractEditPolicy.
getCommand
(
Request request)
Returns null by default. |