|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.uka.ipd.consensus.foundation.evolution.EvolutionAdapter
An adapter class for receiving evolution events. The methods in this class are empty. This class exists for convenience for creating listener objects if you don't want to implement all of the listener's methods.
Constructor Summary | |
EvolutionAdapter()
|
Method Summary | |
void |
associationDeleted(EvolutionEvent event)
Called by the EvolutionManager when an association is deleted. |
void |
topicDeleted(EvolutionEvent event)
Called by the EvolutionManager when a topic is deleted. |
void |
topicsMerged(EvolutionEvent event)
Called by the EvolutionManager when two topics are merged. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EvolutionAdapter()
Method Detail |
public void topicDeleted(EvolutionEvent event)
EvolutionListener
EvolutionEvent.getConcept()
contains the deleted topic.
topicDeleted
in interface EvolutionListener
event
- the EvolutionEvent object containing the user and the deleted topicEvolutionManager.deleteTopic(User, Topic)
,
EvolutionManager.deleteTopicAndSubtopics(User, Topic)
public void associationDeleted(EvolutionEvent event)
EvolutionListener
EvolutionEvent.getConcept()
contains the deleted association.
associationDeleted
in interface EvolutionListener
event
- the EvolutionEvent object containing the user and the deleted associationEvolutionManager.deleteAssociation(User, Association)
public void topicsMerged(EvolutionEvent event)
EvolutionListener
EvolutionEvent.getConcept()
contains one of the merged topics, EvolutionEvent.getTopic()
the other.
topicsMerged
in interface EvolutionListener
event
- the EvolutionEvent object containing the user and the two merged topicsEvolutionManager.mergeTopics(User, Topic, Topic)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |