Modifier and Type | Method and Description |
---|---|
static void |
execute(Operation operation,
int x,
int y,
org.eclipse.gef.EditPart firstSelectedEditPart,
org.eclipse.gef.EditPart... remainingSelectedEditParts)
Performs the
Operation . |
static org.eclipse.gef.commands.Command |
getCommand(Operation operation,
int x,
int y,
org.eclipse.gef.EditPart editPart)
Obtains the
Command from the Operation . |
public static void execute(Operation operation, int x, int y, org.eclipse.gef.EditPart firstSelectedEditPart, org.eclipse.gef.EditPart... remainingSelectedEditParts)
Operation
.operation
- Operation
.x
- X of location.y
- Y of location.firstSelectedEditPart
- First selected EditPart
instance to ensure at least
one.remainingSelectedEditParts
- Remaining EditPart
instances.public static org.eclipse.gef.commands.Command getCommand(Operation operation, int x, int y, org.eclipse.gef.EditPart editPart)
Copyright © 2005–2016. All rights reserved.