Author: pwang
Date: 2011-02-28 15:23:07 -0800 (Mon, 28 Feb 2011)
New Revision: 24263

Modified:
   
csplugins/trunk/ucsd/pwang/cy3samples/sample10/src/main/resources/META-INF/spring/bundle-context-osgi.xml
   
csplugins/trunk/ucsd/pwang/cy3samples/sample10/src/main/resources/META-INF/spring/bundle-context.xml
Log:
Configuration updated

Modified: 
csplugins/trunk/ucsd/pwang/cy3samples/sample10/src/main/resources/META-INF/spring/bundle-context-osgi.xml
===================================================================
--- 
csplugins/trunk/ucsd/pwang/cy3samples/sample10/src/main/resources/META-INF/spring/bundle-context-osgi.xml
   2011-02-28 22:46:05 UTC (rev 24262)
+++ 
csplugins/trunk/ucsd/pwang/cy3samples/sample10/src/main/resources/META-INF/spring/bundle-context-osgi.xml
   2011-02-28 23:23:07 UTC (rev 24263)
@@ -6,13 +6,15 @@
 
        <!-- imports -->
        <osgi:reference id="cyApplicationManagerService"
-                       interface="org.cytoscape.session.CyApplicationManager" 
/>
-       <osgi:reference id="cytoscapeDesktopService"
-               interface="org.cytoscape.application.swing.CySwingApplication" 
/>
-       <osgi:reference id="guiTaskManagerServiceRef" 
interface="org.cytoscape.work.swing.GUITaskManager" />                    
+                       interface="org.cytoscape.session.CyApplicationManager" 
/>               
                                                
        <!-- export services -->
-       <osgi:service id="sample10ActionService" ref="sample10Action"
-               interface="org.cytoscape.application.swing.CyAction" />
-
+       <osgi:service id="sample10TaskFactoryService" ref="sample10TaskFactory"
+               interface="org.cytoscape.work.TaskFactory">
+               <osgi:service-properties>
+                       <entry key="title" value="Sample 10" />
+                       <entry key="preferredMenu" value="Plugins" />
+                       <entry key="menuGravity" value="11.0" />
+               </osgi:service-properties>
+       </osgi:service>
 </beans>

Modified: 
csplugins/trunk/ucsd/pwang/cy3samples/sample10/src/main/resources/META-INF/spring/bundle-context.xml
===================================================================
--- 
csplugins/trunk/ucsd/pwang/cy3samples/sample10/src/main/resources/META-INF/spring/bundle-context.xml
        2011-02-28 22:46:05 UTC (rev 24262)
+++ 
csplugins/trunk/ucsd/pwang/cy3samples/sample10/src/main/resources/META-INF/spring/bundle-context.xml
        2011-02-28 23:23:07 UTC (rev 24263)
@@ -20,10 +20,8 @@
        default-lazy-init="false">
 
 
-       <bean id="sample10Action" 
class="org.cytoscape.sample.internal.Sample10Action">
+       <bean id="sample10TaskFactory" 
class="org.cytoscape.sample.internal.Sample10TaskFactory">
                <constructor-arg ref="cyApplicationManagerService" />
-               <constructor-arg ref="cytoscapeDesktopService" />
-               <constructor-arg ref="guiTaskManagerServiceRef" />
        </bean>
        
 </beans>

-- 
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