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

Pages: [1]
1
General Board / Custom Stereotype Icons without Shape Scripts
« on: January 28, 2008, 02:00:27 pm »
How can you assign a custom graphic to a stereotype in a UML Profile project? I don't want to use the Shape scripts as I already have a robust set of icons.

I also want these icons to be serialized and distributed in or with the profile xmi file when I export the profile from my project.

Thank you.

2
General Board / Tagged Values not updated when changing stereotype
« on: January 25, 2008, 09:44:57 am »
Is there a easy way to add the tagged values of a stereotype to an existing model element?

I've found that after an element is created, changing its stereotypes has no effect on its tagged values. If I want the tagged values from a new stereotype, the only way I can see is to go to the Resources window, locate and right-click on the stereotype, and select "Synch Tagged Value and Constraints..." This is a very cumbersome process and unnecessarily slows the modeling process.

Is this just the way it is, or am I doing something wrong?

Thank you.

3
General Board / Re: Stereotype Tagged Values as collection
« on: January 25, 2008, 08:48:09 am »
Sorry I wasn't quite clear in my initial question. I need to define a tagged value in such a way that when the modeler applies that parent stereotype to a model element, he is able to add as many items into this tagged value as he wants to.

So for example, I have a stereotype called "Pattern" that has a tagged value of "RegexExpressions". I want the modeler to be able to add any number of regular expressions into this "RegexExpressions" tagged value.

I've always been able to do this in RSM. Is this possible to do in EA?

Thank you.


4
General Board / Stereotype Tagged Values as collection
« on: January 24, 2008, 01:32:05 pm »
I'm trying to define a UML profile. Some of the stereotypes have tagged values that I want to define as a list of a certain data type. For example, I might want a tagged value to contain a list of string values.

I've tried setting the Attribute Multiplicity and the "Attribute is a Collection" options. But neither of these seem to do anything when I export the profile.

Can anyone tell me how to do this?

Thank you.

5
Bugs and Issues / IDualRepository.GetDiagramByGuid wrong return type
« on: August 27, 2009, 12:19:13 am »
IDualRepository.GetDiagramByGuid returns a result of type "object" instead of the expected "EA.Diagram".

Thank you.

6
How can I programmatically open the property window for an model object? I am referring to the same window that opens when the user double-clicks on a package or element in the Project Browser. I've looked through the documentation but didn't find anything.

Thank you.

7
Thanks everyone. I've reported this as a bug. Not critical or anything. But it's good to have consistency.

8
Is there any reason why IDualRepository.GetDiagramByGuid returns a result of type "object" instead of "EA.Diagram"?

All of the other IDualRepository.Get__ByGuid and IDualRepository.Get__ByID methods return their expected types. For example, IDualRepository.GetElementByGuid returns an "EA.Element" object.

Can the result be something other than of type "EA.Diagram"?

Thank you.

9
I'm trying to handle this event in my addin. However, when I press F1 while the menu item of my addin is selected, my event handler is never called. Instead, the standard EA help file opens.

All of my other event handlers are working just fine. Here is the signature of my event handler in C#:

        public void EA_ShowHelp(Repository eaRepository,
            string menuLocation,
            string menuName,
            string itemName)

Did I make an error, or is there a bug in EA?

Thanks.

10
Automation Interface, Add-Ins and Tools / More Robust Addin Menu Items
« on: January 14, 2009, 06:34:49 am »
I have a couple of questions about contributing menu items to EA:

Is there any way to add menu items to anywhere outside of the "Add-Ins" root menu?

Is there any way to add icons, tooltips, and keyboard shortcuts to the menu items that I contribute?

I've looked through the documentation and the API but did not see anything that addressed these.

Thank you.

Pages: [1]