public class OperationCommand extends com.vaadin.event.Action implements Command
| Constructor and Description |
|---|
OperationCommand(String caption,
Operation operation,
Map<String,String> props) |
OperationCommand(String caption,
String menuLocation,
String contextMenuLocation) |
| Modifier and Type | Method and Description |
|---|---|
void |
doCommand(List<VertexRef> targets,
OperationContext operationContext) |
com.vaadin.event.Action |
getAction() |
String |
getContextMenuPosition() |
String |
getMenuPosition() |
Operation |
getOperation() |
static Map<String,String> |
getProperties(String menuLocation,
String contextMenuLocation) |
boolean |
isAction() |
String |
toString() |
void |
undoCommand() |
public OperationCommand(String caption, Operation operation, Map<String,String> props)
public static Map<String,String> getProperties(String menuLocation, String contextMenuLocation)
public void doCommand(List<VertexRef> targets, OperationContext operationContext)
public void undoCommand()
undoCommand in interface Commandpublic String getMenuPosition()
getMenuPosition in interface Commandpublic Operation getOperation()
getOperation in interface Commandpublic String getContextMenuPosition()
getContextMenuPosition in interface CommandCopyright © 2015. All rights reserved.