Author: kono
Date: 2010-08-12 17:34:57 -0700 (Thu, 12 Aug 2010)
New Revision: 21373

Modified:
   
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/UndoSupportImpl.java
   
core3/work-swing-impl/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
Log:
Work API was broken and all dependent modules were broken.  I fixed it by 
re-organized the import and package name.  This type of refactoring should be 
done by IDE.

Modified: 
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/UndoSupportImpl.java
===================================================================
--- 
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/UndoSupportImpl.java
  2010-08-13 00:24:19 UTC (rev 21372)
+++ 
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/UndoSupportImpl.java
  2010-08-13 00:34:57 UTC (rev 21373)
@@ -38,9 +38,10 @@
 
 import javax.swing.undo.UndoManager;
 import javax.swing.undo.UndoableEditSupport;
-import org.cytoscape.work.UndoSupport;
 
+import org.cytoscape.work.undo.UndoSupport;
 
+
 /**
  * Rudimentary support for undo.  To post an edit to the manager, call
  * Undo.getUndoableEditSupport().postEdit(yourEdit).  To handle the edits,

Modified: 
core3/work-swing-impl/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
===================================================================
--- 
core3/work-swing-impl/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
      2010-08-13 00:24:19 UTC (rev 21372)
+++ 
core3/work-swing-impl/trunk/src/main/resources/META-INF/spring/bundle-context-osgi.xml
      2010-08-13 00:34:57 UTC (rev 21373)
@@ -8,7 +8,7 @@
 
        <!-- Services provided by this bundle -->
        <osgi:service id="undoSupportService"
-               ref="undoSupport" interface="org.cytoscape.work.UndoSupport">
+               ref="undoSupport" 
interface="org.cytoscape.work.undo.UndoSupport">
        </osgi:service>
        
        <osgi:service id="guiTunableInterceptorService"

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to