Skip to main content



      Home
Home » Modeling » Papyrus » How to add an Artifact to an Activity Diagram
How to add an Artifact to an Activity Diagram [message #1714183] Tue, 10 November 2015 09:44 Go to next message
Eclipse UserFriend
I am able to add Artefact elements to an Activity diagram in the Model Explorer (using the New Child context menu), but they do not become visible in the diagram. I have tried to drag-and-drop from the Model Explorer to the diagram, but it has no effect.

How should I proceed to make Artefact elements visible?

Thank you.
Re: How to add an Artifact to an Activity Diagram [message #1714184 is a reply to message #1714183] Tue, 10 November 2015 09:50 Go to previous messageGo to next message
Eclipse UserFriend
Hi Luis,

If the Activity Diagram is not designed to display Artifacts, then you can't

Currently, only the ClassDiagram allows arbitrary elements to be displayed

Regards,
Camille
Re: How to add an Artifact to an Activity Diagram [message #1714185 is a reply to message #1714183] Tue, 10 November 2015 09:51 Go to previous messageGo to next message
Eclipse UserFriend
Hi Luis,

as far as I know, Artefact modeling element is not part of Activity diagram concepts and that is the reason why Papyrus does not show it.
Some tools allow this kind of "mismatch" but not Papyrus that is quite good in conformance with the specification.

Artefact is a concept of deployment diagram. That is the kind of diagram you can use to see it.

Best regards
Raphaël
Re: How to add an Artifact to an Activity Diagram [message #1714188 is a reply to message #1714185] Tue, 10 November 2015 09:57 Go to previous messageGo to next message
Eclipse UserFriend
Indeed, the Model Explorer provides an action for creation of Artifacts
as nested classifiers. Because all Behaviors (such as Activity) are a
kind of Class, they can own nested classifiers. But, it doesn't make
sense for behaviors to have nested classifiers, does it? It seems to
me that there are many features of a Class that don't make sense for
Behaviors (they can be active and own a classifier-behavior, too!).

Christian


On 2015-11-10 14:51:14 +0000, Raphael Faudou said:

> Hi Luis,
>
> as far as I know, Artefact modeling element is not part of Activity
> diagram concepts and that is the reason why Papyrus does not show it.
> Some tools allow this kind of "mismatch" but not Papyrus that is quite
> good in conformance with the specification.
>
> Artefact is a concept of deployment diagram. That is the kind of
> diagram you can use to see it.
>
> Best regards
> Raphaël
Re: How to add an Artifact to an Activity Diagram [message #1714189 is a reply to message #1714188] Tue, 10 November 2015 10:25 Go to previous messageGo to next message
Eclipse UserFriend
Quote:
It seems to
me that there are many features of a Class that don't make sense for
Behaviors (they can be active and own a classifier-behavior, too!).


I think that's because the spec. says that "If a behavior doesn't have a context, then it is its own context". So it may have its own Structure, etc.
Re: How to add an Artifact to an Activity Diagram [message #1714207 is a reply to message #1714189] Tue, 10 November 2015 12:54 Go to previous message
Eclipse UserFriend
Yep! Toaster fridges for everyone! The Way of the Future™.

cW

On 2015-11-10 15:25:14 +0000, Camille Letavernier said:

> Quote:
>> It seems to
>> me that there are many features of a Class that don't make sense for
>> Behaviors (they can be active and own a classifier-behavior, too!).
>
>
> I think that's because the spec. says that "If a behavior doesn't have
> a context, then it is its own context". So it may have its own
> Structure, etc.
Previous Topic:What is the best strategy to add a Tagged Value for "Definition" to Classifiers?
Next Topic:Sequence diagram question
Goto Forum:
  


Current Time: Sat Jul 12 14:43:39 EDT 2025

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

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

Back to the top