Changes between Version 5 and Version 6 of ModelNavigator
- Timestamp:
- Mar 5, 2008, 5:18:53 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ModelNavigator
v5 v6 24 24 2. The method {{{getContributorId()}}} must return the ID that is returned by {{{getContributorId()}}} of your XXXDiagramEditor class. 25 25 3. Implement the method {{{getAdapter}}} similar to the following: 26 {{{public Object getAdapter(Class type) { 26 {{{ 27 public Object getAdapter(Class type) { 27 28 if (type == IPropertySheetPage.class) { 28 29 return new PropertiesBrowserPage(this); 29 30 } 30 31 return super.getAdapter(type); 31 }}}} 32 } 33 }}}