public class BasicCompareActionProvider extends BasicActionProvider
Modifier and Type | Field and Description |
---|---|
protected BasicCompareAction |
compareAction
The compare action to use.
|
selectionProvider, viewer, viewerId, workbenchPart
Constructor and Description |
---|
BasicCompareActionProvider() |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.jface.action.IMenuManager |
addSubMenu(org.eclipse.jface.action.IMenuManager contextMenuManager)
Returns the
sub menu into which the actions
provided by this action provider implementation are to be placed. |
void |
dispose() |
protected void |
doInit()
Method to override in order to provide a custom initialization of this action
provider.
|
protected void |
fillSubMenu(org.eclipse.jface.action.IMenuManager subMenuManager)
Adds the applicable actions to the
sub menu of
the context menu resulting from previous invocation of BasicActionProvider.addSubMenu(IMenuManager) . |
depopulateManager, depopulateManager, extractSubmenuActions, fillContextMenu, getEditingDomainFromSelection, init, isActivePropertySheet, isTransient, populateManager, populateManager
filterAction, getActionSite, restoreState, saveState
protected BasicCompareAction compareAction
protected void doInit()
BasicActionProvider
doInit
in class BasicActionProvider
protected org.eclipse.jface.action.IMenuManager addSubMenu(org.eclipse.jface.action.IMenuManager contextMenuManager)
BasicActionProvider
sub menu
into which the actions
provided by this action provider
implementation are to be placed. Creates a new
sub menu
and appends it to specified context menu
if no such is present
yet. Returns null
if the actions should go directly
into the context menu
. The default implementation returns null
. Subclasses may
override or extend this method.addSubMenu
in class BasicActionProvider
contextMenuManager
- The context menu
for which the sub menu
is to be retrieved
or created.sub menu
into which the actions
provided by this action provider
implementation are to be placed or
null
if they should go directly into the context menu
.BasicActionProvider.fillSubMenu(IMenuManager)
protected void fillSubMenu(org.eclipse.jface.action.IMenuManager subMenuManager)
BasicActionProvider
sub menu
of
the context menu
resulting from previous invocation of BasicActionProvider.addSubMenu(IMenuManager)
.
The default implementation does nothing. Subclasses may override or extend this method.fillSubMenu
in class BasicActionProvider
BasicActionProvider.addSubMenu(IMenuManager)
public void dispose()
dispose
in class org.eclipse.ui.actions.ActionGroup