Popup menu not shown for Modelling Perspective [message #299463] |
Fri, 17 February 2006 07:46  |
Eclipse User |
|
|
|
Originally posted by: zhengxie.ie.ibm.com
In Rational Application Developer + Rational Software Modeller, I have a
plugin to have a popup menu "Fsm Extractor - Generate SQL" shown on a
selected *.emx file. When the perspective in "Java", the popup menu is
shown as expected. But when the perspective is changed to "Modelling", it
isn't shown. What could be the reason? Here I paste part of the
plugin.xml. Appreciate your help!
<extension
point="org.eclipse.ui.popupMenus">
<objectContribution
objectClass="org.eclipse.core.resources.IResource"
nameFilter="*.emx"
id="FsmExtractor.contribution1">
<menu
label="Fsm Extractor"
path="additions"
id="FsmExtractor.menu1">
<separator
name="group1">
</separator>
</menu>
<action
label="Generate SQL"
class="com.ibm.pmp.fsm.extr.popup.actions.GenerateSqlAction "
menubarPath="FsmExtractor.menu1/group1"
enablesFor="1"
id="FsmExtractor.newAction">
</action>
</objectContribution>
</extension>
|
|
|
Re: Popup menu not shown for Modelling Perspective [message #299464 is a reply to message #299463] |
Fri, 17 February 2006 08:07  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Jenny,
I'm not sure, but maybe that perspective isn't displaying IResource
instances directly and isn't providing adapter support for it either.
Probably it's best to get the answer from the provider of the perspective...
Jenny wrote:
> In Rational Application Developer + Rational Software Modeller, I have
> a plugin to have a popup menu "Fsm Extractor - Generate SQL" shown on
> a selected *.emx file. When the perspective in "Java", the popup menu
> is shown as expected. But when the perspective is changed to
> "Modelling", it isn't shown. What could be the reason? Here I paste
> part of the plugin.xml. Appreciate your help!
>
> <extension
> point="org.eclipse.ui.popupMenus">
> <objectContribution
> objectClass="org.eclipse.core.resources.IResource"
> nameFilter="*.emx"
> id="FsmExtractor.contribution1">
> <menu
> label="Fsm Extractor"
> path="additions"
> id="FsmExtractor.menu1">
> <separator
> name="group1">
> </separator>
> </menu>
> <action
> label="Generate SQL"
>
> class="com.ibm.pmp.fsm.extr.popup.actions.GenerateSqlAction "
> menubarPath="FsmExtractor.menu1/group1"
> enablesFor="1"
> id="FsmExtractor.newAction">
> </action>
> </objectContribution>
> </extension>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04128 seconds