How to get a list of sendto perspectives [message #329314] |
Wed, 18 June 2008 13:02  |
Eclipse User |
|
|
|
Hi,
I have several perspectives that contribute to a Send To popup menu.
[Select on object in the perspective, right mouse click and Send To popup
menu will show a list of perspectives.] And in one of perspectives, I want
to add SendTo information in one of the views (using a combobox to list
the perspectives). It should be the same list for sendto from popup menu.
But since its all done by menu contribution in various plugins for popup
menu, there is no central location for this information.
I wonder if anyone could give me some suggestion on how to obtain the
sendto perspectives list.
Appreciate much for the help!
Page
|
|
|
Re: How to get a list of sendto perspectives [message #329326 is a reply to message #329314] |
Wed, 18 June 2008 16:45  |
Eclipse User |
|
|
|
Page,
Let me see, If I can re-state your problem.
You have contributed a bunch of commands, menuContributions and handlers.
What you now what to do is re-use the same infrastructure that determines
what to show for a given menu ( Send To Popup menu) and give an alternate
visual representation of those menu items in say, a View. Also, when the
user triggers one of those alternate representation you want to go through
the same infrastructure to choose the appropriate handler framework the
menuContributions do.
Hmm, that is an interesting question... Anyone have any ideas?
-Stu Pond
"Page" <pagew2000@yahoo.com> wrote in message
news:ed01e0f397903ffc355ea440af68e664$1@www.eclipse.org...
> Hi,
>
> I have several perspectives that contribute to a Send To popup menu.
> [Select on object in the perspective, right mouse click and Send To popup
> menu will show a list of perspectives.] And in one of perspectives, I want
> to add SendTo information in one of the views (using a combobox to list
> the perspectives). It should be the same list for sendto from popup menu.
> But since it
|
|
|
Powered by
FUDForum. Page generated in 0.03345 seconds