directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r741930 [1/6] - in /directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio: ldapbrowser/common/ ldapbrowser/common/actions/ ldapbrowser/common/dialogs/ ldapbrowser/common/dialogs/preferences/ ldapbrowser/common/...
Date Sat, 07 Feb 2009 18:26:31 GMT
Author: seelmann
Date: Sat Feb  7 18:26:27 2009
New Revision: 741930

URL: http://svn.apache.org/viewvc?rev=741930&view=rev
Log:
String externalization, German translations, constants

Added:
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/Messages.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/messages.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/messages_de.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/Messages.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages_de.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/Messages.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/messages.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/messages_de.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/filtereditor/Messages.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/filtereditor/messages.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/filtereditor/messages_de.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/Messages.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/Messages.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/messages.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/messages_de.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/connection/Messages.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/connection/messages.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/connection/messages_de.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/Messages.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/messages.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/messages_de.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/messages.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/messages_de.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/Messages.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/messages.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/messages_de.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/Messages.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/messages.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/messages_de.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/Messages.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/messages.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/messages_de.properties
Modified:
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonActivator.java
    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/BrowserCommonPreferencesInitializer.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/ValueEditorsPreferences.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/BrowserSelectionUtils.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/CollapseAllAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/CopyAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/DeleteAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/DeleteAllValuesAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/FilterChildrenAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/NewAttributeAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/NewValueAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/PasteAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/PropertiesAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/RefreshAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/RenameAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/SelectAllAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/ShowDecoratedValuesAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/UnfilterChildrenAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/UpAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/ValueEditorPreferencesAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/DeleteDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/DnDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/EntryExistsCopyStrategyDialogImpl.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/FilterDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/FilterWidgetDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/HexDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/MoveEntriesDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/MultivaluedDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/RenameEntryDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/ScopeDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/SimulateRenameDialogImpl.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/TextDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/AttributeDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/AttributeValueEditorDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/AttributesPreferencePage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/BinaryAttributesAndSyntaxesPreferencePage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/BrowserPreferencePage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/ColorsAndFontsPreferencePage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/EntryEditorPreferencePage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/MainPreferencePage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/SyntaxDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/SyntaxValueEditorDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/TextFormatsPreferencePage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/ValueEditorsPreferencePage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dnd/EntryTransfer.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dnd/SearchTransfer.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dnd/ValuesTransfer.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/filtereditor/FilterAutoEditStrategy.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/filtereditor/FilterContentAssistProcessor.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/filtereditor/FilterFormattingStrategy.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/filtereditor/FilterReconcilingStrategy.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/filtereditor/FilterTextHover.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/BinaryEncodingInput.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/DnBuilderWidget.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/FileBrowserWidget.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/FileEncodingInput.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/LineSeparatorInput.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/ListContentProposalProvider.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/ModWidget.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/OptionsInput.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/ViewFormWidget.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/BrowserActionGroup.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/BrowserCategory.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/BrowserContentProvider.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/BrowserEntryPage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/BrowserLabelProvider.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/BrowserSearchResultPage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/BrowserSorter.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/BrowserSorterDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/browser/OpenSortDialogAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/connection/BrowserParameterPage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EditAttributeDescriptionAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetActionGroup.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetActionGroupWithAttribute.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetCellModifier.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetContentProvider.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetFilter.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetLabelProvider.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetQuickFilterWidget.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetSorterDialog.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetTableMetadata.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/OpenDefaultEditorAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/OpenSortDialogAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/ShowQuickFilterAction.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/AliasesDereferencingWidget.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/BrowserConnectionWidget.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/EntryWidget.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/FilterWidget.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/FilterWidgetAutoEditStrategyAdapter.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/LimitWidget.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ReferralsHandlingWidget.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ReturningAttributesContentAssistProcessor.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ReturningAttributesWidget.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/ScopeWidget.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/search/SearchPageWrapper.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeOptionsWizardPage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/AttributeTypeWizardPage.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/EditEntryWizard.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryAttributesWizardPage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryDnWizardPage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryObjectclassWizardPage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryTypeWizardPage.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryWizard.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/AbstractDialogBinaryValueEditor.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/AbstractDialogStringValueEditor.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/AbstractDialogValueEditor.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/AbstractInPlaceStringValueEditor.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/EntryValueEditor.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/MultivaluedValueEditor.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/TextValueEditor.java
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/valueeditors/ValueEditorManager.java

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonActivator.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonActivator.java?rev=741930&r1=741929&r2=741930&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonActivator.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonActivator.java Sat Feb  7 18:26:27 2009
@@ -123,7 +123,7 @@
         if ( filterTemplateStore == null )
         {
             filterTemplateStore = new ContributionTemplateStore( getFilterTemplateContextTypeRegistry(),
-                getPreferenceStore(), "templates" );
+                getPreferenceStore(), "templates" ); //$NON-NLS-1$
             try
             {
                 filterTemplateStore.load();
@@ -329,7 +329,7 @@
     public static boolean isIDEEnvironment()
     {
         IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint(
-            "org.eclipse.ui.perspectives" );
+            "org.eclipse.ui.perspectives" ); //$NON-NLS-1$
         if ( extensionPoint != null )
         {
             IExtension[] extensions = extensionPoint.getExtensions();
@@ -342,9 +342,9 @@
                     for ( int j = 0; j < elements.length; j++ )
                     {
                         IConfigurationElement element = elements[j];
-                        if ( element.getName().equals( "perspective" ) )
+                        if ( element.getName().equals( "perspective" ) ) //$NON-NLS-1$
                         {
-                            if ( "org.eclipse.ui.resourcePerspective".equals( element.getAttribute( "id" ) ) )
+                            if ( "org.eclipse.ui.resourcePerspective".equals( element.getAttribute( "id" ) ) ) //$NON-NLS-1$ //$NON-NLS-2$
                             {
                                 return true;
                             }
@@ -382,13 +382,13 @@
             try
             {
                 properties = new PropertyResourceBundle( FileLocator.openStream( this.getBundle(), new Path(
-                    "plugin.properties" ), false ) );
+                    "plugin.properties" ), false ) ); //$NON-NLS-1$
             }
             catch ( IOException e )
             {
                 getLog().log(
-                    new Status( Status.ERROR, "org.apache.directory.studio.ldapbrowser.common", Status.OK,
-                        "Unable to get the plugin properties.", e ) );
+                    new Status( Status.ERROR, "org.apache.directory.studio.ldapbrowser.common", Status.OK, //$NON-NLS-1$
+                        "Unable to get the plugin properties.", e ) ); //$NON-NLS-1$
             }
         }
 

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=741930&r1=741929&r2=741930&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 Sat Feb  7 18:26:27 2009
@@ -24,189 +24,189 @@
 {
     /** The plug-in ID */
     public static final String PLUGIN_ID = BrowserCommonActivator.getDefault().getPluginProperties().getString(
-        "Plugin_id" );
+        "Plugin_id" ); //$NON-NLS-1$
 
     public static final int HISTORYSIZE = 20;
 
     public static final String CONTEXT_WINDOWS = BrowserCommonActivator.getDefault().getPluginProperties().getString(
-        "Ctx_LdapBrowserWindows_id" );
+        "Ctx_LdapBrowserWindows_id" ); //$NON-NLS-1$
     public static final String CONTEXT_DIALOGS = BrowserCommonActivator.getDefault().getPluginProperties().getString(
-        "Ctx_LdapBrowserDialogs_id" );
+        "Ctx_LdapBrowserDialogs_id" ); //$NON-NLS-1$
 
     public static final String ACTION_ID_EDIT_VALUE = BrowserCommonActivator.getDefault().getPluginProperties()
-        .getString( "Cmd_EditValue_id" );
+        .getString( "Cmd_EditValue_id" ); //$NON-NLS-1$
     public static final String ACTION_ID_EDIT_ATTRIBUTE_DESCRIPTION = BrowserCommonActivator.getDefault()
