Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: [argouml-users] Modeling Inner Classes

argouml
Discussion topic

Back to topic list

Re: [argouml-users] Modeling Inner Classes

Author bobtarling
Full name Bob Tarling
Date 2011-08-31 04:38:53 PDT
Message On 31 August 2011 02:36, Mark Fortner <phidias51 at gmail dot com> wrote:
> According to the documentation, you should be able to click on the container
> class and click the inner class button, and an inner class should be
> created.  But there is no inner class button.
Maybe the facility to create an inner class was lost with the nbew
property panel implementation. We need to check an old version to see
if it used to be there and put the same finctionality back n the new
version.

> So my question is, what is the correct way of representing an inner class?
>  I've looked through past conversations and the documentation, and I don't
> see any hints about this.

The UML term is Nested Class and the notation is described in section
5.27 of the UML spec (1.4.2).

Unfortunately this notation is not yet implemented in ArgoUML. It will
be a little trickier to implement than most model elements as mostly
we have a single diagram figure (edge or node) mapping to a single
model element. For this the edge that represents containment should
exist depending on the namespace property of the nested class node it
is attached to rather than a seperate model element of its own.

We can continue discussion of this on the dev list if you wish.

Regards

Bob

« Previous message in topic | 2 of 2 | Next message in topic »

Messages

Show all messages in topic

[argouml-users] Modeling Inner Classes phidias Mark Fortner 2011-08-30 18:36:56 PDT
     Re: [argouml-users] Modeling Inner Classes bobtarling Bob Tarling 2011-08-31 04:38:53 PDT
Messages per page: