[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[News.eclipse.technology.gmf] How to register property filters?

I'm trying to implement custom property tabs to replace the default ones. I'm basing my work on Anthony Hunter's article as well as a code snippet from Linda Damus.

I'm able to create new tabs using existing GMF sections and filters. However, as soon as I provide my own filter instead of DiagramEditPartPropertySectionFilter for example, the tab doesn't show anymore. I've put a breakpoint is the select() method: it is never invoked!

I've verified the <propertySection> element which is correctly pointing to my filter class. It seems that the filter must somehow register itself into the framework. Could someone explain me how?

---
Jerome Louvel
http://www.noelios.com