Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Error in Single file for diagram and domain model
Error in Single file for diagram and domain model [message #79208] Tue, 21 November 2006 13:22 Go to next message
Eclipse UserFriend
Originally posted by: vikas.goyal.hp.com

Hi,

I have written single file for diagram and domain model. Using single
file in property view when I change any attribute of any node this change
will reflect in editor but it will not get save in diagram file. Even file
is not getting mark dirty , so I cannot save the file also.

Could you please help me on this.


Thanks & Regards,
Vikas
Re: Error in Single file for diagram and domain model [message #79397 is a reply to message #79208] Tue, 21 November 2006 16:15 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Vikas,

Did you tried latest milestone build (2.0M3)? Generated code was refactored
in the area of EMF resources handling.

-----------------
Alex Shatalin
Re: Error in Single file for diagram and domain model [message #79734 is a reply to message #79397] Wed, 22 November 2006 08:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vikas.goyal.hp.com

Hello Alex,

Can I use GMF 2.0M3 with eclipse 3.2.

Regards,
Vikas
Re: Error in Single file for diagram and domain model [message #79790 is a reply to message #79734] Wed, 22 November 2006 09:23 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Vikas,

> Can I use GMF 2.0M3 with eclipse 3.2.
Yes, you can.

-----------------
Alex Shatalin
Re: Error in Single file for diagram and domain model [message #79982 is a reply to message #79790] Wed, 22 November 2006 13:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vikas.goyal.hp.com

Hi Alex ,

I tried GMF 2.0M3 with eclipse 3.3 . Problem I am facing is when I drag
and drop any element, this element will not be visible in the editor . I
need to close the file and reopen than only that element will be visible
on the editor . Now again if I put another element it will not visible .
Again I need to close and reopen the diagram file.

Could you please help me on this.


Thanks & Regards,
Vikas
Re: Error in Single file for diagram and domain model [message #80153 is a reply to message #79982] Wed, 22 November 2006 15:03 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Vikas,

> I tried GMF 2.0M3 with eclipse 3.3 . Problem I am facing is when I
> drag and drop any element, this element will not be visible in the
Do you mean "create element using palette tool" by "drag and drop"? Or do
you mean real D&D to diagram? What is the drag source in this case? Do you
have original problem (editor changes are not saved to diagram file)?

-----------------
Alex Shatalin
Re: Error in Single file for diagram and domain model [message #80306 is a reply to message #80153] Thu, 23 November 2006 05:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vikas.goyal.hp.com

Hello Alex,

Yes , When I create element using pallete element will not get
displayed on the editor. I need to close the diagram file and reopen it.
Then only I will be able to see them on the editor. If I create any new
element using pallete on this reopened diagram file those element will
again not visible in the editor. Again I need to close and reopen the
diagram file. Changes are getting saved in diagram file and copy/paste is
also working fine.

Regards,
Vikas





Hello Vikas,

I tried GMF 2.0M3 with eclipse 3.3 . Problem I am facing is when I
drag and drop any element, this element will not be visible in the

Do you mean "create element using palette tool" by "drag and drop"? Or do
you mean real D&D to diagram? What is the drag source in this case? Do you
have original problem (editor changes are not saved to diagram file)?

-----------------
Alex Shatalin
Re: Error in Single file for diagram and domain model [message #80321 is a reply to message #80306] Thu, 23 November 2006 07:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vikas.goyal.hp.com

Hi Alex,

I used GMF 1.02. With this version there is only one issue i.e when we
copy/paste an element, save the file then go to property view and make
change in any attribute that page will not get mark diry means save
button will not enable and changes will not save in diagram file. This is
the same issue as I discussed with earlier. With GMF 2.0 m3 issue I
already discussed.

Regards,
Vikas
Re: Error in Single file for diagram and domain model [message #80391 is a reply to message #80306] Thu, 23 November 2006 11:03 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Vikas,

I've tried to regenerate taipan example with "same file for diagram and model"
property set tu true and I can create port/ship shapes on diagram using palette
without diagram reopenning. So, can you please strip down your model(s) to
make it as simple as possible (diagram with only one node) and then post
it here - I'll try to find the problem.

-----------------
Alex Shatalin
Re: Error in Single file for diagram and domain model [message #80434 is a reply to message #80321] Thu, 23 November 2006 14:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vikas.goyal.hp.com

Hi Alex,

Thanks for your help. I will try to strip down my model file and try
it again . One more issue which I am facing is when I used GMF 1.02 when I
create any element save the file then go to property view and make change
in any attribute that page will not get mark diry means save button will
not enable and changes will not save in diagram file. This is the same
issue as I discussed with earlier. With GMF 2.0 m3 issue I already
discussed.

Could you please help me on this issue.

Regards,
Vikas
Re: Error in Single file for diagram and domain model [message #80528 is a reply to message #80391] Thu, 23 November 2006 18:38 Go to previous message
Eclipse UserFriend
Originally posted by: vikas.goyal.hp.com

Hi Alex,

Thanks for your help. I will try to strip down my model file and try
it again . One more issue which I am facing is when I used GMF 1.02 when I
create any element save the file then go to property view and make change
in any attribute that page will not get mark diry means save button will
not enable and changes will not save in diagram file. This is the same
issue as I discussed with earlier. With GMF 2.0 m3 issue I already
discussed.

Could you please help me on this issue.

Regards,
Vikas
Previous Topic:Rearranging a Compartment?
Next Topic:GMF1.02 Attribute change not saving
Goto Forum:
  


Current Time: Fri Jan 03 07:47:24 GMT 2025

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

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

Back to the top