Today I finally went through the CNF tutorials by Michael. It’s a famous online one, located at
http://scribbledideas.blogspot.com/2006/07/pdf-versions-now-available.html
My task is to customize all menu items in our customized navigator. There are generally 2 ways to contribute menus in Common Navigator Framework:
1. Contribute via platform popup menu extensions (viewerContribution and objectContribution).
2. Via ActionProvider inside CNF.
I wish to remove all contributions in the additions section (mainly by objectContribution) and Import/Export actions (via ActionProvider).
To achieve the first aim, set the navigator viewer subnode <popupMnu allowsPlatformContributions=”false” >…</popupMenu>.
To achieve the second goal, remove the following insertionPoint from <popupMenu />:
-
-
<insertionPoint
-
name="group.port"
-
separator="true">
-
</insertionPoint>
-