| Plugin Activation [message #908637] |
Wed, 05 September 2012 13:52  |
|
I'm developing some plugins that add actions to the popup menu when files are selected.
The plugins are working fine when I test them using the "Run as Eclipse Application".
However, when I export the plugins, the actions are not shown in the popup menu. Looking at "Eclipse Platform Installation Details > Configuration", in "Plug-in Registry", I see that the plugins are listed as "Installed", whereas other plugins appear as "Active" or "Starting".
So, I assume that the problem is that the plugins are not being activated. I've already tried to use the "org.eclipse.ui.startup" extension point, with no success.
Does anybody know how to fix this problem?
The plugin.xml code I'm using is shown below.
Thanks in advance.
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension point="org.eclipse.ui.popupMenus">
<objectContribution
adaptable="false"
id="Arch.sync.mod1"
objectClass="org.eclipse.core.resources.IFile">
<menu
id="Arch.menu"
path="additions"
label="Arch">
<separator name="group1" />
</menu>
<action
class="arch.sync.actions.SyncAction"
id="Arch.sync.action1"
label="Sync Arch"
menubarPath="Arch.menu/group1">
</action>
</objectContribution>
</extension>
<extension point="org.eclipse.ui.startup">
<startup class="arch.sync.Startup" />
</extension>
</plugin>
Rui Carlos Gonçalves
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01787 seconds