Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Getting reference of eclipse plugin view or its component from another eclipse plugin view?
Getting reference of eclipse plugin view or its component from another eclipse plugin view? [message #615131] Thu, 15 March 2007 23:13
Jimmy is currently offline JimmyFriend
Messages: 2
Registered: July 2009
Junior Member
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/FAQ_How_do_I_make_a_view_r espond_to..


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
Previous Topic:VE and Eclipse 3.3M5eh
Next Topic:Getting reference of eclipse plugin view or its component from another eclipse plugin view?
Goto Forum:
  


Current Time: Thu Sep 26 04:58:42 GMT 2024

Powered by FUDForum. Page generated in 0.02725 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top