Class ReadOnlyCompareEditorInput

  • All Implemented Interfaces:
    org.eclipse.compare.ICompareContainer, org.eclipse.compare.IPropertyChangeNotifier, org.eclipse.core.runtime.IAdaptable, org.eclipse.jface.operation.IRunnableContext, org.eclipse.jface.operation.IRunnableWithProgress, org.eclipse.ui.IEditorInput, org.eclipse.ui.ISaveablesSource

    public class ReadOnlyCompareEditorInput
    extends DtCompareEditorInput
    The DtCompareEditorInput for read only comparison.
    • Field Summary

      • Fields inherited from class org.eclipse.compare.CompareEditorInput

        DIRTY_STATE, PROP_SELECTED_EDITION, PROP_TITLE, PROP_TITLE_IMAGE
    • Constructor Summary

      Constructors 
      Constructor Description
      ReadOnlyCompareEditorInput​(org.eclipse.compare.ITypedElement main, org.eclipse.compare.ITypedElement other, org.eclipse.compare.ITypedElement ancestor, org.eclipse.ui.IWorkbenchPage page, org.eclipse.compare.CompareConfiguration compareConfiguration)
      Creates ReadOnlyCompareEditorInput with the given parameters.
    • Method Summary

      • Methods inherited from class org.eclipse.team.ui.synchronize.SaveableCompareEditorInput

        addCompareInputChangeListener, canRunAsJob, closeEditor, contentsCreated, createFileElement, createSaveable, findContentViewer, getActiveSaveables, getAdapter, getCompareInput, getImageDescriptor, getSaveable, getSaveables, getTitleImage, handleDispose, isDirty, prepareInput, registerContextMenu, removeCompareInputChangeListener
      • Methods inherited from class org.eclipse.compare.CompareEditorInput

        addPropertyChangeListener, belongsTo, cancelPressed, contributeToToolBar, createContents, createDiffViewer, createOutlineContents, createStructureInputPane, exists, findStructureViewer, firePropertyChange, flushLeftViewers, flushRightViewers, flushViewers, getActionBars, getCancelButtonLabel, getCompareConfiguration, getCompareResult, getContainer, getContentViewerDescriptor, getMessage, getName, getNavigator, getPersistable, getSelectedEdition, getServiceLocator, getStructureViewerDescriptor, getTitle, getToolTipText, getWorkbenchPart, isEditionSelectionDialog, isLeftSaveNeeded, isRightSaveNeeded, isSaveNeeded, okPressed, removePropertyChangeListener, run, run, runAsynchronously, save, saveChanges, setContainer, setContentViewerDescriptor, setDirty, setFocus, setFocus2, setHelpContextId, setLeftDirty, setMessage, setRightDirty, setStatusMessage, setStructureViewerDescriptor, setTitle
    • Constructor Detail

      • ReadOnlyCompareEditorInput

        public ReadOnlyCompareEditorInput​(org.eclipse.compare.ITypedElement main,
                                          org.eclipse.compare.ITypedElement other,
                                          org.eclipse.compare.ITypedElement ancestor,
                                          org.eclipse.ui.IWorkbenchPage page,
                                          org.eclipse.compare.CompareConfiguration compareConfiguration)
        Creates ReadOnlyCompareEditorInput with the given parameters.
        Parameters:
        main - the main typed element, can not be null
        other - the other typed element, can not be null
        ancestor - the common ancestor typed element, may be null
        page - the IWorkbenchPage, can not be null
        compareConfiguration - the compare configuration, cannot be null