From: Xuan B. <med...@us...> - 2008-01-23 21:25:03
|
Update of /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24420/src/org/tm4j/topicmap/tmdm Modified Files: TopicMapEventListener.java TopicMapEventAdapter.java Scopeable.java Log Message: Introduce Scopeable.replaceScope(). Index: TopicMapEventAdapter.java =================================================================== RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/TopicMapEventAdapter.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TopicMapEventAdapter.java 23 Jan 2008 19:33:05 -0000 1.3 --- TopicMapEventAdapter.java 23 Jan 2008 21:25:02 -0000 1.4 *************** *** 47,50 **** --- 47,53 ---- } + public void notifyScopeReplaced(TM topicMap,Scopeable scopeable,Scope oldScope,Scope newScope) { + } + /** Notifies this listener after an occurrence has been created. Index: Scopeable.java =================================================================== RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/Scopeable.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Scopeable.java 21 Jan 2008 11:13:44 -0000 1.1 --- Scopeable.java 23 Jan 2008 21:25:02 -0000 1.2 *************** *** 14,17 **** --- 14,19 ---- public boolean removeScopingTopic(Topic scopingTopic); + + public void replaceScope(Scope newScope); } Index: TopicMapEventListener.java =================================================================== RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm/TopicMapEventListener.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TopicMapEventListener.java 23 Jan 2008 19:33:05 -0000 1.3 --- TopicMapEventListener.java 23 Jan 2008 21:25:02 -0000 1.4 *************** *** 37,40 **** --- 37,42 ---- public void notifyScopingTopicRemoved(TM topicMap,Scopeable scopeable,T scopingTopic); + public void notifyScopeReplaced(TM topicMap,Scopeable scopeable,Scope oldScope,Scope newScope); + /** Notifies this listener after an occurrence has been created. |