directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r690998 - in /directory/studio/trunk/ldapbrowser-ui: ./ src/main/java/org/apache/directory/studio/ldapbrowser/ui/ src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/ src/main/java/org/apache/directory/studio/ldapbrowser/...
Date Mon, 01 Sep 2008 15:33:31 GMT
Author: pamarcelot
Date: Mon Sep  1 08:33:30 2008
New Revision: 690998

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

Modified:
    directory/studio/trunk/ldapbrowser-ui/plugin.properties
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/BrowserUIConstants.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditor.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/schemabrowser/SchemaBrowser.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/perspective/BrowserPerspective.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/search/SearchPage.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/browser/BrowserView.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/connection/ConnectionView.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/modificationlogs/ModificationLogsView.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/searchlogs/SearchLogsView.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/BatchOperationWizard.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportConnectionsWizard.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportCsvWizard.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportDsmlWizard.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportExcelWizard.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportLdifWizard.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ImportConnectionsWizard.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ImportDsmlWizard.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ImportLdifWizard.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewBookmarkWizard.java
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewSearchWizard.java

Modified: directory/studio/trunk/ldapbrowser-ui/plugin.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/plugin.properties?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/plugin.properties (original)
+++ directory/studio/trunk/ldapbrowser-ui/plugin.properties Mon Sep  1 08:33:30 2008
@@ -197,4 +197,7 @@
 
 Cmd_LocateInDit_id=org.apache.directory.studio.ldapbrowser.action.locateInDit
 Cmd_OpenSearchResult_id=org.apache.directory.studio.ldapbrowser.action.openSearchResult
-Perspective_SchemaEditor_id=org.apache.directory.studio.schemaeditor.perspective
\ No newline at end of file
+Perspective_SchemaEditor_id=org.apache.directory.studio.schemaeditor.perspective
+
+Wizard_ImportConnections_id=org.apache.directory.studio.ldapbrowser.ui.wizards.ExportConnectionsWizard
+Wizard_ExportConnections_id=org.apache.directory.studio.ldapbrowser.ui.wizards.ImportConnectionsWizard
\ No newline at end of file

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/BrowserUIConstants.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/BrowserUIConstants.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/BrowserUIConstants.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/BrowserUIConstants.java
Mon Sep  1 08:33:30 2008
@@ -35,232 +35,169 @@
     public static final String DN = "DN";
 
     public static final String PREFERENCE_BROWSER_LINK_WITH_EDITOR = "browserLinkWithEditor";
-
     public static final String PREFERENCE_SEARCHRESULTEDITOR_SHOW_DN = "searchResultEditorShowDn";
-
     public static final String PREFERENCE_SEARCHRESULTEDITOR_SHOW_LINKS = "searchResultEditorShowLinks";
-
     public static final String PREFERENCEPAGEID_MAIN = BrowserUIPlugin.getDefault().getPluginProperties().getString(
         "PrefPage_MainPreferencePage_id" );
-
     public static final String PREFERENCEPAGEID_ATTRIBUTES = BrowserUIPlugin.getDefault().getPluginProperties()
         .getString( "PrefPage_AttributesPreferencePage_id" );
-
     public static final String PREFERENCEPAGEID_BINARYATTRIBUTES = BrowserUIPlugin.getDefault().getPluginProperties()
         .getString( "PrefPage_BinaryAttributesAndSyntaxesPreferencePage_id" );
-
     public static final String PREFERENCEPAGEID_BROWSER = BrowserUIPlugin.getDefault().getPluginProperties().getString(
         "PrefPage_BrowserPreferencePage_id" );
-
     public static final String PREFERENCEPAGEID_ENTRYEDITOR = BrowserUIPlugin.getDefault().getPluginProperties()
         .getString( "PrefPage_EntryEditorPreferencePage_id" );
-
     public static final String PREFERENCEPAGEID_SEARCHRESULTEDITOR = BrowserUIPlugin.getDefault().getPluginProperties()
         .getString( "PrefPage_SearchResultEditorPreferencePage_id" );
-
     public static final String PREFERENCEPAGEID_MODIFICATIONLOGS = BrowserUIPlugin.getDefault().getPluginProperties()
         .getString( "PrefPage_ModificationLogsPreferencePage_id" );
-
     public static final String PREFERENCEPAGEID_SEARCHLOGS = BrowserUIPlugin.getDefault().getPluginProperties()
         .getString( "PrefPage_SearchLogsPreferencePage_id" );
 
     public static final String IMG_EXPANDALL = "resources/icons/expandall.gif";
