Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » inner class
inner class [message #540486] Wed, 16 June 2010 11:08 Go to next message
sgr  is currently offline sgr Friend
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 11:09]

Report message to a moderator

Re: inner class [message #540536 is a reply to message #540486] Wed, 16 June 2010 13:02 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 26215
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: Sun Nov 23 07:30:28 GMT 2014

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

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