-        .getPluginProperties().getString( "Cmd_EditAttributeDescription_id" );
+        .getPluginProperties().getString( "Cmd_EditAttributeDescription_id" ); //$NON-NLS-1$
     public static final String ACTION_ID_EDIT_RECORD = BrowserCommonActivator.getDefault().getPluginProperties()
-        .getString( "Cmd_EditRecord_id" );
+        .getString( "Cmd_EditRecord_id" ); //$NON-NLS-1$
 
-    public static final String DIALOGSETTING_KEY_RECENT_FILE_PATH = "recentFilePath";
-    public static final String DIALOGSETTING_KEY_FILE_HISTORY = "fileHistory";
-    public static final String DIALOGSETTING_KEY_RETURNING_ATTRIBUTES_HISTORY = "returningAttributesHistory";
-    public static final String DIALOGSETTING_KEY_SEARCH_FILTER_HISTORY = "searchFilterHistory";
-    public static final String DIALOGSETTING_KEY_DN_HISTORY = "dnHistory";
-    public static final String DIALOGSETTING_KEY_HOST_HISTORY = "hostHistory";
-    public static final String DIALOGSETTING_KEY_PORT_HISTORY = "portHistory";
+    public static final String DIALOGSETTING_KEY_RECENT_FILE_PATH = "recentFilePath"; //$NON-NLS-1$
+    public static final String DIALOGSETTING_KEY_FILE_HISTORY = "fileHistory"; //$NON-NLS-1$
+    public static final String DIALOGSETTING_KEY_RETURNING_ATTRIBUTES_HISTORY = "returningAttributesHistory"; //$NON-NLS-1$
+    public static final String DIALOGSETTING_KEY_SEARCH_FILTER_HISTORY = "searchFilterHistory"; //$NON-NLS-1$
+    public static final String DIALOGSETTING_KEY_DN_HISTORY = "dnHistory"; //$NON-NLS-1$
+    public static final String DIALOGSETTING_KEY_HOST_HISTORY = "hostHistory"; //$NON-NLS-1$
+    public static final String DIALOGSETTING_KEY_PORT_HISTORY = "portHistory"; //$NON-NLS-1$
 
     public static final String FILTER_TEMPLATE_ID = BrowserCommonActivator.getDefault().getPluginProperties()
-        .getString( "CtxType_LdapFilter_Template_id" );
+        .getString( "CtxType_LdapFilter_Template_id" ); //$NON-NLS-1$
 
     public static final String EXTENSION_POINT_VALUE_EDITORS = BrowserCommonActivator.getDefault()
-        .getPluginProperties().getString( "ExtensionPoint_ValueEditors_id" );
+        .getPluginProperties().getString( "ExtensionPoint_ValueEditors_id" ); //$NON-NLS-1$
 
-    public static final String PREFERENCE_TIME_LIMIT = "timeLimit";
-    public static final String PREFERENCE_COUNT_LIMIT = "countLimit";
-    public static final String PREFERENCE_SYNTAX_VALUEPEDITOR_RELATIONS = "syntaxValueProviderRelations";
-    public static final String PREFERENCE_ATTRIBUTE_VALUEEDITOR_RELATIONS = "attributeValueProviderRelations";
-    public static final String PREFERENCE_FORMAT_TABLE_ATTRIBUTEDELIMITER = "formatTableAttributeDelimiter";
-    public static final String PREFERENCE_FORMAT_TABLE_VALUEDELIMITER = "formatTableValueDelimiter";
-    public static final String PREFERENCE_FORMAT_TABLE_QUOTECHARACTER = "formatTableQuoteCharacter";
-    public static final String PREFERENCE_FORMAT_TABLE_LINESEPARATOR = "formatTableLineSeparator";
-    public static final String PREFERENCE_FORMAT_TABLE_BINARYENCODING = "formatTableBinaryEncoding";
-    public static final String PREFERENCE_SHOW_RAW_VALUES = "showRawValues";
-    public static final String PREFERENCE_BROWSER_SORT_BY = "browserSortBy";
-    public static final String PREFERENCE_BROWSER_SORT_ORDER = "browserSortOrder";
-    public static final String PREFERENCE_BROWSER_SORT_LIMIT = "browserSortLimit";
-    public static final String PREFERENCE_BROWSER_LEAF_ENTRIES_FIRST = "browserLeafEntriesFirst";
-    public static final String PREFERENCE_BROWSER_CONTAINER_ENTRIES_FIRST = "browserContainerEntriesFirst";
-    public static final String PREFERENCE_BROWSER_META_ENTRIES_LAST = "browserMetaEntriesLast";
-    public static final String PREFERENCE_BROWSER_SHOW_DIT = "browserShowDIT";
-    public static final String PREFERENCE_BROWSER_SHOW_SEARCHES = "browserShowSearches";
-    public static final String PREFERENCE_BROWSER_SHOW_BOOKMARKS = "browserShowBookmarks";
-    public static final String PREFERENCE_BROWSER_SHOW_DIRECTORY_META_ENTRIES = "browserShowDirectoryMetaEntries";
-    public static final String PREFERENCE_BROWSER_ENABLE_FOLDING = "browserEnableFolding";
-    public static final String PREFERENCE_BROWSER_FOLDING_SIZE = "browserFoldingSize";
-    public static final String PREFERENCE_BROWSER_EXPAND_BASE_ENTRIES = "browserExpandBaseEntries";
-    public static final String PREFERENCE_BROWSER_ENTRY_LABEL = "browserEntryLabel";
-    public static final String PREFERENCE_BROWSER_ENTRY_ABBREVIATE = "browserEntryAbbreviate";
-    public static final String PREFERENCE_BROWSER_ENTRY_ABBREVIATE_MAX_LENGTH = "browserentryAbbreviateMaxLength";
-    public static final String PREFERENCE_BROWSER_SEARCH_RESULT_LABEL = "browserSearchResultLabel";
-    public static final String PREFERENCE_BROWSER_SEARCH_RESULT_ABBREVIATE = "browserWearchResultAbbreviate";
-    public static final String PREFERENCE_BROWSER_SEARCH_RESULT_ABBREVIATE_MAX_LENGTH = "browserSearchResultAbbreviateMaxLength";
-    public static final String PREFERENCE_ENTRYEDITOR_SHOW_MAY_ATTRIBUTES = "entryeditorShowMayAttributes";
-    public static final String PREFERENCE_ENTRYEDITOR_SHOW_MUST_ATTRIBUTES = "entryeditorShowMustAttributes";
-    public static final String PREFERENCE_ENTRYEDITOR_SHOW_OBJECTCLASS_ATTRIBUTES = "entryeditorShowObjectClassAttribute";
-    public static final String PREFERENCE_ENTRYEDITOR_SHOW_OPERATIONAL_ATTRIBUTES = "entryeditorShowOperationalAttributes";
-    public static final String PREFERENCE_ENTRYEDITOR_ENABLE_FOLDING = "entryeditorEnableFolding";
-    public static final String PREFERENCE_ENTRYEDITOR_FOLDING_THRESHOLD = "entryeditorFoldingThreshold";
-    public static final String PREFERENCE_ENTRYEDITOR_AUTO_EXPAND_FOLDED_ATTRIBUTES = "entryeditorAutoExpandFoldedAttributes";
-    public static final String PREFERENCE_ENTRYEDITOR_OBJECTCLASS_AND_MUST_ATTRIBUTES_FIRST = "entryeditorObjectClassAndMustAttributesFirst";
-    public static final String PREFERENCE_ENTRYEDITOR_OPERATIONAL_ATTRIBUTES_LAST = "entryeditorOperationalAttributesLast";
-    public static final String PREFERENCE_ENTRYEDITOR_DEFAULT_SORT_BY = "entryeditorDefaultSortBy";
-    public static final String PREFERENCE_ENTRYEDITOR_DEFAULT_SORT_ORDER = "entryeditorDefaultSortOrder";
-    public static final String PREFERENCE_OBJECTCLASS_COLOR = "objectClassColor";
-    public static final String PREFERENCE_OBJECTCLASS_FONT = "objectClassFont";
-    public static final String PREFERENCE_MUSTATTRIBUTE_COLOR = "mustAttributeColor";
-    public static final String PREFERENCE_MUSTATTRIBUTE_FONT = "mustAttributeFont";
-    public static final String PREFERENCE_MAYATTRIBUTE_COLOR = "mayAttributeColor";
-    public static final String PREFERENCE_MAYATTRIBUTE_FONT = "mayAttributeFont";
-    public static final String PREFERENCE_OPERATIONALATTRIBUTE_COLOR = "operationalAttributeColor";
-    public static final String PREFERENCE_OPERATIONALATTRIBUTE_FONT = "operationalAttributeFont";
-    public static final String PREFERENCE_QUICKFILTER_BACKGROUND_COLOR = "quickfilterBackgroundColor";
-    public static final String PREFERENCE_QUICKFILTER_FOREGROUND_COLOR = "quickfilterForegroundColor";
-    public static final String PREFERENCE_QUICKFILTER_FONT = "quickfilterFont";
-    public static final String PREFERENCE_ERROR_FONT = "errorFont";
-    public static final String PREFERENCE_ERROR_COLOR = "errorColor";
-    public static final String PREFERENCE_WARNING_FONT = "warningFont";
-    public static final String PREFERENCE_WARNING_COLOR = "warningColor";
+    public static final String PREFERENCE_TIME_LIMIT = "timeLimit"; //$NON-NLS-1$
+    public static final String PREFERENCE_COUNT_LIMIT = "countLimit"; //$NON-NLS-1$
+    public static final String PREFERENCE_SYNTAX_VALUEPEDITOR_RELATIONS = "syntaxValueProviderRelations"; //$NON-NLS-1$
+    public static final String PREFERENCE_ATTRIBUTE_VALUEEDITOR_RELATIONS = "attributeValueProviderRelations"; //$NON-NLS-1$
+    public static final String PREFERENCE_FORMAT_TABLE_ATTRIBUTEDELIMITER = "formatTableAttributeDelimiter"; //$NON-NLS-1$
+    public static final String PREFERENCE_FORMAT_TABLE_VALUEDELIMITER = "formatTableValueDelimiter"; //$NON-NLS-1$
+    public static final String PREFERENCE_FORMAT_TABLE_QUOTECHARACTER = "formatTableQuoteCharacter"; //$NON-NLS-1$
+    public static final String PREFERENCE_FORMAT_TABLE_LINESEPARATOR = "formatTableLineSeparator"; //$NON-NLS-1$
+    public static final String PREFERENCE_FORMAT_TABLE_BINARYENCODING = "formatTableBinaryEncoding"; //$NON-NLS-1$
+    public static final String PREFERENCE_SHOW_RAW_VALUES = "showRawValues"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_SORT_BY = "browserSortBy"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_SORT_ORDER = "browserSortOrder"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_SORT_LIMIT = "browserSortLimit"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_LEAF_ENTRIES_FIRST = "browserLeafEntriesFirst"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_CONTAINER_ENTRIES_FIRST = "browserContainerEntriesFirst"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_META_ENTRIES_LAST = "browserMetaEntriesLast"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_SHOW_DIT = "browserShowDIT"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_SHOW_SEARCHES = "browserShowSearches"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_SHOW_BOOKMARKS = "browserShowBookmarks"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_SHOW_DIRECTORY_META_ENTRIES = "browserShowDirectoryMetaEntries"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_ENABLE_FOLDING = "browserEnableFolding"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_FOLDING_SIZE = "browserFoldingSize"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_EXPAND_BASE_ENTRIES = "browserExpandBaseEntries"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_ENTRY_LABEL = "browserEntryLabel"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_ENTRY_ABBREVIATE = "browserEntryAbbreviate"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_ENTRY_ABBREVIATE_MAX_LENGTH = "browserentryAbbreviateMaxLength"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_SEARCH_RESULT_LABEL = "browserSearchResultLabel"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_SEARCH_RESULT_ABBREVIATE = "browserWearchResultAbbreviate"; //$NON-NLS-1$
+    public static final String PREFERENCE_BROWSER_SEARCH_RESULT_ABBREVIATE_MAX_LENGTH = "browserSearchResultAbbreviateMaxLength"; //$NON-NLS-1$
+    public static final String PREFERENCE_ENTRYEDITOR_SHOW_MAY_ATTRIBUTES = "entryeditorShowMayAttributes"; //$NON-NLS-1$
+    public static final String PREFERENCE_ENTRYEDITOR_SHOW_MUST_ATTRIBUTES = "entryeditorShowMustAttributes"; //$NON-NLS-1$
+    public static final String PREFERENCE_ENTRYEDITOR_SHOW_OBJECTCLASS_ATTRIBUTES = "entryeditorShowObjectClassAttribute"; //$NON-NLS-1$
+    public static final String PREFERENCE_ENTRYEDITOR_SHOW_OPERATIONAL_ATTRIBUTES = "entryeditorShowOperationalAttributes"; //$NON-NLS-1$
+    public static final String PREFERENCE_ENTRYEDITOR_ENABLE_FOLDING = "entryeditorEnableFolding"; //$NON-NLS-1$
+    public static final String PREFERENCE_ENTRYEDITOR_FOLDING_THRESHOLD = "entryeditorFoldingThreshold"; //$NON-NLS-1$
+    public static final String PREFERENCE_ENTRYEDITOR_AUTO_EXPAND_FOLDED_ATTRIBUTES = "entryeditorAutoExpandFoldedAttributes"; //$NON-NLS-1$
+    public static final String PREFERENCE_ENTRYEDITOR_OBJECTCLASS_AND_MUST_ATTRIBUTES_FIRST = "entryeditorObjectClassAndMustAttributesFirst"; //$NON-NLS-1$
+    public static final String PREFERENCE_ENTRYEDITOR_OPERATIONAL_ATTRIBUTES_LAST = "entryeditorOperationalAttributesLast"; //$NON-NLS-1$
+    public static final String PREFERENCE_ENTRYEDITOR_DEFAULT_SORT_BY = "entryeditorDefaultSortBy"; //$NON-NLS-1$
+    public static final String PREFERENCE_ENTRYEDITOR_DEFAULT_SORT_ORDER = "entryeditorDefaultSortOrder"; //$NON-NLS-1$
+    public static final String PREFERENCE_OBJECTCLASS_COLOR = "objectClassColor"; //$NON-NLS-1$
+    public static final String PREFERENCE_OBJECTCLASS_FONT = "objectClassFont"; //$NON-NLS-1$
+    public static final String PREFERENCE_MUSTATTRIBUTE_COLOR = "mustAttributeColor"; //$NON-NLS-1$
+    public static final String PREFERENCE_MUSTATTRIBUTE_FONT = "mustAttributeFont"; //$NON-NLS-1$
+    public static final String PREFERENCE_MAYATTRIBUTE_COLOR = "mayAttributeColor"; //$NON-NLS-1$
+    public static final String PREFERENCE_MAYATTRIBUTE_FONT = "mayAttributeFont"; //$NON-NLS-1$
+    public static final String PREFERENCE_OPERATIONALATTRIBUTE_COLOR = "operationalAttributeColor"; //$NON-NLS-1$
+    public static final String PREFERENCE_OPERATIONALATTRIBUTE_FONT = "operationalAttributeFont"; //$NON-NLS-1$
+    public static final String PREFERENCE_QUICKFILTER_BACKGROUND_COLOR = "quickfilterBackgroundColor"; //$NON-NLS-1$
+    public static final String PREFERENCE_QUICKFILTER_FOREGROUND_COLOR = "quickfilterForegroundColor"; //$NON-NLS-1$
+    public static final String PREFERENCE_QUICKFILTER_FONT = "quickfilterFont"; //$NON-NLS-1$
+    public static final String PREFERENCE_ERROR_FONT = "errorFont"; //$NON-NLS-1$
+    public static final String PREFERENCE_ERROR_COLOR = "errorColor"; //$NON-NLS-1$
+    public static final String PREFERENCE_WARNING_FONT = "warningFont"; //$NON-NLS-1$
+    public static final String PREFERENCE_WARNING_COLOR = "warningColor"; //$NON-NLS-1$
     public static final int SHOW_DN = 0;
     public static final int SHOW_RDN = 1;
     public static final int SHOW_RDN_VALUE = 2;
 
     public static final String PREFERENCEPAGEID_VALUEEDITORS = BrowserCommonActivator.getDefault()
