directory-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=651549&view=rev
Log:
o Internal reorganization.
o Renamed the PluginUtils class to ApacheDsPluginUtils
o Renamed the PluginConstants class to ApacheDsPluginConstants.

Added:
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ApacheDsPluginConstants.java
      - copied, changed from r650816, directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PluginConstants.java
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ApacheDsPluginUtils.java
      - copied, changed from r651548, 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/perspectives/
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/perspectives/Perspective.java
      - copied, changed from r651546, directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/Perspective.java
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/prefs/
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/prefs/ColorsAndFontsPage.java
      - copied, changed from r651548, 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/prefs/MainPage.java
      - copied, changed from r651548, 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/views/
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/views/ServersView.java
      - copied, changed from r651546, directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ServersView.java
Removed:
    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/MainPage.java
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/Perspective.java
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PluginConstants.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/ServersView.java
Modified:
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/plugin.xml
    directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ApacheDsPlugin.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/PreferenceInitializer.java

Modified: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/plugin.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/plugin.xml?rev=651549&r1=651548&r2=651549&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/plugin.xml
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/plugin.xml
Fri Apr 25 02:22:05 2008
@@ -4,7 +4,7 @@
    <extension
          point="org.eclipse.ui.perspectives">
       <perspective
-            class="org.apache.directory.studio.apacheds.experimentations.Perspective"
+            class="org.apache.directory.studio.apacheds.experimentations.perspectives.Perspective"
             id="org.apache.directory.studio.apacheds.experimentations.perspective"
             name="ApacheDS Experimentations">
       </perspective>
@@ -12,12 +12,12 @@
    <extension
          point="org.eclipse.ui.preferencePages">
       <page
-            class="org.apache.directory.studio.apacheds.experimentations.MainPage"
+            class="org.apache.directory.studio.apacheds.experimentations.prefs.MainPage"
             id="org.apache.directory.studio.apacheds.experimentations.MainPage"
             name="Apache Directory Server">
       </page>
       <page
-            class="org.apache.directory.studio.apacheds.experimentations.ColorsAndFontsPage"
+            class="org.apache.directory.studio.apacheds.experimentations.prefs.ColorsAndFontsPage"
             id="org.apache.directory.studio.apacheds.experimentations.ColorsAndFontsPage"
             name="Colors and Fonts"
             category="org.apache.directory.studio.apacheds.experimentations.MainPage">
@@ -37,7 +37,7 @@
       </category>
       <view
             category="org.apache.directory.studio.apacheds.experimentations.category"
-            class="org.apache.directory.studio.apacheds.experimentations.ServersView"
+            class="org.apache.directory.studio.apacheds.experimentations.views.ServersView"
             icon="resources/icons/serverView.png"
             id="org.apache.directory.studio.apacheds.experimentations.serversView"
             name="Servers">

Modified: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ApacheDsPlugin.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?rev=651549&r1=651548&r2=651549&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ApacheDsPlugin.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:22:05 2008
@@ -77,7 +77,7 @@
         super.start( context );
         plugin = this;
 
-        PluginUtils.verifyLibrariesFolder();
+        ApacheDsPluginUtils.verifyLibrariesFolder();
 
         // Configuring Log4J
         PropertyConfigurator.configure( Platform.getBundle( PLUGIN_ID ).getResource( "conf/log4j.properties"
) ); //$NON-NLS-1$
@@ -103,8 +103,8 @@
         workingCopy.setAttribute( IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME,
             "org.apache.directory.server.UberjarMain" );
 
-        String[] libraries = PluginUtils.apachedsLibraries;
-        IPath apacheDsLibrariesFolder = PluginUtils.getApacheDsLibrariesFolder();
+        String[] libraries = ApacheDsPluginUtils.apachedsLibraries;
+        IPath apacheDsLibrariesFolder = ApacheDsPluginUtils.getApacheDsLibrariesFolder();
 
         List classpath = new ArrayList();
         for ( String library : libraries )

