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

Pages: 1 2 [3] 4 5 ... 15
31
Automation Interface, Add-Ins and Tools / Data Modeling
« on: May 15, 2017, 02:49:49 am »
Hi together,
It seams to me that Toolbox > Data Modeling has change since I used it the last time.
(1) If I want to add properties with F9, it opens a database-connection. Can I turn this off?
(2) If I want to add columns, the type has to be a VarChar. Is that a bug or a feature?
(3) The documentation says, that there is a diagram available for this notation "Click on Extended > Click on Data Modeling". I cannot find this. How can I assign this diagram type to my diagram?
(4) Normally I use Chen, but prefer Data Modeling in the meantime. Am I wrong using this notation for modelling databases?
Many thanks in advance, V.

33
1) Yes. The manual "Link to element feature". The API does not provide that directly. So you need to investigate what EA is doing in that case (forgot the details, sorry).q.
Very helpful. Thank you very much.

34
Hi,

(1) Is there a posbility to relate an element (in my case a BPMN activity) and a method of a class?

Related to the question above but in fact a new topic is the following: I tried to drag and drop the method (a) of a class from the project browser onto a diagram. I am confused about the result:
(2) EA did not ask if it should add a link or a copy. It created a new element (b) in the project browser with the the same name but different shape and an additional element called "target" (3). And it added the new element (b) into the diagram. What does that mean?
(3) If I ask the created shape / element (b) for "insert related elements" the list is empty. So the element does not know that it is derived from the method (a) and that it should be related to it.
(4) If I change the name of the original method (a), the new element (b) adds the new name after the name of the original class and two double points, but keeps its own name.

Feedback is very welcome. Many thanks in advance, V.

35
He want's them to appear in the "Insert Related Elements" dialog. This is a valid request and I'd suggest to ask for a new feature.
q.
Thank you for clarifying, qwerty.

36
@qwerty @Paolo @Sunshine, many thanks fo your answers.

If I understood you correctly the relationship (represented in teh database only) is more internal. Maybay it is correct to say the realtionship is "for represation purposes (in the diagram and in the project browser) only". Like the position of an element in a diagram, this relationship is used to store the position of an element in a hierarchy in a diagram and / or in the project browser.

In any case I need to add a relationship on my own. I cannot expect the users to use SQL.

37
I see. No, that's not possible. "Related" just means "connected with any kind of connector". Might be worth a feature request to also include this kind of relation.
q.
No, related means "having a relationship".  Whether expressed as a connector or by some other means.  If Sparx wanted to only show connected elements, they should have (/ still can) said so ("Show Connected Elements)".  If I specify a Classifier, then I am expressing an "instance of" relationship.  My Classifier is, therefore, a related element.  Indeed in our modelling environment, we often "materialize" some of these implicitly (in EA) defined relatinships - so that the two sets are congruent.
But in these post-truth, alternative facts, days - the meaning of words doesn't matter.
Paolo
Hi Paolo, I am not sure if I understood you correctly. There is an (implicit) relation. So would add resp. model an (explicit) relation (e.g. is-part-of)? V.

38
I guess you answered your own question: write a custom query. (Honestly, I didn't really get the gist of what you are looking for.)
q.

The question is, if there is a way to get the references (automatically added by EA and maybe hidden) listed in the "Insert Releated Elements" window.

39
Hi, I cannot imagine that this has not been asked before, but I cannot find a corresponding thread.
(1) EA builds a hierarchy in the Project Browser by default if I move an element into another. But it does no reflect this via any kind of relation. For exampe the "reference" is not shown "Insert Releated Elements".
(2) The same is happens for "Composite Diagram" resp. "Child Diagram".
Is there a way to find out the relations (without database-queries)? Many thanks in advance, V.

40
Hi Viking,

Try selecting the item in the Project Browser and <Context Menu> | Add > Add Custom Reference

That may do what you want.  You can put references to more than one diagram, there I believe.

HTH,
Paolo
Hi Paolo, I can only select another Element in the same package. What I want is to add resp. reference several diagrams in arbitrary packages. Did I do something wrong? V.
Sorry Viking, got it the wrong way round. 
You need to have the element (for which you want to create the custom diagram reference) visible on the current diagram.  You then select the "target" diagram in the browser.  Then: <Context Menu> | Add Custom Reference... and select the element you want the reference for from the list (in the current diagram).  This establishes the reference, now select the element in the current diagram and [Ctrl+J] should list the reference to the diagram you just made.
Did that work?  Does for us...
Paolo
Hi Paolo, Thank you very much for your explanation. I did not know the concept. It works!
Do you add something to the element that the users see that there are references to the element (like the sign for the Child Diagram)? V.

41
Hi Viking,

Try selecting the item in the Project Browser and <Context Menu> | Add > Add Custom Reference

That may do what you want.  You can put references to more than one diagram, there I believe.

HTH,
Paolo
Hi Paolo, I can only select another Element in the same package. What I want is to add resp. reference several diagrams in arbitrary packages. Did I do something wrong? V.

42
Hi, I have an element A and with a click I want to jump to diagram 1 oder diagram 2. The reason for this request is that I model a value chain. A process (element A) summarizes several variants (here digram 1 with process variant 1 and diagram 2 with process variant 2). Is there a way to get a selection box for an element with more than 1 choices? At the moment I am using hyperlinks to jump from element A to diagram 1 or 2. I also tried a Child Diagram and added the variants there (n processes in 1 diagram which I do not want). Both alternatives are not satisfactory. Any ideas? Many thanks in advance V.

43
Automation Interface, Add-Ins and Tools / Re: Timer
« on: April 26, 2017, 03:35:50 am »
Well, Windoze does have something like cron. I don't know how it's called and presumably it differs from Windoze 95 to Windoze 10 (hey, have they really published a version 85 less?).
q.

Many thanks. I will try this.

44
Automation Interface, Add-Ins and Tools / Re: Timer
« on: April 25, 2017, 10:00:13 pm »
Write a script ans use the API call ExportPackageXMI : http://www.sparxsystems.com/enterprise_architect_user_guide/12.1/automation_and_scripting/project_2.html
q.

Hi q.,
Thank you. I am not sure If I understood you correctly. I am more looking for timer. I cannot see the timer in this conext.
V.

45
Automation Interface, Add-Ins and Tools / Timer
« on: April 25, 2017, 03:07:03 am »
Hi,

Is there a possibility to start XMI-im- and exports with a timer? We have to ex- and import very big models and want to do this at night after the database backups.

Many thanks in advance, V.

Pages: 1 2 [3] 4 5 ... 15