Sunday, October 02, 2005

To add a property page to an object

1) Add extension : org.eclipse.ui.propertyPages. In this extension, specify:
  • the object class with whom the property page will be associated.

  • the property page which extends the org.eclipse.ui.dialogs.PropertyPage. the property page will be shown in the property dialog.

  • 2) Add action org.eclipse.ui.dialogs.PropertyDialogAction to your context menu, so that it will be available for the selected object.

    0 Comments:

    Post a Comment

    << Home