Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Hide xml diagram file from user
Hide xml diagram file from user [message #478786] Thu, 06 August 2009 21:26 Go to next message
Gilod is currently offline GilodFriend
Messages: 25
Registered: July 2009
Junior Member
I created a new gmf model and it works well.
I notice that once the user create a new instance of the diagram,
2 different files are being opened (diagram file and xml file).
How can I hide the second file? I don't want the user to view this file or
give him the ability to edit it.
The user should only see the diagram file.
Pls advice
Thanks alot!!!!
Gilod
Re: Hide xml diagram file from user [message #478799 is a reply to message #478786] Fri, 07 August 2009 00:03 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Gilod,

This is also a GMF question...


Gilod wrote:
> I created a new gmf model and it works well.
> I notice that once the user create a new instance of the diagram, 2
> different files are being opened (diagram file and xml file).
> How can I hide the second file? I don't want the user to view this
> file or give him the ability to edit it.
> The user should only see the diagram file.
> Pls advice
> Thanks alot!!!!
> Gilod
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Hide xml diagram file from user [message #479302 is a reply to message #478786] Mon, 10 August 2009 15:48 Go to previous message
Christophe Bouhier is currently offline Christophe BouhierFriend
Messages: 937
Registered: July 2009
Senior Member
You can changed this in the generated model (.gmfgen file).
The option is : sameFileForDiagramAndModel="true"

Christophe

Gilod wrote:
> I created a new gmf model and it works well.
> I notice that once the user create a new instance of the diagram, 2
> different files are being opened (diagram file and xml file).
> How can I hide the second file? I don't want the user to view this file
> or give him the ability to edit it.
> The user should only see the diagram file.
> Pls advice
> Thanks alot!!!!
> Gilod
>
Previous Topic:Test with JUnit4 in an EMF project
Next Topic:Epsilon book: EOL Assertion operations not mentioned?
Goto Forum:
  


Current Time: Fri Apr 26 00:29:26 GMT 2024

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

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

Back to the top