[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] "List" layout on canvas
|
Hi,
I want to have a "list" layout on the canvas of my gmf editor.
- no overlap
- one element by line
- a policy with horizontal line to indicate to user between each elements th e new or moved element will be placed after drop
By now I try :
- gmfgen-> gen editor generator -> gen diagram -> figure view map -> layout type : FLOW_LAYOUT
- set a layout editpolicy
result :
at the creation my element are correctly set in place (more or less, they are always added at the end of the list) but they are one per line
when I close and reopen or refresh they reduce them as little square and I've got a lot in the same line even if I set a minimun dimension
For the line guiding the user, it appears on each EditPart but not between them, i.e. not on the canvas
So how can I do that? will my approach good?
Thanks by advance for any hints
Aurelien Pupier