GMF does not know which plugin provides the property tabs for the editor, it just declares the contributor ID for someone who wants to provide its contents here. So there is no code in diagram plugin to change.
Instead, you need to reference this diagram controbutor ID from EEF plugin:
- in the diagram plugin. search for: org.eclipse.ui.views.properties.tabbed.propertyContributor extension, it will be like this:
Quote:
- note the contributorId (in bold)
- note one of the existing categories (in bold)
- copy/paste the "org.eclipse.ui.views.properties.tabbed.propertyTabs" and "org.eclipse.ui.views.properties.tabbed.propertySections" extensions from EEF-generated plugin.xml fragment to the real plugin.xml for edit plugin (if you followed the EEF tutorial, you may already have one copy of these 2 extensions there for EMF tree editor)
- in the BOTH copy/pasted duplicated extensions replace the EEF contributorID to the GMF contributor id (first bold from step1), so in my sample it would be:
- in the copy/pasted "org.eclipse.ui.views.properties.tabbed.propertyTabs" extension replace the category="<whatever>" by the actual category from GMF (second bold from step1 -- e.g "domain"):
Hi,
I've tried the steps before...but nothing happened...i have the default property view.
I've followed the "EMF tree editor example" and everything went ok..i continued creating a simple GMF diagram but the modification to the plugin.xml file inside the edit project did nothing....
There is any passage i forgot? Or something else that must to be done in order to see the EEF property view?