-
     public static final String IMG_LINK_WITH_EDITOR = "resources/icons/link_with_editor.gif";
-
     public static final String IMG_BATCH = "resources/icons/batch.gif";
-
     public static final String IMG_IMPORT = "resources/icons/import.gif";
-
     public static final String IMG_EXPORT = "resources/icons/export.gif";
-
     public static final String IMG_IMPORT_DSML_WIZARD = "resources/icons/import_dsml_wizard.gif";
-
     public static final String IMG_EXPORT_DSML_WIZARD = "resources/icons/export_dsml_wizard.gif";
-
     public static final String IMG_IMPORT_LDIF_WIZARD = "resources/icons/import_ldif_wizard.gif";
-
     public static final String IMG_EXPORT_LDIF_WIZARD = "resources/icons/export_ldif_wizard.gif";
-
     public static final String IMG_IMPORT_CONNECTIONS_WIZARD = "resources/icons/import_connections_wizard.gif";
-
     public static final String IMG_EXPORT_CONNECTIONS_WIZARD = "resources/icons/export_connections_wizard.gif";
-
     public static final String IMG_IMPORT_CSV_WIZARD = "resources/icons/import_csv_wizard.gif";
-
     public static final String IMG_EXPORT_CSV_WIZARD = "resources/icons/export_csv_wizard.gif";
-
     public static final String IMG_IMPORT_XLS_WIZARD = "resources/icons/import_xls_wizard.gif";
-
     public static final String IMG_EXPORT_XLS_WIZARD = "resources/icons/export_xls_wizard.gif";
-
     public static final String IMG_IMPORT_DSML = "resources/icons/import_dsml.gif";
-
     public static final String IMG_EXPORT_DSML = "resources/icons/export_dsml.gif";
-
     public static final String IMG_IMPORT_LDIF = "resources/icons/import_ldif.gif";
-
     public static final String IMG_EXPORT_LDIF = "resources/icons/export_ldif.gif";
-
     public static final String IMG_IMPORT_CONNECTIONS = "resources/icons/import_connections.gif";
-
     public static final String IMG_EXPORT_CONNECTIONS = "resources/icons/export_connections.gif";
-
     public static final String IMG_IMPORT_CSV = "resources/icons/import_csv.gif";
-
     public static final String IMG_EXPORT_CSV = "resources/icons/export_csv.gif";
-
     public static final String IMG_IMPORT_XLS = "resources/icons/import_xls.gif";
-
     public static final String IMG_EXPORT_XLS = "resources/icons/export_xls.gif";
-
     public static final String IMG_BROWSER_CONNECTIONVIEW = "resources/icons/browser_connectionview.gif";
-
     public static final String IMG_BROWSER_BROWSERVIEW = "resources/icons/browser_browserview.gif";
-
     public static final String IMG_DIT = "resources/icons/dit.gif";
-
     public static final String IMG_ENTRY = "resources/icons/entry_default.gif";
-
     public static final String IMG_ENTRY_ROOT = "resources/icons/entry_root.gif";
-
     public static final String IMG_ENTRY_DC = "resources/icons/entry_dc.gif";
-
     public static final String IMG_ENTRY_ORG = "resources/icons/entry_org.gif";
-
     public static final String IMG_ENTRY_PERSON = "resources/icons/entry_person.gif";
-
     public static final String IMG_ENTRY_GROUP = "resources/icons/entry_group.gif";
-
     public static final String IMG_ENTRY_REF = "resources/icons/entry_ref.gif";
-
     public static final String IMG_ENTRY_ALIAS = "resources/icons/entry_alias.gif";
-
     public static final String IMG_ENTRY_ADD = "resources/icons/entry_add.gif";
-
     public static final String IMG_LOCATE_DN_IN_DIT = "resources/icons/locate_dn_in_dit.gif";
-
     public static final String IMG_LOCATE_SEARCHRESULT_IN_DIT = "resources/icons/locate_searchresult_in_dit.gif";
-
     public static final String IMG_LOCATE_BOOKMARK_IN_DIT = "resources/icons/locate_bookmark_in_dit.gif";
-
     public static final String IMG_LOCATE_ENTRY_IN_DIT = "resources/icons/locate_entry_in_dit.gif";
-
     public static final String IMG_OPEN_SEARCHRESULT = "resources/icons/open_searchresult.gif";
-
     public static final String IMG_BROWSER_ENTRYEDITOR = "resources/icons/browser_entryeditor.gif";
