Package com._1c.g5.v8.dt.compare.ui
Class DtCompareEditorInput
- java.lang.Object
- 
- org.eclipse.core.runtime.PlatformObject
- 
- org.eclipse.compare.CompareEditorInput
- 
- org.eclipse.team.ui.synchronize.SaveableCompareEditorInput
- 
- com._1c.g5.v8.dt.compare.ui.DtCompareEditorInput
 
 
 
 
- 
- 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
 - Direct Known Subclasses:
- ReadOnlyCompareEditorInput
 
 public class DtCompareEditorInput extends org.eclipse.team.ui.synchronize.SaveableCompareEditorInputThe extension ofSaveableCompareEditorInputto set up compare configuration via typed elements.
- 
- 
Constructor SummaryConstructors Constructor Description DtCompareEditorInput(org.eclipse.compare.ITypedElement leftTypedElement, org.eclipse.compare.ITypedElement rightTypedElement, org.eclipse.compare.ITypedElement ancestorTypedElement, org.eclipse.ui.IWorkbenchPage page, org.eclipse.compare.CompareConfiguration compareConfiguration)CreatesDtCompareEditorInputwith the given parameters.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.compare.CompareViewerSwitchingPanecreateContentViewerSwitchingPane(org.eclipse.compare.Splitter parent, int style, org.eclipse.compare.CompareEditorInput cei)voidfireInputChange()org.eclipse.compare.ITypedElementgetAncestor()Returns the ancestor typed element.org.eclipse.compare.ITypedElementgetLeft()Returns the left typed element.StringgetOKButtonLabel()org.eclipse.compare.ITypedElementgetRight()Returns the right typed element.protected org.eclipse.compare.structuremergeviewer.ICompareInputprepareCompareInput(org.eclipse.core.runtime.IProgressMonitor monitor)voidsetAncestor(org.eclipse.compare.ITypedElement ancestorTypedElement)Sets the ancestor typed element.voidsetLeft(org.eclipse.compare.ITypedElement leftTypedElement)Sets the left typed element.voidsetRight(org.eclipse.compare.ITypedElement rightTypedElement)Sets the right typed element.- 
Methods inherited from class org.eclipse.team.ui.synchronize.SaveableCompareEditorInputaddCompareInputChangeListener, 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.CompareEditorInputaddPropertyChangeListener, 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- 
DtCompareEditorInputpublic DtCompareEditorInput(org.eclipse.compare.ITypedElement leftTypedElement, org.eclipse.compare.ITypedElement rightTypedElement, org.eclipse.compare.ITypedElement ancestorTypedElement, org.eclipse.ui.IWorkbenchPage page, org.eclipse.compare.CompareConfiguration compareConfiguration)CreatesDtCompareEditorInputwith the given parameters. Left and right typed elements can not benullsimultaneously.- Parameters:
- leftTypedElement- the left typed element, may be- null
- rightTypedElement- the right typed element, may not be- null
- ancestorTypedElement- the ancestor typed element, may be- null
- page- the- IWorkbenchPage, can not be- null
- compareConfiguration- the compare configuration, cannot be- null
 
 
- 
 - 
Method Detail- 
getLeftpublic org.eclipse.compare.ITypedElement getLeft() Returns the left typed element.- Returns:
- the left typed element, can null
 
 - 
getRightpublic org.eclipse.compare.ITypedElement getRight() Returns the right typed element.- Returns:
- the right typed element, can null
 
 - 
getAncestorpublic org.eclipse.compare.ITypedElement getAncestor() Returns the ancestor typed element.- Returns:
- the ancestor typed element, may be null
 
 - 
setLeftpublic void setLeft(org.eclipse.compare.ITypedElement leftTypedElement) Sets the left typed element.- Parameters:
- leftTypedElement- the left typed element to set, cannot be- null
 
 - 
setRightpublic void setRight(org.eclipse.compare.ITypedElement rightTypedElement) Sets the right typed element.- Parameters:
- rightTypedElement- the right typed element to set, cannot be- null
 
 - 
setAncestorpublic void setAncestor(org.eclipse.compare.ITypedElement ancestorTypedElement) Sets the ancestor typed element.- Parameters:
- ancestorTypedElement- the ancestor typed element to set, cannot be- null
 
 - 
prepareCompareInputprotected org.eclipse.compare.structuremergeviewer.ICompareInput prepareCompareInput(org.eclipse.core.runtime.IProgressMonitor monitor) throws InvocationTargetException, InterruptedException- Specified by:
- prepareCompareInputin class- org.eclipse.team.ui.synchronize.SaveableCompareEditorInput
- Throws:
- InvocationTargetException
- InterruptedException
 
 - 
fireInputChangepublic void fireInputChange() - Specified by:
- fireInputChangein class- org.eclipse.team.ui.synchronize.SaveableCompareEditorInput
 
 - 
getOKButtonLabelpublic String getOKButtonLabel() - Overrides:
- getOKButtonLabelin class- org.eclipse.compare.CompareEditorInput
 
 - 
createContentViewerSwitchingPaneprotected org.eclipse.compare.CompareViewerSwitchingPane createContentViewerSwitchingPane(org.eclipse.compare.Splitter parent, int style, org.eclipse.compare.CompareEditorInput cei)- Overrides:
- createContentViewerSwitchingPanein class- org.eclipse.compare.CompareEditorInput
 
 
- 
 
-