| |
|
| org.eclipse.ui.internal.PluginAction org.eclipse.ui.internal.ObjectPluginAction
ObjectPluginAction | public class ObjectPluginAction extends PluginAction implements IPartListener2(Code) | | An object action extension in a popup menu.
For backward compatibility, the delegate object can implement either
IActionDelegate or IObjectActionDelegate .
|
Field Summary | |
final public static String | ATT_OVERRIDE_ACTION_ID The configuration element attribute for the identifier of the action
which this action is intended to override (i.e., replace). |
Constructor Summary | |
public | ObjectPluginAction(IConfigurationElement actionElement, String id, int style) Constructs a new ObjectPluginAction. |
ATT_OVERRIDE_ACTION_ID | final public static String ATT_OVERRIDE_ACTION_ID(Code) | | The configuration element attribute for the identifier of the action
which this action is intended to override (i.e., replace).
|
ObjectPluginAction | public ObjectPluginAction(IConfigurationElement actionElement, String id, int style)(Code) | | Constructs a new ObjectPluginAction.
Parameters: actionElement - The configuration element used to construct this action; mustnot be null . Parameters: id - The identifier for this action; must not be null . Parameters: style - The style bits |
dispose | public void dispose()(Code) | | |
getOverrideActionId | public String getOverrideActionId()(Code) | | Returns the action identifier this action overrides.
the action identifier to override or null |
initDelegate | protected void initDelegate()(Code) | | |
setActivePart | public void setActivePart(IWorkbenchPart targetPart)(Code) | | Sets the active part for the delegate.
This method will be called every time the action appears in a popup menu.
The targetPart may change with each invocation.
Parameters: targetPart - the new part target |
|
|
|