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

Pages: [1]
1
Hi All,

I am experimenting with the Word MDG. Documents that I wish to import all work fine, except for one problem: some of the data in the Word document is indexed (such that when showing formatting information in Word you see things like { XE "Stuff indexed" }), and this Word indexing data then becomes part of the import; for example I get Requirement elements with names like Stuff indexed XE "Stuff indexed".

Does anyone have a way to work round this - either (somehow) not importing the Word indexing information or efficiently removing the data from the imported information?

Thanks!






2
Uml Process / State Machines, entry/exit actions and classes
« on: August 30, 2012, 06:27:38 pm »
I have created a Class and then added a State Machine to this class. The states of the state machine represent the states that an instance of that class may be in.  If I now add an entry or exit Operation to a state the Operation element created is below the state it relates to. My problem is this: the states are states that an instance of the class may be in, so the operations (entry/exit actions) are common to the class.

There are several states that use the same entry/exit Operation, so how can I create entry/exit Operations for a state that are part of the class being designed, and make use of the fact that the state Operations are actually common operations of the class?

My solution at the moment is this: create entry/exit Operations for each state, and also create a similarly named Operation for the class, then for the various state operations define the Behaviour to be the required common class Operation. This can also be indicated on the diagram by checking the Show Behaviour in Diagram checkbox.

This seems a clumsy way to indicate what I want on a diagram and seems to be defining multiple operations to do the same thing. Is there a better, more elegant, way of doing what I want? Any suggestions?

Pages: [1]