X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/LoadPathEntry.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/LoadPathEntry.java new file mode 100644 index 0000000..9008abf --- /dev/null +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/LoadPathEntry.java @@ -0,0 +1,38 @@ +package net.sourceforge.phpeclipse; + +import org.eclipse.core.resources.IProject; +import org.eclipse.core.runtime.IPath; + +public class LoadPathEntry { + public static final String TYPE_PROJECT = "project"; + + protected IProject project; + protected String type; + + public LoadPathEntry(IProject aProjectEntry) { + project = aProjectEntry; + type = TYPE_PROJECT; + } + + public IPath getPath() { + return project.getFullPath(); + } + + public IProject getProject() { + return project; + } + + public String getType() { + return type; + } + + public String toXML() { + StringBuffer buffer = new StringBuffer(); + + buffer.append(""); + + return buffer.toString(); + } +}