java.lang.Object |
↳ |
vars.annotation.ui.commandqueue.impl.AddAssociationCmd |
Class Overview
Command to add a given association to a collection of observations
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0)
|
final
void
|
wait(long arg0, int arg1)
|
|
From interface
vars.annotation.ui.commandqueue.Command
|
Fields
protected
final
ILink
associationTemplate
protected
final
Collection<Observation>
originalObservations
Public Constructors
public
AddAssociationCmd
(ILink associationTemplate, Collection<Observation> originalObservations)
Public Methods
public
void
apply
(ToolBelt toolBelt)
Apply/execute the command
public
String
getDescription
()
public
void
unapply
(ToolBelt toolBelt)
The inverse of apply, essentially an undo
Protected Methods
protected
void
doCommand
(ToolBelt toolBelt, boolean isApply)