Change existing outline view [message #644474] |
Sat, 11 December 2010 19:40 |
Artjom Messages: 9 Registered: December 2010 |
Junior Member |
|
|
Hi,
i have generated some ecore model and then generate gmf parts, but the default implementation of outline view shows my parent-children tree only at first level(show only first parents, but not the children).
Is it ok, or maybe I have generated something wrong?
If this is ok, then i must override method getOutlineViewEditPartFactory and create my own edit parts, but the problem is that the method getChildren() of org.eclipse.gmf.runtime.notation.impl.ShapeImpl returns empty list(but he has the children), than I have tried to use method shape.getElement() - here i receive an ecore representation of my ShapeImpl, but I don't now how to convert this ecore repsresentation to corresponding EditPart
|
|
|
Powered by
FUDForum. Page generated in 0.02782 seconds