-        .getPluginProperties().getString( "PrefPage_ValueEditorsPreferencePage_id" );
+        .getPluginProperties().getString( "PrefPage_ValueEditorsPreferencePage_id" ); //$NON-NLS-1$
 
-    public static final String IMG_TEMPLATE = "resources/icons/template.gif";
-    public static final String IMG_CLEAR = "resources/icons/clear.gif";
-    public static final String IMG_HEXEDITOR = "resources/icons/hexeditor.gif";
-    public static final String IMG_TEXTEDITOR = "resources/icons/texteditor.gif";
-    public static final String IMG_INPLACE_TEXTEDITOR = "resources/icons/inplace_texteditor.gif";
-    public static final String IMG_MULTIVALUEDEDITOR = "resources/icons/multivaluededitor.gif";
-    public static final String IMG_DNEDITOR = "resources/icons/dneditor.gif";
-    public static final String IMG_PULLDOWN = "resources/icons/pulldown.gif";
-    public static final String IMG_SORT = "resources/icons/sort.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_SEARCHES = "resources/icons/searches.gif";
-    public static final String IMG_SEARCH = "resources/icons/search.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_BROWSER_SCHEMABROWSEREDITOR = "resources/icons/browser_schemabrowsereditor.gif";
-    public static final String IMG_CONNECTION_ADD = "resources/icons/connection_add.gif";
-    public static final String IMG_CONNECTION_CONNECTED = "resources/icons/connection_connected.gif";
-    public static final String IMG_CONNECTION_DISCONNECTED = "resources/icons/connection_disconnected.gif";
-    public static final String IMG_CONNECTION_CONNECT = "resources/icons/connection_connect.gif";
-    public static final String IMG_CONNECTION_DISCONNECT = "resources/icons/connection_disconnect.gif";
-    public static final String IMG_CONNECTION_WIZARD = "resources/icons/connection_wizard.gif";
-    public static final String IMG_REFRESH = "resources/icons/refresh.gif";
-    public static final String IMG_COLLAPSEALL = "resources/icons/collapseall.gif";
-    public static final String IMG_FILTER_DIT = "resources/icons/filter_dit.gif";
-    public static final String IMG_FILTER_EDITOR = "resources/icons/filtereditor.gif";
-    public static final String IMG_PARENT = "resources/icons/parent.gif";
-    public static final String IMG_UNFILTER_DIT = "resources/icons/unfilter_dit.gif";
-    public static final String IMG_FILTER = "resources/icons/filter.gif";
-    public static final String IMG_SORT_ASCENDING = "resources/icons/sort_ascending.gif";
-    public static final String IMG_SORT_DESCENDING = "resources/icons/sort_descending.gif";
-    public static final String IMG_VALUE_ADD = "resources/icons/value_add.gif";
-    public static final String IMG_ATTRIBUTE_ADD = "resources/icons/attribute_add.gif";
-    public static final String IMG_DELETE_ALL = "resources/icons/delete_all.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_OCD_ABSTRACT = "resources/icons/ocd_abstract.gif";
-    public static final String IMG_OCD_AUXILIARY = "resources/icons/ocd_auxiliary.gif";
-    public static final String IMG_OCD_STRUCTURAL = "resources/icons/ocd_structural.gif";
-    public static final String IMG_MRD = "resources/icons/mrd.png";
-    public static final String IMG_ENTRY_WIZARD = "resources/icons/entry_wizard.gif";
-    public static final String IMG_TOP = "resources/icons/top.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_TEMPLATE = "resources/icons/template.gif"; //$NON-NLS-1$
+    public static final String IMG_CLEAR = "resources/icons/clear.gif"; //$NON-NLS-1$
+    public static final String IMG_HEXEDITOR = "resources/icons/hexeditor.gif"; //$NON-NLS-1$
+    public static final String IMG_TEXTEDITOR = "resources/icons/texteditor.gif"; //$NON-NLS-1$
+    public static final String IMG_INPLACE_TEXTEDITOR = "resources/icons/inplace_texteditor.gif"; //$NON-NLS-1$
+    public static final String IMG_MULTIVALUEDEDITOR = "resources/icons/multivaluededitor.gif"; //$NON-NLS-1$
+    public static final String IMG_DNEDITOR = "resources/icons/dneditor.gif"; //$NON-NLS-1$
+    public static final String IMG_PULLDOWN = "resources/icons/pulldown.gif"; //$NON-NLS-1$
+    public static final String IMG_SORT = "resources/icons/sort.gif"; //$NON-NLS-1$
+    public static final String IMG_DIT = "resources/icons/dit.gif"; //$NON-NLS-1$
+    public static final String IMG_ENTRY = "resources/icons/entry_default.gif"; //$NON-NLS-1$
+    public static final String IMG_ENTRY_ROOT = "resources/icons/entry_root.gif"; //$NON-NLS-1$
+    public static final String IMG_ENTRY_DC = "resources/icons/entry_dc.gif"; //$NON-NLS-1$
+    public static final String IMG_ENTRY_ORG = "resources/icons/entry_org.gif"; //$NON-NLS-1$
+    public static final String IMG_ENTRY_PERSON = "resources/icons/entry_person.gif"; //$NON-NLS-1$
+    public static final String IMG_ENTRY_GROUP = "resources/icons/entry_group.gif"; //$NON-NLS-1$
+    public static final String IMG_ENTRY_REF = "resources/icons/entry_ref.gif"; //$NON-NLS-1$
+    public static final String IMG_ENTRY_ALIAS = "resources/icons/entry_alias.gif"; //$NON-NLS-1$
+    public static final String IMG_SEARCHES = "resources/icons/searches.gif"; //$NON-NLS-1$
+    public static final String IMG_SEARCH = "resources/icons/search.gif"; //$NON-NLS-1$
+    public static final String IMG_SEARCH_UNPERFORMED = "resources/icons/search_unperformed.gif"; //$NON-NLS-1$
+    public static final String IMG_BOOKMARKS = "resources/icons/bookmarks.gif"; //$NON-NLS-1$
+    public static final String IMG_BOOKMARK = "resources/icons/bookmark.gif"; //$NON-NLS-1$
+    public static final String IMG_BROWSER_SCHEMABROWSEREDITOR = "resources/icons/browser_schemabrowsereditor.gif"; //$NON-NLS-1$
+    public static final String IMG_CONNECTION_ADD = "resources/icons/connection_add.gif"; //$NON-NLS-1$
+    public static final String IMG_CONNECTION_CONNECTED = "resources/icons/connection_connected.gif"; //$NON-NLS-1$
+    public static final String IMG_CONNECTION_DISCONNECTED = "resources/icons/connection_disconnected.gif"; //$NON-NLS-1$
+    public static final String IMG_CONNECTION_CONNECT = "resources/icons/connection_connect.gif"; //$NON-NLS-1$
+    public static final String IMG_CONNECTION_DISCONNECT = "resources/icons/connection_disconnect.gif"; //$NON-NLS-1$
+    public static final String IMG_CONNECTION_WIZARD = "resources/icons/connection_wizard.gif"; //$NON-NLS-1$
+    public static final String IMG_REFRESH = "resources/icons/refresh.gif"; //$NON-NLS-1$
+    public static final String IMG_COLLAPSEALL = "resources/icons/collapseall.gif"; //$NON-NLS-1$
+    public static final String IMG_FILTER_DIT = "resources/icons/filter_dit.gif"; //$NON-NLS-1$
+    public static final String IMG_FILTER_EDITOR = "resources/icons/filtereditor.gif"; //$NON-NLS-1$
+    public static final String IMG_PARENT = "resources/icons/parent.gif"; //$NON-NLS-1$
+    public static final String IMG_UNFILTER_DIT = "resources/icons/unfilter_dit.gif"; //$NON-NLS-1$
+    public static final String IMG_FILTER = "resources/icons/filter.gif"; //$NON-NLS-1$
+    public static final String IMG_SORT_ASCENDING = "resources/icons/sort_ascending.gif"; //$NON-NLS-1$
+    public static final String IMG_SORT_DESCENDING = "resources/icons/sort_descending.gif"; //$NON-NLS-1$
+    public static final String IMG_VALUE_ADD = "resources/icons/value_add.gif"; //$NON-NLS-1$
+    public static final String IMG_ATTRIBUTE_ADD = "resources/icons/attribute_add.gif"; //$NON-NLS-1$
+    public static final String IMG_DELETE_ALL = "resources/icons/delete_all.gif"; //$NON-NLS-1$
+    public static final String IMG_ATD = "resources/icons/atd.png"; //$NON-NLS-1$
+    public static final String IMG_OCD = "resources/icons/ocd.png"; //$NON-NLS-1$
+    public static final String IMG_OCD_ABSTRACT = "resources/icons/ocd_abstract.gif"; //$NON-NLS-1$
+    public static final String IMG_OCD_AUXILIARY = "resources/icons/ocd_auxiliary.gif"; //$NON-NLS-1$
+    public static final String IMG_OCD_STRUCTURAL = "resources/icons/ocd_structural.gif"; //$NON-NLS-1$
+    public static final String IMG_MRD = "resources/icons/mrd.png"; //$NON-NLS-1$
+    public static final String IMG_ENTRY_WIZARD = "resources/icons/entry_wizard.gif"; //$NON-NLS-1$
+    public static final String IMG_TOP = "resources/icons/top.gif"; //$NON-NLS-1$
+    public static final String IMG_NEXT = "resources/icons/next.gif"; //$NON-NLS-1$
+    public static final String IMG_PREVIOUS = "resources/icons/previous.gif"; //$NON-NLS-1$
 
     public static final String CMD_ADD_ATTRIBUTE = BrowserCommonActivator.getDefault().getPluginProperties().getString(
-        "Cmd_AddAttribute_id" );
+        "Cmd_AddAttribute_id" ); //$NON-NLS-1$
     public static final String CMD_ADD_VALUE = BrowserCommonActivator.getDefault().getPluginProperties().getString(
-        "Cmd_AddValue_id" );
+        "Cmd_AddValue_id" ); //$NON-NLS-1$
     public static final String CMD_OPEN_SEARCH_RESULT = BrowserCommonActivator.getDefault().getPluginProperties()
