Replace deprecated org.eclipse.core.runtime.Platform.Run with org.eclipse.core.runtim...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / LoadPathEntry.java
index e908153..92e2c43 100644 (file)
@@ -4,35 +4,36 @@ import org.eclipse.core.resources.IProject;
 import org.eclipse.core.runtime.IPath;
 
 public class LoadPathEntry {
-  public static final String TYPE_PROJECT = "project";
+       public static final String TYPE_PROJECT = "project";
 
-  protected IProject project;
-  protected String type;
+       protected IProject project;
 
-  public LoadPathEntry(IProject aProjectEntry) {
-    project = aProjectEntry;
-    type = TYPE_PROJECT;
-  }
+       protected String type;
 
-  public IPath getPath() {
-    return project.getFullPath();
-  }
+       public LoadPathEntry(IProject aProjectEntry) {
+               project = aProjectEntry;
+               type = TYPE_PROJECT;
+       }
 
-  public IProject getProject() {
-    return project;
-  }
+       public IPath getPath() {
+               return project.getFullPath();
+       }
 
-  public String getType() {
-    return type;
-  }
+       public IProject getProject() {
+               return project;
+       }
 
-  public String toXML() {
-    StringBuffer buffer = new StringBuffer();
+       public String getType() {
+               return type;
+       }
 
-    buffer.append("<pathentry type=\"");
-    buffer.append(type + "\" ");
-    buffer.append("path=\"" + getPath() + "\"/>");
+       public String toXML() {
+               StringBuffer buffer = new StringBuffer();
 
-    return buffer.toString();
-  }
+               buffer.append("<pathentry type=\"");
+               buffer.append(type + "\" ");
+               buffer.append("path=\"" + getPath() + "\"/>");
+
+               return buffer.toString();
+       }
 }