A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / corext / template / php / JavaDocContextType.java
index a09574e..e41fcc8 100644 (file)
@@ -15,20 +15,19 @@ import net.sourceforge.phpdt.core.ICompilationUnit;
 import org.eclipse.jface.text.IDocument;
 import org.eclipse.jface.text.templates.GlobalTemplateVariables;
 
-
 /**
  * A context type for javadoc.
  */
 public class JavaDocContextType extends CompilationUnitContextType {
 
-       public static final String NAME= "phpdoc"; //$NON-NLS-1$
+       public static final String NAME = "phpdoc"; //$NON-NLS-1$
 
        /**
         * Creates a java context type.
         */
        public JavaDocContextType() {
                super(NAME);
-               
+
                // global
                addResolver(new GlobalTemplateVariables.Cursor());
                addResolver(new GlobalTemplateVariables.LineSelection());
@@ -38,7 +37,7 @@ public class JavaDocContextType extends CompilationUnitContextType {
                addResolver(new GlobalTemplateVariables.Year());
                addResolver(new GlobalTemplateVariables.Time());
                addResolver(new GlobalTemplateVariables.User());
-               
+
                // compilation unit
                addResolver(new File());
                addResolver(new PrimaryTypeName());
@@ -49,12 +48,17 @@ public class JavaDocContextType extends CompilationUnitContextType {
                addResolver(new Package());
                addResolver(new Project());
        }
-       
-       /* (non-Javadoc)
-        * @see net.sourceforge.phpdt.internal.corext.template.java.CompilationUnitContextType#createContext(org.eclipse.jface.text.IDocument, int, int, net.sourceforge.phpdt.core.ICompilationUnit)
+
+       /*
+        * (non-Javadoc)
+        * 
+        * @see net.sourceforge.phpdt.internal.corext.template.java.CompilationUnitContextType#createContext(org.eclipse.jface.text.IDocument,
+        *      int, int, net.sourceforge.phpdt.core.ICompilationUnit)
         */
-       public CompilationUnitContext createContext(IDocument document, int offset, int length, ICompilationUnit compilationUnit) {
-               return new JavaDocContext(this, document, offset, length, compilationUnit);
-       }       
-       
+       public CompilationUnitContext createContext(IDocument document, int offset,
+                       int length, ICompilationUnit compilationUnit) {
+               return new JavaDocContext(this, document, offset, length,
+                               compilationUnit);
+       }
+
 }