How to make a Class and an Interface read-only? [message #197557] |
Thu, 17 July 2008 08:58 |
Eclipse User |
|
|
|
Originally posted by: tsimunovic.gmail.com
Is it possible to make a Class and an Interface read-only, ie. to finalize
it so that no further modifications, such as adding new attributes or
making connections from it, could be done? If not, what modifications of
the GMF (or/and EMF,GEF) should I perform to get this function?
|
|
|
|
Re: How to make a Class and an Interface read-only? [message #197628 is a reply to message #197589] |
Thu, 17 July 2008 09:52 |
Eclipse User |
|
|
|
Originally posted by: tsimunovic.gmail.com
I'm not sure if I was clear enough. I'm using the UML2 plug-in which uses
GMF as graphic tool. What I need is to make only some of the classes and
interfaces non modificable, because once created (and compiled in java
code) they would become a standard and shouldn't be modified anymore.
Other classes could be added, modified to the diagram, and could have
connections TO the finalized/read-only classes and interfaces (extend or
implement them in Java terms). If I understood correctly (I'm a newbee in
the whole plug-in/EMF/GEF/GMF/UML2 thing), You're suggesting to make whole
model read-only, and that's not what I need. Thanks for a quick response
anyway.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03014 seconds