com.uppaal.model.core2
Class SnapCommand
java.lang.Object
com.uppaal.model.core2.AbstractCommand
com.uppaal.model.core2.SnapCommand
- All Implemented Interfaces:
- Command
public class SnapCommand
- extends AbstractCommand
Command to snap template elements to a grid.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnapCommand
public SnapCommand(AbstractTemplate template,
int diameter)
execute
public void execute()
undo
public void undo()
getModifiedElement
public Element getModifiedElement()
- Returns:
- the modified element or its closest relative (sibling or parent)
if the element is not displayed.
Copyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.