com.telelogic.integration.eclipse.guide.taskview
Class DeleteObjectButtonAction
java.lang.Object
org.eclipse.ui.actions.ActionDelegate
com.telelogic.synergy.integration.ui.teamaction.CCMAction
com.telelogic.integration.eclipse.guide.taskview.DeleteObjectButtonAction
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IActionDelegate2, org.eclipse.ui.IObjectActionDelegate
public class DeleteObjectButtonAction
- extends com.telelogic.synergy.integration.ui.teamaction.CCMAction
Task view toolbar button implementation that removes an object from its associated
task. This is equivalent to an undo checkout operation.
Our sample action implements workbench action delegate.
The action proxy will be created by the workbench and
shown in the UI. When the user tries to use the action,
this delegate will be created and execution will be
delegated to it.
- See Also:
You may copy, modify, and distribute these samples, or their modifications,
in any form, internally or as part of your application or related documentation.
These samples have not been tested under all conditions and are provided to you
by IBM without obligation of support of any kind. IBM PROVIDES THESE SAMPLES
"AS IS", SUBJECT TO ANY STATUTORY WARRANTIES THAT CANNOT BE EXCLUDED. IBM MAKES
NO WARRANTIES OR CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT REGARDING THESE SAMPLES OR
TECHNICAL SUPPORT, IF ANY.
Fields inherited from class com.telelogic.synergy.integration.ui.teamaction.CCMAction |
PROGRESS_BUSYCURSOR, PROGRESS_DIALOG |
Method Summary |
org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String image)
|
java.lang.String |
getLabel(java.lang.String text)
|
java.lang.String |
getToolTips(java.lang.String text)
|
static org.eclipse.core.resources.IWorkspace |
getWorkspace()
|
boolean |
isEnabled(CMSTaskAction action)
|
void |
run(CMSTaskAction action)
|
Methods inherited from class com.telelogic.synergy.integration.ui.teamaction.CCMAction |
selectionChanged, setActivePart |
Methods inherited from class org.eclipse.ui.actions.ActionDelegate |
dispose, init, runWithEvent |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteObjectButtonAction
public DeleteObjectButtonAction()
run
public void run(CMSTaskAction action)
- Specified by:
run
in interface org.eclipse.ui.IActionDelegate
- Overrides:
run
in class org.eclipse.ui.actions.ActionDelegate
getWorkspace
public static org.eclipse.core.resources.IWorkspace getWorkspace()
isEnabled
public boolean isEnabled(CMSTaskAction action)
getImageDescriptor
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String image)
getLabel
public java.lang.String getLabel(java.lang.String text)
getToolTips
public java.lang.String getToolTips(java.lang.String text)