public interface RevealingStrategy
Modifier and Type | Method and Description |
---|---|
boolean |
isApplicableTo(Notifier target)
Return whether or not the revealing strategy is applicable to the EOBject
|
void |
revealInTextEditor(IFile file,
SourceRegion sourceRegion)
Open the file in the right editor, then uses revealInTextEditor method to
select it
|
void |
selectInTextEditor(IEditorPart iEditorPart,
SourceRegion sourceRegion)
Select the given soruceRegion in the given Editor
|
void revealInTextEditor(IFile file, SourceRegion sourceRegion)
file
- sourceRegion
- void selectInTextEditor(IEditorPart iEditorPart, SourceRegion sourceRegion)
iEditorPart
- a editorsourceRegion
- a source regionboolean isApplicableTo(Notifier target)
eObject
- the EObject