-        .getString( "Cmd_OpenSearchResult_id" );
+        .getString( "Cmd_OpenSearchResult_id" ); //$NON-NLS-1$
     public static final String CMD_COPY = BrowserCommonActivator.getDefault().getPluginProperties().getString(
-        "Cmd_Copy_id" );
+        "Cmd_Copy_id" ); //$NON-NLS-1$
     public static final String CMD_PASTE = BrowserCommonActivator.getDefault().getPluginProperties().getString(
-        "Cmd_Paste_id" );
+        "Cmd_Paste_id" ); //$NON-NLS-1$
     public static final String CMD_DELETE = BrowserCommonActivator.getDefault().getPluginProperties().getString(
-        "Cmd_Delete_id" );
+        "Cmd_Delete_id" ); //$NON-NLS-1$
     public static final String CMD_PROPERTIES = BrowserCommonActivator.getDefault().getPluginProperties().getString(
-        "Cmd_Properties_id" );
+        "Cmd_Properties_id" ); //$NON-NLS-1$
     public static final String CMD_FIND = BrowserCommonActivator.getDefault().getPluginProperties().getString(
-        "Cmd_Find_id" );
+        "Cmd_Find_id" ); //$NON-NLS-1$
 
     public static final String PROP_VALUE = BrowserCommonActivator.getDefault().getPluginProperties().getString(
-        "PropPage_Value_id" );
+        "PropPage_Value_id" ); //$NON-NLS-1$
     public static final String PROP_ATTRIBUTE = BrowserCommonActivator.getDefault().getPluginProperties().getString(
-        "PropPage_Attribute_id" );
+        "PropPage_Attribute_id" ); //$NON-NLS-1$
     public static final String PROP_SEARCH = BrowserCommonActivator.getDefault().getPluginProperties().getString(
-        "PropPage_Search_id" );
+        "PropPage_Search_id" ); //$NON-NLS-1$
     public static final String PROP_BOOKMARK = BrowserCommonActivator.getDefault().getPluginProperties().getString(
-        "PropPage_Bookmark_id" );
+        "PropPage_Bookmark_id" ); //$NON-NLS-1$
     public static final String PROP_ENTRY = BrowserCommonActivator.getDefault().getPluginProperties().getString(
-        "PropPage_Entry_id" );
+        "PropPage_Entry_id" ); //$NON-NLS-1$
 
     public static final String DND_ENTRY_TRANSFER = BrowserCommonActivator.getDefault().getPluginProperties()
-        .getString( "DnD_EntryTransfer" );
+        .getString( "DnD_EntryTransfer" ); //$NON-NLS-1$
     public static final String DND_SEARCH_TRANSFER = BrowserCommonActivator.getDefault().getPluginProperties()
-        .getString( "DnD_SearchTransfer" );
+        .getString( "DnD_SearchTransfer" ); //$NON-NLS-1$
     public static final String DND_VALUES_TRANSFER = BrowserCommonActivator.getDefault().getPluginProperties()
-        .getString( "DnD_ValuesTransfer" );
+        .getString( "DnD_ValuesTransfer" ); //$NON-NLS-1$
     
     public static final String WIZARD_ATTRIBUTE_WIZARD = BrowserCommonActivator.getDefault().getPluginProperties()
-    .getString( "Wizard_AttributeWizard_id" );
+    .getString( "Wizard_AttributeWizard_id" ); //$NON-NLS-1$
    
     public static final String WIZARD_NEW_ENTRY_WIZARD = BrowserCommonActivator.getDefault().getPluginProperties()
-    .getString( "NewWizard_NewEntryWizard_id" );
+    .getString( "NewWizard_NewEntryWizard_id" ); //$NON-NLS-1$
 }

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonPreferencesInitializer.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonPreferencesInitializer.java?rev=741930&r1=741929&r2=741930&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonPreferencesInitializer.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/BrowserCommonPreferencesInitializer.java Sat Feb  7 18:26:27 2009
@@ -151,9 +151,9 @@
         
 
         // Text Format
-        store.setDefault( BrowserCommonConstants.PREFERENCE_FORMAT_TABLE_ATTRIBUTEDELIMITER, "\t" );
-        store.setDefault( BrowserCommonConstants.PREFERENCE_FORMAT_TABLE_VALUEDELIMITER, "|" );
-        store.setDefault( BrowserCommonConstants.PREFERENCE_FORMAT_TABLE_QUOTECHARACTER, "\"" );
+        store.setDefault( BrowserCommonConstants.PREFERENCE_FORMAT_TABLE_ATTRIBUTEDELIMITER, "\t" ); //$NON-NLS-1$
+        store.setDefault( BrowserCommonConstants.PREFERENCE_FORMAT_TABLE_VALUEDELIMITER, "|" ); //$NON-NLS-1$
+        store.setDefault( BrowserCommonConstants.PREFERENCE_FORMAT_TABLE_QUOTECHARACTER, "\"" ); //$NON-NLS-1$
         store
             .setDefault( BrowserCommonConstants.PREFERENCE_FORMAT_TABLE_LINESEPARATOR, BrowserCoreConstants.LINE_SEPARATOR );
         store.setDefault( BrowserCommonConstants.PREFERENCE_FORMAT_TABLE_BINARYENCODING,

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/ValueEditorsPreferences.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/ValueEditorsPreferences.java?rev=741930&r1=741929&r2=741930&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/ValueEditorsPreferences.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/ValueEditorsPreferences.java Sat Feb  7 18:26:27 2009
@@ -84,8 +84,8 @@
         // Migration issue from 1.0.1 to 1.1.0 (DIRSTUDIO-287): class AttributeValueProviderRelation 
         // was renamed to AttributeValueEditorRelation, to be able to load the old configuration it
         // is necessary to replace the old class name with the new class name.
-        s = s.replaceAll( "AttributeValueProviderRelation", "AttributeValueEditorRelation" );
-        s = s.replaceAll( "valueProviderClassname", "valueEditorClassName" );
+        s = s.replaceAll( "AttributeValueProviderRelation", "AttributeValueEditorRelation" ); //$NON-NLS-1$ //$NON-NLS-2$
+        s = s.replaceAll( "valueProviderClassname", "valueEditorClassName" ); //$NON-NLS-1$ //$NON-NLS-2$
         AttributeValueEditorRelation[] aver = ( AttributeValueEditorRelation[] ) Utils.deserialize( s );
         return aver;
     }
