Book a Demo

Author Topic: Double click to get to new model  (Read 5169 times)

PeterM

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Double click to get to new model
« on: June 23, 2008, 02:41:52 pm »
I am very new to Ent. Arch.
I am looking at the Start here package, clicked on Model overview to see the various models available.

If I double click on one of the nested package - Business Domain Model, I can drill down (or across) to Business Domain package diagram much further up the tree.

I am not sure how one sets this behaviour or can view what linkages are in place.

I think this is a great idea but I have not idea how one implements and then edits this behaviour. I have had a look at the documentation and help but I can find what I am looking for. Probably do not know what the correct terminology is.
 :o

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Double click to get to new model
« Reply #1 on: June 23, 2008, 03:27:40 pm »
For packages, EA will open the first diagram in the package when you double click on them.

Other element types can be set as composite, in which case it will open the diagram that was first when you set it as composite.  (It will create one if there isn't one.)

Either way, if you have enough of a look around here (but quite some time back now I think) you'll find that users want more control over the diagram linkage.

PeterM

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Double click to get to new model
« Reply #2 on: June 23, 2008, 04:40:18 pm »
Other element types can be set as composite, in which case it will open the diagram that was first when you set it as composite.  (It will create one if there isn't one.)

Thanks. I have looked at the properties for EAExample->Project models -> Start Here -> Model Overview (Business Domain Model). I cannot see where it is set as composite?   :-/. I will play with this a bit more.

In anycase if I create an object, set to be composite, then I get a child composite object with same name. It looks as though its the name that provides the linkage. I can move it up and down the tree ok.

I am complete newbie with UML (got UML 2 for dummies) and also trying to learn ORM (with visio pro)

Anyway thats one mystery cleared up for me.  :)






Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: Double click to get to new model
« Reply #3 on: June 23, 2008, 04:47:05 pm »
Just to clarify; to set the behaviour -  the Business Domain Model diagram has Packages that were dragged from the Project View onto the diagram. Hence, what Simon pointed out, if you double-click on the Package-Element in the diagram, by default it opens the the first diagram in that Package.

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Double click to get to new model
« Reply #4 on: June 23, 2008, 04:51:39 pm »
I will have a go at this subject at greater length tomorrow. For now, you don't have to set a Package to be composite. The purpose of a package is to group other components, so it is by default composite. You can drag other things into it (elements, diagrams, other packages) either on the Project Browser or on the diagram. One thing you cannot do, though, is drag top-level packages into it.

Try it - drag a package from one of the Toolboxes (such as Class) onto a diagram and drag things off the Project Browser into it.  Now drag another package from the toolbox onto the diagram, and give it a name. Look for that name in the Project Browser, and then drag things from the Project Browser up or down into it. Refresh your diagram, and you will see the contents of the Package reflected in the diagram.
Best Regards, Roy

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Double click to get to new model
« Reply #5 on: June 24, 2008, 08:43:14 am »
Quote
Subject to Diagram Properties | Elements | Show Compartments | Package Contents.

PeterM

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Double click to get to new model
« Reply #6 on: June 24, 2008, 10:36:04 am »
Thanks for all the good feedback.

Subject to Diagram Properties | Elements | Show Compartments | Package Contents.

I can see the package contents but not the linking. From what I have found the link is based on the name.

I am sure I have enough to work with now.  :)

EA looks like it will provide a lot more functionality than I antcipated.
What would be nice is a much smaller example than the all encompasing EAExample which took quite a while to generate its RTF document. Possibly something about 1/10 the size. Anyway that would be a nice to have.

Thanks again. 8-)

PS: One of the nicest forums I have ever used.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Double click to get to new model
« Reply #7 on: June 24, 2008, 11:21:37 am »
I should also say that you'll objects not actually in the package, but on diagrams in the ppackage shown in the package if you check Tools | Options | Diagram | Behavior | Show Linked Items in Package.

PeterM

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Double click to get to new model
« Reply #8 on: June 24, 2008, 11:40:31 am »
Tools | Options | Diagram | Behavior | Show Linked Items in Package.

Did that but it looked the same after (that option was not ticked)

Its not a big issue at this time.
Thanks for the suggestion though. :)