clean editor thinks it's dirty [message #673816] |
Tue, 24 May 2011 20:16 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03533 seconds