Author: kono
Date: 2009-06-10 20:16:21 -0700 (Wed, 10 Jun 2009)
New Revision: 16918

Removed:
   
csplugins/trunk/soc/kozo/processing-renderer/processing-rendering-engine/src/main/java/org/cytoscape/view/presentation/processing/ExampleService.java
   
csplugins/trunk/soc/kozo/processing-renderer/processing-rendering-engine/src/main/java/org/cytoscape/view/presentation/processing/internal/ExampleActivator.java
   
csplugins/trunk/soc/kozo/processing-renderer/processing-rendering-engine/src/main/java/org/cytoscape/view/presentation/processing/internal/ExampleServiceImpl.java
Log:
Unnecessary sample source code files removed.

Deleted: 
csplugins/trunk/soc/kozo/processing-renderer/processing-rendering-engine/src/main/java/org/cytoscape/view/presentation/processing/ExampleService.java
===================================================================
--- 
csplugins/trunk/soc/kozo/processing-renderer/processing-rendering-engine/src/main/java/org/cytoscape/view/presentation/processing/ExampleService.java
       2009-06-11 02:43:43 UTC (rev 16917)
+++ 
csplugins/trunk/soc/kozo/processing-renderer/processing-rendering-engine/src/main/java/org/cytoscape/view/presentation/processing/ExampleService.java
       2009-06-11 03:16:21 UTC (rev 16918)
@@ -1,12 +0,0 @@
-package org.cytoscape.view.presentation.processing;
-
-/**
- * Public API representing an example OSGi service
- */
-public interface ExampleService
-{
-    // public methods go here...
-
-    String scramble( String text );
-}
-

Deleted: 
csplugins/trunk/soc/kozo/processing-renderer/processing-rendering-engine/src/main/java/org/cytoscape/view/presentation/processing/internal/ExampleActivator.java
===================================================================
--- 
csplugins/trunk/soc/kozo/processing-renderer/processing-rendering-engine/src/main/java/org/cytoscape/view/presentation/processing/internal/ExampleActivator.java
    2009-06-11 02:43:43 UTC (rev 16917)
+++ 
csplugins/trunk/soc/kozo/processing-renderer/processing-rendering-engine/src/main/java/org/cytoscape/view/presentation/processing/internal/ExampleActivator.java
    2009-06-11 03:16:21 UTC (rev 16918)
@@ -1,45 +0,0 @@
-package org.cytoscape.view.presentation.processing.internal;
-
-import java.util.Dictionary;
-import java.util.Properties;
-
-import org.osgi.framework.BundleActivator;
-import org.osgi.framework.BundleContext;
-
-import org.cytoscape.view.presentation.processing.ExampleService;
-
-/**
- * Extension of the default OSGi bundle activator
- */
-public final class ExampleActivator
-    implements BundleActivator
-{
-    /**
-     * Called whenever the OSGi framework starts our bundle
-     */
-    public void start( BundleContext bc )
-        throws Exception
-    {
-        System.out.println( "STARTING 
org.cytoscape.view.presentation.processing" );
-
-        Dictionary props = new Properties();
-        // add specific service properties here...
-
-        System.out.println( "REGISTER 
org.cytoscape.view.presentation.processing.ExampleService" );
-
-        // Register our example service implementation in the OSGi service 
registry
-        bc.registerService( ExampleService.class.getName(), new 
ExampleServiceImpl(), props );
-    }
-
-    /**
-     * Called whenever the OSGi framework stops our bundle
-     */
-    public void stop( BundleContext bc )
-        throws Exception
-    {
-        System.out.println( "STOPPING 
org.cytoscape.view.presentation.processing" );
-
-        // no need to unregister our service - the OSGi framework handles it 
for us
-    }
-}
-

Deleted: 
csplugins/trunk/soc/kozo/processing-renderer/processing-rendering-engine/src/main/java/org/cytoscape/view/presentation/processing/internal/ExampleServiceImpl.java
===================================================================
--- 
csplugins/trunk/soc/kozo/processing-renderer/processing-rendering-engine/src/main/java/org/cytoscape/view/presentation/processing/internal/ExampleServiceImpl.java
  2009-06-11 02:43:43 UTC (rev 16917)
+++ 
csplugins/trunk/soc/kozo/processing-renderer/processing-rendering-engine/src/main/java/org/cytoscape/view/presentation/processing/internal/ExampleServiceImpl.java
  2009-06-11 03:16:21 UTC (rev 16918)
@@ -1,38 +0,0 @@
-package org.cytoscape.view.presentation.processing.internal;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-import org.cytoscape.view.presentation.processing.ExampleService;
-
-/**
- * Internal implementation of our example OSGi service
- */
-public final class ExampleServiceImpl
-    implements ExampleService
-{
-    // implementation methods go here...
-
-    public String scramble( String text )
-    {
-        List charList = new ArrayList();
-
-        char[] textChars = text.toCharArray();
-        for( int i = 0; i < textChars.length; i++ )
-        {
-            charList.add( new Character( textChars[i] ) );
-        }
-
-        Collections.shuffle( charList );
-
-        char[] mixedChars = new char[text.length()];
-        for( int i = 0; i < mixedChars.length; i++ )
-        {
-            mixedChars[i] = ( (Character) charList.get( i ) ).charValue();
-        }
-
-        return new String( mixedChars );
-    }
-}
-


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