directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r523305 - in /directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas: ./ controller/ controller/actions/ model/ view/ view/dialogs/ view/editors/ view/editors/attributeType/ view/perspecti...
Date Wed, 28 Mar 2007 12:59:17 GMT
Author: pamarcelot
Date: Wed Mar 28 05:59:15 2007
New Revision: 523305

URL: http://svn.apache.org/viewvc?view=rev&rev=523305
Log:
Added "//$NON-NLS-1$" behind Strings that don't need to be externalized.

Modified:
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/PluginConstants.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/PreferenceInitializer.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/EraseSearchAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideAttributeTypesAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideObjectClassesAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorHierarchyView.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemaElementsView.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemasView.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenTypeHierarchyAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/ObjectClass.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/SchemaPool.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/ViewUtils.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/AttributeTypeSelectionDialogLabelProvider.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/EditAliasesDialog.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/ObjectClassSelectionDialogLabelProvider.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/NonExistingAttributeType.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/NonExistingObjectClass.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSourceCodePage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/NonExistingMatchingRule.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/NonExistingSyntax.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/perspectives/Perspective.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/HierarchyViewContentProvider.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/HierarchyViewLabelProvider.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaCodeScanner.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaElementsViewLabelProvider.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaTextAttributeProvider.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemasViewLabelProvider.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/wrappers/SchemaElementsViewRoot.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/wrappers/SchemasViewRoot.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewAttributeTypeWizardPage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewObjectClassWizardPage.java

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/PluginConstants.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/PluginConstants.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/PluginConstants.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/PluginConstants.java Wed Mar 28 05:59:15 2007
@@ -74,7 +74,7 @@
 
     /** The preference ID for Schema Elements View Grouping */
     public static final String PREFS_SCHEMA_ELEMENTS_VIEW_GROUPING = Activator.PLUGIN_ID
-        + ".preferences.SchemaElementsView.grouping";
+        + ".preferences.SchemaElementsView.grouping"; //$NON-NLS-1$
 
     /** The preference value for Schema Elements View Grouping 'attribute types first' */
     public static final int PREFS_SCHEMA_ELEMENTS_VIEW_GROUPING_ATFIRST = 0;
@@ -87,7 +87,7 @@
 
     /** The preference ID for Schema Elements View Sorting By */
     public static final String PREFS_SCHEMA_ELEMENTS_VIEW_SORTING_BY = Activator.PLUGIN_ID
-        + ".preferences.SchemaElementsView.sortingBy";
+        + ".preferences.SchemaElementsView.sortingBy"; //$NON-NLS-1$
 
     /** The preference value for Schema Elements View Sorting 'First Name' */
     public static final int PREFS_SCHEMA_ELEMENTS_VIEW_SORTING_BY_FIRSTNAME = 0;
@@ -97,7 +97,7 @@
 
     /** The preference ID for Schema Elements View Sorting Order */
     public static final String PREFS_SCHEMA_ELEMENTS_VIEW_SORTING_ORDER = Activator.PLUGIN_ID
-        + ".preferences.SchemaElementsView.sortingOrder";
+        + ".preferences.SchemaElementsView.sortingOrder"; //$NON-NLS-1$
 
     /** The preference value for Schema Elements View Sorting 'ascending' */
     public static final int PREFS_SCHEMA_ELEMENTS_VIEW_SORTING_ORDER_ASCENDING = 0;
@@ -107,7 +107,7 @@
 
     // Preferences - Schemas View
     /** The preference ID for Schemas View Label */
-    public static final String PREFS_SCHEMAS_VIEW_LABEL = SchemasViewPreferencePage.ID + ".label.labelValue";
+    public static final String PREFS_SCHEMAS_VIEW_LABEL = SchemasViewPreferencePage.ID + ".label.labelValue"; //$NON-NLS-1$
 
     /** The preference value for Schemas View First Name label */
     public static final int PREFS_SCHEMAS_VIEW_LABEL_FIRST_NAME = 0;
@@ -157,11 +157,11 @@
     // Preferences - Search View
     /** The preference ID for Search History of the Search View */
     public static final String PREFS_SEARCH_VIEW_SEARCH_HISTORY = Activator.PLUGIN_ID
-        + ".preferences.SearchView.searchHistory";
+        + ".preferences.SearchView.searchHistory"; //$NON-NLS-1$
 
     // Preferences - Hierarchy View
     /** The preference ID for Mode of the Hierarchy View */
-    public static final String PREFS_HIERARCHY_VIEW_MODE = Activator.PLUGIN_ID + ".preferences.HierarchyView.mode";
+    public static final String PREFS_HIERARCHY_VIEW_MODE = Activator.PLUGIN_ID + ".preferences.HierarchyView.mode"; //$NON-NLS-1$
 
     /** The preference value for Hierarchy View Mode 'Supertype' */
     public static final int PREFS_HIERARCHY_VIEW_MODE_SUPERTYPE = 0;
