Package org.eclipse.emf.cdo.ui.compare
Class CDOCompareEditorUtil.Input
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.compare.CompareEditorInput
org.eclipse.emf.compare.ide.ui.internal.editor.AbstractEMFCompareEditorInput
org.eclipse.emf.compare.ide.ui.internal.editor.ComparisonEditorInput
org.eclipse.emf.cdo.ui.compare.CDOCompareEditorUtil.Input
- All Implemented Interfaces:
ICompareContainer
,IPropertyChangeNotifier
,IAdaptable
,IRunnableContext
,IRunnableWithProgress
,IEditorInput
- Enclosing class:
- CDOCompareEditorUtil
public static final class CDOCompareEditorUtil.Input
extends org.eclipse.emf.compare.ide.ui.internal.editor.ComparisonEditorInput
- Since:
- 4.4
- Author:
- Eike Stepper
-
Field Summary
Fields inherited from class org.eclipse.compare.CompareEditorInput
DIRTY_STATE, PROP_SELECTED_EDITION, PROP_TITLE, PROP_TITLE_IMAGE
-
Method Summary
Modifier and TypeMethodDescriptionfinal org.eclipse.emf.compare.Comparison
boolean
isModal()
boolean
isOK()
Returnstrue
if the OK button was pressed,false
otherwise.boolean
void
void
saveChanges
(IProgressMonitor monitor) void
setDisposeRunnables
(List<Runnable> disposeRunnables) void
setModal
(boolean modal) Methods inherited from class org.eclipse.emf.compare.ide.ui.internal.editor.ComparisonEditorInput
doPrepareInput
Methods inherited from class org.eclipse.emf.compare.ide.ui.internal.editor.AbstractEMFCompareEditorInput
cancelPressed, getAdapterFactory, getCompareConfiguration, getEditingDomain, prepareInput
Methods inherited from class org.eclipse.compare.CompareEditorInput
addCompareInputChangeListener, addPropertyChangeListener, belongsTo, canRunAsJob, contentsCreated, contributeToToolBar, createContents, createContentViewerSwitchingPane, createDiffViewer, createOutlineContents, createStructureInputPane, exists, findContentViewer, findStructureViewer, firePropertyChange, flushLeftViewers, flushRightViewers, flushViewers, getActionBars, getAdapter, getCancelButtonLabel, getCompareResult, getContainer, getContentViewerDescriptor, getImageDescriptor, getMessage, getName, getNavigator, getOKButtonLabel, getPersistable, getSelectedEdition, getServiceLocator, getStructureViewerDescriptor, getTitle, getToolTipText, getWorkbenchPart, handleDispose, isDirty, isEditionSelectionDialog, isLeftSaveNeeded, isRightSaveNeeded, isSaveNeeded, registerContextMenu, removeCompareInputChangeListener, run, run, runAsynchronously, save, setContainer, setContentViewerDescriptor, setDirty, setFocus, setFocus2, setHelpContextId, setLeftDirty, setMessage, setRightDirty, setStatusMessage, setStructureViewerDescriptor, setTitle
-
Method Details
-
getComparison
public final org.eclipse.emf.compare.Comparison getComparison() -
getTitleImage
- Overrides:
getTitleImage
in classCompareEditorInput
-
isModal
public boolean isModal()- Since:
- 4.8
-
setModal
public void setModal(boolean modal) - Since:
- 4.8
-
setDisposeRunnables
-
saveChanges
- Overrides:
saveChanges
in classCompareEditorInput
- Throws:
CoreException
-
getCommitInfo
- Since:
- 4.6
-
isOK
public boolean isOK()Returnstrue
if the OK button was pressed,false
otherwise. -
okPressed
public boolean okPressed()- Overrides:
okPressed
in classCompareEditorInput
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListener
in interfaceIPropertyChangeNotifier
- Overrides:
removePropertyChangeListener
in classCompareEditorInput
-