Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
General Board / Re: How to configure ODBC conection for Oracle DB
« Last post by Arshad on September 25, 2018, 08:43:54 pm »

I select "Microsoft ODBC for Oracle" and clic in "Add". I dont know how to fill the "SERVER" field...



Hi t0m4tit0

You need to install oracle ODBC drivers and need to configure it by selecting the installed drivers . Please find the downloads here.
http://www.oracle.com/partners/campaign/utilsoft-086879.html



HTH
Arshad
42
Automation Interface, Add-Ins and Tools / Re: Change appearance of elements
« Last post by qwerty on September 25, 2018, 08:41:39 pm »
1. Hmm. I don't have that option. What version of EA? What diagram type?

2. I'd guess you have some add-in messing around. Or you are using template packages.

q.
43
Suggestions and Requests / Re: arranging ports in a diagram via script
« Last post by qwerty on September 25, 2018, 08:37:34 pm »
That's a bit messy what you're doing. You should be done without the save/reload of the diagram. Just put a repository.ReloadDiagram at the very end of it all to show the update.

q.
44
General Board / Re: Where is my pattern that has been embedded to MDG?
« Last post by Arshad on September 25, 2018, 08:32:16 pm »

In step 3 a metaclass with the name "ToolboxPage" shall be created.
But what type of metaclass shall be extended? There are some dozens of "core element" like Action, Class, Enumeration...
 

Hi Boron

Please refer the To Create Toolbox Profile section in  How to define MDG Technologies in Enterprise Architect link . It show how to define own tool box .



HTH
Arshad
 


45
Automation Interface, Add-Ins and Tools / Re: Change appearance of elements
« Last post by rwittmann on September 25, 2018, 08:30:53 pm »
1. https://drive.google.com/file/d/1JS_3ahQDqBf4ybp4G8q2SzTn1OqKQlEp/view?usp=sharing (I hope it is allowed to post a link to Google Drive)

2. I create a diagram, select the note element from the toolbox and place a new note in that diagram. The inserted note is not empty. I would expect that a new note does not contain any text.
46
Automation Interface, Add-Ins and Tools / Re: MDG Technology : Quicklink examples?
« Last post by Arshad on September 25, 2018, 08:26:28 pm »
Hi all,
I'd like to manage quicklinks in my MDG and I'm looking for examples.
It could be useful to illustrate the help web pages.
Thanks a lot!
Olivier


Hi Mesple

If you had a meta model\blue print defined in your model  then you can follow this tutorial
(Quick Link Definition Simplified)
for generating an automated Quick Link .



HTH
Arshad
47
Suggestions and Requests / Re: arranging ports in a diagram via script
« Last post by cristian.ignat on September 25, 2018, 08:07:27 pm »
I was less interested in the way you calculated the position rather than how you update the data in the DB.

q.

This is how I add an element to a diagram.The ports are already part of the component and they seem to automatically snap to the component they belong to.

Code: [Select]
private DiagramObject addElement(Diagram d, Element e,String position) {

//Adds a diagram object (port or component) to the diagram given

DiagramObject newDiagramObject;


newDiagramObject = d.GetDiagramObjects().AddNew(position, "");



newDiagramObject.SetElementID(e.GetElementID());

if(!newDiagramObject.Update()) {
System.out.println(newDiagramObject.GetLastError());
}
repository.SaveDiagram(d.GetDiagramID());
repository.ReloadDiagram(d.GetPackageID());

newDiagramObject.Update();

d.Update();
d.GetDiagramObjects().Refresh();


return newDiagramObject;
}
48
General Board / Re: Suggestions Required - LOV/Value Meaning
« Last post by qwerty on September 25, 2018, 07:44:10 pm »
Attributes are found in t_attribute with matching ObjectID. Tagged values in t_attributetag with matching ElementID. In both cases it refers to t_object.object_id (note the consistence in the naming).

q.
49
Automation Interface, Add-Ins and Tools / Re: Change appearance of elements
« Last post by qwerty on September 25, 2018, 07:38:56 pm »
1. I can't help. There is no such option. Neither for a component nor a class (and probably anything else) :-/ Can you show a picture (you need to place it on a public server)?

2. Still no clue what you're doing here.

q.
50
Suggestions and Requests / Re: arranging ports in a diagram via script
« Last post by qwerty on September 25, 2018, 07:33:55 pm »
I was less interested in the way you calculated the position rather than how you update the data in the DB.

q.
Pages: 1 ... 3 4 [5] 6 7 ... 10