[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] need help on GMF graphic definition, how to add a vertical line in a rectangle?
|
Hi Everyone,
I am new to GMF, and I managed to implement a simple editor following the
tutorials.
But when I moved to define my own figures, I get confused in the several
layout choices and their attributes ...
What I want is simply like this:
©°©Ð©Ð©¤©¤©¤©¤©¤©´
©¦©¦©¦ label ©¦
©¦©¦©¦ ©¦
©¦©¦©¦ ©¦
©¸©Ø©Ø©¤©¤©¤©¤©¤©¼
is there anyway to add a line into a rectangle from the graphic definition?
Add a line as a child to the rectangle and then how to define its position?
Or I have to write code for it (I have seen some sample code but I can't
find it right now...)?
Then how about the graph like this:
(add a rectangle as child, and then add a polyline into it?)
©°©Ð©Ð©¤©¤©¤©¤©¤©´
©¦©¦©¦ label ©¦
©¦©¦©¦ ©°©¤©È
©¦©¦©¦ ©¦X ©¦
©¸©Ø©Ø©¤©¤©¤©Ø©¤©¼
I am not quite clear about the several layout styles(xy,grid,flow...), is
there any documents about this?
Your help will be much of my appreciation.
We need a book about GMF!!
Cheers
Bo Liu