Book a Demo

Author Topic: Transition effect, How to specify ?  (Read 5402 times)

Rob_Jobse

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Transition effect, How to specify ?
« on: February 09, 2009, 07:14:57 am »
How do I couple in the effect field of a state machine transition ( defined as a child of a class) something like attribute.methode()  ??

And not as free-text but as behavior
(set element Classifier doesn't help me)


Kevin G. Watson

  • EA User
  • **
  • Posts: 217
  • Karma: +0/-0
  • I love EVERYTHING including Microsoft
    • View Profile
Re: Transition effect, How to specify ?
« Reply #1 on: February 09, 2009, 08:38:33 am »
Wooweee !!!

Hi'ya.... whats an Effect Field?

Is it something to do with 'New thingie like Tours or Slide show" [smiley=shocked.gif]to my shame I can't remember what it's called... but animating a state change of an object might be as simple as changing the outline to blue and flashing the background, perhaps much faster on transissions into the state, slowing to indicate duration.

can you attach 'Effect Fields' to individual action elements... Ok EA [smiley=shocked.gif] don't do method bodies, but given a compiled assembly CavAS 4 UML will animate the worker thread.  You'd have to create ya'own you tube thingies.... production hint, remember the rounded corners; don't put meaningfull stuff there; it never gets rendered and can cause bandwidth, download threshold and meter mobile users's limited addituional expense.

CavAS will try and do it for all block based languages. Unnamed, IF, return and exit.

Anyone else use their iPod Touch ( do ya call it ya "touch" or "iTouch" ?) to access this site... I'm trying to remember what the scratty pad and two buttons are called... iTouch makes a great remote but is an awfully unintuative wand ( get a Wee ).

Windows mobile is pushing visual recognition, following a pipline recogniser for standard web cam feeds containing familiar objects.  The mirrored back of your iTouch is a good candidiate... folks with engravings can expect their mates camera thingie to have already presented ya snapshot... popular folkees will have alt views n clever plays upon.

Kevin... [smiley=2vrolijk_08.gif]

Rob_Jobse

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Transition effect, How to specify ?
« Reply #2 on: February 10, 2009, 07:56:17 am »
Hi Kevin,

When you edit the propertys of a transition the dialog gives you the opertunity to specify the action to be taken when the transition is taken. The entry field for this is named Effect ( So nothing to do with slide shows or animation )

But I don't want to do this as free text i want to make a relation to an operation which i defined in the model.

( I didnt succeed in pasting a screenshot of what i mean )

But thanks for reaction anyway  [smiley=beer.gif]

                  cheers, Rob


RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Transition effect, How to specify ?
« Reply #3 on: February 10, 2009, 09:16:48 am »
On the Constraints tab of the Transition Properties dialog is a checkbox called Effect is a Behavior. If you select this checkbox, you can then select an Activity or other behavior element in the Effect field, by clicking on the [...] button to the right of the field and selecting the required object from the Set Classifier dialog.

Does this achieve the result you want?
Best Regards, Roy

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Transition effect, How to specify ?
« Reply #4 on: February 10, 2009, 05:36:24 pm »
The gap here seems to be that you can link a transition to an activity, and you can nest a state machine inside a class, but you cannot  link an activity to an operation. Or can you?

Rob_Jobse

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Transition effect, How to specify ?
« Reply #5 on: February 10, 2009, 06:15:24 pm »
RoyC, it comes close to what i want.

Selecting an Activity or other behavior element in the Effect field ( by clicking on the [...] button to the right of the field and selecting the required object from the Set Classifier dialog) doesn't allow me to make a (direct) link to an operation.

Frank, Thats exactly my problem !

Cheers, Rob

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Transition effect, How to specify ?
« Reply #6 on: February 10, 2009, 07:11:54 pm »
Rob,

that's always been my problem too. Looks like EA 7.5 is fixing it, cause it's said to support connectors to features, i.e. it should be possible to e.g. define a dependency from an activity to an operation.

Haven't tried it out though. For the current EA version, there only way seems to be to define a tagged value of RefGuid type on an activity and point it to an operation, but I haven't tried this either.

Frank

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Transition effect, How to specify ?
« Reply #7 on: February 11, 2009, 08:27:56 am »
An action (not an activity) can be of type CallOperation, and allows you to select an operation.

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Transition effect, How to specify ?
« Reply #8 on: February 11, 2009, 09:29:05 pm »
OK, so we can link an action to an operation. But we cannot  link a transition to an action, only to an activity (or to a state machine or a use case, come to that).

An activity can be composed of actions, so to show that the effect of a transition is calling an operation we would have to link the transition to an activity containing nothing but an action of type CallOperation.

Or are we barking up the wrong tree?

Rob_Jobse

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Transition effect, How to specify ?
« Reply #9 on: February 11, 2009, 09:47:57 pm »
same thoughts here