J
Jimmy
How can an eclipse view get a reference of another view (e.g. view's
action)?
I've extended the "ViewPart" which contained a "TreeViewer" and tried
the following sample from the URL ...
http://wiki.eclipse.org/index.php/F...respond_to_selection_changes_in_another_view?
However, "((IStructuredSelection) selection).getFirstElement()" gives
me the "Tree" but not the action button that I pressed. I know it may
be ugly to get a reference of another view/page ... so if you eclipse-
plugin-experts out there have a clue, please offer some pointers.
Thanks,
Jimmy
action)?
I've extended the "ViewPart" which contained a "TreeViewer" and tried
the following sample from the URL ...
http://wiki.eclipse.org/index.php/F...respond_to_selection_changes_in_another_view?
However, "((IStructuredSelection) selection).getFirstElement()" gives
me the "Tree" but not the action button that I pressed. I know it may
be ugly to get a reference of another view/page ... so if you eclipse-
plugin-experts out there have a clue, please offer some pointers.
Thanks,
Jimmy