-
     public static final String IMG_ATTRIBUTE = "resources/icons/attribute.gif";
-
     public static final String IMG_VALUE = "resources/icons/value.gif";
-
     public static final String IMG_COPY_LDIF = "resources/icons/copy_ldif.gif";
-
     public static final String IMG_COPY_LDIF_USER = "resources/icons/copy_ldif_user.gif";
-
     public static final String IMG_COPY_LDIF_OPERATIONAL = "resources/icons/copy_ldif_operational.gif";
-
     public static final String IMG_COPY_LDIF_SEARCHRESULT = "resources/icons/copy_ldif_searchresult.gif";
-
     public static final String IMG_COPY_CSV = "resources/icons/copy_csv.gif";
-
     public static final String IMG_COPY_CSV_USER = "resources/icons/copy_csv_user.gif";
-
     public static final String IMG_COPY_CSV_OPERATIONAL = "resources/icons/copy_csv_operational.gif";
-
     public static final String IMG_COPY_CSV_SEARCHRESULT = "resources/icons/copy_csv_searchresult.gif";
-
     public static final String IMG_COPY_BASE64 = "resources/icons/copy_base64.gif";
-
     public static final String IMG_COPY_HEX = "resources/icons/copy_hex.gif";
-
     public static final String IMG_COPY_UTF8 = "resources/icons/copy_raw.gif";
-
     public static final String IMG_COPY_DN = "resources/icons/copy_dn.gif";
-
     public static final String IMG_COPY_URL = "resources/icons/copy_url.gif";
-
     public static final String IMG_COPY_ATT = "resources/icons/copy_att.gif";
-
     public static final String IMG_COPY_TABLE = "resources/icons/copy_table.gif";
-
     public static final String IMG_TABLE = "resources/icons/table.gif";
-
     public static final String IMG_SORT_NONE = "resources/icons/sort_none.gif";
-
     public static final String IMG_FILTER_EQUALS = "resources/icons/filter_equals.gif";
-
     public static final String IMG_FILTER_AND = "resources/icons/filter_and.gif";
-
     public static final String IMG_FILTER_OR = "resources/icons/filter_or.gif";
-
     public static final String IMG_FILTER_NOT = "resources/icons/filter_not.gif";
-
     public static final String IMG_BROWSER_SEARCHRESULTEDITOR = "resources/icons/browser_searchresulteditor.gif";
-
     public static final String IMG_SEARCHES = "resources/icons/searches.gif";
-
     public static final String IMG_SEARCH = "resources/icons/search.gif";
-
     public static final String IMG_SEARCH_NEW = "resources/icons/search_new.gif";
-
     public static final String IMG_SEARCH_UNPERFORMED = "resources/icons/search_unperformed.gif";
-
     public static final String IMG_BOOKMARKS = "resources/icons/bookmarks.gif";
-
     public static final String IMG_BOOKMARK = "resources/icons/bookmark.gif";
-
     public static final String IMG_BOOKMARK_ADD = "resources/icons/bookmark_add.gif";
-
     public static final String IMG_MARK = "resources/icons/mark.gif";
-
     public static final String IMG_BROWSER_SCHEMABROWSEREDITOR = "resources/icons/browser_schemabrowsereditor.gif";
-
     public static final String IMG_DEFAULT_SCHEMA = "resources/icons/defaultschema.gif";
-
     public static final String IMG_ATD = "resources/icons/atd.png";
-
     public static final String IMG_OCD = "resources/icons/ocd.png";
-
     public static final String IMG_MRD = "resources/icons/mrd.png";
-
     public static final String IMG_MRUD = "resources/icons/mrud.png";
-
     public static final String IMG_LSD = "resources/icons/lsd.png";
-
     public static final String IMG_MRD_EQUALITY = "resources/icons/mrd_equality.png";
-
     public static final String IMG_MRD_SUBSTRING = "resources/icons/mrd_substring.png";
-
     public static final String IMG_MRD_ORDERING = "resources/icons/mrd_ordering.png";
-
     public static final String IMG_OVR_FILTERED = "resources/icons/ovr16/filtered.gif";
-
     public static final String IMG_OVR_SEARCHRESULT = "resources/icons/ovr16/searchresult.gif";
-
     public static final String IMG_OVR_ERROR = "resources/icons/ovr16/error.gif";
-
     public static final String IMG_OVR_WARNING = "resources/icons/ovr16/warning.gif";
