Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327747

Summary: Dynamically changing the behavior of link in GMF
Product: [Modeling] EMF Reporter: Bharath <bharathkumarc>
Component: cdo.uiAssignee: Project Inbox <emf.cdo-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: martin.fluegge, stepper
Version: 4.0   
Target Milestone: ---   
Hardware: Other   
OS: Windows XP   
Whiteboard:

Description Bharath CLA 2010-10-14 05:56:48 EDT
Build Identifier: Eclipse-GMF

Hi,
  I am able change the behavior of links dynamically in GMF. But once the diagram page is closed and reopened it is producing default behavior. can any one tell me how to save the dynamic changes in GMF

Reproducible: Couldn't Reproduce
Comment 1 Eike Stepper CLA 2010-10-16 02:30:31 EDT
I struggle to see any relation with CDO. Is this a pure GMF issue? Or a CDO Dawn issue?
Comment 2 Martin Fluegge CLA 2010-10-16 12:53:56 EDT
I do not think that this CDO related. To judge whether this is related to Dawn I need to know whether Dawn is involved or not.

So Bharath, are you using Dawn or do you create your GMF diagrams directly on CDO?

I also have to admit that I do not really understand what you mean with "change behavior dynamically". Do you mean that you just change the connection (e.g. add Bendpoints) and that the changes are gone when restarting the editor?
Comment 3 Bharath CLA 2010-10-18 00:41:14 EDT
(In reply to comment #2)
> I do not think that this CDO related. To judge whether this is related to Dawn
> I need to know whether Dawn is involved or not.
> 
> So Bharath, are you using Dawn or do you create your GMF diagrams directly on
> CDO?
> 
> I also have to admit that I do not really understand what you mean with "change
> behavior dynamically". Do you mean that you just change the connection (e.g.
> add Bendpoints) and that the changes are gone when restarting the editor?

(In reply to comment #2)
> I do not think that this CDO related. To judge whether this is related to Dawn
> I need to know whether Dawn is involved or not.
> 
> So Bharath, are you using Dawn or do you create your GMF diagrams directly on
> CDO?
> 
> I also have to admit that I do not really understand what you mean with "change
> behavior dynamically". Do you mean that you just change the connection (e.g.
> add Bendpoints) and that the changes are gone when restarting the editor?

Martin,
    yes I mean that the changes (eg. Bendpoints) are gone when restarting the editor. I am directly using the GMF connection
Comment 4 Martin Fluegge CLA 2010-10-18 03:10:29 EDT
> I am directly using the GMF connection

O.k., so you are not using Dawn. This leads to the obvious question "Why not?" (1) ;)

It is hard for us to judge whether the error is placed on the CDO or GMF site as we do not know anything about your meta model or your editor.

Did you check whether the Bendpoints are saved in the repository or not? (2) My guess is that CDO works correctly but GMF does not display bendpoints you some reason.

Question 3.) Are there any exceptions or some suspicious print out which could lead us to the right direction?
Comment 5 Eike Stepper CLA 2010-10-18 04:33:14 EDT
Not a CDO issue. Please reopen if you're really sure that this is related with CDO. You may want to submit a bugzilla against GMF.