|Different Pages of Properties View for selection in the same Common Navigator [message #525724]
||Wed, 07 April 2010 15:09
| Sorin Fagateanu
Registered: July 2009
I would like, when I am in a Common Navigator (for example in Project Explorer), when clicking on elements of my type, the Properties View to show my custom Page and when clicking on the other(still in Common Navigator), to show the default page in the Properties View.
More exactly I will have an EMF model file and when I will click on elements inside I would like my own page to appear in the Properties View. My custom page can be seen as a html that needs to be all over the Properties View.
Until now I have implemented my own page in a simple way, only extending the org.eclipse.ui.part.Page, implementing IPropertySheetPage, these being done in a similar way to the TabbedPropertySheetPage, the viewer inside just being a simple org.eclipse.swt.browser.Browser.
My problem is that I do not know how to "link" my own page in order to be shown only when my kind of elements are selected in the Common Navigator. What suggestions do you have for me?
Thank you in advance for you time,
[Updated on: Wed, 07 April 2010 15:09]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.04469 seconds