Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Class Diagram Initializations
Class Diagram Initializations [message #471185] Fri, 22 June 2007 07:57 Go to next message
Philippe is currently offline PhilippeFriend
Messages: 100
Registered: July 2009
Senior Member
Hi,

I found a strange behavior and wonder if it is a wanted one or not.

When initializing a class diagram from a model that contains classes and
activities, the activities will appear on the diagram (because Class is
a superinterface of Activity I think)
Is it wanted or not, or a uml model shouldn't mix activities and classes ?

Thanks
Philippe
Re: Class Diagram Initializations [message #471200 is a reply to message #471185] Thu, 28 June 2007 09:50 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hi Philippe,

UML 2.1 spec supports rectangle notation for Activities to show its Class
features(UML 06-04-02, 12.3.4, fig. 12.34, 12.38):
"The notation for classes can be used for diagramming the features of a
reflective activity as shown below, with the
keyword "activity" to indicate it is an activity class"
As we don't allow to change Activity notation in ActivityD editor now, it is
natural to show and edit it in ClassD editor.

It is possible to create shortcuts to Activities in ClassD editor. They will
be shown as rectangles as well.

Best wishes,
Tatiana.

"Philippe" <philippeweber57@yahoo.fr> wrote in message
news:f5fvih$vbn$1@build.eclipse.org...
> Hi,
>
> I found a strange behavior and wonder if it is a wanted one or not.
>
> When initializing a class diagram from a model that contains classes and
> activities, the activities will appear on the diagram (because Class is a
> superinterface of Activity I think)
> Is it wanted or not, or a uml model shouldn't mix activities and classes ?
>
> Thanks
> Philippe
Re: Class Diagram Initializations [message #600583 is a reply to message #471185] Thu, 28 June 2007 09:50 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hi Philippe,

UML 2.1 spec supports rectangle notation for Activities to show its Class
features(UML 06-04-02, 12.3.4, fig. 12.34, 12.38):
"The notation for classes can be used for diagramming the features of a
reflective activity as shown below, with the
keyword "activity" to indicate it is an activity class"
As we don't allow to change Activity notation in ActivityD editor now, it is
natural to show and edit it in ClassD editor.

It is possible to create shortcuts to Activities in ClassD editor. They will
be shown as rectangles as well.

Best wishes,
Tatiana.

"Philippe" <philippeweber57@yahoo.fr> wrote in message
news:f5fvih$vbn$1@build.eclipse.org...
> Hi,
>
> I found a strange behavior and wonder if it is a wanted one or not.
>
> When initializing a class diagram from a model that contains classes and
> activities, the activities will appear on the diagram (because Class is a
> superinterface of Activity I think)
> Is it wanted or not, or a uml model shouldn't mix activities and classes ?
>
> Thanks
> Philippe
Previous Topic:About ActivityD root element
Next Topic:Stack overflow exception on load resource
Goto Forum:
  


Current Time: Tue Mar 19 02:51:13 GMT 2024

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

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

Back to the top