DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Plugin menu items
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Mar 2008
Default Plugin menu items - 03-27-2008, 04:24 AM

Hi friends,

I'd like to develop a Rich Client application which accepts several plugins as extension. Currently I tried the following:

I created two similar plug-in projects which have the same settings:
- Create a Java project: yes
- Target platform: 3.3
- Generate an activator: yes
- This plug-in will make contributions to the UI: yes
- RCP application: yes
- Based on the Hello RCP template

I added a product configuration to both of them. Each of them got an actionSet as well. Just the label of the actionSet and the unerlying action is different.

Once everything is done, I deploy both plugins to the same directory. The result is an exe-file "eclipse.exe" and a subfolder "plugins" which contains both plugins. Plus some more folders and some more plugins and other files. If I start "eclipse.exe" I do always get the menu of the plugin, which was deployed at last. Why not both menus?

In case I copy both plugin-jar-files in the plugin directory of the eclipse IDE (for Java development) and I restart eclipse with the parameter "-clean" I see both menus in the eclipse IDE.

What do I have to do, to see them both in my standalone application ???

Thanks for your help!

Regards, Eric
Reply With Quote
  (#2 (permalink)) Old
Member
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Mar 2008
Default 03-27-2008, 05:14 AM

Ok, I found out, that there is a file called "config.ini" within the configuration directory. In this file, the tag "osgi.bundles" can be found. If I add the missing plugin to the list, which employs "osgi.bundles", both menus are visible. But there must be a possibility to scan for additional plugins at startup automatically, isn't it?

thank you once again!

Eric
Reply With Quote
Reply

Tags
menu, plugin, rcp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Arrange a List of items in to alphabetical Order kotireddy.sumanth Zones 1 09-17-2008 06:10 AM
Problem with deleting Items from the Context Menu of my RCP App. alwin74 Eclipse 0 07-30-2008 09:09 AM
Contributing ToggleState menu items or ViewFilter(Action) contributions.. (3.3) joco Eclipse 0 07-01-2008 04:41 AM
How to disable items on the Dynamic pull down on Toolbar? roller Eclipse 0 04-28-2008 03:21 AM
Coloring the Alternate List Items jayjamba Eclipse 0 04-24-2008 02:00 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com