Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » models inside another model
models inside another model [message #470362] Fri, 11 May 2007 04:00 Go to next message
Alexandre Torres is currently offline Alexandre TorresFriend
Messages: 139
Registered: July 2009
Senior Member
Hi.
If I specify a state machine and classes in the same uml file, can I show
both in the same diagram OR create 2 diagram files?

I did it by hand: created a class diagram+UML_A file, added the
statemachine to the uml, them created a new statemachine diagram+UML_B and
edited the reference to point state diagram on UML_A file. worked, but
quite hard to do by hand. Is there a menu or something that I missed?

Thanks
Re: models inside another model [message #470723 is a reply to message #470362] Fri, 11 May 2007 14:01 Go to previous messageGo to next message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hi Alexandre!

You can use "Initialize umlstatemachine_diagram diagram file" from the
context menu of model (*.uml) file for such situations. But you still have
to create StateMachine manually as StateMachine is a required root element.
I hope it will help you a little bit.

Tatiana.

"Alexandre Torres" <alexandre.torres@gmail.com> wrote in message
news:72e7abefab506634cabba0ea751b9e37$1@www.eclipse.org...
> Hi.
> If I specify a state machine and classes in the same uml file, can I show
> both in the same diagram OR create 2 diagram files?
>
> I did it by hand: created a class diagram+UML_A file, added the
> statemachine to the uml, them created a new statemachine diagram+UML_B and
> edited the reference to point state diagram on UML_A file. worked, but
> quite hard to do by hand. Is there a menu or something that I missed?
>
> Thanks
>
Re: models inside another model [message #470731 is a reply to message #470723] Tue, 15 May 2007 12:27 Go to previous message
Alexandre Torres is currently offline Alexandre TorresFriend
Messages: 139
Registered: July 2009
Senior Member
Bingo!
That's what I needed. Thanks.
Re: models inside another model [message #593008 is a reply to message #470362] Fri, 11 May 2007 14:01 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hi Alexandre!

You can use "Initialize umlstatemachine_diagram diagram file" from the
context menu of model (*.uml) file for such situations. But you still have
to create StateMachine manually as StateMachine is a required root element.
I hope it will help you a little bit.

Tatiana.

"Alexandre Torres" <alexandre.torres@gmail.com> wrote in message
news:72e7abefab506634cabba0ea751b9e37$1@www.eclipse.org...
> Hi.
> If I specify a state machine and classes in the same uml file, can I show
> both in the same diagram OR create 2 diagram files?
>
> I did it by hand: created a class diagram+UML_A file, added the
> statemachine to the uml, them created a new statemachine diagram+UML_B and
> edited the reference to point state diagram on UML_A file. worked, but
> quite hard to do by hand. Is there a menu or something that I missed?
>
> Thanks
>
Re: models inside another model [message #593387 is a reply to message #470723] Tue, 15 May 2007 12:27 Go to previous message
Alexandre Torres is currently offline Alexandre TorresFriend
Messages: 139
Registered: July 2009
Senior Member
Bingo!
That's what I needed. Thanks.
Previous Topic:OCL validation support
Next Topic:Re: Drawing UML diagrams in Eclipse
Goto Forum:
  


Current Time: Tue Mar 19 11:54:21 GMT 2024

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

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

Back to the top