directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r690987 - in /directory/studio/trunk/ldapbrowser-common: ./ src/main/java/org/apache/directory/studio/ldapbrowser/common/ src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/
Date Mon, 01 Sep 2008 14:58:46 GMT
Author: pamarcelot
Date: Mon Sep  1 07:58:45 2008
New Revision: 690987

URL: http://svn.apache.org/viewvc?rev=690987&view=rev
Log:
Part of a fix for DIRSTUDIO-375 (Move each plugin IDs in a plugin.properties file).

Modified:
    directory/studio/trunk/ldapbrowser-common/plugin.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonConstants.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeWizard.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryWizard.java

Modified: directory/studio/trunk/ldapbrowser-common/plugin.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/plugin.properties?rev=690987&r1=690986&r2=690987&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/plugin.properties (original)
+++ directory/studio/trunk/ldapbrowser-common/plugin.properties Mon Sep  1 07:58:45 2008
@@ -141,4 +141,7 @@
 
 DnD_EntryTransfer=org.apache.directory.studio.ldapbrowser.entry
 DnD_SearchTransfer=org.apache.directory.studio.ldapbrowser.search
-DnD_ValuesTransfer=org.apache.directory.studio.ldapbrowser.value
\ No newline at end of file
+DnD_ValuesTransfer=org.apache.directory.studio.ldapbrowser.value
+
+Wizard_AttributeWizard_id=org.apache.directory.studio.ldapbrowser.common.wizards.AttributeWizard
+NewWizard_NewEntryWizard_id=org.apache.directory.studio.ldapbrowser.common.wizards.NewEntryWizard
\ No newline at end of file

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonConstants.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonConstants.java?rev=690987&r1=690986&r2=690987&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonConstants.java
(original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonConstants.java
Mon Sep  1 07:58:45 2008
@@ -198,5 +198,10 @@
         .getString( "DnD_SearchTransfer" );
     public static final String DND_VALUES_TRANSFER = BrowserCommonActivator.getDefault().getPluginProperties()
         .getString( "DnD_ValuesTransfer" );
-
+    
+    public static final String WIZARD_ATTRIBUTE_WIZARD = BrowserCommonActivator.getDefault().getPluginProperties()
+    .getString( "Wizard_AttributeWizard_id" );
+   
+    public static final String WIZARD_NEW_ENTRY_WIZARD = BrowserCommonActivator.getDefault().getPluginProperties()
+    .getString( "NewWizard_NewEntryWizard_id" );
 }

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeWizard.java?rev=690987&r1=690986&r2=690987&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeWizard.java
(original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeWizard.java
Mon Sep  1 07:58:45 2008
@@ -111,7 +111,7 @@
      */
     public static String getId()
     {
-        return AttributeWizard.class.getName();
+        return BrowserCommonConstants.WIZARD_ATTRIBUTE_WIZARD;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryWizard.java?rev=690987&r1=690986&r2=690987&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryWizard.java
(original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryWizard.java
Mon Sep  1 07:58:45 2008
@@ -81,7 +81,7 @@
 
     /** The read only flag of the selected connection. */
     protected boolean originalReadOnlyFlag;
-    
+
     /** The prototype entry. */
     protected DummyEntry prototypeEntry;
 
@@ -103,7 +103,7 @@
      */
     public static String getId()
     {
-        return NewEntryWizard.class.getName();
+        return BrowserCommonConstants.WIZARD_NEW_ENTRY_WIZARD;
     }
 
 
@@ -304,7 +304,7 @@
             if ( selectedConnection != null && selectedConnection.getConnection()
!= null )
             {
                 selectedConnection.getConnection().setReadOnly( originalReadOnlyFlag );
-                
+
                 typePage.saveDialogSettings();
                 dnPage.saveDialogSettings();
 



Mime
View raw message