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 Command
public String getMenuPosition()
getMenuPosition
in interface Command
public Operation getOperation()
getOperation
in interface Command
public String getContextMenuPosition()
getContextMenuPosition
in interface Command
Copyright © 2017. All rights reserved.