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 SummaryConstructors
- 
Method SummaryModifier 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- 
CompareLinkHelperpublic CompareLinkHelper()
 
- 
- 
Method Details- 
findSelectionDescription copied from interface:ILinkHelperDetermine the correct structured selection for the Common Navigator given anInput. - Specified by:
- findSelectionin interface- ILinkHelper
- Parameters:
- anInput- An Editor input
- Returns:
- A selection to be set against the CommonViewer
 
- 
activateEditorDescription copied from interface:ILinkHelperActivate the correct editor for aSelection. - Specified by:
- activateEditorin interface- ILinkHelper
- Parameters:
- aPage- A WorkbenchPage to use for editor location and activation
- aSelection- The current selection from the- CommonViewer
 
 
-