net.refractions.udig.tools.edit.commands
Class SelectPointCommand
java.lang.Object
AbstractCommand
net.refractions.udig.tools.edit.commands.SelectPointCommand
public class SelectPointCommand
- extends AbstractCommand
Sets the selection on the editblackboard. Depending on the Enum used
the new points may be added to the selection or may replace the selection.
- Since:
- 1.1.0
- Author:
- jones
Method Summary |
java.lang.String |
getName()
|
void |
rollback(IProgressMonitor monitor)
|
void |
run(IProgressMonitor monitor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectPointCommand
public SelectPointCommand(EditBlackboard editBlackboard,
java.util.Set<Point> points,
SelectPointCommand.Type type)
- new instance
- Parameters:
editBlackboard
- blackboard to modifypoints
- points to add or settype
- indicates whether to add or set.
SelectPointCommand
public SelectPointCommand(EditBlackboard editBlackboard2,
Point point,
SelectPointCommand.Type type)
- new instance
- Parameters:
editBlackboard
- blackboard to modifypoint
- point to add or settype
- indicates whether to add or set.
run
public void run(IProgressMonitor monitor)
throws java.lang.Exception
- Throws:
java.lang.Exception
getName
public java.lang.String getName()
rollback
public void rollback(IProgressMonitor monitor)
throws java.lang.Exception
- Throws:
java.lang.Exception