Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » RCP applications without org.eclipse.ui.workbench
RCP applications without org.eclipse.ui.workbench [message #541966] Wed, 23 June 2010 12:12 Go to next message
Mattias  is currently offline Mattias Friend
Messages: 6
Registered: June 2010
Junior Member
Hi All,

I have Eclipse Wizard which I would like to run from within the IDE and as an RCP application. I have a dependency to org.eclipse.ui to access SWTand jFace however org.eclipse.ui has a dependency to org.eclipse.ui.workbench which I do not need. Currently I have a dependency to org.eclipse.ui.workbench but it is never started. Why does this dependency exist?

I would also like to be able to launch the help from my RCP but the only way I found is via the workbench. I know it is possible through org.eclipse.help.standalone but it seems unnecessary to start another Eclipse instance when I already have one running, any ideas?

/Mattias

[Updated on: Wed, 23 June 2010 12:13]

Report message to a moderator

Re: RCP applications without org.eclipse.ui.workbench [message #541977 is a reply to message #541966] Wed, 23 June 2010 12:33 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You can create a headless RCP app, Try the Hello World RCP app template
when creating a plugin.

org.eclipse.ui is part of the workbench. If you just want to use
org.eclipse.swt and org.eclipse.jface, then only use those bundles.
You'll be responsible for creating the display and running the display
loop in your headless application start(*) method.

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


Previous Topic:Hidden editor markers
Next Topic:Dynamically expanding sub-menu on right click
Goto Forum:
  


Current Time: Sun Dec 21 23:58:58 GMT 2014

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

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