Copied: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ApacheDsPluginConstants.java
(from r650816, directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PluginConstants.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/ApacheDsPluginConstants.java?p2=directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ApacheDsPluginConstants.java&p1=directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PluginConstants.java&r1=650816&r2=651549&rev=651549&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PluginConstants.java
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ApacheDsPluginConstants.java
Fri Apr 25 02:22:05 2008
@@ -26,7 +26,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
-public interface PluginConstants
+public interface ApacheDsPluginConstants
 {
     // -----------
     // PREFERENCES

Copied: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ApacheDsPluginUtils.java
(from r651548, 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/ApacheDsPluginUtils.java?p2=directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ApacheDsPluginUtils.java&p1=directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/PluginUtils.java&r1=651548&r2=651549&rev=651549&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/ApacheDsPluginUtils.java
Fri Apr 25 02:22:05 2008
@@ -38,7 +38,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
-public class PluginUtils
+public class ApacheDsPluginUtils
 {
     private static final String RESOURCES = "resources";
     private static final String LIBS = "libs";

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=651549&r1=651548&r2=651549&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:22:05 2008
@@ -111,7 +111,7 @@
 
         // Setting the Color and Font settings
         setColorAndFontSettingsToMessageConsoleStream( debugMessageConsoleStream,
-            PluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_COLOR, PluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_FONT
);
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_COLOR, ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_FONT
);
     }
 
 
@@ -142,7 +142,7 @@
 
         // Setting the Color and Font settings
         setColorAndFontSettingsToMessageConsoleStream( infoMessageConsoleStream,
-            PluginConstants.PREFS_COLORS_AND_FONTS_INFO_COLOR, PluginConstants.PREFS_COLORS_AND_FONTS_INFO_FONT
);
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_INFO_COLOR, ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_INFO_FONT
);
     }
 
 
@@ -173,7 +173,7 @@
 
         // Setting the Color and Font settings
         setColorAndFontSettingsToMessageConsoleStream( warnMessageConsoleStream,
-            PluginConstants.PREFS_COLORS_AND_FONTS_WARN_COLOR, PluginConstants.PREFS_COLORS_AND_FONTS_WARN_FONT
);
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_WARN_COLOR, ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_WARN_FONT
);
     }
 
 
@@ -204,7 +204,7 @@
 
         // Setting the Color and Font settings
         setColorAndFontSettingsToMessageConsoleStream( errorMessageConsoleStream,
-            PluginConstants.PREFS_COLORS_AND_FONTS_ERROR_COLOR, PluginConstants.PREFS_COLORS_AND_FONTS_ERROR_FONT
);
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_ERROR_COLOR, ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_ERROR_FONT
);
     }
 
 
@@ -235,7 +235,7 @@
 
         // Setting the Color and Font settings
         setColorAndFontSettingsToMessageConsoleStream( fatalMessageConsoleStream,
-            PluginConstants.PREFS_COLORS_AND_FONTS_FATAL_COLOR, PluginConstants.PREFS_COLORS_AND_FONTS_FATAL_FONT
);
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_FATAL_COLOR, ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_FATAL_FONT
);
     }
 
 

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=651549&r1=651548&r2=651549&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:22:05 2008
@@ -59,19 +59,19 @@
         RGB rgbDarkRed = new RGB( 127, 0, 0 );
 
         // Debug
-        PreferenceConverter.setDefault( store, PluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_FONT,
fontDataItalic );
-        PreferenceConverter.setDefault( store, PluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_COLOR,
rgbBlue );
+        PreferenceConverter.setDefault( store, ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_FONT,
fontDataItalic );
+        PreferenceConverter.setDefault( store, ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_COLOR,
rgbBlue );
         // Info
-        PreferenceConverter.setDefault( store, PluginConstants.PREFS_COLORS_AND_FONTS_INFO_FONT,
fontDataItalic );
-        PreferenceConverter.setDefault( store, PluginConstants.PREFS_COLORS_AND_FONTS_INFO_COLOR,
rgbGreen );
+        PreferenceConverter.setDefault( store, ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_INFO_FONT,
fontDataItalic );
+        PreferenceConverter.setDefault( store, ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_INFO_COLOR,
rgbGreen );
         // Warn
