[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[News.eclipse.technology.gmf] Getting child elements in the property view

Hi,
This is about the advanced properties tab when clicking on any element in GMF editor.


If I click on a "Book" figure, I can see its attributes editable in the properties window below. However if the Book has a child element, they don't get picked up in the properties page.

a) I *could* have modeled it as a compartment. The reason why I wouldn't want to do this, is that my figures are going to go 4-5 levels down and I do not want that many levels of compartment
b) Also I don't want the second level node outside the diagram having a link to the first node.


Is there some special annotation, by which elements will get picked up? I tried reading up the PropertyContributions extension, but that seems a lot of code from scratch.

Could someone tell me if we can readily mark an element of "Book" say a "Writer" as to be available in the properties page of "Book".(Something to do with the Structural features annotation may be ??)

Thanks,
Kannan