public abstract class ContentPaneAction extends AbstractCompareMergeAction
IRepeatableAction.WorkIndicatorType| Modifier and Type | Field and Description |
|---|---|
protected java.util.concurrent.atomic.AtomicBoolean |
autoConfirm
If enabled, the action will not prompt for confirmation
|
| Constructor and Description |
|---|
ContentPaneAction(IContentViewerPane contentViewerPane)
Constructs a ContentPaneAction
|
ContentPaneAction(IContentViewerPane contentViewerPane,
int navigationEvents)
Constructs a ContentPaneAction
|
| Modifier and Type | Method and Description |
|---|---|
void |
commandManagerChanged(CommandManagerChangeEvent event)
Handles an event indicating that a command manager has changed.
|
protected IContentViewerPane |
getContentViewerPane()
Returns the contentViewerPane
|
protected IContentViewerInput |
getCurrentInput()
Returns the currentInput.
|
protected int |
getCurrentNavigationEventType()
Returns the currentNavigationEventType
|
protected int |
getNavigationEvents()
Returns the navigation events
|
boolean |
isAutoConfirm() |
void |
navigationOccured(int eventType,
INavigationProvider provider)
Sent when navigation occurs in the difference viewer
|
void |
setAutoConfirm(boolean status) |
dispose, doRun, getActionManager, getActiveShell, getCommandManager, getCompareMergeController, getLabel, getSelection, getSelectionProvider, getStructuredSelection, getWorkIndicatorType, handle, init, isBrowseEnabled, isBrowseListener, isCommandStackListener, isDisposed, isNavigationListener, isRepeatable, isRunnable, isSelectionListener, isSetup, needsSetup, openErrorDialog, propertyChange, refresh, repeat, run, run, runWithEvent, selectionChanged, setSetup, setupconvertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipTextaddPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListeneraddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, removePropertyChangeListener, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipTextprotected java.util.concurrent.atomic.AtomicBoolean autoConfirm
public ContentPaneAction(IContentViewerPane contentViewerPane)
contentViewerPane - the content viewer panepublic ContentPaneAction(IContentViewerPane contentViewerPane, int navigationEvents)
contentViewerPane - the content viewer panenavigationEvents - the navigation events that the action is interested inprotected final IContentViewerPane getContentViewerPane()
protected final int getNavigationEvents()
public final void navigationOccured(int eventType,
INavigationProvider provider)
INavigationListenernavigationOccured in interface INavigationListenernavigationOccured in class AbstractCompareMergeActioneventType - the kind of event that happened. Event type is a bit flag.
Event types are defined in the NavigationEventType.provider - the provider of the navigation functionalityINavigationListener.navigationOccured(int,
com.ibm.xtools.comparemerge.ui.provider.INavigationProvider)public final void commandManagerChanged(CommandManagerChangeEvent event)
AbstractCompareMergeActioncommandManagerChanged in interface ICommandManagerChangeListenercommandManagerChanged in class AbstractCompareMergeActionevent - The command manager change event to be handled.ICommandManagerChangeListener.commandManagerChanged(com.ibm.xtools.comparemerge.core.command.CommandManagerChangeEvent)protected final IContentViewerInput getCurrentInput()
protected final int getCurrentNavigationEventType()
public void setAutoConfirm(boolean status)
public boolean isAutoConfirm()