Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Opening hte p2 update ui with eclipse commands?
Opening hte p2 update ui with eclipse commands? [message #503929] Wed, 16 December 2009 14:11 Go to next message
Florian Weidemann is currently offline Florian Weidemann
Messages: 4
Registered: December 2009
Junior Member
Hello,

I'm currently working on a project that I want to include the p2 update ui in. I found some tutorials that explain how to include the ui into my own RCP applications, however I would like to open the UI windows either by using my own org.eclipse.ui.commands or open them programmatically instead of using the standard menu contributions.
Can someone please tell me how I can do this?

Thanks, Florian
Re: Opening hte p2 update ui with eclipse commands? [message #503997 is a reply to message #503929] Wed, 16 December 2009 13:40 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You can use the IHandlerService to execute the command (the same one you
would have put in the menu contribution).

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Opening hte p2 update ui with eclipse commands? [message #504133 is a reply to message #503997] Thu, 17 December 2009 11:59 Go to previous message
Florian Weidemann is currently offline Florian Weidemann
Messages: 4
Registered: December 2009
Junior Member
Yes, but the problem is that I don't know wich commands I need to execute, since Equinox normally contributes two Menu items to the Helpmenu automatically.
I tried finding the commands for a while now, but no sucess so far.
Previous Topic:Listening to removed Extensions and ExtensionPoints
Next Topic:Equinox secure store password not retrieved on IDE crash
Goto Forum:
  


Current Time: Tue Sep 16 15:27:09 GMT 2014

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

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