directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r741944 [2/2] - in /directory/studio/trunk/ldifeditor: ./ src/main/java/org/apache/directory/studio/ldifeditor/ src/main/java/org/apache/directory/studio/ldifeditor/dialogs/ src/main/java/org/apache/directory/studio/ldifeditor/dialogs/prefe...
Date Sat, 07 Feb 2009 19:45:21 GMT
Modified: directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/actions/OpenDefaultValueEditorAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/actions/OpenDefaultValueEditorAction.java?rev=741944&r1=741943&r2=741944&view=diff
==============================================================================
--- directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/actions/OpenDefaultValueEditorAction.java
(original)
+++ directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/actions/OpenDefaultValueEditorAction.java
Sat Feb  7 19:45:20 2009
@@ -33,7 +33,7 @@
 
     public OpenDefaultValueEditorAction( LdifEditor editor, OpenBestValueEditorAction proxy
)
     {
-        super( "Edit Value", editor );
+        super( Messages.getString("OpenDefaultValueEditorAction.EditValue"), editor ); //$NON-NLS-1$
         super.setActionDefinitionId( BrowserCommonConstants.ACTION_ID_EDIT_VALUE );
         this.proxy = proxy;
     }

Added: directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/actions/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/actions/messages.properties?rev=741944&view=auto
==============================================================================
--- directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/actions/messages.properties
(added)
+++ directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/actions/messages.properties
Sat Feb  7 19:45:20 2009
@@ -0,0 +1,23 @@
+#  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.
+
+AbstractOpenValueEditorAction.EditValue=Edit Value
+EditLdifAttributeAction.EditAttributeDescription=Edit Attribute Description
+EditLdifRecordAction.EditRecord=Edit Record
+FormatLdifDocumentAction.FormatDocument=Format Document
+FormatLdifRecordAction.FormatRecord=Format Record
+OpenDefaultValueEditorAction.EditValue=Edit Value

Added: directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/actions/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/actions/messages_de.properties?rev=741944&view=auto
==============================================================================
--- directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/actions/messages_de.properties
(added)
+++ directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/actions/messages_de.properties
Sat Feb  7 19:45:20 2009
@@ -0,0 +1,23 @@
+#  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.
+
+AbstractOpenValueEditorAction.EditValue=Wert bearbeiten
+EditLdifAttributeAction.EditAttributeDescription=Attributbeschreibung bearbeiten
+EditLdifRecordAction.EditRecord=Eintrag bearbeiten
+FormatLdifDocumentAction.FormatDocument=Dokument formatieren
+FormatLdifRecordAction.FormatRecord=Eintrag formatieren
+OpenDefaultValueEditorAction.EditValue=Wert bearbeiten

Added: directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/messages.properties?rev=741944&view=auto
==============================================================================
--- directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/messages.properties
(added)
+++ directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/messages.properties
Sat Feb  7 19:45:20 2009
@@ -0,0 +1,26 @@
+#  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.
+
+ExecuteLdifAction.ExecuteLDIF=Execute LDIF
+LdifEditor.Overwrite=Overwrite
+LdifEditor.OverwriteQuestion=Overwrite?
+LdifEditor.ErrorInSaveAs=Error in Save As...
+LdifEditor.EditValueWith=Edit Value With
+LdifEditor.Format=Format
+LdifEditor.LDIFFileIsTooBig=LDIF file is too big
+LdifEditor.LDIFFileIsTooBigDescription=The selected LDIF file is too big. Perhaps it is possilbe
to open it in a further version...
+LdifEditor.UsedConnection=Used Connection: 

