public class RemoveAssociationOperation extends UndoOperation
| Modifier and Type | Class and Description |
|---|---|
static class |
RemoveAssociationOperation.AssociationNotFoundException |
| Modifier and Type | Field and Description |
|---|---|
private java.util.HashMap<Locator,Locator> |
players |
private TopicMap |
tm |
private Locator |
type |
isMarker, operationNumber| Constructor and Description |
|---|
RemoveAssociationOperation(Association a) |
| Modifier and Type | Method and Description |
|---|---|
UndoOperation |
combineWith(UndoOperation previous) |
boolean |
equals(java.lang.Object obj) |
static Association |
findAssociation(TopicMap tm,
Locator type,
java.util.HashMap<Locator,Locator> players) |
java.lang.String |
getLabel() |
(package private) java.util.HashMap<Locator,Locator> |
getPlayers() |
(package private) Locator |
getType() |
int |
hashCode() |
void |
redo() |
(package private) void |
setPlayers(java.util.HashMap<Locator,Locator> players) |
(package private) void |
setType(Locator type) |
void |
undo() |
canRedo, canUndo, getDescription, getOperationNumber, getRedoLabel, getUndoLabel, isMarkerpublic RemoveAssociationOperation(Association a) throws UndoException, TopicMapException
UndoExceptionTopicMapExceptionLocator getType()
void setType(Locator type)
public static Association findAssociation(TopicMap tm, Locator type, java.util.HashMap<Locator,Locator> players) throws TopicMapException, UndoException
TopicMapExceptionUndoExceptionpublic void undo()
throws UndoException
undo in class UndoOperationUndoExceptionpublic void redo()
throws UndoException
redo in class UndoOperationUndoExceptionpublic java.lang.String getLabel()
getLabel in class UndoOperationpublic UndoOperation combineWith(UndoOperation previous)
combineWith in class UndoOperationpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright 2004-2015 Wandora Team