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 - Ian Mitchell

Pages: 1 ... 14 15 [16] 17
eaDocX can do this!
Just create an eaDocX 'section' in your Word document, and put a diagram in it. In the background, eaDocX remembers the GUID of the diagram, no matter where you move it to.

@Geert - I really liked that post - have you put it on the Community site? We should get some T Shirts made up for it!

Automation Interface, Add-Ins and Tools / Re: RunModelSearch
« on: May 25, 2013, 09:51:10 pm »
I think there may be a bit of confusion here.
There are two RunModelSearch methods: one in Repository, one in ProjectInterface.

ProjectInterface.RunModelSearch one has the one which just runs the search and allows for the showInEA option. Which seems to work just fine, but doesn't return the results.

Repository.RunModelSearch also runs, but the API documentation says it returns a string with the results.
Has anyone made this work? I can run it, and the search runs OK (but it also displays the results in the EA User Interface, which I don't want) but I can't get it to return any results.
In order to test it, i'm not passing any search criteria:


..but strXML is empty. The strReportName is OK, because the seach runs.

Is this a bug, or am I doing in wrong?

If you would like to be able to use the Stereotype of your Requirements in a Relationship Matrix, EA currently doesn't support it (as of V10).
BUT, if you generate documents using eaDocX, it allows you to choose the  Type AND Stereotype of items to appear in the matrix, as well as display the stereotype name (an other stuff) as additional rows/columns.
It only supports the 'main' stereotype - the one which is shown in the package browser: any other stereotypes are ignored.

I need to get back the contents of a diagram. Diagram.diagramObjects does this perfectly, but what about when the user has applied a Diagram Filter. Great feature, but how can I get the sub-set of diagramObjects from the diagram with the filter applied?
Looking at the format of the filter definition in t_xrefsystem (found that thanks to its really complicated, so no chance to do the filtering myself.
Any ideas ?

Automation Interface, Add-Ins and Tools / Re: storing (meta)data ?
« on: February 11, 2013, 11:04:43 pm »
Assuming that you don't want it to be a simple TaggedValue (which WOULD be visible in UI) then I guess all you can do is to use one of the existing columns in t_object. This would be dangerous, as Sparx might overwrite your data from somewhere else in the UI.
One approach might be to create a property of the element (in t_objectProperties) and put your data in there? Best to wait for the definitive solution from QUERTY...

If you use eaDocX to document your model, and not RTF, then you can create a diagram which shows just the methods/attributes you want, then document the diagram contents.

If you need highly-formatted document, have you looked at eaDocX?

Sounds like you're struggling with the RTF generator.
Have you looked at eaDocX ?

..or have a look at eaDocX. The Corporate version lets you put Excel inside EA, so you can generate regular reports, and let Excel do the adding-up and charting.

Have a look at eaDocX for a simpler way of creating documents.

Automation Interface, Add-Ins and Tools / Re: Drag/drop and Add-ins
« on: August 29, 2012, 06:18:05 pm »
Yes -I have some experience of it. Nothing good. I have asked Sparx for drag/drop support through as many channels as possible, but interestingly, no response.
If any Spaxians are listening-in, this really would be of huge benefit to add-in/extension writers: users expect drag/drop because of their experiences in all other UIs they use, so when an EA add-in arrives without d/d, our stuff looks a bit lame.

Automation Interface, Add-Ins and Tools / Drag/drop and Add-ins
« on: February 06, 2010, 05:25:46 am »
I'm writing an Add-in which needs to drag items from the Project Browser into a treeview control, which is inside a custom control.
I've enabled the control for drag/drop, but none of the dragover etc events fire. All I get is the 'there is no current diagram to perform this operation...' message from EA.
Does anyone have some example code for making d/d work in this context ?

Have a look at eaDocX. Much simpler

<product plug>
If you're trying to produce documents from EA, have you investigated eaDocX ? Simpler and faster for producing complex EA documents.

Pages: 1 ... 14 15 [16] 17