Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Popup menu not shown for Modelling Perspective
Popup menu not shown for Modelling Perspective [message #299463] Fri, 17 February 2006 07:46 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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>
>
Previous Topic:Current cursorposition of TextEditor
Next Topic:After save, editor still thinks it's dirty
Goto Forum:
  


Current Time: Mon May 12 12:43:07 EDT 2025

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

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

Back to the top