|
Re: Node borders [message #163687 is a reply to message #163522] |
Mon, 03 December 2007 13:02 |
Eclipse User |
|
|
|
Originally posted by: 5d5.mail.ru
There are two options:
1. Find editpart in question and there should be a method that creates
the figure. Add '@generated NOT' to it's javadoc and modify the code to
use custom border.
2. Create a custom figure class that uses required border and in gmfgen
model replace existing viewmap with FigureViewmap - it allows to specify
qualified figure class name.
Paolo Russian wrote:
> I have a large gmfgen I cannot re-build from merging the graph tool
> ecc.. because a lot of numbers we've set gets changed randomly, but I
> need to give to an element a custom border, so I can set from property
> sheet the line width and get the border changed that way, programmatically.
> I read some post regarding custom borders all of them telling to change
> the gmfgraph file. Since I cannot do this, what I've gotta do in the
> gmfgen (I can edit gmfgen and regenerate, editparts numbering is defined
> in here) to have a custom border? I cannot find any property looking
> similar to this.
> If it's not possible doin this from model, Is it possible to do it
> somehow by code?
> Thanks :)
>
> Paolo Russian
>
|
|
|
Powered by
FUDForum. Page generated in 0.03355 seconds