|Dynamic contribution to the Tabbed property view [message #805963]
||Fri, 24 February 2012 10:52
| Jan Krakora
Registered: December 2009
I have a problem with the tabbed property view.
Let's say I have an editor and want it support the tabbed property view.
I can do it following the Anthony Hunter's article http://www.eclipse.org/articles/Article-Tabbed-Properties/tabbed_properties_view.html
But what if I need change some tab labels based on a selection?? I can't
use the "static" way with tabs and section contributed using extension points,
but I have to provide my own ITabDescriptorProvider, right?
I also have to implement all those ITabDescriptors and even ISectionDescriptors
because the registry is now obtaining the sections from ITabDescriptors
provided by my ITabDescriptorProvider and sections contributed through
propertySections extension points are ignored.
What if someone else in its own plugin would like to extend any of my tab? Or
even add its own tab? With the "static way" it was easy, but how can one
archive this with "dynamic" way?
Powered by FUDForum
. Page generated in 0.02648 seconds