public class GroupAction
extends org.eclipse.jface.action.Action
Constructor and Description |
---|
GroupAction(StructureMergeViewerGrouper structureMergeViewerGrouper,
IDifferenceGroupProvider.Descriptor dgp,
IDifferenceGroupProvider gp,
DifferenceGroupManager groupManager,
boolean isThreeWay)
Instantiates our action given its target grouper.
|
Modifier and Type | Method and Description |
---|---|
IDifferenceGroupProvider.Descriptor |
getDescriptorGroupProvider() |
boolean |
isEnabled() |
void |
runWithEvent(org.eclipse.swt.widgets.Event event) |
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, run, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
public GroupAction(StructureMergeViewerGrouper structureMergeViewerGrouper, IDifferenceGroupProvider.Descriptor dgp, IDifferenceGroupProvider gp, DifferenceGroupManager groupManager, boolean isThreeWay)
structureMergeViewerGrouper
- dgp
- The group provider descriptor.gp
- The group provider created by the group provider descriptor.groupManager
- DifferenceGroupManager
isThreeWay
- Set to true if the current comparison is a Three way comparison.public boolean isEnabled()
isEnabled
in interface org.eclipse.jface.action.IAction
isEnabled
in class org.eclipse.jface.action.Action
public IDifferenceGroupProvider.Descriptor getDescriptorGroupProvider()
public void runWithEvent(org.eclipse.swt.widgets.Event event)
runWithEvent
in interface org.eclipse.jface.action.IAction
runWithEvent
in class org.eclipse.jface.action.Action
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.