-        PreferenceConverter.setDefault( store, PluginConstants.PREFS_COLORS_AND_FONTS_WARN_FONT,
fontDataNormal );
-        PreferenceConverter.setDefault( store, PluginConstants.PREFS_COLORS_AND_FONTS_WARN_COLOR,
rgbOrange );
+        PreferenceConverter.setDefault( store, ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_WARN_FONT,
fontDataNormal );
+        PreferenceConverter.setDefault( store, ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_WARN_COLOR,
rgbOrange );
         // Error
-        PreferenceConverter.setDefault( store, PluginConstants.PREFS_COLORS_AND_FONTS_ERROR_FONT,
fontDataBold );
-        PreferenceConverter.setDefault( store, PluginConstants.PREFS_COLORS_AND_FONTS_ERROR_COLOR,
rgbRed );
+        PreferenceConverter.setDefault( store, ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_ERROR_FONT,
fontDataBold );
+        PreferenceConverter.setDefault( store, ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_ERROR_COLOR,
rgbRed );
         // Fatal
-        PreferenceConverter.setDefault( store, PluginConstants.PREFS_COLORS_AND_FONTS_FATAL_FONT,
fontDataBold );
-        PreferenceConverter.setDefault( store, PluginConstants.PREFS_COLORS_AND_FONTS_FATAL_COLOR,
rgbDarkRed );
+        PreferenceConverter.setDefault( store, ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_FATAL_FONT,
fontDataBold );
+        PreferenceConverter.setDefault( store, ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_FATAL_COLOR,
rgbDarkRed );
     }
 }

Copied: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/perspectives/Perspective.java
(from r651546, directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/Perspective.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/perspectives/Perspective.java?p2=directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/perspectives/Perspective.java&p1=directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/Perspective.java&r1=651546&r2=651549&rev=651549&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/Perspective.java
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/perspectives/Perspective.java
Fri Apr 25 02:22:05 2008
@@ -17,9 +17,10 @@
  *  under the License. 
  *  
  */
-package org.apache.directory.studio.apacheds.experimentations;
+package org.apache.directory.studio.apacheds.experimentations.perspectives;
 
 
+import org.apache.directory.studio.apacheds.experimentations.views.ServersView;
 import org.eclipse.ui.IFolderLayout;
 import org.eclipse.ui.IPageLayout;
 import org.eclipse.ui.IPerspectiveFactory;

Copied: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/prefs/ColorsAndFontsPage.java
(from r651548, 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/prefs/ColorsAndFontsPage.java?p2=directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/prefs/ColorsAndFontsPage.java&p1=directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ColorsAndFontsPage.java&r1=651548&r2=651549&rev=651549&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/prefs/ColorsAndFontsPage.java
Fri Apr 25 02:22:05 2008
@@ -17,9 +17,13 @@
  *  under the License. 
  *  
  */
-package org.apache.directory.studio.apacheds.experimentations;
+package org.apache.directory.studio.apacheds.experimentations.prefs;
 
 
+import org.apache.directory.studio.apacheds.experimentations.ApacheDsPlugin;
+import org.apache.directory.studio.apacheds.experimentations.LogMessageConsole;
+import org.apache.directory.studio.apacheds.experimentations.ApacheDsPluginConstants;
+import org.apache.directory.studio.apacheds.experimentations.PreferenceStoreUtils;
 import org.eclipse.jface.preference.ColorSelector;
 import org.eclipse.jface.preference.PreferenceConverter;
 import org.eclipse.jface.preference.PreferencePage;
@@ -158,33 +162,33 @@
     {
         // Debug
         FontData[] fontDatas = PreferenceConverter.getFontDataArray( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_FONT );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_FONT );
         RGB rgb = PreferenceConverter.getColor( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_COLOR );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_COLOR );
         setDebug( fontDatas, rgb );
 
         // Info
         fontDatas = PreferenceConverter.getFontDataArray( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_INFO_FONT );
-        rgb = PreferenceConverter.getColor( getPreferenceStore(), PluginConstants.PREFS_COLORS_AND_FONTS_INFO_COLOR
);
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_INFO_FONT );
+        rgb = PreferenceConverter.getColor( getPreferenceStore(), ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_INFO_COLOR
);
         setInfo( fontDatas, rgb );
 
         // Warn
         fontDatas = PreferenceConverter.getFontDataArray( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_WARN_FONT );
