public class ActionBrowseCodeInTextEditor
extends java.lang.Object
Constructor and Description |
---|
ActionBrowseCodeInTextEditor() |
Modifier and Type | Method and Description |
---|---|
void |
run(IAction action)
Action called from the menu button "Browse to code source" on any
EObject in the workbench |
void |
selectionChanged(IAction action,
ISelection selection)
This method looks for an ASTNodeSourceRegion if the selected object is an
EObject If result is null, then the "Browse To Code Action" is disabled
|
public void run(IAction action)
EObject
in the workbenchpublic void selectionChanged(IAction action, ISelection selection)