[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] extending the Diagram notation interface
|
Hello everybody,
I extended the Diagram because I need to introduce some additional
references.
Is it possible to hook the new "MyDiagram" EClass by means of the tooling?
The only point I could think of is in the .gmfgen - the Diagram Element /
Diagram Run Time Class
property of the "Gen Diagram XXXEditPart" .
I loaded my new notational .ecore in the .gmfgen and expected the new
"MyDiagram" type to
appear as a choice in the said "Diagram Run Time Class" combo. It didn't,
however : (
Whet is the right way to hook a new Diagram notation type to the generated
editor?
By the way, in that "Diagram Run Time Class" combo one can choose between
the
Ecore types ( EClassifier, EObject ...) and notation types ( View, Edge
...).
Isn't this misleading? Does "Diagram Run Time Class" mean the ruin-time
class of
the semantic element or the view element?
Cheers,
Theo