-        rgb = PreferenceConverter.getColor( getPreferenceStore(), PluginConstants.PREFS_COLORS_AND_FONTS_WARN_COLOR
);
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_WARN_FONT );
+        rgb = PreferenceConverter.getColor( getPreferenceStore(), ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_WARN_COLOR
);
         setWarn( fontDatas, rgb );
 
         // Error
         fontDatas = PreferenceConverter.getFontDataArray( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_ERROR_FONT );
-        rgb = PreferenceConverter.getColor( getPreferenceStore(), PluginConstants.PREFS_COLORS_AND_FONTS_ERROR_COLOR
);
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_ERROR_FONT );
+        rgb = PreferenceConverter.getColor( getPreferenceStore(), ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_ERROR_COLOR
);
         setError( fontDatas, rgb );
 
         // Fatal
         fontDatas = PreferenceConverter.getFontDataArray( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_FATAL_FONT );
-        rgb = PreferenceConverter.getColor( getPreferenceStore(), PluginConstants.PREFS_COLORS_AND_FONTS_FATAL_COLOR
);
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_FATAL_FONT );
+        rgb = PreferenceConverter.getColor( getPreferenceStore(), ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_FATAL_COLOR
);
         setFatal( fontDatas, rgb );
     }
 
@@ -196,37 +200,37 @@
     {
         // Debug
         FontData[] fontDatas = PreferenceConverter.getDefaultFontDataArray( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_FONT );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_FONT );
         RGB rgb = PreferenceConverter.getDefaultColor( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_COLOR );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_COLOR );
         setDebug( fontDatas, rgb );
 
         // Info
         fontDatas = PreferenceConverter.getDefaultFontDataArray( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_INFO_FONT );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_INFO_FONT );
         rgb = PreferenceConverter.getDefaultColor( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_INFO_COLOR );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_INFO_COLOR );
         setInfo( fontDatas, rgb );
 
         // Warn
         fontDatas = PreferenceConverter.getDefaultFontDataArray( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_WARN_FONT );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_WARN_FONT );
         rgb = PreferenceConverter.getDefaultColor( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_WARN_COLOR );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_WARN_COLOR );
         setWarn( fontDatas, rgb );
 
         // Error
         fontDatas = PreferenceConverter.getDefaultFontDataArray( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_ERROR_FONT );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_ERROR_FONT );
         rgb = PreferenceConverter.getDefaultColor( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_ERROR_COLOR );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_ERROR_COLOR );
         setError( fontDatas, rgb );
 
         // Fatal
         fontDatas = PreferenceConverter.getDefaultFontDataArray( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_FATAL_FONT );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_FATAL_FONT );
         rgb = PreferenceConverter.getDefaultColor( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_FATAL_COLOR );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_FATAL_COLOR );
         setFatal( fontDatas, rgb );
 
         super.performDefaults();
@@ -240,47 +244,47 @@
     {
         // Debug
         FontData[] fontDatas = PreferenceConverter.getFontDataArray( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_FONT );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_FONT );
         setFontData( fontDatas, debugBoldCheckbox, debugItalicCheckbox );
