Book a Demo

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

Pages: [1]
1
General Board / Modelling generalization between associations
« on: January 16, 2012, 09:28:35 pm »
Hi everybody!

It might be a bit uncommon but UML permits generalization between associations, like in this example. How can I model it in Enterprise Architect 9.2? The Generalization page in the EA guide is a bit short of information, and the standard Generalization relationship in the toolbox only works between classes.

Regards,
Stefano

2
General Board / Re: Expanded view of packages in a diagram
« on: January 16, 2012, 04:00:58 am »
Thank you for your support, your solution worked great. I thought there was a way to do this automatically.

Regards,
Stefano

3
General Board / Expanded view of packages in a diagram
« on: January 14, 2012, 05:43:29 am »
Hi everybody!

This might be a stupid question, but even through searching a bit I did not manage to find a solution. I'm drawing a Package Diagram in EA 9.2, but I only manage to have packages depicted in a compact view, where elements within packages are simply listed by type. What should I do to show packages in an expanded view where also relationships between elements within packages are shown?

Thank you in advance.

Regards,
Stefano

4
Bugs and Issues / Re: UI freezing problems
« on: July 21, 2012, 10:17:28 pm »
(Quite unexpected) follow-up on this problem: updating EA to the last version (9.3 build 934) fixed this issue. Really not sure how this magic happened!

Regards,
Stefano

