Skip to main content



      Home
Home » Archived » BPMN Modeler » Resize graphics
Resize graphics [message #516208] Tue, 23 February 2010 03:43 Go to next message
Eclipse UserFriend
Hi,

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?

Thanks,

--Verena
Re: Resize graphics [message #516796 is a reply to message #516208] Thu, 25 February 2010 03:47 Go to previous message
Eclipse UserFriend
I finally found a solution in using the BPMNVisualProcessGenerator instead of BPMNVisual2ProcessGenerator. This resizes and postions my graphics correctly.

Unfortunately now there are two graphics added. One with my size and position and another one with the default values. *sigh

What is it?
Previous Topic:[Announce] Eclipse/OMG Symposium 2010
Next Topic:Update 1.2.0 available
Goto Forum:
  


Current Time: Thu Jul 24 17:47:40 EDT 2025

Powered by FUDForum. Page generated in 0.02624 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top