-        PreferenceConverter.setValue( getPreferenceStore(), PluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_FONT,
+        PreferenceConverter.setValue( getPreferenceStore(), ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_FONT,
             fontDatas );
-        PreferenceConverter.setValue( getPreferenceStore(), PluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_COLOR,
+        PreferenceConverter.setValue( getPreferenceStore(), ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_DEBUG_COLOR,
             debugColorButton.getColorValue() );
 
         // Info
         fontDatas = PreferenceConverter.getFontDataArray( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_INFO_FONT );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_INFO_FONT );
         setFontData( fontDatas, infoBoldCheckbox, infoItalicCheckbox );
         PreferenceConverter
-            .setValue( getPreferenceStore(), PluginConstants.PREFS_COLORS_AND_FONTS_INFO_FONT,
fontDatas );
-        PreferenceConverter.setValue( getPreferenceStore(), PluginConstants.PREFS_COLORS_AND_FONTS_INFO_COLOR,
+            .setValue( getPreferenceStore(), ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_INFO_FONT,
fontDatas );
+        PreferenceConverter.setValue( getPreferenceStore(), ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_INFO_COLOR,
             infoColorButton.getColorValue() );
 
         // Warn
         fontDatas = PreferenceConverter.getFontDataArray( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_WARN_FONT );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_WARN_FONT );
         setFontData( fontDatas, warnBoldCheckbox, warnItalicCheckbox );
         PreferenceConverter
-            .setValue( getPreferenceStore(), PluginConstants.PREFS_COLORS_AND_FONTS_WARN_FONT,
fontDatas );
-        PreferenceConverter.setValue( getPreferenceStore(), PluginConstants.PREFS_COLORS_AND_FONTS_WARN_COLOR,
+            .setValue( getPreferenceStore(), ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_WARN_FONT,
fontDatas );
+        PreferenceConverter.setValue( getPreferenceStore(), ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_WARN_COLOR,
             warnColorButton.getColorValue() );
 
         // Error
         fontDatas = PreferenceConverter.getFontDataArray( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_ERROR_FONT );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_ERROR_FONT );
         setFontData( fontDatas, errorBoldCheckbox, errorItalicCheckbox );
-        PreferenceConverter.setValue( getPreferenceStore(), PluginConstants.PREFS_COLORS_AND_FONTS_ERROR_FONT,
+        PreferenceConverter.setValue( getPreferenceStore(), ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_ERROR_FONT,
             fontDatas );
-        PreferenceConverter.setValue( getPreferenceStore(), PluginConstants.PREFS_COLORS_AND_FONTS_ERROR_COLOR,
+        PreferenceConverter.setValue( getPreferenceStore(), ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_ERROR_COLOR,
             errorColorButton.getColorValue() );
 
         // Error
         fontDatas = PreferenceConverter.getFontDataArray( getPreferenceStore(),
-            PluginConstants.PREFS_COLORS_AND_FONTS_FATAL_FONT );
+            ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_FATAL_FONT );
         setFontData( fontDatas, fatalBoldCheckbox, fatalItalicCheckbox );
-        PreferenceConverter.setValue( getPreferenceStore(), PluginConstants.PREFS_COLORS_AND_FONTS_FATAL_FONT,
+        PreferenceConverter.setValue( getPreferenceStore(), ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_FATAL_FONT,
             fontDatas );
-        PreferenceConverter.setValue( getPreferenceStore(), PluginConstants.PREFS_COLORS_AND_FONTS_FATAL_COLOR,
+        PreferenceConverter.setValue( getPreferenceStore(), ApacheDsPluginConstants.PREFS_COLORS_AND_FONTS_FATAL_COLOR,
             fatalColorButton.getColorValue() );
 
         LogMessageConsole logMessageConsole = new LogMessageConsole( "toto" );

Copied: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/prefs/MainPage.java
(from r651548, 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/prefs/MainPage.java?p2=directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/prefs/MainPage.java&p1=directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/MainPage.java&r1=651548&r2=651549&rev=651549&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/prefs/MainPage.java
Fri Apr 25 02:22:05 2008
@@ -17,9 +17,10 @@
  *  under the License. 
  *  
  */
-package org.apache.directory.studio.apacheds.experimentations;
+package org.apache.directory.studio.apacheds.experimentations.prefs;
 
 
+import org.apache.directory.studio.apacheds.experimentations.ApacheDsPlugin;
 import org.eclipse.jface.preference.PreferencePage;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.layout.GridData;

Copied: directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/views/ServersView.java
(from r651546, directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ServersView.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/views/ServersView.java?p2=directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/views/ServersView.java&p1=directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ServersView.java&r1=651546&r2=651549&rev=651549&view=diff
==============================================================================
--- directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/ServersView.java
(original)
+++ directory/sandbox/pamarcelot/studio-apacheds-plugin/studio-apacheds-experimentations/src/main/java/org/apache/directory/studio/apacheds/experimentations/views/ServersView.java
Fri Apr 25 02:22:05 2008
@@ -17,7 +17,7 @@
  *  under the License. 
  *  
  */
-package org.apache.directory.studio.apacheds.experimentations;
+package org.apache.directory.studio.apacheds.experimentations.views;
 
 
 import org.eclipse.jface.viewers.TableViewer;



Mime
View raw message