Changes between Version 4 and Version 5 of ModelNavigator


Ignore:
Timestamp:
Mar 5, 2008, 5:18:38 PM (16 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ModelNavigator

    v4 v5  
    2323  1. The view must implement {{{ITabbedPropertySheetPageContributor}}}
    2424  2. The method {{{getContributorId()}}} must return the ID that is returned by {{{getContributorId()}}} of your XXXDiagramEditor class.
     25  3. Implement the method {{{getAdapter}}} similar to the following:
     26{{{public Object getAdapter(Class type) {
     27    if (type == IPropertySheetPage.class) {
     28       return new PropertiesBrowserPage(this);
     29    }
     30    return super.getAdapter(type);
     31}}}}