|
Eclipse GEF 2.1 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Command | |
org.eclipse.gef | All interfaces, base types, and the plugin class are here. |
org.eclipse.gef.commands | Simple implementations of the Command interface which support development-time inspection. |
org.eclipse.gef.dnd | |
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.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. |
org.eclipse.gef.ui.actions | This package support for using JFace Actions in your EditorPart. |
Uses of Command in org.eclipse.gef |
Methods in org.eclipse.gef that return Command | |
Command |
EditPolicy.getCommand(Request request)
Returns the Command contribution for the given Request , or
null . |
Command |
EditPart.getCommand(Request request)
Returns the Command to perform the specified Request or null . |
Uses of Command in org.eclipse.gef.commands |
Subclasses of Command in org.eclipse.gef.commands | |
class |
CompoundCommand
An aggregation of multiple Commands . |
class |
ForwardUndoCompoundCommand
A CompoundCommand that performs undo on its contained Commands in the same order in which they were executed. |
class |
UnexecutableCommand
A Command which can never be executed |
Methods in org.eclipse.gef.commands that return Command | |
Command |
CompoundCommand.unwrap()
Returns the simplest form of this Command that is equivalent. |
Command |
CommandStack.getRedoCommand()
Peeks at the top of the redo stack. |
Command |
CommandStack.getUndoCommand()
Peeks at the top of the undo stack. |
Command |
Command.chain(Command command)
Returns a Command that represents the chaining of a specified Command to this Command. |
Methods in org.eclipse.gef.commands with parameters of type Command | |
void |
CompoundCommand.add(Command command)
Adds the specified command if it is not null . |
void |
CommandStack.execute(Command command)
Executes the specified Command if it is executable. |
Command |
Command.chain(Command command)
Returns a Command that represents the chaining of a specified Command to this Command. |
Uses of Command in org.eclipse.gef.dnd |
Methods in org.eclipse.gef.dnd that return Command | |
protected Command |
AbstractTransferDropTargetListener.getCommand()
Returns the current command from the target EditPart. |
Uses of Command in org.eclipse.gef.editparts |
Methods in org.eclipse.gef.editparts that return Command | |
Command |
ScalableRootEditPart.getCommand(Request req)
The RootEditPart should never be asked for a command. |
Command |
RootTreeEditPart.getCommand(Request request)
|
Command |
GraphicalRootEditPart.getCommand(Request req)
Deprecated. Returns the unexecutable command. |
Command |
FreeformGraphicalRootEditPart.getCommand(Request req)
The RootEditPart should never be asked for a command. |
Command |
AbstractEditPart.getCommand(Request request)
Subclasses should rarely extend this method. |
Uses of Command in org.eclipse.gef.editpolicies |
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 after a 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 . |
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 abstract 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. |
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 abstract Command |
ConstrainedLayoutEditPolicy.createAddCommand(EditPart child,
Object constraint)
Returns the Command to perform an Add with the specified child and
constraint. |
protected abstract Command |
ConstrainedLayoutEditPolicy.createChangeConstraintCommand(EditPart child,
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)
Combines the DELETE contribution from this class and the parent. |
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. |
Uses of Command in org.eclipse.gef.requests |
Methods in org.eclipse.gef.requests that return Command | |
Command |
CreateConnectionRequest.getStartCommand()
Returns the start command. |
Methods in org.eclipse.gef.requests with parameters of type Command | |
void |
CreateConnectionRequest.setStartCommand(Command c)
Sets the start command. |
Uses of Command in org.eclipse.gef.tools |
Methods in org.eclipse.gef.tools that return Command | |
protected Command |
TargetingTool.getCommand()
Queries the target editpart for a command. |
protected Command |
ResizeTracker.getCommand()
|
protected Command |
DragEditPartsTracker.getCommand()
Asks each edit part in the operation set to
contribute to a CompoundCommand after first setting the request type to either
RequestConstants.REQ_MOVE or RequestConstants.REQ_ORPHAN , depending on
the result of DragEditPartsTracker.isMove() . |
protected Command |
ConnectionBendpointTracker.getCommand()
Obtains a new command from the connection. |
protected Command |
AbstractTool.getCommand()
Returns a new, updated command based on the tools current properties. |
protected Command |
AbstractTool.getCurrentCommand()
Returns the currently cached command. |
Methods in org.eclipse.gef.tools with parameters of type Command | |
protected void |
AbstractTool.setCurrentCommand(Command c)
Used to cache a command obtained from AbstractTool.getCommand() . |
Uses of Command in org.eclipse.gef.ui.actions |
Methods in org.eclipse.gef.ui.actions that return Command | |
static Command |
DeleteAction.createDeleteCommand(List objects)
Deprecated. this method will become an instance method in the next release. |
Methods in org.eclipse.gef.ui.actions with parameters of type Command | |
protected void |
WorkbenchPartAction.execute(Command command)
Executes the given Command using the command stack. |
protected String |
StackAction.getLabelForCommand(Command command)
Returns the label for the given command. |
|
Eclipse GEF 2.1 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |