Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Common Navigator Framework"

(How to use the CNF with Resources in an RCP Application)
Line 20: Line 20:
 
your resources.  It's possible add the CNF to an RCP application in just a few minutes using these steps:
 
your resources.  It's possible add the CNF to an RCP application in just a few minutes using these steps:
  
 
+
# Add a View extension (org.eclipse.ui.views) which uses the class org.eclipse.ui.navigator.CommonNavigator.
 +
<pre>
 +
  <extension
 +
        point="org.eclipse.ui.views">
 +
      <view
 +
            name="View"
 +
            class="org.eclipse.ui.navigator.CommonNavigator"
 +
            id="example.view">
 +
      </view>
 +
  </extension>
 +
</pre>
 +
#
  
  

Revision as of 11:37, 2 June 2008

Template:Platform UI The Common Navigator Framework (CNF) is designed to help you integrate document models into a navigator experience, integrate content that isn't specific to the workbench, allow you to absorb other content seamlessly (in particular resource and Java(tm) models), and mitigate your expense in time and effort to absorb incremental enhancements from release to release from layers beneath you.

The CNF began as a product solution for a general problem in IBM Rational Application Developer v6.0, and has been contributed to the open source Eclipse Platform in 3.2 to allow the community to better integrate their navigational viewers and provide a more cohesive user experience across software layers and products.

To begin using the CNF, developers should consult the schema and API documentation in the Platform Help (Window > Help > Platform Developer's Guide > Reference > Schema + API).

Also have a look at the following resources for the CNF:

We are interested in your Common Navigator Framework Use Cases.


How to use the CNF with Resources in an RCP Application

If you are using resources (org.eclipse.core.resources), using the CNF is the preferred way to allow your clients to manipulate your resources. It's possible add the CNF to an RCP application in just a few minutes using these steps:

  1. Add a View extension (org.eclipse.ui.views) which uses the class org.eclipse.ui.navigator.CommonNavigator.
   <extension
         point="org.eclipse.ui.views">
      <view
            name="View"
            class="org.eclipse.ui.navigator.CommonNavigator"
            id="example.view">
      </view>
   </extension>

Back to the top