directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r651548 - in /directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations: META-INF/ src/main/java/org/apache/directory/studio/apacheds/experimentations/
Date Fri, 25 Apr 2008 09:17:25 GMT
Author: pamarcelot
Date: Fri Apr 25 02:17:22 2008
New Revision: 651548

URL: http://svn.apache.org/viewvc?rev=651548&view=rev
Log:
Renamed Activator class to ApacheDsPlugin.

Added:
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ApacheDsPlugin.java
      - copied, changed from r651315, directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/Activator.java
Removed:
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/Activator.java
Modified:
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/META-INF/MANIFEST.MF
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ColorsAndFontsPage.java
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/LogMessageConsole.java
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/MainPage.java
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PluginUtils.java
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PreferenceInitializer.java
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/StudioConsoleAppender.java

Modified: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/META-INF/MANIFEST.MF?rev=651548&r1=651547&r2=651548&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/META-INF/MANIFEST.MF
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/META-INF/MANIFEST.MF
Fri Apr 25 02:17:22 2008
@@ -3,7 +3,7 @@
 Bundle-Name: ApacheDS Plugin Experimentations Plug-in
 Bundle-SymbolicName: org.apache.directory.studio.apacheds.experimentations;singleton:=true
 Bundle-Version: 0.0.1
-Bundle-Activator: org.apache.directory.studio.apacheds.experimentations.Activator
+Bundle-Activator: org.apache.directory.studio.apacheds.experimentations.ApacheDsPlugin
 Bundle-Vendor: Apache Software Foundation
 Require-Bundle: org.eclipse.ui,
  org.eclipse.core.runtime,

Copied: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ApacheDsPlugin.java
(from r651315, directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/Activator.java)
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ApacheDsPlugin.java?p2=directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ApacheDsPlugin.java&p1=directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/Activator.java&r1=651315&r2=651548&rev=651548&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/Activator.java
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ApacheDsPlugin.java
Fri Apr 25 02:17:22 2008
@@ -36,7 +36,6 @@
 import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
 import org.eclipse.jdt.launching.IRuntimeClasspathEntry;
 import org.eclipse.jdt.launching.IVMInstall;
-import org.eclipse.jdt.launching.IVMInstallType;
 import org.eclipse.jdt.launching.JavaRuntime;
 import org.eclipse.ui.console.ConsolePlugin;
 import org.eclipse.ui.console.IConsole;
@@ -48,14 +47,14 @@
 /**
  * The activator class controls the plug-in life cycle
  */
-public class Activator extends AbstractUIPlugin
+public class ApacheDsPlugin extends AbstractUIPlugin
 {
     // The plug-in ID
     public static final String PLUGIN_ID = "org.apache.directory.studio.apacheds.experimentations";
-    private static Logger logger = Logger.getLogger( Activator.class );
+    private static Logger logger = Logger.getLogger( ApacheDsPlugin.class );
 
     // The shared instance
-    private static Activator plugin;
+    private static ApacheDsPlugin plugin;
 
     private ConsoleDisplayMgr consoleDisplayMgr;
     private MessageConsole logMessageConsole;
@@ -64,7 +63,7 @@
     /**
      * The constructor
      */
-    public Activator()
+    public ApacheDsPlugin()
     {
     }
 
@@ -163,7 +162,7 @@
      *
      * @return the shared instance
      */
-    public static Activator getDefault()
+    public static ApacheDsPlugin getDefault()
     {
         return plugin;
     }

Modified: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ColorsAndFontsPage.java
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ColorsAndFontsPage.java?rev=651548&r1=651547&r2=651548&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ColorsAndFontsPage.java
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ColorsAndFontsPage.java
Fri Apr 25 02:17:22 2008
@@ -72,7 +72,7 @@
     public ColorsAndFontsPage()
     {
         super( "Colors and Fonts" );
-        setPreferenceStore( Activator.getDefault().getPreferenceStore() );
+        setPreferenceStore( ApacheDsPlugin.getDefault().getPreferenceStore() );
         setDescription( "Colors and Fonts settings for the Apache Directory Server Plugin"
);
     }
 

Modified: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/LogMessageConsole.java
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/LogMessageConsole.java?rev=651548&r1=651547&r2=651548&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/LogMessageConsole.java
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/LogMessageConsole.java
Fri Apr 25 02:17:22 2008
@@ -66,7 +66,7 @@
     {
         super( name, imageDescriptor );
 
-        preferenceStore = Activator.getDefault().getPreferenceStore();
+        preferenceStore = ApacheDsPlugin.getDefault().getPreferenceStore();
     }
 
 
@@ -80,7 +80,7 @@
     {
         super( name, null );
 
-        preferenceStore = Activator.getDefault().getPreferenceStore();
+        preferenceStore = ApacheDsPlugin.getDefault().getPreferenceStore();
     }
 
 
@@ -268,7 +268,7 @@
         }
 
         // Applying settings to the stream
