Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Problems when using "Affixed Parent Side" property
Problems when using "Affixed Parent Side" property [message #64293] Tue, 17 October 2006 14:35 Go to next message
Jacques LESCOT is currently offline Jacques LESCOT
Messages: 247
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010407060901050508060108
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I am playing with the "Affixed Parent Side" property that is availble
for a Node and I get unexpected behavior.

1. The constraint seems to be checked only at the element creation. For
example, I have configured my graphical defintion with the property set
as "WEST" to only attach objects on the left of the container node.
Then, in my generated editor, when I create a child element, this work
well, the element is attached to the left border of its container. But
when I try to move it, I can also attach it to the right border. I would
have expected to "only" enable attachment to the left border as this was
done at the creation.

2. Another problem of refresh happens when I move an element that
contains children elements associated with a Label. The children figure
is correctly moved, but not the Label. I have attached two screenshots
to best describe the problem. The first shows my graphical elements
before I move the container element. The second shows what happens after
I move it. Then, if I move one of the two child elements, labels are
correctly replaced. What have I missed ?

Thanks in advance.


Jacques

--------------010407060901050508060108
Content-Type: image/jpeg;
name="beforeMove.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="beforeMove.jpg"

/9j/4AAQSkZJRgABAQEASABIAAD/4QAWRXhpZgAATU0AKgAAAAgAAAAAAAD/ 2wBDAAUDBAQE
AwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8SEhEPERETFhwXExQaFRERGCEYGh0d Hx8fExciJCIe
JBweHx7/2wBDAQUFBQcGBw4ICA4eFBEUHh4eHh4eHh4eHh4eHh4eHh4eHh4e Hh4eHh4eHh4e
Hh4eHh4eHh4eHh4eHh4eHh4eHh7/wAARCACjAT4DASIAAhEBAxEB/8QAHQAB AQACAwEBAQAA
AAAAAAAAAAUGBwMECAIJAf/EAD8QAAEEAQECDAMFBwMFAAAAAAABAgMFBBEG FQcSEyExNFNV
lJXR0lF0sxQiMkFhCCM3Y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BQBP33S971/iWeo33S971/iWeoFAE/fdL3vX+JZ6jfdL3vX+JZ6gUAT9 90ve9f4lnqN9
0ve9f4lnqBQBP33S971/iWeo33S971/iWeoFAn3/AFGP5vG+uwb7pe96/wAS z1Opb2tZk48M
OPY4c0rsvG4rI52ucv75i8yIoFsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAH/2Q==
--------------010407060901050508060108
Content-Type: image/jpeg;
name="afterMove.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="afterMove.jpg"

/9j/4AAQSkZJRgABAQEASABIAAD/4QAWRXhpZgAATU0AKgAAAAgAAAAAAAD/ 2wBDAAUDBAQE
AwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8SEhEPERETFhwXExQaFRERGCEYGh0d Hx8fExciJCIe
JBweHx7/2wBDAQUFBQcGBw4ICA4eFBEUHh4eHh4eHh4eHh4eHh4eHh4eHh4e Hh4eHh4eHh4e
Hh4eHh4eHh4eHh4eHh4eHh4eHh7/wAARCADqAVwDASIAAhEBAxEB/8QAGwAB AQEAAwEBAAAA
AAAAAAAAAAYHBAUIAgn/xABEEAABAwIDAwgHBgQDCQAAAAAAAQIDBAUGERIH V9QTFBYXITGT
lQgiOEF2tLUVMjdRYXUJRoXEI0JxJCUmNlJicoGR/8QAGwEBAAICAwAAAAAA AAAAAAAAAAED
AgYEBQf/xAAuEQEAAQMCBAQDCQAAAAAAAAAAAQIDEQQhBQYSMUFRYYEHE5EV MjM2UoKhsvD/
2gAMAwEAAhEDEQA/APZYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAA
AAAAAAAAAAAAAAAAAZn6R21fqewPR4m+wftvnNyZQ8355zfTqilfr1aH55cl lll7+/s7dMIj
blXVtu2dy1VvrKikqEulrYksEisfpfcKdj25oueTmuc1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AAAAAAAAAAAAAD/9k=
--------------010407060901050508060108--
Re: Problems when using "Affixed Parent Side" property [message #64364 is a reply to message #64293] Tue, 17 October 2006 15:26 Go to previous messageGo to next message
Michael Golubev is currently offline Michael Golubev
Messages: 373
Registered: July 2009
Senior Member
Hi,

Unfortunately the both problem you've found are known issues.

1) runtime actually uses the affixed side as a hint only, and does not
prevents manual relocation. You need to install custom implementation of
org.eclipse.gmf.runtime.diagram.ui.figures.IBorderItemLocato r that prevents
this.
2) For now I do not know how to fix this. But it seems to be an issue that
should be solved at generation level, without any custom code introduced.

