org.eclipse.jet.taglib.workspace
Class AbstractWorkspaceAction2
java.lang.Object
org.eclipse.jet.taglib.workspace.AbstractWorkspaceAction2
-
All Implemented Interfaces:
-
IWorkspaceAction,
IWorkspaceAction2
-
public abstract class AbstractWorkspaceAction2
- extends java.lang.Object
- implements
IWorkspaceAction2
Abstract implementation of IWorkspaceAction that manages the standard
execution tracing information.
Method Summary
|
TagInfo
|
getTagInfo
()
Returns the Tag information of the tag that originated this action. |
java.lang.String
|
getTemplatePath
()
Returns the path of the template that originated this action. |
void
|
performAction
(org.eclipse.core.runtime.IProgressMonitor monitor)
Perform the workspace action |
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
|
AbstractWorkspaceAction2
protected AbstractWorkspaceAction2(
TagInfo tagInfo,
java.lang.String templatePath)
getTagInfo
public final
TagInfo getTagInfo()
-
Description copied from interface:
IWorkspaceAction
- Returns the Tag information of the tag that originated this action.
-
-
Specified by:
-
getTagInfo
in interface
IWorkspaceAction
-
-
Returns:
- a non-null TagInfo object.
getTemplatePath
public final java.lang.String getTemplatePath()
-
Description copied from interface:
IWorkspaceAction
- Returns the path of the template that originated this action.
-
-
Specified by:
-
getTemplatePath
in interface
IWorkspaceAction
-
-
Returns:
- a non-null String
performAction
public final void performAction(org.eclipse.core.runtime.IProgressMonitor monitor)
throws
JET2TagException
-
Description copied from interface:
IWorkspaceAction
- Perform the workspace action
-
-
Specified by:
-
performAction
in interface
IWorkspaceAction
-
-
Parameters:
-
monitor
- the progress monitor to which progress information will be written.
-
Throws:
-
JET2TagException
- if the action cannot be successfully performed.