Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Common Navigator Framework(Pop-up Menus in Common Navigator Framework)
Common Navigator Framework [message #901695] Tue, 14 August 2012 07:59 Go to next message
Priyank Thakkar is currently offline Priyank ThakkarFriend
Messages: 8
Registered: August 2012
Junior Member
Hi,

I am using Eclipse's common navigator framework. For the pop-up menu within CNF I set the attribute allow-platformcontribution to false. Yet I am not able to remove the pop-up option for Cut, Copy, Paste and Team. How to set them off?

Regards,
Priyank Thakkar
Re: Common Navigator Framework [message #902016 is a reply to message #901695] Wed, 15 August 2012 13:55 Go to previous message
Mat Mathiew is currently offline Mat MathiewFriend
Messages: 29
Registered: July 2012
Junior Member
You just solved my problem!

For me it works like this and I can see only the contributions I made.
If you don't want the edit you can remove for example :

         <insertionPoint
               name="group.edit"
               separator="true">
         </insertionPoint>


   <viewer
         viewerId="mycustomnavid">
      <popupMenu
            allowsPlatformContributions="false"
            id="mycustomnavid#PopupMenu">
         <insertionPoint
               name="group.new">
         </insertionPoint>
         <insertionPoint
               name="group.open"
               separator="true">
         </insertionPoint>
         <insertionPoint
               name="group.openWith">
         </insertionPoint>
         <insertionPoint
               name="group.edit"
               separator="true">
         </insertionPoint>
         <insertionPoint
               name="group.reorganize">
         </insertionPoint>
         <insertionPoint
               name="group.port"
               separator="true">
         </insertionPoint>
         <insertionPoint
               name="group.build"
               separator="true">
         </insertionPoint>
         <insertionPoint
               name="group.generate"
               separator="true">
         </insertionPoint>
         <insertionPoint
               name="group.search"
               separator="true">
         </insertionPoint>
         <insertionPoint
               name="additions"
               separator="true">
         </insertionPoint>
         <insertionPoint
               name="group.properties"
               separator="true">
         </insertionPoint>
      </popupMenu>
   </viewer>

[Updated on: Wed, 15 August 2012 13:58]

Report message to a moderator

Previous Topic:multiple column table header
Next Topic:Unwanted menu contributions CNF
Goto Forum:
  


Current Time: Mon Nov 24 00:27:21 GMT 2014

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

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