@@ -207,19 +207,19 @@
     // Preferences - Schemas Editor
     /** The preference ID for Specific Core of the Schemas Editor */
     public static final String PREFS_SCHEMAS_EDITOR_SPECIFIC_CORE = Activator.PLUGIN_ID
-        + ".preferences.SchemasEditor.specificCore";
+        + ".preferences.SchemasEditor.specificCore"; //$NON-NLS-1$
 
     /** The preference ID for Specific Core Directory of the Schemas Editor */
     public static final String PREFS_SCHEMAS_EDITOR_SPECIFIC_CORE_DIRECTORY = Activator.PLUGIN_ID
-        + ".preferences.SchemasEditor.specificCoreDirectory";
+        + ".preferences.SchemasEditor.specificCoreDirectory"; //$NON-NLS-1$
 
     /** The preference ID for Auto OID of the Schemas Editor */
     public static final String PREFS_SCHEMAS_EDITOR_AUTO_OID = Activator.PLUGIN_ID
-        + ".preferences.SchemasEditor.autoOID";
+        + ".preferences.SchemasEditor.autoOID"; //$NON-NLS-1$
 
     /** The preference ID for Company OID of the Schemas Editor */
     public static final String PREFS_SCHEMAS_EDITOR_COMPANY_OID = Activator.PLUGIN_ID
-        + ".preferences.SchemasEditor.companyOID";
+        + ".preferences.SchemasEditor.companyOID"; //$NON-NLS-1$
 
     // Images - Actions
     public static final String IMG_ABOUT = "ressources/icons/flag_blue.png"; //$NON-NLS-1$

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/PreferenceInitializer.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/PreferenceInitializer.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/PreferenceInitializer.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/PreferenceInitializer.java Wed Mar 28 05:59:15 2007
@@ -51,12 +51,12 @@
         store.setDefault( PluginConstants.PREFS_SCHEMA_ELEMENTS_VIEW_LABEL,
             PluginConstants.PREFS_SCHEMA_ELEMENTS_VIEW_LABEL_ALL_ALIASES );
         store.setDefault( PluginConstants.PREFS_SCHEMA_ELEMENTS_VIEW_ABBREVIATE, true );
-        store.setDefault( PluginConstants.PREFS_SCHEMA_ELEMENTS_VIEW_ABBREVIATE_MAX_LENGTH, "50" );
+        store.setDefault( PluginConstants.PREFS_SCHEMA_ELEMENTS_VIEW_ABBREVIATE_MAX_LENGTH, "50" ); //$NON-NLS-1$
         store.setDefault( PluginConstants.PREFS_SCHEMA_ELEMENTS_VIEW_SECONDARY_LABEL_DISPLAY, true );
         store.setDefault( PluginConstants.PREFS_SCHEMA_ELEMENTS_VIEW_SECONDARY_LABEL,
             PluginConstants.PREFS_SCHEMA_ELEMENTS_VIEW_LABEL_OID );
         store.setDefault( PluginConstants.PREFS_SCHEMA_ELEMENTS_VIEW_SECONDARY_LABEL_ABBREVIATE, false );
