Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » clean editor thinks it's dirty
clean editor thinks it's dirty [message #673816] Tue, 24 May 2011 20:16 Go to next message
Eclipse UserFriend
Originally posted by: Roy Benjamin

I load schema from a DB, displayed and edited in a diagram.

1) get schema from DB
2) create EMF model from schema
3) write model to temp file
4) use the URI of the temp file to open the diagram editor

voila... the editor has *<xxxxx> and believes it needs to be saved.

I'm not sure why this is happening.

Any clues MUCH appreciated

Thanks
Roy
Re: clean editor thinks it's dirty [message #674389 is a reply to message #673816] Thu, 26 May 2011 18:04 Go to previous message
Eclipse UserFriend
Originally posted by: Roy Benjamin

I found my problem. (sic)

I was calling:
URI.createURI("file://somePath/someFile.extension");

Calling:
URI.createFileURI("file://somePath/someFile.extension");

Fixed the issue!


On 5/24/2011 1:16 PM, Roy Benjamin wrote:
>
> I load schema from a DB, displayed and edited in a diagram.
>
> 1) get schema from DB
> 2) create EMF model from schema
> 3) write model to temp file
> 4) use the URI of the temp file to open the diagram editor
>
> voila... the editor has *<xxxxx> and believes it needs to be saved.
>
> I'm not sure why this is happening.
>
> Any clues MUCH appreciated
>
> Thanks
> Roy
Previous Topic:Let's solve once for all the Eclipse GMF copy-paste problem and then forget about it
Next Topic:Updating Diagram Editor Part Name
Goto Forum:
  


Current Time: Thu Mar 28 12:26:52 GMT 2024

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

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

Back to the top