@@ -117,8 +117,8 @@
         // Migration issue from 1.0.1 to 1.1.0 (DIRSTUDIO-287): class AttributeValueProviderRelation 
         // was renamed to AttributeValueEditorRelation, to be able to load the old configuration it
         // is necessary to replace the old class name with the new class name.
-        s = s.replaceAll( "AttributeValueProviderRelation", "AttributeValueEditorRelation" );
-        s = s.replaceAll( "valueProviderClassname", "valueEditorClassName" );
+        s = s.replaceAll( "AttributeValueProviderRelation", "AttributeValueEditorRelation" ); //$NON-NLS-1$ //$NON-NLS-2$
+        s = s.replaceAll( "valueProviderClassname", "valueEditorClassName" ); //$NON-NLS-1$ //$NON-NLS-2$
         AttributeValueEditorRelation[] aver = ( AttributeValueEditorRelation[] ) Utils.deserialize( s );
         return aver;
     }
@@ -187,8 +187,8 @@
         // Migration issue from 1.0.1 to 1.1.0 (DIRSTUDIO-287): class SyntaxValueProviderRelation 
         // was renamed to SyntaxValueEditorRelation, to be able to load the old configuration it
         // is necessary to replace the old class name with the new class name.
-        s = s.replaceAll( "SyntaxValueProviderRelation", "SyntaxValueEditorRelation" );
-        s = s.replaceAll( "valueProviderClassname", "valueEditorClassName" );
+        s = s.replaceAll( "SyntaxValueProviderRelation", "SyntaxValueEditorRelation" ); //$NON-NLS-1$ //$NON-NLS-2$
+        s = s.replaceAll( "valueProviderClassname", "valueEditorClassName" ); //$NON-NLS-1$ //$NON-NLS-2$
         SyntaxValueEditorRelation[] sver = ( SyntaxValueEditorRelation[] ) Utils.deserialize( s );
         return sver;
     }
@@ -207,8 +207,8 @@
         // Migration issue from 1.0.1 to 1.1.0 (DIRSTUDIO-287): class SyntaxValueProviderRelation 
         // was renamed to SyntaxValueEditorRelation, to be able to load the old configuration it
         // is necessary to replace the old class name with the new class name.
-        s = s.replaceAll( "SyntaxValueProviderRelation", "SyntaxValueEditorRelation" );
-        s = s.replaceAll( "valueProviderClassname", "valueEditorClassName" );
+        s = s.replaceAll( "SyntaxValueProviderRelation", "SyntaxValueEditorRelation" ); //$NON-NLS-1$ //$NON-NLS-2$
+        s = s.replaceAll( "valueProviderClassname", "valueEditorClassName" ); //$NON-NLS-1$ //$NON-NLS-2$
         SyntaxValueEditorRelation[] sver = ( SyntaxValueEditorRelation[] ) Utils.deserialize( s );
         return sver;
     }

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/BrowserSelectionUtils.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/BrowserSelectionUtils.java?rev=741930&r1=741929&r2=741930&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/BrowserSelectionUtils.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/BrowserSelectionUtils.java Sat Feb  7 18:26:27 2009
@@ -189,12 +189,12 @@
                 StringBuffer filter = new StringBuffer();
                 if ( filterSet.size() > 1 )
                 {
-                    filter.append( "(&" );
+                    filter.append( "(&" ); //$NON-NLS-1$
                     for ( Iterator<String> filterIterator = filterSet.iterator(); filterIterator.hasNext(); )
                     {
                         filter.append( filterIterator.next() );
                     }
-                    filter.append( ")" );
+                    filter.append( ")" ); //$NON-NLS-1$
                 }
                 else if ( filterSet.size() == 1 )
                 {

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/CollapseAllAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/CollapseAllAction.java?rev=741930&r1=741929&r2=741930&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/CollapseAllAction.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/CollapseAllAction.java Sat Feb  7 18:26:27 2009
@@ -46,7 +46,7 @@
      */
     public CollapseAllAction( TreeViewer viewer )
     {
-        super( "Collapse All", BrowserCommonActivator.getDefault().getImageDescriptor( BrowserCommonConstants.IMG_COLLAPSEALL ) );
+        super( Messages.getString("CollapseAllAction.CollapseAll"), BrowserCommonActivator.getDefault().getImageDescriptor( BrowserCommonConstants.IMG_COLLAPSEALL ) ); //$NON-NLS-1$
         super.setToolTipText( getText() );
         super.setEnabled( true );
 

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/CopyAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/CopyAction.java?rev=741930&r1=741929&r2=741930&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/CopyAction.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/CopyAction.java Sat Feb  7 18:26:27 2009
@@ -80,17 +80,17 @@
         IEntry[] entries = getEntries();
         if ( entries != null )
         {
-            return entries.length > 1 ? "Copy Entries / DNs" : "Copy Entry / DN";
+            return entries.length > 1 ? Messages.getString("CopyAction.CopyEntriesDNs") : Messages.getString("CopyAction.CopyEntryDN"); //$NON-NLS-1$ //$NON-NLS-2$
         }
 
         // values
         IValue[] values = getValues();
         if ( values != null )
         {
-            return values.length > 1 ? "Copy Values" : "Copy Value";
+            return values.length > 1 ? Messages.getString("CopyAction.CopyValues") : Messages.getString("CopyAction.CopyValue"); //$NON-NLS-1$ //$NON-NLS-2$
         }
 
-        return "Copy";
+        return Messages.getString("CopyAction.Copy"); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/DeleteAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/DeleteAction.java?rev=741930&r1=741929&r2=741930&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/DeleteAction.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/DeleteAction.java Sat Feb  7 18:26:27 2009
@@ -79,34 +79,34 @@
             if ( entries.length > 0 && searches.length == 0 && bookmarks.length == 0 && attributes.length == 0
                 && values.length == 0 )
             {
-                return entries.length > 1 ? "Delete Entries" : "Delete Entry";
+                return entries.length > 1 ? Messages.getString("DeleteAction.DeleteEntries") : Messages.getString("DeleteAction.DeleteEntry"); //$NON-NLS-1$ //$NON-NLS-2$
             }
             if ( searches.length > 0 && entries.length == 0 && bookmarks.length == 0 && attributes.length == 0
                 && values.length == 0 )
             {
-                return searches.length > 1 ? "Delete Searches" : "Delete Search";
+                return searches.length > 1 ? Messages.getString("DeleteAction.DeleteSearches") : Messages.getString("DeleteAction.DeleteSearch"); //$NON-NLS-1$ //$NON-NLS-2$
             }
             if ( bookmarks.length > 0 && entries.length == 0 && searches.length == 0 && attributes.length == 0
                 && values.length == 0 )
             {
-                return bookmarks.length > 1 ? "Delete Bookmarks" : "Delete Bookmark";
+                return bookmarks.length > 1 ? Messages.getString("DeleteAction.DeleteBookmarks") : Messages.getString("DeleteAction.DeleteBookmark"); //$NON-NLS-1$ //$NON-NLS-2$
             }
             if ( attributes.length > 0 && entries.length == 0 && searches.length == 0 && bookmarks.length == 0
                 && values.length == 0 )
             {
-                return attributes.length > 1 ? "Delete Attributes" : "Delete Attribute";
+                return attributes.length > 1 ? Messages.getString("DeleteAction.DeleteAttributes") : Messages.getString("DeleteAction.DeleteAttribute"); //$NON-NLS-1$ //$NON-NLS-2$
             }
             if ( values.length > 0 && entries.length == 0 && searches.length == 0 && bookmarks.length == 0
                 && attributes.length == 0 )
             {
-                return values.length > 1 ? "Delete Values" : "Delete Value";
+                return values.length > 1 ? Messages.getString("DeleteAction.DeleteValues") : Messages.getString("DeleteAction.DeleteValue"); //$NON-NLS-1$ //$NON-NLS-2$
             }
         }
         catch ( Exception e )
         {
         }
 
-        return "Delete";
+        return Messages.getString("DeleteAction.Delete"); //$NON-NLS-1$
     }
 
 
