[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Programmatically create nodes and links
|
- From: Tomas Zijdemans <trommas@xxxxxxxxx>
- Date: Thu, 27 Sep 2007 11:43:17 +0200
- Newsgroups: eclipse.modeling.gmf
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
Hi all :)
I want to create a Node in my editor based on some input. I tried first
in EMF editor, with this code:
LibraryFactory factory = new LibraryFactory.eINSTANCE
Book book = factory.createBook()
..but this don't seem to work. In GMF, the only clue I found was the
XYZEditpart.createNodeFigure() method, but I haven't figured out a way
to call that properly.
Any ideas?
Regards
Tomas