| org.eclipse.ui.internal.IObjectActionContributor
All known Subclasses: org.eclipse.ui.internal.ObjectActionContributor,
IObjectActionContributor | public interface IObjectActionContributor extends IObjectContributor(Code) | | This interface must be implemented in order to contribute
to context (pop-up) menu for an object. Classes
that implement this interface must register
with the popup menu manager.
|
Method Summary | |
public void | contributeObjectActionIdOverrides(List actionIdOverrides) Contribute to the list the action identifiers from other contributions that
this contribution wants to override. | public boolean | contributeObjectActions(IWorkbenchPart part, IMenuManager menu, ISelectionProvider selProv, List actionIdOverrides) Implement this method to add actions that deal with the currently
selected object or objects. | public boolean | contributeObjectMenus(IMenuManager menu, ISelectionProvider selProv) Implement this method to add menus that deal with the currently
selected object or objects. |
contributeObjectActionIdOverrides | public void contributeObjectActionIdOverrides(List actionIdOverrides)(Code) | | Contribute to the list the action identifiers from other contributions that
this contribution wants to override. Actions of these identifiers will
not be contributed.
|
contributeObjectActions | public boolean contributeObjectActions(IWorkbenchPart part, IMenuManager menu, ISelectionProvider selProv, List actionIdOverrides)(Code) | | Implement this method to add actions that deal with the currently
selected object or objects. Actions should be added to the
provided menu object. Current selection can be obtained from
the given selection provider.
true if any contributions were made, and false otherwise. |
contributeObjectMenus | public boolean contributeObjectMenus(IMenuManager menu, ISelectionProvider selProv)(Code) | | Implement this method to add menus that deal with the currently
selected object or objects. Menus should be added to the
provided menu object. Current selection can be obtained from
the given selection provider.
true if any contributions were made, and false otherwise. |
|
|