Regards,
Michael

"Jacques LESCOT" <jacques.lescot@anyware-tech.com> wrote in message
news:eh2pof$8m0$1@utils.eclipse.org...
>I am playing with the "Affixed Parent Side" property that is availble
> for a Node and I get unexpected behavior.
>
> 1. The constraint seems to be checked only at the element creation. For
> example, I have configured my graphical defintion with the property set
> as "WEST" to only attach objects on the left of the container node.
> Then, in my generated editor, when I create a child element, this work
> well, the element is attached to the left border of its container. But
> when I try to move it, I can also attach it to the right border. I would
> have expected to "only" enable attachment to the left border as this was
> done at the creation.
>
> 2. Another problem of refresh happens when I move an element that
> contains children elements associated with a Label. The children figure
> is correctly moved, but not the Label. I have attached two screenshots
> to best describe the problem. The first shows my graphical elements
> before I move the container element. The second shows what happens after
> I move it. Then, if I move one of the two child elements, labels are
> correctly replaced. What have I missed ?
>
> Thanks in advance.
>
>
> Jacques
>
Re: Problems when using "Affixed Parent Side" property [message #64410 is a reply to message #64364] Tue, 17 October 2006 15:43 Go to previous message
Jacques LESCOT is currently offline Jacques LESCOT
Messages: 247
Registered: July 2009
Senior Member
Hi Michael,

Thanks for your fast reply. I thought I add search enough for existing
post about these problems, but there are so many threads that probably
missed them !
Concerning the first problem, I would really expect that the default
behavior is in concordance with the configured "affixed side" without
having to customize the code. I understood that property as a constraint
on the way children are disposed into their parent element, but not only
at the creation.

Regards,

Jacques

Michael Golubev a écrit :
> Hi,
>
> Unfortunately the both problem you've found are known issues.
>
> 1) runtime actually uses the affixed side as a hint only, and does not
> prevents manual relocation. You need to install custom implementation of
> org.eclipse.gmf.runtime.diagram.ui.figures.IBorderItemLocato r that prevents
> this.
> 2) For now I do not know how to fix this. But it seems to be an issue that
> should be solved at generation level, without any custom code introduced.
>
> Regards,
> Michael
>
> "Jacques LESCOT" <jacques.lescot@anyware-tech.com> wrote in message
> news:eh2pof$8m0$1@utils.eclipse.org...
>> I am playing with the "Affixed Parent Side" property that is availble
>> for a Node and I get unexpected behavior.
>>
>> 1. The constraint seems to be checked only at the element creation. For
>> example, I have configured my graphical defintion with the property set
>> as "WEST" to only attach objects on the left of the container node.
>> Then, in my generated editor, when I create a child element, this work
>> well, the element is attached to the left border of its container. But
>> when I try to move it, I can also attach it to the right border. I would
>> have expected to "only" enable attachment to the left border as this was
>> done at the creation.
>>
>> 2. Another problem of refresh happens when I move an element that
>> contains children elements associated with a Label. The children figure
>> is correctly moved, but not the Label. I have attached two screenshots
>> to best describe the problem. The first shows my graphical elements
>> before I move the container element. The second shows what happens after
>> I move it. Then, if I move one of the two child elements, labels are
>> correctly replaced. What have I missed ?
>>
>> Thanks in advance.
>>
>>
>> Jacques
>>
>
>


--
Jacques LESCOT
Solutions et Technologies
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 06 60
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com
Previous Topic:Compartment without containment
Next Topic:Diagram type-ing
Goto Forum:
  


Current Time: Fri Oct 24 13:37:51 GMT 2014

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

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