Book a Demo

Author Topic: Matrix filled automtic?!  (Read 5047 times)

JensGer

  • Guest
Matrix filled automtic?!
« on: January 13, 2003, 05:44:12 am »
Howdy!

Is it possible to create a  Matrix_Chart with one state_chart. because I got difficulties to do this and I
made myself a Helpchart to establish it. but I think there should be a better way to handle it.

I also would like the Matrix to be automatically filled from a chart is it possible, or do i have to do it manually!

I hope someone can understand my problem, because  i am German and my english aint that well, so excuse
any missunderstandings!

and than's a lot for any Help!
best regards
Jens Francke

jaimeglz

  • EA User
  • **
  • Posts: 164
  • Karma: +0/-0
    • View Profile
Re: Matrix filled automtic?!
« Reply #1 on: January 14, 2003, 07:27:34 am »
Hi Jens,

Could you explain a bit more what you are trying to do? I know what a state chart is, but I'm not familiar with the term "Matrix_Chart".

I also saw you last posting, on linking two state chart models. Could you also explain what are you trying to achieve? Are these "models" two diagrams, or sets of diagrams?

I will be glad to help as soon as I understand the problem.

Jaime Gonzalez

JensGer

  • Guest
Re: Matrix filled automtic?!
« Reply #2 on: January 14, 2003, 11:36:18 pm »
Hey Jaime!

Under EA in the Workspace i can switch between, the ProjectExplorer and the Resource View!
the Resource View contains the Option to create a Matrix Profile, i did this and it worked fine but the Problem is that I would like the Matrix to be automically filled, if i change something in the Diagram the Matrix should also change.

The other problem is that I would like one diagram to be turned into another that shows certain conection within the first diagram, and this should update it self if the original Diagram is changed.
The Diagram shows that a certain Stage of an Object allows particular Funktions to be Used, there are 10 stages and about 25 funktions, one stage obtains different funktions.

I hope this makes my problem more clear.

If not please tell what other Information you also need, I am using EA3.5

Thanks a lot for your interest
best wishes
Jens

jaimeglz

  • EA User
  • **
  • Posts: 164
  • Karma: +0/-0
    • View Profile
Re: Matrix filled automtic?!
« Reply #3 on: January 15, 2003, 08:04:44 am »
Hi Jens,

The relationship matrix is automatically updated every time you create a new element or a new relationship. Check the following:

1. Your source and target packages (upper left corner of the matrix). For example, if a new element is contained outside the package you chose for source, it will not show up with the source elements in the matrix. You can make the root (namespace) of your project both the source and the target, so as to make sure you have everything in your matrix.

2. The type of element (to the right of source and target). If I have "use case" as source and "requirement" as target, the matrix will only show these types of elements.

3. The link type and direction. If I have a dependency link from a use cases and a requirement and I have chosen something different from "Dependency" and "Source -> Target", the relationship will not show up in the matrix.

On diagrams: I do not know of any way to link two diagrams so that changes in one are reflected in the other. However, new relationships made in one diagram between (say) two objects, are displayed automatically in all other diagrams that contain those two objects.

I would recomend for you to create a particular element ("customer" class, "Charlie" object, "deleted" state for "customer" class instances...) only once, and reuse this same element in all you diagrams: just drag the element from the project tree into the new diagram (and, in the case of classes, make sure you do not have "auto instance" on). This way, all changes to a particular element are reflected in all you diagrams.

Hope this helps.

Jaime

JensGer

  • Guest
Re: Matrix filled automtic?!
« Reply #4 on: January 20, 2003, 01:06:45 am »
Hey Jaime!

Thanks a lot for your Help!
I tryed you suggestions and it worked fine,
I knew that there had to be a Way to fill the Matrix automatic!
This made my Problem much easier

Best Regards
Jens Francke

mbc

  • EA User
  • **
  • Posts: 237
  • Karma: +1/-0
  • Embedded software developer
    • View Profile
Re: Matrix filled automtic?!
« Reply #5 on: January 20, 2003, 04:40:04 am »
Jens,

It seems that you are designing a pretty complicated state machine, and you may want to have a look at the State design pattern, which describes a nice, object-oriented pattern for such a machine.

The State pattern is described in "Design Patterns" by Gamma, Helm, Johnson & Vlissides published by Addison-Wesley, but you'll probably be able to find something about it on the internet somewhere too.

Mikkel

JensGer

  • Guest
Re: Matrix filled automtic?!
« Reply #6 on: January 21, 2003, 12:09:25 am »
Hey Mikkel!

Thanks for your Help but the state chart isn't the problem, i looked at the book you
suggested and it was still very interesting. And for furthe Charts it will help me a bit!
Thanks a lot for your reply

bist regards
Jens Francke