-        store.setDefault( PluginConstants.PREFS_SCHEMA_ELEMENTS_VIEW_SECONDARY_LABEL_ABBREVIATE_MAX_LENGTH, "50" );
+        store.setDefault( PluginConstants.PREFS_SCHEMA_ELEMENTS_VIEW_SECONDARY_LABEL_ABBREVIATE_MAX_LENGTH, "50" ); //$NON-NLS-1$
 
         // Schema Elements View Sorting
         store.setDefault( PluginConstants.PREFS_SCHEMA_ELEMENTS_VIEW_GROUPING,
@@ -70,7 +70,7 @@
         store.setDefault( PluginConstants.PREFS_SCHEMAS_VIEW_LABEL,
             PluginConstants.PREFS_SCHEMAS_VIEW_LABEL_ALL_ALIASES );
         store.setDefault( PluginConstants.PREFS_SCHEMAS_VIEW_ABBREVIATE, true );
-        store.setDefault( PluginConstants.PREFS_SCHEMAS_VIEW_ABBREVIATE_MAX_LENGTH, "50" );
+        store.setDefault( PluginConstants.PREFS_SCHEMAS_VIEW_ABBREVIATE_MAX_LENGTH, "50" ); //$NON-NLS-1$
 
         // Schemas View Sorting
         store.setDefault( PluginConstants.PREFS_SCHEMAS_VIEW_GROUPING,
@@ -84,11 +84,11 @@
         store.setDefault( PluginConstants.PREFS_HIERARCHY_VIEW_LABEL,
             PluginConstants.PREFS_HIERARCHY_VIEW_LABEL_ALL_ALIASES );
         store.setDefault( PluginConstants.PREFS_HIERARCHY_VIEW_ABBREVIATE, true );
-        store.setDefault( PluginConstants.PREFS_HIERARCHY_VIEW_ABBREVIATE_MAX_LENGTH, "50" );
+        store.setDefault( PluginConstants.PREFS_HIERARCHY_VIEW_ABBREVIATE_MAX_LENGTH, "50" ); //$NON-NLS-1$
         store.setDefault( PluginConstants.PREFS_HIERARCHY_VIEW_SECONDARY_LABEL_DISPLAY, true );
         store.setDefault( PluginConstants.PREFS_HIERARCHY_VIEW_SECONDARY_LABEL,
             PluginConstants.PREFS_HIERARCHY_VIEW_LABEL_OID );
         store.setDefault( PluginConstants.PREFS_HIERARCHY_VIEW_SECONDARY_LABEL_ABBREVIATE, false );
-        store.setDefault( PluginConstants.PREFS_HIERARCHY_VIEW_SECONDARY_LABEL_ABBREVIATE_MAX_LENGTH, "50" );
+        store.setDefault( PluginConstants.PREFS_HIERARCHY_VIEW_SECONDARY_LABEL_ABBREVIATE_MAX_LENGTH, "50" ); //$NON-NLS-1$
     }
 }

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/EraseSearchAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/EraseSearchAction.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/EraseSearchAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/EraseSearchAction.java Wed Mar 28 05:59:15 2007
@@ -62,7 +62,7 @@
      */
     public void run()
     {
-        view.setSearch( "", SearchView.SEARCH_ALL );
+        view.setSearch( "", SearchView.SEARCH_ALL ); //$NON-NLS-1$
     }
 
 

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideAttributeTypesAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideAttributeTypesAction.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideAttributeTypesAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideAttributeTypesAction.java Wed Mar 28 05:59:15 2007
@@ -37,7 +37,7 @@
 {
     /** The String for storing the checked state of the action */
     public static final String HIDE_ATTRIBUTE_TYPES_DS_KEY = HideAttributeTypesAction.class.getName()
-        + ".dialogsettingkey";
+        + ".dialogsettingkey"; //$NON-NLS-1$
 
     /** The associated view */
     private TreeViewer viewer;

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideObjectClassesAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideObjectClassesAction.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideObjectClassesAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideObjectClassesAction.java Wed Mar 28 05:59:15 2007
@@ -37,7 +37,7 @@
 {
     /** The String for storing the checked state of the action */
     public static final String HIDE_OBJECT_CLASSES_DS_KEY = HideObjectClassesAction.class.getName()
-        + ".dialogsettingkey";
+        + ".dialogsettingkey"; //$NON-NLS-1$
 
     /** The associated viewer */
     private TreeViewer viewer;

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorHierarchyView.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorHierarchyView.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorHierarchyView.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorHierarchyView.java Wed Mar 28 05:59:15 2007
@@ -47,7 +47,7 @@
 {
     /** The String for storing the checked state of the action */
     private static final String LINK_WITH_EDITOR_HIERARCHY_VIEW_DS_KEY = LinkWithEditorHierarchyView.class.getName()
-        + ".dialogsettingkey";
+        + ".dialogsettingkey"; //$NON-NLS-1$
 
     /** The associated view */
     private HierarchyView view;

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemaElementsView.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemaElementsView.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemaElementsView.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemaElementsView.java Wed Mar 28 05:59:15 2007
@@ -57,7 +57,7 @@
 {
     /** The String for storing the checked state of the action */
     private static final String LINK_WITH_EDITOR_SCHEMAS_VIEW_DS_KEY = LinkWithEditorSchemaElementsView.class.getName()
-        + ".dialogsettingkey";
+        + ".dialogsettingkey"; //$NON-NLS-1$
 
     /** The associated view */
     private SchemaElementsView view;

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemasView.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemasView.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemasView.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemasView.java Wed Mar 28 05:59:15 2007
@@ -58,7 +58,7 @@
 {
     /** The String for storing the checked state of the action */
     private static final String LINK_WITH_EDITOR_SCHEMAS_VIEW_DS_KEY = LinkWithEditorSchemasView.class.getName()
-        + ".dialogsettingkey";
+        + ".dialogsettingkey"; //$NON-NLS-1$
 
     /** The associated view */
     private SchemasView schemasView;

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenTypeHierarchyAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenTypeHierarchyAction.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenTypeHierarchyAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenTypeHierarchyAction.java Wed Mar 28 05:59:15 2007
@@ -132,30 +132,34 @@
     }
 
 
+    /* (non-Javadoc)
+     * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#dispose()
+     */
     public void dispose()
     {
-        // TODO Auto-generated method stub
-
     }
 
 
+    /* (non-Javadoc)
+     * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
+     */
     public void run( IAction action )
     {
-        System.err.println( "run" );
-
     }
 
 
+    /* (non-Javadoc)
+     * @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
+     */
     public void selectionChanged( IAction action, ISelection selection )
     {
-        // TODO Auto-generated method stub
-
     }
 
 
+    /* (non-Javadoc)
+     * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#init(org.eclipse.ui.IWorkbenchWindow)
+     */
     public void init( IWorkbenchWindow window )
     {
-        // TODO Auto-generated method stub
-
     }
 }

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/ObjectClass.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/ObjectClass.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/ObjectClass.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/ObjectClass.java Wed Mar 28 05:59:15 2007
@@ -288,12 +288,12 @@
         {
             if ( superiors.length > 1 )
             {
-                sb.append( "\tSUP (" + superiors[0] );
+                sb.append( "\tSUP (" + superiors[0] ); //$NON-NLS-1$
                 for ( int i = 1; i < superiors.length; i++ )
                 {
-                    sb.append( " $ " + superiors[i] );
+                    sb.append( " $ " + superiors[i] ); //$NON-NLS-1$
                 }
-                sb.append( ") \n" );
+                sb.append( ") \n" ); //$NON-NLS-1$
             }
             else
             {

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/SchemaPool.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/SchemaPool.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/SchemaPool.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/model/SchemaPool.java Wed Mar 28 05:59:15 2007
@@ -78,13 +78,13 @@
     private Map<String, ObjectClass> objectClassesMap;
 
     /** The Schemas Tag */
-    private static final String SCHEMAS_TAG = "Schemas";
+    private static final String SCHEMAS_TAG = "Schemas"; //$NON-NLS-1$
 
     /** The Schema Tag */
-    private static final String SCHEMA_TAG = "Schema";
+    private static final String SCHEMA_TAG = "Schema"; //$NON-NLS-1$
 
     /** the Path Tag */
-    private static final String PATH_TAG = "path";
+    private static final String PATH_TAG = "path"; //$NON-NLS-1$
 
 
     /**
@@ -978,6 +978,6 @@
      */
     private File getSchemaPoolFile()
     {
-        return Activator.getDefault().getStateLocation().append( "schemaPool.xml" ).toFile();
+        return Activator.getDefault().getStateLocation().append( "schemaPool.xml" ).toFile(); //$NON-NLS-1$
     }
 }

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/ViewUtils.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/ViewUtils.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/ViewUtils.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/ViewUtils.java Wed Mar 28 05:59:15 2007
@@ -58,7 +58,7 @@
             sb.append( aliases[0] );
             for ( int i = 1; i < aliases.length; i++ )
             {
-                sb.append( ", " );
+                sb.append( ", " ); //$NON-NLS-1$
                 sb.append( aliases[i] );
             }
         }
@@ -78,6 +78,6 @@
      */
     public static boolean verifyName( String name )
     {
-        return name.matches( "[a-zA-Z]+[a-zA-Z0-9;-]*" );
+        return name.matches( "[a-zA-Z]+[a-zA-Z0-9;-]*" ); //$NON-NLS-1$
     }
 }

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/AttributeTypeSelectionDialogLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/AttributeTypeSelectionDialogLabelProvider.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/AttributeTypeSelectionDialogLabelProvider.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/AttributeTypeSelectionDialogLabelProvider.java Wed Mar 28 05:59:15 2007
@@ -64,7 +64,7 @@
         if ( element instanceof AttributeTypeWrapper )
         {
             AttributeType at = ( ( AttributeTypeWrapper ) element ).getMyAttributeType();
-            return ViewUtils.concateAliases( at.getNames() ) + "   [" + at.getOid() + "]";
+            return ViewUtils.concateAliases( at.getNames() ) + "   [" + at.getOid() + "]"; //$NON-NLS-1$ //$NON-NLS-2$
         }
 
         // Default

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/EditAliasesDialog.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/EditAliasesDialog.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/EditAliasesDialog.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/EditAliasesDialog.java Wed Mar 28 05:59:15 2007
@@ -238,7 +238,7 @@
                 {
                     String text = newAliasText.getText();
 
-                    if ( ( !"".equals( text ) ) && ( !aliasesLowerCased.contains( text.toLowerCase() ) )
+                    if ( ( !"".equals( text ) ) && ( !aliasesLowerCased.contains( text.toLowerCase() ) ) //$NON-NLS-1$
                         && ( !SchemaPool.getInstance().containsSchemaElement( text ) ) )
                     {
                         addANewAlias();
@@ -255,7 +255,7 @@
                 newAliasAddButton.setEnabled( true );
                 String text = newAliasText.getText();
 
-                if ( "".equals( text ) )
+                if ( "".equals( text ) ) //$NON-NLS-1$
                 {
                     newAliasAddButton.setEnabled( false );
                 }
@@ -318,7 +318,7 @@
             aliases.add( newAliasText.getText() );
             aliasesLowerCased.add( newAliasText.getText().toLowerCase() );
             fillAliasesTable();
-            newAliasText.setText( "" );
+            newAliasText.setText( "" ); //$NON-NLS-1$
             newAliasText.setFocus();
             this.dirty = true;
         }

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/ObjectClassSelectionDialogLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/ObjectClassSelectionDialogLabelProvider.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/ObjectClassSelectionDialogLabelProvider.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/ObjectClassSelectionDialogLabelProvider.java Wed Mar 28 05:59:15 2007
@@ -64,7 +64,7 @@
         if ( element instanceof ObjectClassWrapper )
         {
             ObjectClass oc = ( ( ObjectClassWrapper ) element ).getMyObjectClass();
-            return ViewUtils.concateAliases( oc.getNames() ) + "   [" + oc.getOid() + "]";
+            return ViewUtils.concateAliases( oc.getNames() ) + "   [" + oc.getOid() + "]"; //$NON-NLS-1$ //$NON-NLS-2$
         }
 
         // Default

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/NonExistingAttributeType.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/NonExistingAttributeType.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/NonExistingAttributeType.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/NonExistingAttributeType.java Wed Mar 28 05:59:15 2007
@@ -31,7 +31,7 @@
  */
 public class NonExistingAttributeType
 {
-    public static final String NONE = Messages.getString( "NonExistingAttributeType.(None)" );
+    public static final String NONE = Messages.getString( "NonExistingAttributeType.(None)" ); //$NON-NLS-1$
 
     /** The name */
     private String name;
@@ -75,7 +75,7 @@
         }
         else
         {
-            return name + "   " + Messages.getString( "NonExistingAttributeType.(This_attribute_type_doesnt_exist)" );
+            return name + "   " + Messages.getString( "NonExistingAttributeType.(This_attribute_type_doesnt_exist)" ); //$NON-NLS-1$ //$NON-NLS-2$
         }
     }
 

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/NonExistingObjectClass.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/NonExistingObjectClass.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/NonExistingObjectClass.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/NonExistingObjectClass.java Wed Mar 28 05:59:15 2007
@@ -31,7 +31,7 @@
  */
 public class NonExistingObjectClass
 {
-    public static final String NONE = Messages.getString( "NonExistingObjectClass.(None)" );
+    public static final String NONE = Messages.getString( "NonExistingObjectClass.(None)" ); //$NON-NLS-1$
 
     /** The name */
     private String name;
@@ -75,7 +75,7 @@
         }
         else
         {
-            return name + "   " + Messages.getString( "NonExistingObjectClass.(This_object_class_doesnt_exist)" );
+            return name + "   " + Messages.getString( "NonExistingObjectClass.(This_object_class_doesnt_exist)" ); //$NON-NLS-1$ //$NON-NLS-2$
         }
     }
 

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSourceCodePage.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSourceCodePage.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSourceCodePage.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSourceCodePage.java Wed Mar 28 05:59:15 2007
@@ -53,10 +53,10 @@
 public class AttributeTypeEditorSourceCodePage extends FormPage
 {
     /** The page ID*/
-    public static final String ID = AttributeTypeEditor.ID + "sourceCodePage";
+    public static final String ID = AttributeTypeEditor.ID + "sourceCodePage"; //$NON-NLS-1$
 
     /** The page title */
-    public static String TITLE = Messages.getString( "AttributeTypeFormEditor.Source_Code" );
+    public static String TITLE = Messages.getString( "AttributeTypeFormEditor.Source_Code" ); //$NON-NLS-1$
 
     /** The modified attribute type */
     private AttributeType modifiedAttributeType;

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/NonExistingMatchingRule.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/NonExistingMatchingRule.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/NonExistingMatchingRule.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/NonExistingMatchingRule.java Wed Mar 28 05:59:15 2007
@@ -31,7 +31,7 @@
  */
 public class NonExistingMatchingRule
 {
-    public static final String NONE = Messages.getString( "NonExistingMatchingRule.(None)" );
+    public static final String NONE = Messages.getString( "NonExistingMatchingRule.(None)" ); //$NON-NLS-1$
 
     /** The name */
     private String name;
@@ -75,7 +75,7 @@
         }
         else
         {
-            return name + "   " + Messages.getString( "NonExistingMatchingRule.(This_matching_rule_doesnt_exist)" );
+            return name + "   " + Messages.getString( "NonExistingMatchingRule.(This_matching_rule_doesnt_exist)" ); //$NON-NLS-1$ //$NON-NLS-2$
         }
     }
 

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/NonExistingSyntax.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/NonExistingSyntax.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/NonExistingSyntax.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/NonExistingSyntax.java Wed Mar 28 05:59:15 2007
@@ -31,7 +31,7 @@
  */
 public class NonExistingSyntax
 {
-    public static final String NONE = Messages.getString( "NonExistingSyntax.(None)" );
+    public static final String NONE = Messages.getString( "NonExistingSyntax.(None)" ); //$NON-NLS-1$
 
     /** The name */
     private String name;
@@ -75,7 +75,7 @@
         }
         else
         {
-            return name + "   " + Messages.getString( "NonExistingSyntax.(This_syntax_doesnt_exist)" );
+            return name + "   " + Messages.getString( "NonExistingSyntax.(This_syntax_doesnt_exist)" ); //$NON-NLS-1$ //$NON-NLS-2$
         }
     }
 

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/perspectives/Perspective.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/perspectives/Perspective.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/perspectives/Perspective.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/perspectives/Perspective.java Wed Mar 28 05:59:15 2007
@@ -49,7 +49,7 @@
      */
     public void createInitialLayout( IPageLayout layout )
     {
-        String placeHolderId = "org.apache.directory.ldapstudio.schemas.placeholder";
+        String placeHolderId = "org.apache.directory.ldapstudio.schemas.placeholder"; //$NON-NLS-1$
         
         layout.setEditorAreaVisible( true );
         String editorAreaId = layout.getEditorArea();

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/HierarchyViewContentProvider.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/HierarchyViewContentProvider.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/HierarchyViewContentProvider.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/HierarchyViewContentProvider.java Wed Mar 28 05:59:15 2007
@@ -114,7 +114,7 @@
                 String[] superiors = oc.getSuperiors();
                 for ( String superior : superiors )
                 {
-                    if ( superior != null || "".equals( superior ) )
+                    if ( superior != null || "".equals( superior ) ) //$NON-NLS-1$
                     {
                         ObjectClass supOC = schemaPool.getObjectClass( superior );
                         if ( supOC != null )
@@ -132,7 +132,7 @@
                     String[] superiors = objectClass.getSuperiors();
                     for ( String superior : superiors )
                     {
-                        if ( superior != null || "".equals( superior ) )
+                        if ( superior != null || "".equals( superior ) ) //$NON-NLS-1$
                         {
                             ObjectClass supOC = schemaPool.getObjectClass( superior );
                             if ( supOC != null && oc.equals( supOC ) )
@@ -155,7 +155,7 @@
             if ( mode == PluginConstants.PREFS_HIERARCHY_VIEW_MODE_SUPERTYPE )
             {
                 String superior = at.getSuperior();
-                if ( superior != null || "".equals( superior ) )
+                if ( superior != null || "".equals( superior ) ) //$NON-NLS-1$
                 {
                     AttributeType supAT = schemaPool.getAttributeType( superior );
                     if ( supAT != null )
@@ -170,7 +170,7 @@
                 for ( AttributeType attributeType : attributeTypes )
                 {
                     String superior = attributeType.getSuperior();
-                    if ( superior != null && !"".equals( superior ) )
+                    if ( superior != null && !"".equals( superior ) ) //$NON-NLS-1$
                     {
                         AttributeType supAT = schemaPool.getAttributeType( superior );
                         if ( supAT != null && at.equals( supAT ) )

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/HierarchyViewLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/HierarchyViewLabelProvider.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/HierarchyViewLabelProvider.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/HierarchyViewLabelProvider.java Wed Mar 28 05:59:15 2007
@@ -61,7 +61,7 @@
      */
     public String getText( Object obj )
     {
-        String label = "";
+        String label = ""; //$NON-NLS-1$
 
         int labelValue = store.getInt( PluginConstants.PREFS_HIERARCHY_VIEW_LABEL );
         boolean abbreviate = store.getBoolean( PluginConstants.PREFS_HIERARCHY_VIEW_ABBREVIATE );
@@ -126,12 +126,12 @@
         if ( abbreviate && ( abbreviateMaxLength < label.length() )
             && ( ( obj instanceof ObjectClassWrapper ) || ( obj instanceof AttributeTypeWrapper ) ) )
         {
-            label = label.substring( 0, abbreviateMaxLength ) + "...";
+            label = label.substring( 0, abbreviateMaxLength ) + "..."; //$NON-NLS-1$
         }
 
         if ( secondaryLabelDisplay )
         {
-            String secondaryLabel = "";
+            String secondaryLabel = ""; //$NON-NLS-1$
             if ( obj instanceof AttributeTypeWrapper )
             {
                 if ( secondaryLabelValue == PluginConstants.PREFS_HIERARCHY_VIEW_LABEL_FIRST_NAME )
@@ -167,10 +167,10 @@
 
             if ( secondaryLabelAbbreviate && ( secondaryLabelAbbreviateMaxLength < secondaryLabel.length() ) )
             {
-                secondaryLabel = secondaryLabel.substring( 0, secondaryLabelAbbreviateMaxLength ) + "...";
+                secondaryLabel = secondaryLabel.substring( 0, secondaryLabelAbbreviateMaxLength ) + "..."; //$NON-NLS-1$
             }
 
-            label += "   [" + secondaryLabel + "]";
+            label += "   [" + secondaryLabel + "]"; //$NON-NLS-1$ //$NON-NLS-2$
         }
 
         return label;

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaCodeScanner.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaCodeScanner.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaCodeScanner.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaCodeScanner.java Wed Mar 28 05:59:15 2007
@@ -42,14 +42,14 @@
  */
 public class SchemaCodeScanner extends RuleBasedScanner
 {
-    String attributype = "attributetype";
+    String attributype = "attributetype"; //$NON-NLS-1$
 
-    String objectclass = "objectclass";
+    String objectclass = "objectclass"; //$NON-NLS-1$
 
     String[] keywords = new String[]
-        { "NAME", "DESC", "OBSOLETE", "SUP", "EQUALITY", "ORDERING", "MUST", "MAY", "STRUCTURAL", "SUBSTR", "SYNTAX",
-            "SINGLE-VALUE", "COLLECTIVE", "NO-USER-MODIFICATION", "USAGE", "userApplications", "directoryOperation",
-            "distributedOperation", "dSAOperation", "ABSTRACT", "STRUCTURAL", "AUXILIARY", "MUST", "MAY" };
+        { "NAME", "DESC", "OBSOLETE", "SUP", "EQUALITY", "ORDERING", "MUST", "MAY", "STRUCTURAL", "SUBSTR", "SYNTAX", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$ //$NON-NLS-10$ //$NON-NLS-11$
+            "SINGLE-VALUE", "COLLECTIVE", "NO-USER-MODIFICATION", "USAGE", "userApplications", "directoryOperation", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$
+            "distributedOperation", "dSAOperation", "ABSTRACT", "STRUCTURAL", "AUXILIARY", "MUST", "MAY" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$
 
 
     public SchemaCodeScanner( SchemaTextAttributeProvider provider )
@@ -64,8 +64,8 @@
         IToken oid = new Token( provider.getAttribute( SchemaTextAttributeProvider.OID_ATTRIBUTE ) );
 
         // Rules for Strings
-        rules.add( new SingleLineRule( "\"", "\"", string, '\0', true ) );
-        rules.add( new SingleLineRule( "'", "'", string, '\0', true ) );
+        rules.add( new SingleLineRule( "\"", "\"", string, '\0', true ) ); //$NON-NLS-1$ //$NON-NLS-2$
+        rules.add( new SingleLineRule( "'", "'", string, '\0', true ) ); //$NON-NLS-1$ //$NON-NLS-2$
         // Generic rule for whitespaces
         rules.add( new WhitespaceRule( new IWhitespaceDetector()
         {

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaElementsViewLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaElementsViewLabelProvider.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaElementsViewLabelProvider.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaElementsViewLabelProvider.java Wed Mar 28 05:59:15 2007
@@ -60,7 +60,7 @@
      */
     public String getText( Object obj )
     {
-        String label = "";
+        String label = ""; //$NON-NLS-1$
 
         int labelValue = store.getInt( PluginConstants.PREFS_SCHEMA_ELEMENTS_VIEW_LABEL );
         boolean abbreviate = store.getBoolean( PluginConstants.PREFS_SCHEMA_ELEMENTS_VIEW_ABBREVIATE );
@@ -121,12 +121,12 @@
 
         if ( abbreviate && ( abbreviateMaxLength < label.length() ) )
         {
-            label = label.substring( 0, abbreviateMaxLength ) + "...";
+            label = label.substring( 0, abbreviateMaxLength ) + "..."; //$NON-NLS-1$
         }
 
         if ( secondaryLabelDisplay )
         {
-            String secondaryLabel = "";
+            String secondaryLabel = ""; //$NON-NLS-1$
             if ( obj instanceof AttributeTypeWrapper )
             {
                 if ( secondaryLabelValue == PluginConstants.PREFS_SCHEMA_ELEMENTS_VIEW_LABEL_FIRST_NAME )
@@ -162,10 +162,10 @@
 
             if ( secondaryLabelAbbreviate && ( secondaryLabelAbbreviateMaxLength < secondaryLabel.length() ) )
             {
-                secondaryLabel = secondaryLabel.substring( 0, secondaryLabelAbbreviateMaxLength ) + "...";
+                secondaryLabel = secondaryLabel.substring( 0, secondaryLabelAbbreviateMaxLength ) + "..."; //$NON-NLS-1$
             }
 
-            label += "   [" + secondaryLabel + "]";
+            label += "   [" + secondaryLabel + "]"; //$NON-NLS-1$ //$NON-NLS-2$
         }
 
         return label;

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaTextAttributeProvider.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaTextAttributeProvider.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaTextAttributeProvider.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaTextAttributeProvider.java Wed Mar 28 05:59:15 2007
@@ -38,12 +38,12 @@
  */
 public class SchemaTextAttributeProvider
 {
-    public static final String DEFAULT_ATTRIBUTE = "__pos_schema_default_attribute";
-    public static final String STRING_ATTRIBUTE = "__pos_schema_string_attribute";
-    public static final String KEYWORD_ATTRIBUTE = "__pos_schema_keyword_attribute";
-    public static final String ATTRIBUTETYPE_ATTRIBUTE = "__pos_schema_attributetype_attribute";
-    public static final String OBJECTCLASS_ATTRIBUTE = "__pos_schema_objectclass_attribute";
-    public static final String OID_ATTRIBUTE = "__pos_schema_oid_attribute";
+    public static final String DEFAULT_ATTRIBUTE = "__pos_schema_default_attribute"; //$NON-NLS-1$
+    public static final String STRING_ATTRIBUTE = "__pos_schema_string_attribute"; //$NON-NLS-1$
+    public static final String KEYWORD_ATTRIBUTE = "__pos_schema_keyword_attribute"; //$NON-NLS-1$
+    public static final String ATTRIBUTETYPE_ATTRIBUTE = "__pos_schema_attributetype_attribute"; //$NON-NLS-1$
+    public static final String OBJECTCLASS_ATTRIBUTE = "__pos_schema_objectclass_attribute"; //$NON-NLS-1$
+    public static final String OID_ATTRIBUTE = "__pos_schema_oid_attribute"; //$NON-NLS-1$
 
     private Map<String, TextAttribute> attributes = new HashMap<String, TextAttribute>();
 

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemasViewLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemasViewLabelProvider.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemasViewLabelProvider.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemasViewLabelProvider.java Wed Mar 28 05:59:15 2007
@@ -61,7 +61,7 @@
      */
     public String getText( Object obj )
     {
-        String label = "";
+        String label = ""; //$NON-NLS-1$
 
         int labelValue = store.getInt( PluginConstants.PREFS_SCHEMAS_VIEW_LABEL );
         boolean abbreviate = store.getBoolean( PluginConstants.PREFS_SCHEMAS_VIEW_ABBREVIATE );
@@ -120,7 +120,7 @@
         if ( abbreviate && ( abbreviateMaxLength < label.length() )
             && ( ( obj instanceof ObjectClassWrapper ) || ( obj instanceof AttributeTypeWrapper ) ) )
         {
-            label = label.substring( 0, abbreviateMaxLength ) + "...";
+            label = label.substring( 0, abbreviateMaxLength ) + "..."; //$NON-NLS-1$
         }
 
         return label;

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/wrappers/SchemaElementsViewRoot.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/wrappers/SchemaElementsViewRoot.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/wrappers/SchemaElementsViewRoot.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/wrappers/SchemaElementsViewRoot.java Wed Mar 28 05:59:15 2007
@@ -55,7 +55,7 @@
      */
     public String toString()
     {
-        return "SchemaElementsViewRoot";
+        return "SchemaElementsViewRoot"; //$NON-NLS-1$
     }
 
 

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/wrappers/SchemasViewRoot.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/wrappers/SchemasViewRoot.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/wrappers/SchemasViewRoot.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/wrappers/SchemasViewRoot.java Wed Mar 28 05:59:15 2007
@@ -43,6 +43,6 @@
      */
     public String toString()
     {
-        return "SchemasViewRoot";
+        return "SchemasViewRoot"; //$NON-NLS-1$
     }
 }

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewAttributeTypeWizardPage.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewAttributeTypeWizardPage.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewAttributeTypeWizardPage.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewAttributeTypeWizardPage.java Wed Mar 28 05:59:15 2007
@@ -153,7 +153,7 @@
         {
             public void verifyText( VerifyEvent e )
             {
-                if ( !e.text.matches( "([0-9]*\\.?)*" ) )
+                if ( !e.text.matches( "([0-9]*\\.?)*" ) ) //$NON-NLS-1$
                 {
                     e.doit = false;
                 }
@@ -211,7 +211,7 @@
 
         if ( !ViewUtils.verifyName( getNameField() ) )
         {
-            updateStatus( "Name is not valid." );
+            updateStatus( "Name is not valid." ); //$NON-NLS-1$
             return;
         }
 

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewObjectClassWizardPage.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewObjectClassWizardPage.java?view=diff&rev=523305&r1=523304&r2=523305
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewObjectClassWizardPage.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewObjectClassWizardPage.java Wed Mar 28 05:59:15 2007
@@ -155,7 +155,7 @@
         {
             public void verifyText( VerifyEvent e )
             {
-                if ( !e.text.matches( "([0-9]*\\.?)*" ) )
+                if ( !e.text.matches( "([0-9]*\\.?)*" ) ) //$NON-NLS-1$
                 {
                     e.doit = false;
                 }



Mime
View raw message