Added: directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/messages_de.properties?rev=741944&view=auto
==============================================================================
--- directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/messages_de.properties
(added)
+++ directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/messages_de.properties
Sat Feb  7 19:45:20 2009
@@ -0,0 +1,26 @@
+#  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.
+
+ExecuteLdifAction.ExecuteLDIF=LDIF ausführen
+LdifEditor.Overwrite=Überschreiben
+LdifEditor.OverwriteQuestion=Überschreiben?
+LdifEditor.ErrorInSaveAs=Fehler bei Speichern als...
+LdifEditor.EditValueWith=Wert bearbeiten mit
+LdifEditor.Format=Formatieren
+LdifEditor.LDIFFileIsTooBig=LDIF Datei ist zu groß
+LdifEditor.LDIFFileIsTooBigDescription=Die ausgewählte LDIF Datei ist zu groß. Vielleicht
in einer späteren Version...
+LdifEditor.UsedConnection=Genutzte Verbindung: 

Modified: directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/reconciler/LdifAnnotationUpdater.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/reconciler/LdifAnnotationUpdater.java?rev=741944&r1=741943&r2=741944&view=diff
==============================================================================
--- directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/reconciler/LdifAnnotationUpdater.java
(original)
+++ directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/reconciler/LdifAnnotationUpdater.java
Sat Feb  7 19:45:20 2009
@@ -40,7 +40,7 @@
 class LdifAnnotationUpdater
 {
 
-    private static final String ERROR_ANNOTATION_TYPE = "org.eclipse.ui.workbench.texteditor.error";
+    private static final String ERROR_ANNOTATION_TYPE = "org.eclipse.ui.workbench.texteditor.error";
//$NON-NLS-1$
 
     private ILdifEditor editor;
 

Modified: directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifAnnotationHover.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifAnnotationHover.java?rev=741944&r1=741943&r2=741944&view=diff
==============================================================================
--- directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifAnnotationHover.java
(original)
+++ directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifAnnotationHover.java
Sat Feb  7 19:45:20 2009
@@ -60,7 +60,7 @@
                     {
                         // return container.getClass().getName() + " - " +
                         // part.getClass().getName();
-                        return container.getInvalidString() + " - " + part.getInvalidString();
+                        return container.getInvalidString() + " - " + part.getInvalidString();
//$NON-NLS-1$
                     }
                 }
             }

Modified: directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifAutoEditStrategy.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifAutoEditStrategy.java?rev=741944&r1=741943&r2=741944&view=diff
==============================================================================
--- directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifAutoEditStrategy.java
(original)
+++ directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifAutoEditStrategy.java
Sat Feb  7 19:45:20 2009
@@ -70,7 +70,7 @@
                 {
                     LdifModSpec modSpec = ( LdifModSpec ) innerContainer;
                     String att = modSpec.getModSpecType().getUnfoldedAttributeDescription();
-                    c.text += att + ": ";
+                    c.text += att + ": "; //$NON-NLS-1$
                 }
             }
         }

