Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » possible to use a view's secondary id in plugin.xml?
possible to use a view's secondary id in plugin.xml? [message #449117] Wed, 10 May 2006 11:52 Go to next message
Eclipse UserFriend
Originally posted by: victor.mao.ugs.com

Hi,

I have several view instances for a view, when I bring one instance to front, I want certain menus to show up only for this view instance. I am wondering if there is a way to declaratively to achieve that in plugin.xml without using any java code?

For example, if I have the following:
<extension point="org.eclipse.ui.actionSetPartAssociations">
<actionSetPartAssociation targetID="org.example.sampleActionSetId">
<part id="org.example.sampleview_primaryid"/>
</actionSetPartAssociation>
</extension>

I have checked all docs I an find, I cannot find anything related to use secondary id declarative in plugin.xml.
This may be an enhancement if Eclipse plugin/rcp does not have this feature.

Any ideas about this?

thanks,
Re: possible to use a view's secondary id in plugin.xml? [message #449118 is a reply to message #449117] Wed, 10 May 2006 11:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: victor.mao.ugs.com

Sorry, actionSetPartAssociations code did not show up somehow, here it is:

<extension point="org.eclipse.ui.actionSetPartAssociations">
<actionSetPartAssociation
targetID="sampleActionSetId">
<part id="sampleViewPrimaryId"/>
</actionSetPartAssociation>
</extension>
Re: possible to use a view's secondary id in plugin.xml? [message #449119 is a reply to message #449118] Wed, 10 May 2006 11:57 Go to previous message
Eclipse UserFriend
Originally posted by: victor.mao.ugs.com

Seems I cannot post extension tags. Sorry.
Previous Topic:RCP external library importing
Next Topic:Log4j file appender not writing to file
Goto Forum:
  


Current Time: Sun Aug 31 04:33:08 EDT 2025

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

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

Back to the top