Package org.eclipse.compare.internal
Class CompareLinkHelper
java.lang.Object
org.eclipse.compare.internal.CompareLinkHelper
- All Implemented Interfaces:
 ILinkHelper
Links CompareEditorInput to IFiles in the CommonNavigator.
- Since:
 - 3.8
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidactivateEditor(IWorkbenchPage aPage, IStructuredSelection aSelection) Activate the correct editor for aSelection.findSelection(IEditorInput anInput) Determine the correct structured selection for the Common Navigator given anInput. 
- 
Constructor Details
- 
CompareLinkHelper
public CompareLinkHelper() 
 - 
 - 
Method Details
- 
findSelection
Description copied from interface:ILinkHelperDetermine the correct structured selection for the Common Navigator given anInput.
- Specified by:
 findSelectionin interfaceILinkHelper- Parameters:
 anInput- An Editor input- Returns:
 - A selection to be set against the 
CommonViewer 
 - 
activateEditor
Description copied from interface:ILinkHelperActivate the correct editor for aSelection.
- Specified by:
 activateEditorin interfaceILinkHelper- Parameters:
 aPage- A WorkbenchPage to use for editor location and activationaSelection- The current selection from theCommonViewer
 
 -