Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to switch from application to plugin
How to switch from application to plugin [message #461233] Sun, 07 January 2007 16:15 Go to next message
Michelle Tadmor is currently offline Michelle TadmorFriend
Messages: 23
Registered: July 2009
Junior Member
How can i change my rich client Application to run as an eclipse Plugin?
can i do so from the manifest?

I chose rich client application in the new project wizard and now i can't
find how to switch it to run as a plugin in a target eclipse ide.

thanks
Re: How to switch from application to plugin [message #461244 is a reply to message #461233] Sun, 07 January 2007 19:24 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
Any rich client application is hosted in one (or more) plugins anyway, so you don't have to switch anything.

When you create a launch configuration (Run -> Run...) you can select a new type of application to run e.g. the Eclipse SDK or an empty workbench.

Alex.
Re: How to switch from application to plugin [message #461260 is a reply to message #461244] Mon, 08 January 2007 12:00 Go to previous messageGo to next message
Michelle Tadmor is currently offline Michelle TadmorFriend
Messages: 23
Registered: July 2009
Junior Member
I am now able to run on the platform as a plugin but i'm still have lots
of problems. for example i can't find my tool bar that was shown when i
was running standalone. In general i think it would be usefull to get some
developing tips for a product that needs to be available both as a plugin
and as standalone.

for the sake of having a clear answer when this question pops for a googler
the basic difference in the runner is
run>run...>main
choose radio button "run a product" and select org.eclipse.sdk.ide
run>run...>plugins
choose radio button "choose plug-ins and fragments..."
select your plugin
and select all of "Target Platform"
Re: How to switch from application to plugin [message #461296 is a reply to message #461260] Mon, 08 January 2007 23:41 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
Stuff that gets contributed by the ApplicationWorkbenchAdvisor is not going to be present when you have a different product. You should probably consider contributing your menu items etc. by a plugin.xml entry that defines the menus, or use a perspective to host the view. That way, you can use the perspective in the RCP application, or you can use the perspective in the IDE.

Alex.
Previous Topic:Workbench menus and NLS
Next Topic:editor save
Goto Forum:
  


Current Time: Sat Apr 27 00:36:17 GMT 2024

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

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

Back to the top