Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - xarx

Pages: [1]
1
Bugs and Issues / Re: EA doesn't consider an action to be a behaviou
« on: June 20, 2011, 09:43:41 pm »
OK, I see that transition effect as an behavior is new to UML2.x, in UML1.x it was an action. Under these circumstances, I don't understand how am I supposed to express an effect consisting only of a call or send signal action, e.g.

      someTrigger[someGuard]/send someSignal

using a behaviour. Is this textual notation considered to be equivalent to creation of an activity consising merely of the single action "send someSignal"?

This looks as if transition associations to behaviours were meant for machine generation only, not for human authors or readers. Besides, was it really meant that I can use e.g. a whole state-machine for a transition effect?

     Martin.

2
Bugs and Issues / Re: EA doesn't consider an action to be a behaviou
« on: June 15, 2011, 09:33:12 pm »
Geert,

I used the same terminology that EA uses at this place:

"Behavioral elements such as Activities, Interaction, Operations etc"

According to the "UML Reference Manual" (by Rumbaugh, Jacobson, Booch), effect on a transition can be either an action or an activity. By checking the "Effect is a Behavior" check-box, EA allows me to choose Activities and only some sort of Actions (i.e. operations).

I'd like to EA allows me to choose any sort of Action, especially the "broadcast event" action.

Btw., some sort of actions seem to me unsuitable for being used on a transition as an effect - e.g. the "accept event" action - so the above specification of transition effect is evidently imprecise.

    Martin.

3
Bugs and Issues / EA doesn't consider an action to be a behaviour
« on: June 15, 2011, 02:16:19 am »
Hello.

I'm writing state diagrams. On a transition, I'd like to check "Effect is a Behaviour", but EA allows me to choose or create only activities (or operations), not actions. In particular, I want to use a Send Event action.

Also, I've met with this problem - that EA does not consider actions to be regular behaviours - on different places in UML diagramming. Though I can't remember now.

This problem is in EA for years, I think I've already reported it. It is in version 8, and still persists in version 9.

   Martin.

4
Uml Process / Object flow and generalization for receive actions
« on: May 20, 2009, 11:14:49 pm »
Hello.

1. I'd like to add an output pin into (or equivalently object flow from) a "receive action" to indicate the recived message object. "Receive action" is a special type of action, and as such it may have pins. However, EA doesn't allow me to do that.

2. Messages can form a hierarchy (eg. CreateOrder is a special kind of Create message), and "receive actions" accepting a particular type of message form a natural hierarchy as well. However, EA doesn't allow to connect "receive actions" using generalization relation, claiming that "The requested connection is not UML compliant".
Actions, a special kind of behaviours, are classifiers, and as such they should be generalizable. In my opinion, all of them.

Well, must I acquiesce with that, or is there another way how to conveniently do that? In fact, what I want to do is to collect all commands for my system (in the form of receive actions) in one package, to use them in activity diagrams describing various process flows.

Martin.

5
Automation Interface, Add-Ins and Tools / Re: How to change icon
« on: June 26, 2009, 07:48:26 pm »
Thank you KP, that is what I wanted!

Though it doesn't work ideally. E.g. having to hide the default decoration by painting over it  :-? (the background is visibly inhomogenous, on screen). Also, the shapescript draws ellipses and arcs somewhat imprecisely on the screen (even under high magnification; however, they are printed correctly). And there seems to be no posibility to hide the stereotype name when the decoration is applied. Etc.

The following (database sign) decoration I applied on component elements. Note that I had to use coordinate numbers like 2 or -10 in order the decoration looks fine:

Code: [Select]
decoration a
{
   orientation="NE";
   SetOrigin("NE",-35,2);
   setpencolor(getuserfillcolor());
   rectangle(-10,0,80,130);
   setpencolor(getuserbordercolor());
   ellipse(-10,80,80,120);
   setpencolor(getuserfillcolor());
   rectangle(-10,20,80,100);
   setpencolor(getuserbordercolor());
//   Arc(-10,80,80,120,-10,100,80,100);
   MoveTo(-10,20);
   LineTo(-10,100);
   MoveTo(80,20);
   LineTo(80,100);
   ellipse(-10,0,80,40);
//   image("database1",0,0,80,120);
}

Martin.

6
Automation Interface, Add-Ins and Tools / How to change icon
« on: June 23, 2009, 11:39:54 pm »
Hello.

Various diagram elements (e.g. a component) have a small icon in the upper right corner. How can I change this image? Must I use a shape script, or is there another (simpler) way (e.g. by importing the new image somewhere)?

Thank you,
Martin.

Pages: [1]