|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.wst.server.core.model.RuntimeTargetHandlerDelegate
Constructor Summary | |
---|---|
RuntimeTargetHandlerDelegate()
|
Method Summary | |
---|---|
IRuntimeTargetHandler |
getRuntimeTargetHandler()
Returns the runtime target handler that this delegate is associated with. |
void |
initialize(IRuntimeTargetHandler newHandler)
Initializes the runtime target handler. |
abstract void |
removeRuntimeTarget(IProject project,
IRuntime runtime,
IProgressMonitor monitor)
Remove the runtime target from the given project. |
abstract void |
setRuntimeTarget(IProject project,
IRuntime runtime,
IProgressMonitor monitor)
Set the runtime target on the given project. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RuntimeTargetHandlerDelegate()
Method Detail |
public final void initialize(IRuntimeTargetHandler newHandler)
newHandler
- the new handlerpublic IRuntimeTargetHandler getRuntimeTargetHandler()
public abstract void setRuntimeTarget(IProject project, IRuntime runtime, IProgressMonitor monitor) throws CoreException
project
- the project to set the runtime onruntime
- the target runtimemonitor
- a progress monitor, or null
if progress
reporting and cancellation are not desired
CoreException
- thrown if there is a problem setting the runtimepublic abstract void removeRuntimeTarget(IProject project, IRuntime runtime, IProgressMonitor monitor) throws CoreException
project
- the project to remove the runtime fromruntime
- the target runtimemonitor
- a progress monitor, or null
if progress
reporting and cancellation are not desired
CoreException
- thrown if there is a problem removing the runtime
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |