Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Element in a compartment and Top Node problem
Element in a compartment and Top Node problem [message #102810] Sat, 10 February 2007 02:08 Go to next message
Eclipse UserFriend
Originally posted by: mirkata_bg.hotmail.com

Hi all,
I have a problem with the compartments. I have build a simple BPMN
editor on my own with only few elements and I wanted to make this sub
process elemnt using a compartment. In my editor all elements are top
nodes - activity, start, end.I made a compartment subprocess that contains
also these elements. It is collapsible.
The problem is that wehn I draw in the subtask and drag an element
outside its boarders, they are not extended but the elemnent drops on the
whole diagram, since it is a topnode elemnt and the editor thinks that I
want to move it outside the compartment.
The whole day yesterday I tied to solve it but the olny way that I
saw is to define all the elements twice, which is stupid, since I have to
define the relations too. How can I restrict that an elemnt stays in the
compartment? If I have to use OCL please give me an example since I dont't
know this language.
The other problem that I have with compartments is that while
extended if I change the size by dragging on the edges, then only the
internal elements collapse and not the whole comprtment figure. Is this a
bug?
Some peripheral questions are, how can I make the comprtment be always
to the front?

I will be very very glad if someone helps me at least with the first
problem,
Miroslav
Re: Element in a compartment and Top Node problem [message #102946 is a reply to message #102810] Mon, 12 February 2007 06:43 Go to previous message
Eclipse UserFriend
Originally posted by: mirkata_bg.hotmail.com

Hi,
I have solved this with the defualt size of the expanded compartment by
setting the preffered size of the ScrollPane in
ResizableCOmpartmentFigure. The other problems are stil there :-)

Miro
Previous Topic:Symbols in diagram jump sometimes
Next Topic:diagram code
Goto Forum:
  


Current Time: Sun May 11 23:39:23 EDT 2025

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

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

Back to the top