Addition of previous bugfix. Added project based path to search-path.
[phpeclipse.git] / net.sourceforge.phpeclipse.externaltools / src / net / sourceforge / phpdt / externaltools / variable / ProjectNameExpander.java
index 11fe671..df87812 100644 (file)
@@ -8,11 +8,12 @@ import org.eclipse.core.resources.IProject;
 public class ProjectNameExpander implements IVariableTextExpander {
 
        /**
-        * Returns the name of the project in the given context or
-        * <code>null</code> if there is no project in the context.
+        * Returns the name of the project in the given context or <code>null</code>
+        * if there is no project in the context.
         */
-       public String getText(String varTag, String varValue, ExpandVariableContext context) {
-               IProject project= context.getProject();
+       public String getText(String varTag, String varValue,
+                       ExpandVariableContext context) {
+               IProject project = context.getProject();
                if (project != null) {
                        return project.getName();
                }