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 - revdev

Pages: 1 [2]
16
General Board / Re: displaying alias of a package
« on: July 19, 2006, 07:01:40 am »
Unicode seems to be related to code generation.  I see these boxes in the diagram on the screen.  

17
General Board / displaying alias of a package
« on: July 17, 2006, 12:49:54 pm »
In a class diagram, I have packages which have alias entries.  I enable the "use alias if available" property of the diagram and the package shows the alias and the package name separated by 2 boxes (ostensibly undisplayable characters).

Any way to get rid of these?

Thanks,
revdev

18
General Board / Element.stereotype in rtf template
« on: June 28, 2006, 02:58:11 pm »
I would like to output an element's stereotype in a rtf file only if the field is not blank.  Is this possible?

Thanks,
revdev

19
General Board / transformation or code generation
« on: January 26, 2006, 02:14:05 pm »
I'm evaluating EA and am wondering how to generate code from state machines.  I don't really see what the transformation step is doing, but it's not generating code.  What I eventually want is a state transition table and an action for each state.

Thanks,
Bruce

20
Uml Process / Best way to represent task interaction
« on: June 18, 2008, 11:12:36 pm »
I am developing a real-time embedded system.  It uses 5 tasks and a few message queues to send events (messages) between the tasks.  What is (are?) the preferred way to diagram these interactions.

Thanks,
Bruce

21
Uml Process / Re: composite state
« on: February 07, 2008, 11:42:00 am »
Yes, the state machines in A are aborted.  I would advise using a synchronous architecture so that all state actions are complete before leaving a state (a basic rule of MDA).  

On transition out of a state, the exit action of the state is invoked.  In the case of a composite state, I believe you have a choice (as far as the OMG is concerned) as to which exit routines to invoke, should they exist.  I suggest invoking the exit action of the current substate first, followed by that of the superstate.

On transition back into composite state A, the response is dependent on whether you use a history node.  If such a node is used the transition results in returning to the last active substate.  History nodes can be shallow or deep.

Hope that helps.
Bruce

22
Uml Process / Re: Multiple instances on a sequence diagram
« on: January 24, 2008, 02:04:42 pm »
Create the classes in your domain model, perhaps as part of a package of classes.  Drag a class from the package onto the sequence diagram.  Select Advanced | Convert to instance.  This will let you drag the class from the explorer to the diagram again.  Covert that to an instance as well.  You now have 2 instances of the same class on the sequence diagram.


23
Uml Process / Re: reverse engineering in Flash
« on: October 22, 2007, 09:25:14 am »
For the purpose of creating a class diagram, copy all your source files into a single folder, then do the import.

revdev

24
Uml Process / Re: State machine: How to model cyclic action
« on: September 11, 2007, 11:27:42 am »
Your question isn't entirely clear, but it sounds like every 2 seconds you want to do something until there is a state change.

The "Do Action" is used for such repetitive tasks.  You can have a reflexive transition (a transition that starts and ends at the current state).  Label the transition with a "2 second" note and the modeling is complete.

revdev

25
Uml Process / Re: Concurrent activities in one class
« on: May 16, 2006, 12:04:06 pm »
Hi KP.  The spec describes it nicely.  Can't wait for 6.5.

Thanks,
Bruce

26
Uml Process / Re: Concurrent activities in one class
« on: May 15, 2006, 05:06:52 pm »
It is one instance.  It has accessors which may be called by different tasks (each with a pointer to it) while one if its longer execution methods is processing.

It's not my favorite implementation, but it is possible.  FWIW, we may also use mutexes to protect critical sections.

Thanks,
rev

27
Uml Process / Concurrent activities in one class
« on: May 15, 2006, 01:14:15 pm »
Hello.  I'm interested in representing one class doing 2 things at the same time in one diagram.  For example, there are 2 client tasks running simultaneously.  One makes a call to my server class which can take some time to complete.  Meanwhile, another client (in another task) can request a bit of information while the first request is being handled.

This does not seem to be supported in interaction diagrams.
Is there a UML way to do this and is it supported in EA?

Thanks,
revdev

Pages: 1 [2]