|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWorkspaceAction
Represents a workspace action managed by WorkspaceContextExtender
.
Method Summary | |
---|---|
org.eclipse.core.resources.IResource |
getResource()
Returns the workspace resource with which the action is associated. |
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 |
boolean |
requiresValidateEdit()
Tests whether the action resource must participate in an Eclipse Team validateEdit operation prior to the action being performed. |
Method Detail |
---|
org.eclipse.core.resources.IResource getResource() throws JET2TagException
requiresValidateEdit()
returns true
.
JET2TagException
- if the resource cannot be createdTagInfo getTagInfo()
java.lang.String getTemplatePath()
boolean requiresValidateEdit() throws JET2TagException
true
is returned, then getResource()
must return an instance
of IFile
.
true
if the resource must participate in validateEdit.
JET2TagException
- if the result cannot calculated because of some errorIWorkspace.validateEdit(org.eclipse.core.resources.IFile[], java.lang.Object)
void performAction(org.eclipse.core.runtime.IProgressMonitor monitor) throws JET2TagException
monitor
- the progress monitor to which progress information will be written.
JET2TagException
- if the action cannot be successfully performed.
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |