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, isMarker
public RemoveAssociationOperation(Association a) throws UndoException, TopicMapException
UndoException
TopicMapException
Locator getType()
void setType(Locator type)
public static Association findAssociation(TopicMap tm, Locator type, java.util.HashMap<Locator,Locator> players) throws TopicMapException, UndoException
TopicMapException
UndoException
public void undo() throws UndoException
undo
in class UndoOperation
UndoException
public void redo() throws UndoException
redo
in class UndoOperation
UndoException
public java.lang.String getLabel()
getLabel
in class UndoOperation
public UndoOperation combineWith(UndoOperation previous)
combineWith
in class UndoOperation
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright 2004-2015 Wandora Team