public class GroupActionMenu
extends org.eclipse.jface.action.Action
implements org.eclipse.jface.action.IMenuCreator
| Constructor and Description | 
|---|
| GroupActionMenu(StructureMergeViewerGrouper structureMergeViewerGrouper,
               IDifferenceGroupProvider.Descriptor.Registry registry)Constructs our grouping menu. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | dispose() | 
| org.eclipse.swt.widgets.Menu | getMenu(org.eclipse.swt.widgets.Control parent) | 
| org.eclipse.swt.widgets.Menu | getMenu(org.eclipse.swt.widgets.Menu parent) | 
| void | updateMenu(IComparisonScope scope,
          Comparison comparison)Create the grouping action in the given menu. | 
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, run, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipTextaddPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListenerpublic GroupActionMenu(StructureMergeViewerGrouper structureMergeViewerGrouper, IDifferenceGroupProvider.Descriptor.Registry registry)
structureMergeViewerGrouper - The viewer grouper that will be affected by this menu's actions.registry - The registry that contains the group provider..public void updateMenu(IComparisonScope scope, Comparison comparison)
scope - The scope on which the groups will be applied.comparison - The comparison which differences are to be split into groups.public void dispose()
dispose in interface org.eclipse.jface.action.IMenuCreatorIMenuCreator.dispose()public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Control parent)
getMenu in interface org.eclipse.jface.action.IMenuCreatorIMenuCreator.getMenu(Control)public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Menu parent)
getMenu in interface org.eclipse.jface.action.IMenuCreatorIMenuCreator.getMenu(Menu)
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.