Modified: directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifCompletionProcessor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifCompletionProcessor.java?rev=741944&r1=741943&r2=741944&view=diff
==============================================================================
--- directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifCompletionProcessor.java
(original)
+++ directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifCompletionProcessor.java
Sat Feb  7 19:45:20 2009
@@ -67,21 +67,21 @@
 {
 
     // private final static String DN = "dn: ";
-    private final static String CT_ADD = "changetype: add" + BrowserCoreConstants.LINE_SEPARATOR;
+    private final static String CT_ADD = "changetype: add" + BrowserCoreConstants.LINE_SEPARATOR;
//$NON-NLS-1$
 
-    private final static String CT_MODIFY = "changetype: modify" + BrowserCoreConstants.LINE_SEPARATOR;
+    private final static String CT_MODIFY = "changetype: modify" + BrowserCoreConstants.LINE_SEPARATOR;
//$NON-NLS-1$
 
-    private final static String CT_DELETE = "changetype: delete" + BrowserCoreConstants.LINE_SEPARATOR;
+    private final static String CT_DELETE = "changetype: delete" + BrowserCoreConstants.LINE_SEPARATOR;
//$NON-NLS-1$
 
-    private final static String CT_MODDN = "changetype: moddn" + BrowserCoreConstants.LINE_SEPARATOR;
+    private final static String CT_MODDN = "changetype: moddn" + BrowserCoreConstants.LINE_SEPARATOR;
//$NON-NLS-1$
 
-    private final static String MD_NEWRDN = "newrdn: ";
+    private final static String MD_NEWRDN = "newrdn: "; //$NON-NLS-1$
 
-    private final static String MD_DELETEOLDRDN_TRUE = "deleteoldrdn: 1";
+    private final static String MD_DELETEOLDRDN_TRUE = "deleteoldrdn: 1"; //$NON-NLS-1$
 
     // private final static String MD_DELETEOLDRDN_FALSE = "deleteoldrdn:
     // 0";
-    private final static String MD_NEWSUPERIOR = "newsuperior: ";
+    private final static String MD_NEWSUPERIOR = "newsuperior: "; //$NON-NLS-1$
 
     private final ILdifEditor editor;
 
@@ -114,7 +114,7 @@
         LdifPart part = container != null ? LdifFile.getContainerContent( container, offset
) : null;
         int documentLine = -1;
         int documentLineOffset = -1;
-        String prefix = "";
+        String prefix = ""; //$NON-NLS-1$
         try
         {
             documentLine = viewer.getDocument().getLineOfOffset( offset );
@@ -212,7 +212,7 @@
             {
 
                 String rawAttributeDescription = prefix;
-                String rawValueType = "";
+                String rawValueType = ""; //$NON-NLS-1$
 
                 if ( part instanceof LdifAttrValLine )
                 {
@@ -239,11 +239,11 @@
                             {
                                 if ( SchemaUtils.isBinary( schema.getAttributeTypeDescription(
proposal ), schema ) )
                                 {
-                                    proposal += ":: ";
+                                    proposal += ":: "; //$NON-NLS-1$
                                 }
                                 else
                                 {
-                                    proposal += ": ";
+                                    proposal += ": "; //$NON-NLS-1$
                                 }
                             }
 
@@ -261,8 +261,8 @@
         if ( documentLineOffset == offset )
         {
             commentOnly = proposalList.isEmpty();
-            proposalList.add( new CompletionProposal( "# ", offset, 0, 2, LdifEditorActivator.getDefault().getImage(
-                LdifEditorConstants.IMG_LDIF_COMMENT ), "# - Comment", null, null ) );
+            proposalList.add( new CompletionProposal( "# ", offset, 0, 2, LdifEditorActivator.getDefault().getImage(
//$NON-NLS-1$
+                LdifEditorConstants.IMG_LDIF_COMMENT ), "# - Comment", null, null ) ); //$NON-NLS-1$
         }
 
         // adjust auto-insert
@@ -351,7 +351,7 @@
         LdifPart part = container != null ? LdifFile.getContainerContent( container, offset
) : null;
         int documentLine = -1;
         int documentLineOffset = -1;
-        String prefix = "";
+        String prefix = ""; //$NON-NLS-1$
         try
         {
             documentLine = viewer.getDocument().getLineOfOffset( offset );
@@ -373,9 +373,9 @@
             return LdifEditorActivator.getDefault().getLdifTemplateContextTypeRegistry().getContextType(
                 LdifEditorConstants.LDIF_FILE_TEMPLATE_ID );
         }
-        if ( ( container instanceof LdifInvalidContainer && part instanceof LdifInvalidPart
&& "d".equals( prefix ) )
-            || ( container instanceof LdifContentRecord && part instanceof LdifInvalidPart
&& "dn".equals( prefix ) )
-            || ( container instanceof LdifContentRecord && part instanceof LdifInvalidPart
&& "dn:".equals( prefix ) ) )
+        if ( ( container instanceof LdifInvalidContainer && part instanceof LdifInvalidPart
&& "d".equals( prefix ) ) //$NON-NLS-1$
+            || ( container instanceof LdifContentRecord && part instanceof LdifInvalidPart
&& "dn".equals( prefix ) ) //$NON-NLS-1$
+            || ( container instanceof LdifContentRecord && part instanceof LdifInvalidPart
&& "dn:".equals( prefix ) ) ) //$NON-NLS-1$
         {
             return LdifEditorActivator.getDefault().getLdifTemplateContextTypeRegistry().getContextType(
                 LdifEditorConstants.LDIF_FILE_TEMPLATE_ID );
@@ -417,36 +417,36 @@
     protected Image getImage( Template template )
     {
 
-        if ( template.getPattern().indexOf( "add: " ) > -1 )
+        if ( template.getPattern().indexOf( "add: " ) > -1 ) //$NON-NLS-1$
         {
             return LdifEditorActivator.getDefault().getImage( LdifEditorConstants.IMG_LDIF_MOD_ADD
);
         }
-        else if ( template.getPattern().indexOf( "replace: " ) > -1 )
+        else if ( template.getPattern().indexOf( "replace: " ) > -1 ) //$NON-NLS-1$
         {
             return LdifEditorActivator.getDefault().getImage( LdifEditorConstants.IMG_LDIF_MOD_REPLACE
);
         }
-        else if ( template.getPattern().indexOf( "delete: " ) > -1 )
+        else if ( template.getPattern().indexOf( "delete: " ) > -1 ) //$NON-NLS-1$
         {
             return LdifEditorActivator.getDefault().getImage( LdifEditorConstants.IMG_LDIF_MOD_DELETE
);
         }
 
-        else if ( template.getPattern().indexOf( "changetype: add" ) > -1 )
+        else if ( template.getPattern().indexOf( "changetype: add" ) > -1 ) //$NON-NLS-1$
         {
             return LdifEditorActivator.getDefault().getImage( LdifEditorConstants.IMG_LDIF_ADD
);
         }
-        else if ( template.getPattern().indexOf( "changetype: modify" ) > -1 )
+        else if ( template.getPattern().indexOf( "changetype: modify" ) > -1 ) //$NON-NLS-1$
         {
             return LdifEditorActivator.getDefault().getImage( LdifEditorConstants.IMG_LDIF_MODIFY
);
         }
-        else if ( template.getPattern().indexOf( "changetype: delete" ) > -1 )
+        else if ( template.getPattern().indexOf( "changetype: delete" ) > -1 ) //$NON-NLS-1$
         {
             return LdifEditorActivator.getDefault().getImage( LdifEditorConstants.IMG_LDIF_DELETE
);
         }
-        else if ( template.getPattern().indexOf( "changetype: moddn" ) > -1 )
+        else if ( template.getPattern().indexOf( "changetype: moddn" ) > -1 ) //$NON-NLS-1$
         {
             return LdifEditorActivator.getDefault().getImage( LdifEditorConstants.IMG_LDIF_RENAME
);
         }
-        else if ( template.getPattern().indexOf( "dn: " ) > -1 )
+        else if ( template.getPattern().indexOf( "dn: " ) > -1 ) //$NON-NLS-1$
         {
             return LdifEditorActivator.getDefault().getImage( LdifEditorConstants.IMG_ENTRY
);
         }

Modified: directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifDamagerRepairer.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifDamagerRepairer.java?rev=741944&r1=741943&r2=741944&view=diff
==============================================================================
--- directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifDamagerRepairer.java
(original)
+++ directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifDamagerRepairer.java
Sat Feb  7 19:45:20 2009
@@ -396,7 +396,7 @@
                 else
                 {
                     // TODO
-                    System.out.println( "LdifDamagerRepairer: Unspecified Token: " + parts[i].getClass()
);
+                    System.out.println( "LdifDamagerRepairer: Unspecified Token: " + parts[i].getClass()
); //$NON-NLS-1$
                 }
 
             }

Modified: directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifPartitionScanner.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifPartitionScanner.java?rev=741944&r1=741943&r2=741944&view=diff
==============================================================================
--- directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifPartitionScanner.java
(original)
+++ directory/studio/trunk/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/text/LdifPartitionScanner.java
Sat Feb  7 19:45:20 2009
@@ -30,7 +30,7 @@
 public class LdifPartitionScanner extends RuleBasedPartitionScanner
 {
 
-    public final static String LDIF_RECORD = "__ldif_record";
+    public final static String LDIF_RECORD = "__ldif_record"; //$NON-NLS-1$
 
 
     public LdifPartitionScanner()



Mime
View raw message