-        messageConsoleStream.setColor( new Color( Activator.getDefault().getWorkbench().getDisplay(),
rgb ) );
+        messageConsoleStream.setColor( new Color( ApacheDsPlugin.getDefault().getWorkbench().getDisplay(),
rgb ) );
         messageConsoleStream.setFontStyle( style );
     }
 }

Modified: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/MainPage.java
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/MainPage.java?rev=651548&r1=651547&r2=651548&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/MainPage.java
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/MainPage.java
Fri Apr 25 02:17:22 2008
@@ -44,7 +44,7 @@
     public MainPage()
     {
         super( "Apache Directory Server" );
-        setPreferenceStore( Activator.getDefault().getPreferenceStore() );
+        setPreferenceStore( ApacheDsPlugin.getDefault().getPreferenceStore() );
         setDescription( "General settings for the Apache Directory Server Plugin" );
     }
 

Modified: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PluginUtils.java
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PluginUtils.java?rev=651548&r1=651547&r2=651548&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PluginUtils.java
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PluginUtils.java
Fri Apr 25 02:17:22 2008
@@ -75,7 +75,7 @@
      */
     public static void verifyLibrariesFolder()
     {
-        IPath stateLocationPath = Activator.getDefault().getStateLocation();
+        IPath stateLocationPath = ApacheDsPlugin.getDefault().getStateLocation();
 
         // Libraries folder
         IPath librariesFolderPath = stateLocationPath.append( LIBRARIES_FOLDER_NAME );
@@ -127,7 +127,7 @@
     private static void copyLibrary( String library, File destination ) throws IOException
     {
         // Getting he URL of the library within the bundle
-        URL libraryUrl = FileLocator.find( Activator.getDefault().getBundle(), new Path(
RESOURCES + IPath.SEPARATOR
+        URL libraryUrl = FileLocator.find( ApacheDsPlugin.getDefault().getBundle(), new Path(
RESOURCES + IPath.SEPARATOR
             + LIBS + IPath.SEPARATOR + library ), null );
 
         // Creating the input and output streams
@@ -172,7 +172,7 @@
      */
     public static IPath getApacheDsLibrariesFolder()
     {
-        return Activator.getDefault().getStateLocation().append( LIBRARIES_FOLDER_NAME ).append(
+        return ApacheDsPlugin.getDefault().getStateLocation().append( LIBRARIES_FOLDER_NAME
).append(
             APACHEDS + "-" + APACHEDS_VERSION );
     }
 
@@ -185,7 +185,7 @@
      */
     public static IPath getApacheDsInstancesFolder()
     {
-        return Activator.getDefault().getStateLocation().append( INSTANCES );
+        return ApacheDsPlugin.getDefault().getStateLocation().append( INSTANCES );
     }
 
 
@@ -248,7 +248,7 @@
     private static void copyConfigurationFile( String inputFilename, File ouputFile ) throws
IOException
     {
         // Getting he URL of the file within the bundle
-        URL inputFilenameUrl = FileLocator.find( Activator.getDefault().getBundle(), new
Path( RESOURCES
+        URL inputFilenameUrl = FileLocator.find( ApacheDsPlugin.getDefault().getBundle(),
new Path( RESOURCES
             + IPath.SEPARATOR + "conf" + IPath.SEPARATOR + inputFilename ), null );
 
         // Creating the input and output streams

Modified: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PreferenceInitializer.java
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PreferenceInitializer.java?rev=651548&r1=651547&r2=651548&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PreferenceInitializer.java
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PreferenceInitializer.java
Fri Apr 25 02:17:22 2008
@@ -43,7 +43,7 @@
     public void initializeDefaultPreferences()
     {
         // The preference store
-        IPreferenceStore store = Activator.getDefault().getPreferenceStore();
+        IPreferenceStore store = ApacheDsPlugin.getDefault().getPreferenceStore();
 
         // Fonts
         FontData[] fontData = Display.getDefault().getSystemFont().getFontData();

Modified: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/StudioConsoleAppender.java
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/StudioConsoleAppender.java?rev=651548&r1=651547&r2=651548&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/StudioConsoleAppender.java
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/StudioConsoleAppender.java
Fri Apr 25 02:17:22 2008
@@ -42,7 +42,7 @@
         Level level = event.getLevel();
         Object message = event.getMessage();
 
-        Activator.getDefault().getConsoleDisplayMgr()
+        ApacheDsPlugin.getDefault().getConsoleDisplayMgr()
             .println( level + " " + message, ConsoleDisplayMgr.MSG_INFORMATION );
     }
 



Mime
View raw message