kaapo.projectmanager.command
Class RemoveFromSelectionEdit
java.lang.Object
kaapo.projectmanager.command.AbstractEdit
kaapo.projectmanager.command.RemoveFromSelectionEdit
- All Implemented Interfaces:
- Edit
public class RemoveFromSelectionEdit
- extends AbstractEdit
This Edit
removes a
DiagramComponentWrapper
from a pre-existing
Selection
.
If there are no DiagramComponentWrappers
on the
Point2D.Double
provided then nothing is done to the
Selection
.
If the DiagramComponentWrapper
is not found from the
Selection
nothing is done.
- Author:
- hprajani, iheikkin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveFromSelectionEdit
public RemoveFromSelectionEdit(Point2D clicked)
- Parameters:
clicked
- the checked point
RemoveFromSelectionEdit
public RemoveFromSelectionEdit(DiagramComponentWrapper dcw)
- Parameters:
dcw
- removed from selection
execute
public void execute(ProjectManager pm)
- Executes the edit.
- Parameters:
pm
- the ProjectManager the Edit is executed in- See Also:
Edit.execute(ProjectManager)