Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » inner class
inner class [message #540486] Wed, 16 June 2010 07:08 Go to next message
sgr  is currently offline sgr
Messages: 1
Registered: June 2010
Junior Member
Hi,

I created my class diagram using UML plug-in in Eclipse. I have a class that has a inner class. The visibility of the inner class is Private. When I use this UML model to generate code in EFM, it creates a separate class out of the inner class with public visibility (I mean outside of the main class).

Does any has any idea?

sgr

[Updated on: Wed, 16 June 2010 07:09]

Report message to a moderator

Re: inner class [message #540536 is a reply to message #540486] Wed, 16 June 2010 09:02 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25746
Registered: July 2009
Senior Member
Sgr,

Ecore has no concept of access---all things are public---nor any concept
of class nesting.


sgr wrote:
> Hi,
>
> I created my class diagram using UML plug-in in Eclipse. I have a
> class that have a inner class. The visibility of the inner class is
> Private. When I use this UML model to generate code in EFM, it creates
> a separate class out of the inner class with public visibility (I mean
> outside of the main class).
>
> Does any has any idea?
>
> sgr
Previous Topic:How to skip a model hierarchy by modifying the ItemProviders
Next Topic:EMF Validation Framework Quickfix example needed
Goto Forum:
  


Current Time: Sat Apr 19 21:43:15 EDT 2014

Powered by FUDForum. Page generated in 0.01714 seconds