Class EclipseWorkspace
- java.lang.Object
-
- org.faktorips.devtools.abstraction.AWrapper<org.eclipse.core.resources.IWorkspace>
-
- org.faktorips.devtools.abstraction.eclipse.internal.EclipseWorkspace
-
- All Implemented Interfaces:
AAbstraction,AWorkspace
public class EclipseWorkspace extends AWrapper<org.eclipse.core.resources.IWorkspace> implements AWorkspace
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild(ABuildKind buildKind, org.eclipse.core.runtime.IProgressMonitor monitor)Builds all projects in this workspace.AWorkspaceRootgetRoot()Returns the resource representing this workspace.voidrun(org.eclipse.core.runtime.ICoreRunnable action, org.eclipse.core.runtime.IProgressMonitor monitor)Runs the given action, reporting progress to the given monitor-
Methods inherited from class org.faktorips.devtools.abstraction.AWrapper
equals, hashCode, toString, unwrap
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.faktorips.devtools.abstraction.AAbstraction
unwrap
-
-
-
-
Method Detail
-
getRoot
public AWorkspaceRoot getRoot()
Description copied from interface:AWorkspaceReturns the resource representing this workspace.- Specified by:
getRootin interfaceAWorkspace
-
run
public void run(org.eclipse.core.runtime.ICoreRunnable action, org.eclipse.core.runtime.IProgressMonitor monitor)Description copied from interface:AWorkspaceRuns the given action, reporting progress to the given monitor- Specified by:
runin interfaceAWorkspace- Parameters:
action- an action to be run in the context of this workspacemonitor- a progress monitor that is notified about the action's process. Individual processing steps may be reported to the monitor to allow fine-grained progress reporting. The monitor may benullwhen progress does not need to be reported.
-
build
public void build(ABuildKind buildKind, org.eclipse.core.runtime.IProgressMonitor monitor)
Description copied from interface:AWorkspaceBuilds all projects in this workspace.- Specified by:
buildin interfaceAWorkspace- Parameters:
buildKind- the kind of build to performmonitor- a progress monitor that is notified about the build process. Individual file processing is reported to the monitor to allow fine-grained progress reporting. The monitor may benullwhen progress does not need to be reported.
-
-