5
Bugs and Issues / Re: UI freezing problems
« on: March 22, 2012, 12:19:47 am »
Unfortunately, I know. That's why I was asking, maybe there's some kind of known compatibility issue (really seems like to be a compatibility problem, that's why I first thought of anti-virus and firewall) with some other software/package/update, because I seem to be the only one with this problem. I was thinking that I'm running my Windows installation in Boot Camp, since my laptop is a MacBook Pro. Could this somehow be the cause?

I will try to install it on some other computers and/or a virtual machine and report back, but this could take some time. In the meantime, feel free to provide me any kind of possible hint.

Regards,
Stefano

6
Bugs and Issues / Re: UI freezing problems
« on: March 21, 2012, 11:52:49 pm »
Thank you for your answer. I know that sometimes can be as you say, but I feel there's something strange going on for me.

Indeed, I experience this problem even upon opening EA (so when no project with potential "large elements" is loaded), and also upon having all the Add-Ins disabled through the Extensions -> Manage Add-Ins. EA shows just a so unresponsive e freezing-prone behavior for any kind of mouse input interacting with windows and menus.

Regards,
Stefano

7
Bugs and Issues / UI freezing problems
« on: March 21, 2012, 09:44:18 pm »
Hi everybody, I'm using EA 9.3 and experiencing a lot of UI freezing (up to 7-seconds) problems, especially while resizing or moving snippet windows like the toolbox, Project Browser, etc. Even top menus are really slow (2-3 seconds delay) to open.

Turning off antivirus and firewall doesn't help. Uninstalling and re-installing EA doesn't help as well. Memory and CPU usage in the System Task Manager have normal values. My O.S., Windows 7 x64, appears to be fine, since everything else in it works as expected.

Have someone else experienced UI freezing problems with EA? What could they depend on? There could be some other conflicting software, but I have no idea.

Regards,
Stefano

8
Bugs and Issues / Re: Multiple entries in the Add-In menu
« on: April 29, 2011, 06:12:10 pm »
I'm using EA 8.0. I wasn't able to manually delete the menu entries, but resetting the menus from the Tools > Customization dialog did the job pretty well. Nice to hear it has been fixed in further versions.

Thank you for your support!

Regards, Stefano

9
Bugs and Issues / Multiple entries in the Add-In menu
« on: April 28, 2011, 11:30:55 pm »
Hello everybody!

I'm experiencing a weird behaviour with the EA Add-In menu. It just seems like that multiple entries are shown when i browse the menu, with only the first one actually having the submenus I expect, while the others being plain void.

Here is a screenshot of what I see when I click on the Add-In menu:




And here is another screenshot on what I see when I select one of the duplicate entries:



Uninstalling/Reinstalling both the Add-Ins and Enterprise Architect itself didn't help. Any ideas on what is going on?

Regards, Stefano

10
Quote
Quote
The hyperlink will not become an element (from t_objects) but only a diagram object (from t_diagramobjects).

q.
That's not correct q...

I create Diagram hyperlinks by setting Type to "Text",  subtype to "0" and then performing some direct DB surgery on the PDATAs.  (I don't have the code with me at the present).

Stefano, if you create a brand new hyperlink in an existing repository, and look for the last element added to t_object you should be able to see what you need to know for exactly determine if the t_object is a diagram hyperlink.

HTH,
Paolo


Thank you for you answer Paolo. I manually opened the EAP project file with a very simple DBMS (Microsoft Access) and found out that Hyperlink objects have the value "19" in the column "NType", which is also reported in the EA.Element object property "Subtype". The EA reference guide says that this is a "numeric subtype that qualifies the Type of the main element."

I wasn't able to find a map with the meaning of the numeric subtypes, besides the few examples provided in the "Subtype" attribute description: http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/element2.htm

Should I assume that each EA.Element object with "Subtype" with the value of "19" is an Hyperlink? Mind that I wasn't able to build a counterexample, that is, create a Text object in EA which is not an Hyperlink, and see if it has a Subtype value of "19" too.


Regards, Stefano



UPDATE: Dumping the database more accurately, I found out that each hyperlink also has a PDATA1 value set to 0. Even if the reference guide does not say anything about PDATA fields ("These database fields are not documented and developers must gain understanding of these fields through their own endeavors to use this property.": http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/element2.htm), I think that this could be another parameter to identify hyperlinks.

11
Hello everybody!

I know that if i drag&drop a file from the windows explorer into a diagram in EA, i can create an Hyperlink to the file which will show up in the diagram. If doubleclicked, the hyperlink will open the linked file.

How can I tell, using the EA automation interface, if a given EA.Element object is an hyperlink? Debugging a small test unit I didn't find anything particular in a EA.Element object which i know is an hyperlink, besides its name (which is the file full path), and its type, which is "Text". I've also noticed that an Hyperlink generetad by drag&dropping an diagram into another is recognizable by its type attribute "UMLDiagram".  

I could assume that each EA.Element which has a name resembling a file path and has "Text" as type has an high probabilty of being an Hyperlink, but as you can imagine I'm looking for a better way to programmatically tell this case.

This time, the EA SDK reference guide didn't help me.

Any ideas?


Regards, Stefano

12
Thank you, using "AssociationElement" fixed my problem. I was getting confused since usually the metaclasses have the same name as the elements that can be included in the toolbox, but this type the metaclass had name "n-Ary Association" while the element had name "AssociationElement".


Regards, Stefano

13
Hello! I'm developing a toolbox profile for EA using the MSG technologies as described in the guide.

I've created a stereotype, say MyAssociation, which extends the metaclass "n-ary Association", and I've added in the stereotype Elements which extends the metaclass ToolboxProfile an attribute named

Code: [Select]
MyToolboxName::MyAssociation(UML::n-ary Association)
which has type "n-ary Association". The problem is that, once running my Add-In, I can't drag&drop the MyAssociation element from the toolbox (it doesn't show up on the diagram).

I guess it's some kind of a problem releated to the metaclass "n-ary Association" which doesn't seem to be in the UML metamodel (although it's depicted as a metaclass in the "Create New Metaclass" dialog), because my other stereotypes extending other metaclasses like Class, Association, UseCase and such work fine.

Any ideas?

Regards, Stefano

14
Thank you! I found this reference, which looks like to be relevant to what I have to do: http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/shape_editor_2.htm

I'll let you know if I'll get further problems.

Regards, Stefano


15
Hello everybody! I'm writing an add-in for EA using the Automation Interface, and I have to define a new toolbox with some custom elements.

Reading the AI user guide, I managed to define a profile for a simple toolbox. I know that each element which I have to drag&drop from the toolbox has to be defined in the toolbox profile as a stereotype extending an UML metaclass: say that I have to define a MyClass element, i create the MyClass stereotype and make it extend the Class UML metaclass. Dropping a MyClass element from the toolbox to a diagram will result in having an object which "is drawn like" a class (thus, has the shape each class has, which is a rectangle) drawn into the diagram.

What now if I have to define toolbox elements which have some shapes which aren't defined in UML (and thus, which don't have a corresponding metaclass)?
This is my problem: I have to define some toolbox elements with shapes like the parallelograms A and B, and the arrow with the perpendicular line in this picture below:



I suppose I have to somehow to define new metaclasses with custom images (parallelograms and lines), but don't know hot to proceed.

Any ideas?

Regards, Stefano

Pages: [1]