Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse Plugin Development(Eclipse Plugin Development)
Eclipse Plugin Development [message #986901] Thu, 22 November 2012 10:24
Biswajit Tah is currently offline Biswajit TahFriend
Messages: 2
Registered: November 2012
Junior Member
Hi,

I am developing a plugin for new context menu entry to the Package explorer part.This development is working fine when the perspective is java but when i am change the perspective other than java then menu is not coming in Package explorer.

Plugin.xml is below.
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.jdt.ui.PackageExplorer">
<command
commandId="qmbhotdeploymentdemo.convert"
label="Create HTML"
style="push">
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
defaultHandler="qmbhotdeploymentdemo.Convert"
id="qmbhotdeploymentdemo.convert"
name="Convert">
</command>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
id="org.eclipse.ui.resourcePerspective"
name="Resource"
class="org.eclipse.ui.internal.ResourcePerspective">
</perspective>
</extension>


</plugin>

Please help me where I have missed.

Thanks,
Biswajit
Previous Topic:Can't find clone button!?
Next Topic:How to toggle views at startup from the code?
Goto Forum:
  


Current Time: Tue Apr 13 20:29:09 GMT 2021

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

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

Back to the top