directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r493065 - /directory/trunks/ldapstudio/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/editors/ldif/LdifDocumentSetupParticipant.java
Date Fri, 05 Jan 2007 16:18:24 GMT
Author: pamarcelot
Date: Fri Jan  5 08:18:22 2007
New Revision: 493065

URL: http://svn.apache.org/viewvc?view=rev&rev=493065
Log:
Modifying wrong ID for LDIF Partitionning. Adding Javadoc (DIRSTUDIO-19).

Modified:
    directory/trunks/ldapstudio/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/editors/ldif/LdifDocumentSetupParticipant.java

Modified: directory/trunks/ldapstudio/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/editors/ldif/LdifDocumentSetupParticipant.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/editors/ldif/LdifDocumentSetupParticipant.java?view=diff&rev=493065&r1=493064&r2=493065
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/editors/ldif/LdifDocumentSetupParticipant.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/editors/ldif/LdifDocumentSetupParticipant.java
Fri Jan  5 08:18:22 2007
@@ -29,17 +29,29 @@
 import org.eclipse.jface.text.rules.FastPartitioner;
 
 
+/**
+ * This class implements the IDocumentSetupParticipant interface for LDIF document
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
 public class LdifDocumentSetupParticipant implements IDocumentSetupParticipant
 {
-
-    public final static String LDIF_PARTITIONING = "new.sf.browser.ui.editors.ldif.LdifPartitioning";
//$NON-NLS-1$
+    /** The LDIF Partitioning ID */
+    public final static String LDIF_PARTITIONING = "org.apache.directory.ldapstudio.browser.ui.editors.ldif.LdifPartitioning";
//$NON-NLS-1$
 
 
+    /**
+     * Creates a new instance of LdifDocumentSetupParticipant.
+     */
     public LdifDocumentSetupParticipant()
     {
     }
 
 
+    /**
+     * {@inheritDoc}
+     */
     public void setup( IDocument document )
     {
 
@@ -56,11 +68,16 @@
     }
 
 
+    /**
+     * Creates the Document Partitioner
+     *
+     * @return
+     *      the Document Partitioner
+     */
     private IDocumentPartitioner createDocumentPartitioner()
     {
         IDocumentPartitioner partitioner = new FastPartitioner( new LdifPartitionScanner(),
new String[]
             { LdifPartitionScanner.LDIF_RECORD } );
         return partitioner;
     }
-
 }



Mime
View raw message