|Resize graphics [message #516208]
||Tue, 23 February 2010 08:43
Registered: July 2009
I've tried several things now to change the size and position of an automatically inserted task.
I finally ended up in using this call:
generator.addActivity(pool, "MyTask", ActivityType.TASK, x, y, width, height)
But this does not work. The size is always set to the default size - same with the location.
I also tried overriding several methods such as createNodePlate and createNodeShape with no usable result.
Note, that I do NOT want to override the paint()-method. I want the graphic to be changed not only to be displayed the way I want.
Could someone give me a hint, what I'd need to do?
Powered by FUDForum
. Page generated in 0.01703 seconds