@@ -149,18 +149,18 @@
                 if ( entries.length <= 5 )
                 {
                     message
-                        .append( entries.length == 1 ? "Are your sure to delete the following entry, including all children?"
-                            : "Are your sure to delete the following entries, including all children?" );
+                        .append( entries.length == 1 ? Messages.getString("DeleteAction.DeleteEntryQuestion") //$NON-NLS-1$
+                            : Messages.getString("DeleteAction.DeleteEntriesQuestion") ); //$NON-NLS-1$
                     for ( int i = 0; i < entries.length; i++ )
                     {
                         message.append( BrowserCoreConstants.LINE_SEPARATOR );
-                        message.append( "  - " );
+                        message.append( "  - " ); //$NON-NLS-1$
                         message.append( entries[i].getDn().getUpName() );
                     }
                 }
                 else
                 {
-                    message.append( "Are your sure to delete the selected entries, including all children?" );
+                    message.append( Messages.getString("DeleteAction.DeleteSelectedEntriesQuestion") ); //$NON-NLS-1$
                 }
                 message.append( BrowserCoreConstants.LINE_SEPARATOR );
                 message.append( BrowserCoreConstants.LINE_SEPARATOR );
@@ -176,18 +176,18 @@
             {
                 if ( searches.length <= 5 )
                 {
-                    message.append( searches.length == 1 ? "Are your sure to delete the following search?"
-                        : "Are your sure to delete the following searches?" );
+                    message.append( searches.length == 1 ? Messages.getString("DeleteAction.DeleteSearchQuestion") //$NON-NLS-1$
+                        : Messages.getString("DeleteAction.DeleteSearchesQuestion") ); //$NON-NLS-1$
                     for ( int i = 0; i < searches.length; i++ )
                     {
                         message.append( BrowserCoreConstants.LINE_SEPARATOR );
-                        message.append( "  - " );
+                        message.append( "  - " ); //$NON-NLS-1$
                         message.append( searches[i].getName() );
                     }
                 }
                 else
                 {
-                    message.append( "Are your sure to delete the selected searches?" );
+                    message.append( Messages.getString("DeleteAction.DeleteSelectedSearchesQuestion") ); //$NON-NLS-1$
                 }
                 message.append( BrowserCoreConstants.LINE_SEPARATOR );
                 message.append( BrowserCoreConstants.LINE_SEPARATOR );
@@ -197,18 +197,18 @@
             {
                 if ( bookmarks.length <= 5 )
                 {
-                    message.append( bookmarks.length == 1 ? "Are your sure to delete the following bookmark?"
-                        : "Are your sure to delete the following bookmarks?" );
+                    message.append( bookmarks.length == 1 ? Messages.getString("DeleteAction.DeleteBookmarkQuestion") //$NON-NLS-1$
+                        : Messages.getString("DeleteAction.DeleteBookmarksQuestion") ); //$NON-NLS-1$
                     for ( int i = 0; i < bookmarks.length; i++ )
                     {
                         message.append( BrowserCoreConstants.LINE_SEPARATOR );
-                        message.append( "  - " );
+                        message.append( "  - " ); //$NON-NLS-1$
                         message.append( bookmarks[i].getName() );
                     }
                 }
                 else
                 {
-                    message.append( "Are your sure to delete the selected bookmarks?" );
+                    message.append( Messages.getString("DeleteAction.DeleteSelectedBookmarksQuestion") ); //$NON-NLS-1$
                 }
                 message.append( BrowserCoreConstants.LINE_SEPARATOR );
                 message.append( BrowserCoreConstants.LINE_SEPARATOR );
@@ -218,18 +218,18 @@
             {
                 if ( attributes.length <= 5 )
                 {
-                    message.append( attributes.length == 1 ? "Are your sure to delete the following attribute?"
-                        : "Are your sure to delete the following attribute?" );
+                    message.append( attributes.length == 1 ? Messages.getString("DeleteAction.DeleteAttributeQuestion") //$NON-NLS-1$
+                        : Messages.getString("DeleteAction.DeleteAttributesQuestion") ); //$NON-NLS-1$
                     for ( int i = 0; i < attributes.length; i++ )
                     {
                         message.append( BrowserCoreConstants.LINE_SEPARATOR );
-                        message.append( "  - " );
+                        message.append( "  - " ); //$NON-NLS-1$
                         message.append( attributes[i].getDescription() );
                     }
                 }
                 else
                 {
-                    message.append( "Are your sure to delete the selected attributes?" );
+                    message.append( Messages.getString("DeleteAction.DeleteSelectedAttributesQuestion") ); //$NON-NLS-1$
                 }
                 message.append( BrowserCoreConstants.LINE_SEPARATOR );
                 message.append( BrowserCoreConstants.LINE_SEPARATOR );
@@ -249,18 +249,18 @@
                 {
                     if ( values.length <= 5 )
                     {
-                        message.append( values.length == 1 ? "Are your sure to delete the following value?"
-                            : "Are your sure to delete the following values?" );
+                        message.append( values.length == 1 ? Messages.getString("DeleteAction.DeleteValueQuestion") //$NON-NLS-1$
+                            : Messages.getString("DeleteAction.DeleteValuesQuestion") ); //$NON-NLS-1$
                         for ( int i = 0; i < values.length; i++ )
                         {
                             message.append( BrowserCoreConstants.LINE_SEPARATOR );
-                            message.append( "  - " );
+                            message.append( "  - " ); //$NON-NLS-1$
                             message.append( values[i].toString() );
                         }
                     }
                     else
                     {
-                        message.append( "Are your sure to delete the selected values?" );
+                        message.append( Messages.getString("DeleteAction.DeleteSelectedValuesQuestion") ); //$NON-NLS-1$
                     }
                     message.append( BrowserCoreConstants.LINE_SEPARATOR );
                     message.append( BrowserCoreConstants.LINE_SEPARATOR );

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/DeleteAllValuesAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/DeleteAllValuesAction.java?rev=741930&r1=741929&r2=741930&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/DeleteAllValuesAction.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/DeleteAllValuesAction.java Sat Feb  7 18:26:27 2009
@@ -27,6 +27,7 @@
 import org.apache.directory.studio.ldapbrowser.core.model.IValue;
 import org.apache.directory.studio.ldapbrowser.core.model.schema.SchemaUtils;
 import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.osgi.util.NLS;
 
 
 /**
@@ -61,11 +62,11 @@
     {
         if ( getSelectedValues().length == 1 )
         {
-            return "Delete Attribute '" + getSelectedValues()[0].getAttribute().getDescription() + "'";
+            return NLS.bind( Messages.getString("DeleteAllValuesAction.DeleteAttributeX"), getSelectedValues()[0].getAttribute().getDescription() ); //$NON-NLS-1$
         }
         else
         {
-            return "Delete Attribute";
+            return Messages.getString("DeleteAllValuesAction.DeleteAttribute"); //$NON-NLS-1$
         }
     }
 

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/FilterChildrenAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/FilterChildrenAction.java?rev=741930&r1=741929&r2=741930&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/FilterChildrenAction.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/FilterChildrenAction.java Sat Feb  7 18:26:27 2009
@@ -58,13 +58,13 @@
     {
         if ( getSelectedEntries().length == 1 )
         {
-            FilterWidgetDialog dialog = new FilterWidgetDialog( getShell(), "Filter Children", getSelectedEntries()[0]
+            FilterWidgetDialog dialog = new FilterWidgetDialog( getShell(), Messages.getString("FilterChildrenAction.FilterChildren"), getSelectedEntries()[0] //$NON-NLS-1$
                 .getChildrenFilter(), getSelectedEntries()[0].getBrowserConnection() );
             if ( dialog.open() == Dialog.OK )
             {
                 String newFilter = dialog.getFilter();
 
-                if ( newFilter == null || "".equals( newFilter.trim() ) )
+                if ( newFilter == null || "".equals( newFilter.trim() ) ) //$NON-NLS-1$
                 {
                     getSelectedEntries()[0].setChildrenFilter( null );
                 }
@@ -85,7 +85,7 @@
      */
     public String getText()
     {
-        return "Filter Children...";
+        return Messages.getString("FilterChildrenAction.FilterChildrenLabel"); //$NON-NLS-1$
     }
 
 

Added: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/Messages.java?rev=741930&view=auto
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/Messages.java (added)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/Messages.java Sat Feb  7 18:26:27 2009
@@ -0,0 +1,50 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+package org.apache.directory.studio.ldapbrowser.common.actions;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.ldapbrowser.common.actions.messages"; //$NON-NLS-1$
+
+    private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME );
+
+
+    private Messages()
+    {
+    }
+
+
+    public static String getString( String key )
+    {
+        try
+        {
+            return RESOURCE_BUNDLE.getString( key );
+        }
+        catch ( MissingResourceException e )
+        {
+            return '!' + key + '!';
+        }
+    }
+}

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/NewAttributeAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/NewAttributeAction.java?rev=741930&r1=741929&r2=741930&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/NewAttributeAction.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/NewAttributeAction.java Sat Feb  7 18:26:27 2009
@@ -83,14 +83,14 @@
 
         if ( entry != null )
         {
-            AttributeWizard wizard = new AttributeWizard( "New Attribute", true, true, null, entry );
+            AttributeWizard wizard = new AttributeWizard( Messages.getString("NewAttributeAction.NewAttribute"), true, true, null, entry ); //$NON-NLS-1$
             WizardDialog dialog = new WizardDialog( getShell(), wizard );
             dialog.setBlockOnOpen( true );
             dialog.create();
             if ( dialog.open() == WizardDialog.OK )
             {
                 String newAttributeDescription = wizard.getAttributeDescription();
-                if ( newAttributeDescription != null && !"".equals( newAttributeDescription ) )
+                if ( newAttributeDescription != null && !"".equals( newAttributeDescription ) ) //$NON-NLS-1$
                 {
                     IAttribute att = entry.getAttribute( newAttributeDescription );
                     if ( att == null )
@@ -111,7 +111,7 @@
      */
     public String getText()
     {
-        return "New Attribute...";
+        return Messages.getString("NewAttributeAction.NewAttributeLabel"); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/NewValueAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/NewValueAction.java?rev=741930&r1=741929&r2=741930&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/NewValueAction.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/NewValueAction.java Sat Feb  7 18:26:27 2009
@@ -83,7 +83,7 @@
      */
     public String getText()
     {
-        return "New Value";
+        return Messages.getString("NewValueAction.NewValue"); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/PasteAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/PasteAction.java?rev=741930&r1=741929&r2=741930&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/PasteAction.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/PasteAction.java Sat Feb  7 18:26:27 2009
@@ -65,17 +65,17 @@
         IEntry[] entries = getEntriesToPaste();
         if ( entries != null )
         {
-            return entries.length > 1 ? "Paste Entries" : "Paste Entry";
+            return entries.length > 1 ? Messages.getString("PasteAction.PasteEntries") : Messages.getString("PasteAction.PasteEntry"); //$NON-NLS-1$ //$NON-NLS-2$
         }
 
         // value
         IValue[] values = getValuesToPaste();
         if ( values != null )
         {
-            return values.length > 1 ? "Paste Values" : "Paste Value";
+            return values.length > 1 ? Messages.getString("PasteAction.PasteValues") : Messages.getString("PasteAction.PasteValue"); //$NON-NLS-1$ //$NON-NLS-2$
         }
 
-        return "Paste";
+        return Messages.getString("PasteAction.Paste"); //$NON-NLS-1$
     }
 
 
@@ -164,7 +164,7 @@
         }
         if ( askForScope )
         {
-            ScopeDialog scopeDialog = new ScopeDialog( Display.getDefault().getActiveShell(), "Select Copy Depth",
+            ScopeDialog scopeDialog = new ScopeDialog( Display.getDefault().getActiveShell(), Messages.getString("PasteAction.SelectCopyDepth"), //$NON-NLS-1$
                 entriesToPaste.length > 1 );
             scopeDialog.open();
             scope = scopeDialog.getScope();

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/PropertiesAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/PropertiesAction.java?rev=741930&r1=741929&r2=741930&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/PropertiesAction.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/PropertiesAction.java Sat Feb  7 18:26:27 2009
@@ -27,6 +27,7 @@
 import org.eclipse.core.runtime.IAdaptable;
 import org.eclipse.jface.preference.PreferenceDialog;
 import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.osgi.util.NLS;
 import org.eclipse.ui.dialogs.PreferencesUtil;
 import org.eclipse.ui.texteditor.IWorkbenchActionDefinitionIds;
 
@@ -53,7 +54,7 @@
      */
     public String getText()
     {
-        return "Properties";
+        return Messages.getString("PropertiesAction.Properties"); //$NON-NLS-1$
     }
 
 
@@ -147,8 +148,11 @@
         {
             PreferenceDialog dialog = PreferencesUtil.createPropertyDialogOn( getShell(), element, pageId, null, null );
             if ( dialog != null )
+            {
                 title = Utils.shorten( title, 30 );
-            dialog.getShell().setText( "Properties for '" + title + "'" );
+            }
+            
+            dialog.getShell().setText( NLS.bind( Messages.getString("PropertiesAction.PropertiesForX"), title ) ); //$NON-NLS-1$
             dialog.open();
 
         }

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/RefreshAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/RefreshAction.java?rev=741930&r1=741929&r2=741930&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/RefreshAction.java (original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/actions/RefreshAction.java Sat Feb  7 18:26:27 2009
@@ -66,7 +66,7 @@
 
         if ( entries.length > 0 && searches.length == 0 && entryInput == null && searchInput == null )
         {
-            return "Reload Attributes and Children";
+            return Messages.getString("RefreshAction.ReloadAttributesAndChildren"); //$NON-NLS-1$
         }
         else if ( searches.length > 0 && entries.length == 0 && entryInput == null && searchInput == null )
         {
@@ -81,24 +81,24 @@
             }
             if ( searchAgain )
             {
-                return "Search Again";
+                return Messages.getString("RefreshAction.SearchAgain"); //$NON-NLS-1$
             }
             else
             {
-                return searches.length == 1 ? "Perform Search" : "Perform Searches";
+                return searches.length == 1 ? Messages.getString("RefreshAction.PerformSearch") : Messages.getString("RefreshAction.PerformSearches"); //$NON-NLS-1$ //$NON-NLS-2$
             }
         }
         else if ( entryInput != null && searches.length == 0 && entries.length == 0 && searchInput == null )
         {
-            return "Reload Attributes";
+            return Messages.getString("RefreshAction.RelaodAttributes"); //$NON-NLS-1$
         }
         else if ( searchInput != null && searches.length == 0 && entryInput == null )
         {
-            return searchInput.getSearchResults() == null ? "Perform Search" : "Search Again";
+            return searchInput.getSearchResults() == null ? Messages.getString("RefreshAction.PerformSearch") : Messages.getString("RefreshAction.SearchAgain"); //$NON-NLS-1$ //$NON-NLS-2$
         }
         else
         {
-            return "Refresh";
+            return Messages.getString("RefreshAction.Refresh"); //$NON-NLS-1$
         }
     }
 
@@ -117,7 +117,7 @@
      */
     public String getCommandId()
     {
-        return "org.eclipse.ui.file.refresh";
+        return "org.eclipse.ui.file.refresh"; //$NON-NLS-1$
     }
 
 



Mime
View raw message