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

Pages: [1] 2
1
Automation Interface, Add-Ins and Tools / ProgressBar
« on: July 06, 2008, 01:57:53 pm »
Hi,

My question is this:

Does EA have a progressbar and if so, how can i handle it from c#

Thanks

2
Thats exactly what i'm trying to avoid.

I thought someone knows a better way to globally catch all unhandled exceptions, something like the ThreadException in .Net.

I want to handle the error messages instead of the EA

3
I'm writing in c#.

It's for my add-in framework i created

4
Hi all,

My question is this,

How can i override the built-in error handling?

Im trying to create a catch-all mechanism but my function never gets executed.

Please advise

Ron

5
Automation Interface, Add-Ins and Tools / Handling the cursor
« on: June 24, 2008, 10:27:56 pm »
Hi everybody,

My question is this:

Is there a way to change the cursor?

My addin is doing a time consuming operation and i need a way to indicate to the user that things are in process.

Does anybody knows of a good way to do that?

Thanks

P.S.
I'd prefer a way that doesn't involve messagebox

6
All i need is to get an EA.Element object that reflects the diagram.

Unless you tell me that the diagram is not really an element in which case there is no point in looping like i do

7
Hi,

My addin handles the creation of new elements in EA.
I need to return a list of EA.Element objects based on the user selection on the tree.

This means that i need to retrieve a List<EA.Element> representation of the subtree of the user-selected element.

I need to return the diagram itself too somehow so the user will be able to create diagram objects through my addin.

Thanks

8
Hi,

I'm trying to loop over all the tree in c#.

My line works well when i encounter an Actor diagram but when i encounter a UseCase diagram it fails, and i don't really know why

Thanks

9
Hi all,

I'm trying to get the element from a UseCase diagram like so:

diagramElement = EAInterface.Repository.GetElementByID(diagram.DiagramID);

and it cant find it...

any ideas?

10
I think i was misunderstood in my question.

The EA software has several views like: Project Browser, Notes, Properties etc ( by views i mean the tabs in the software itself )

Is there a way to create something like that?

The AddTab method adds a tab in the main content area and that is not my intension

11
Hi everybody,

Is there a way to create a new view in EA, like Project Browser, from an add-in?

I'm writing the add-in in c# so if someone can give me an example, i'd appreciate it alot

12
Hi everybody,

I'm creating a buffer to hold all the user actions until he presses the "Save" button.

For now i just create the new element in the system and then deletes it.

I need some kind of cloning capability and i wondered if anyone ever tried anything like this before.

Right now i'm doing this by hand ( didn't test it yet ).
Is it possible that the EA guys never thought about that kind of operation and didn't create a cloning capability into the system?

If anyone created some kind of cloning mechanism, I'd appreciate if he  shares it with me

Thanks

Ron


13
Hi everybody,

Is there a way to get the parent of a specific element?

When i try to use the ParentID attribute it always contains zero

14
Hi everybody

Is there a way to use the the EA native editor ( the one that handles the linked documents ) in a c# winform add-in?

15
Hi everybody,

My question is this:

Is it possible to hide an existing menu item or overriding it so it would show my form instead of the native EA form?

Ron

Pages: [1] 2