Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to get a list of sendto perspectives
How to get a list of sendto perspectives [message #329314] Wed, 18 June 2008 13:02 Go to next message
Eclipse UserFriend
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’s 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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Selecting the message.properties files which should be used
Next Topic:retargetable actions: EditorAction
Goto Forum:
  


Current Time: Sun May 04 16:07:50 EDT 2025

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

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

Back to the top