|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.sahits.codegen.core.util.WorkspaceFragmentProvider
public final class WorkspaceFragmentProvider
This class encapsules functionality that you will need throughout the plugins concearning eclipse specific ressources.
| Constructor Summary | |
|---|---|
WorkspaceFragmentProvider()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getAbsolutWorkspacePath()
Retrieve the absolute file system path for the worspace without trailing path separator |
static java.util.List<IJavaProject> |
getOpenJavaProjects()
Compile a list of Java projects in the workspace |
static java.util.List<IProject> |
getOpenProjects()
Compile a list of Projects in the workspace |
static java.lang.String |
getRelativeSourceFragment(IJavaProject project)
Retrieve the relative path within the workspace to the first source directory of the Java project |
static IWorkspace |
getWorkspace()
Retrieve an instance of the current workspace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkspaceFragmentProvider()
| Method Detail |
|---|
public static IWorkspace getWorkspace()
public static java.lang.String getAbsolutWorkspacePath()
public static java.util.List<IProject> getOpenProjects()
public static java.util.List<IJavaProject> getOpenJavaProjects()
public static java.lang.String getRelativeSourceFragment(IJavaProject project)
project - Java project
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||