-
     public static final String IMG_OVR_MARK = "resources/icons/ovr16/mark.gif";
-
     public static final String IMG_NEXT = "resources/icons/next.gif";
-
     public static final String IMG_PREVIOUS = "resources/icons/previous.gif";
-
     public static final String IMG_REFRESH = "resources/icons/refresh.gif";
-
     public static final String IMG_CLEAR = "resources/icons/clear.gif";
 
     public static final String CMD_LOCATE_IN_DIT = BrowserUIPlugin.getDefault().getPluginProperties().getString(
         "Cmd_LocateInDit_id" );
-
     public static final String CMD_OPEN_SEARCH_RESULT = BrowserUIPlugin.getDefault().getPluginProperties().getString(
         "Cmd_OpenSearchResult_id" );
 
-    public static final String PERSPECTIVE_LDAP = BrowserUIPlugin.getDefault().getPluginProperties()
-        .getString( "Perspective_LdapPerspective_id" );
-
+    public static final String PERSPECTIVE_LDAP = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "Perspective_LdapPerspective_id" );
     public static final String PERSPECTIVE_SCHEMA_EDITOR = BrowserUIPlugin.getDefault().getPluginProperties()
         .getString( "Perspective_SchemaEditor_id" );
+
+    public static final String EDITOR_ENTRY_EDITOR = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "Editor_EntryEditor_id" );
+    public static final String EDITOR_SCHEMA_BROWSER = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "Editor_SchemaBrowser_id" );
+    public static final String EDITOR_SEARCH_RESULT = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "Editor_SearchResultEditor_id" );
+
+    public static final String SEARCH_PAGE_LDAP_SEARCH = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "SearchPage_LdapSearch_id" );
+
+    public static final String VIEW_BROWSER_VIEW = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "View_BrowserView_id" );
+    public static final String VIEW_CONNECTION_VIEW = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "View_ConnectionView_id" );
+    public static final String VIEW_MODIFICATION_LOGS_VIEW = BrowserUIPlugin.getDefault().getPluginProperties()
+        .getString( "View_ModificationLogsView_id" );
+    public static final String VIEW_SEARCH_LOGS_VIEW = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "View_SearchLogsView_id" );
+
+    public static final String WIZARD_BATCH_OPERATION = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "NewWizard_BatchOperationWizard_id" );
+    public static final String WIZARD_EXPORT_CONNECTIONS = BrowserUIPlugin.getDefault().getPluginProperties()
+        .getString( "Wizard_ExportConnections_id" );
+    public static final String WIZARD_EXPORT_CSV = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "ExportWizard_ExportCsvWizard_id" );
+    public static final String WIZARD_EXPORT_DSML = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "ExportWizard_ExportDdsmlWizard_id" );
+    public static final String WIZARD_EXPORT_EXCEL = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "ExportWizard_ExportExcelWizard_id" );
+    public static final String WIZARD_EXPORT_LDIF = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "ExportWizard_ExportLdifWizard_id" );
+    public static final String WIZARD_IMPORT_CONNECTIONS = BrowserUIPlugin.getDefault().getPluginProperties()
+        .getString( "Wizard_ImportConnections_id" );
+    public static final String WIZARD_IMPORT_DSML = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "ImportWizard_ImportDsmlWizard_id" );
+    public static final String WIZARD_IMPORT_LDIF = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "ImportWizard_ImportLdifWizard_id" );
+    public static final String WIZARD_NEW_BOOKMARK = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "NewWizard_NewBookmarkWizard_id" );
+    public static final String WIZARD_NEW_SEARCH = BrowserUIPlugin.getDefault().getPluginProperties().getString(
+        "NewWizard_NewSearchWizard_id" );
 }

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditor.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditor.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditor.java
Mon Sep  1 08:33:30 2008
@@ -77,7 +77,7 @@
      */
     public static String getId()
     {
-        return EntryEditor.class.getName();
+        return BrowserUIConstants.EDITOR_ENTRY_EDITOR;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/schemabrowser/SchemaBrowser.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/schemabrowser/SchemaBrowser.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/schemabrowser/SchemaBrowser.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/schemabrowser/SchemaBrowser.java
Mon Sep  1 08:33:30 2008
@@ -97,7 +97,7 @@
      */
     public static String getId()
     {
-        return SchemaBrowser.class.getName();
+        return BrowserUIConstants.EDITOR_SCHEMA_BROWSER;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java
Mon Sep  1 08:33:30 2008
@@ -78,7 +78,7 @@
      */
     public static String getId()
     {
-        return SearchResultEditor.class.getName();
+        return BrowserUIConstants.EDITOR_SEARCH_RESULT;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/perspective/BrowserPerspective.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/perspective/BrowserPerspective.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/perspective/BrowserPerspective.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/perspective/BrowserPerspective.java
Mon Sep  1 08:33:30 2008
@@ -55,7 +55,7 @@
      */
     public static String getId()
     {
-        return BrowserPerspective.class.getName();
+        return BrowserUIConstants.PERSPECTIVE_LDAP;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/search/SearchPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/search/SearchPage.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/search/SearchPage.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/search/SearchPage.java
Mon Sep  1 08:33:30 2008
@@ -70,7 +70,7 @@
      */
     public static String getId()
     {
-        return SearchPage.class.getName();
+        return BrowserUIConstants.SEARCH_PAGE_LDAP_SEARCH;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/browser/BrowserView.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/browser/BrowserView.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/browser/BrowserView.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/browser/BrowserView.java
Mon Sep  1 08:33:30 2008
@@ -78,7 +78,7 @@
      */
     public static String getId()
     {
-        return BrowserView.class.getName();
+        return BrowserUIConstants.VIEW_BROWSER_VIEW;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/connection/ConnectionView.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/connection/ConnectionView.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/connection/ConnectionView.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/connection/ConnectionView.java
Mon Sep  1 08:33:30 2008
@@ -66,7 +66,7 @@
      */
     public static String getId()
     {
-        return ConnectionView.class.getName();
+        return BrowserUIConstants.VIEW_CONNECTION_VIEW;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/modificationlogs/ModificationLogsView.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/modificationlogs/ModificationLogsView.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/modificationlogs/ModificationLogsView.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/modificationlogs/ModificationLogsView.java
Mon Sep  1 08:33:30 2008
@@ -58,7 +58,7 @@
      */
     public static String getId()
     {
-        return ModificationLogsView.class.getName();
+        return BrowserUIConstants.VIEW_MODIFICATION_LOGS_VIEW;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/searchlogs/SearchLogsView.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/searchlogs/SearchLogsView.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/searchlogs/SearchLogsView.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/views/searchlogs/SearchLogsView.java
Mon Sep  1 08:33:30 2008
@@ -58,7 +58,7 @@
      */
     public static String getId()
     {
-        return SearchLogsView.class.getName();
+        return BrowserUIConstants.VIEW_SEARCH_LOGS_VIEW;
     }
 
 
@@ -119,10 +119,10 @@
         actionGroup = new SearchLogsViewActionGroup( this );
         actionGroup.fillActionBars( getViewSite().getActionBars() );
         // this.actionGroup.fillContextMenu(this.configuration.getContextMenuManager(this.mainWidget.getViewer()));
-        
+
         // create the listener
         universalListener = new SearchLogsViewUniversalListener( this );
-        
+
         // set help context
         PlatformUI.getWorkbench().getHelpSystem().setHelp( mainWidget.getSourceViewer().getTextWidget(),
             BrowserUIConstants.PLUGIN_ID + "." + "tools_modification_logs_view" );

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/BatchOperationWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/BatchOperationWizard.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/BatchOperationWizard.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/BatchOperationWizard.java
Mon Sep  1 08:33:30 2008
@@ -84,7 +84,7 @@
 
     public static String getId()
     {
-        return BatchOperationWizard.class.getName();
+        return BrowserUIConstants.WIZARD_BATCH_OPERATION;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportConnectionsWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportConnectionsWizard.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportConnectionsWizard.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportConnectionsWizard.java
Mon Sep  1 08:33:30 2008
@@ -40,6 +40,7 @@
 import org.apache.directory.studio.ldapbrowser.core.BrowserConnectionIO;
 import org.apache.directory.studio.ldapbrowser.core.BrowserCorePlugin;
 import org.apache.directory.studio.ldapbrowser.core.model.IBrowserConnection;
+import org.apache.directory.studio.ldapbrowser.ui.BrowserUIConstants;
 import org.eclipse.swt.widgets.Composite;
 
 
@@ -71,7 +72,7 @@
      */
     public static String getId()
     {
-        return ExportConnectionsWizard.class.getName();
+        return BrowserUIConstants.WIZARD_EXPORT_CONNECTIONS;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportCsvWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportCsvWizard.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportCsvWizard.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportCsvWizard.java
Mon Sep  1 08:33:30 2008
@@ -59,7 +59,7 @@
      */
     public static String getId()
     {
-        return ExportCsvWizard.class.getName();
+        return BrowserUIConstants.WIZARD_EXPORT_CSV;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportDsmlWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportDsmlWizard.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportDsmlWizard.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportDsmlWizard.java
Mon Sep  1 08:33:30 2008
@@ -61,7 +61,7 @@
      */
     public static String getId()
     {
-        return ExportDsmlWizard.class.getName();
+        return BrowserUIConstants.WIZARD_EXPORT_DSML;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportExcelWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportExcelWizard.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportExcelWizard.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportExcelWizard.java
Mon Sep  1 08:33:30 2008
@@ -59,7 +59,7 @@
      */
     public static String getId()
     {
-        return ExportExcelWizard.class.getName();
+        return BrowserUIConstants.WIZARD_EXPORT_EXCEL;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportLdifWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportLdifWizard.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportLdifWizard.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportLdifWizard.java
Mon Sep  1 08:33:30 2008
@@ -59,7 +59,7 @@
      */
     public static String getId()
     {
-        return ExportLdifWizard.class.getName();
+        return BrowserUIConstants.WIZARD_EXPORT_LDIF;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ImportConnectionsWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ImportConnectionsWizard.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ImportConnectionsWizard.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ImportConnectionsWizard.java
Mon Sep  1 08:33:30 2008
@@ -43,6 +43,7 @@
 import org.apache.directory.studio.ldapbrowser.core.BrowserConnectionIO;
 import org.apache.directory.studio.ldapbrowser.core.model.IBrowserConnection;
 import org.apache.directory.studio.ldapbrowser.core.model.impl.BrowserConnection;
+import org.apache.directory.studio.ldapbrowser.ui.BrowserUIConstants;
 import org.eclipse.swt.widgets.Composite;
 
 
@@ -74,7 +75,7 @@
      */
     public static String getId()
     {
-        return ImportConnectionsWizard.class.getName();
+        return BrowserUIConstants.WIZARD_IMPORT_CONNECTIONS;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ImportDsmlWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ImportDsmlWizard.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ImportDsmlWizard.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ImportDsmlWizard.java
Mon Sep  1 08:33:30 2008
@@ -94,7 +94,7 @@
      */
     public static String getId()
     {
-        return ImportDsmlWizard.class.getName();
+        return BrowserUIConstants.WIZARD_IMPORT_DSML;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ImportLdifWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ImportLdifWizard.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ImportLdifWizard.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ImportLdifWizard.java
Mon Sep  1 08:33:30 2008
@@ -99,7 +99,7 @@
      */
     public static String getId()
     {
-        return ImportLdifWizard.class.getName();
+        return BrowserUIConstants.WIZARD_IMPORT_LDIF;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewBookmarkWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewBookmarkWizard.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewBookmarkWizard.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewBookmarkWizard.java
Mon Sep  1 08:33:30 2008
@@ -33,6 +33,7 @@
 import org.apache.directory.studio.ldapbrowser.core.model.ISearchResult;
 import org.apache.directory.studio.ldapbrowser.core.model.IValue;
 import org.apache.directory.studio.ldapbrowser.core.model.impl.Bookmark;
+import org.apache.directory.studio.ldapbrowser.ui.BrowserUIConstants;
 import org.eclipse.jface.viewers.IStructuredSelection;
 import org.eclipse.jface.wizard.IWizardPage;
 import org.eclipse.jface.wizard.Wizard;
@@ -78,7 +79,7 @@
      */
     public static String getId()
     {
-        return NewBookmarkWizard.class.getName();
+        return BrowserUIConstants.WIZARD_NEW_BOOKMARK;
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewSearchWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewSearchWizard.java?rev=690998&r1=690997&r2=690998&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewSearchWizard.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/NewSearchWizard.java
Mon Sep  1 08:33:30 2008
@@ -21,6 +21,7 @@
 package org.apache.directory.studio.ldapbrowser.ui.wizards;
 
 
+import org.apache.directory.studio.ldapbrowser.ui.BrowserUIConstants;
 import org.apache.directory.studio.ldapbrowser.ui.search.SearchPage;
 import org.eclipse.jface.viewers.IStructuredSelection;
 import org.eclipse.jface.wizard.Wizard;
@@ -77,7 +78,7 @@
      */
     public static String getId()
     {
-        return NewSearchWizard.class.getName();
+        return BrowserUIConstants.WIZARD_NEW_SEARCH;
     }
 
 



Mime
View raw message