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 18
226
Automation Interface, Add-Ins and Tools / MS Word Import tool ?
« on: October 15, 2013, 04:45:27 pm »
I have a customer who needs a way of doing a 1-off import of a number of large MS Word documents into EA, and breaking them up into separate Packages, Requirements, Classes, Features etc. so they can then use EA to manage the data.
Does anyone know of any tools which might help them ?

What I had in mind was a 2-stage process.
  • First they take the heading structure of the document and make it into the EA Package structure. Maybe they might then take the content under each heading and make it into a Linked Document under each EA Package. This would at least get everything into EA.
  • They would then have to go through all the content, and highlight individual sentences/paragraphs, and make then into the relevant EA elements.

Has anyone written anything to do this? Has anyone any experience of doing his some other way?
Thanks

227
Automation Interface, Add-Ins and Tools / Re: Debug EA addin from EA
« on: February 17, 2014, 09:16:26 pm »
Have a look at ExploringEA.com - I think Adrian has figured a way to do this...

228
It would make me happy too.
So that would be me, Geert AND Helmut made happy, and that's GOT to be worth a tiny little code change....Please ?

229
@Sparx - does this function exist internally?
Please can you externalize it ? It would make the CloneProject function REALLY useful....

230
Automation Interface, Add-Ins and Tools / Test for Identical elements ?
« on: October 28, 2013, 11:12:18 pm »
Does anyone know of a way to test if two elements, created using the ClonePackage call, are identical i.e. has the clone been changed ?
Clearly, the GUIDs will always be different, so I need to ignore that, but there seems to be an almost limitless depths to checks needed to say whether one has changed: not just basic attribute values (Name, Status), but Attributes & Methods (and all their internal sub-structure e.g. parameters), Tagged value names and values, sub-elements like Constraints.....
There must be an easier way ? Maybe ? (and No, I don't want to create baselines : this is for an element-by-element comparison)

231
Automation Interface, Add-Ins and Tools / Re: How to close a tab?
« on: September 20, 2013, 12:31:40 am »
Thanks chaps - that works splendidly!

232
Automation Interface, Add-Ins and Tools / How to close a tab?
« on: September 18, 2013, 12:14:41 am »
I'm using the repository.addTab() method to create new tabs, but now I'd like to close them again, under program control.

The other "addXX" methods have equivalent "removeXX" methods, like removeOutputTab and RemoveWindow, but where's the 'removeTab' method?
Or does anyone know a way to close such a tab in some other way ?

233
Automation Interface, Add-Ins and Tools / Re: Creating New Property Group
« on: September 10, 2013, 11:16:01 pm »
I'm also following the same track, though in my case I'd really like to extend the Sparx BPMN implementation, to just add a 'Measures' group of tagged values to all BPMN Activities. Measures are not defined by BPMN, so are quite correctly not in the Sparx implementation, but I recommend to all my customers that they capture them.

If we had access to the 'source' of the Sparx BPMN MDG, this would be trivial, but I'm faced with having to dive into the depths of the raw MDG XML file, which I have done before, but as Querty says, this is hard. Its also makes it difficult for my customers to add additional TVs later.
Does anyone have any instructions as to how to edit the Sparx MDG to add such a new TaggedValue group?
Or even better, perhaps our friends at Sparx could make the MDG source file available :-) That would be REALLY helpful!

234
Not sure about RTF, but with eaDocX you can create LOADS of hyperlinks within your document.
We think it makes big documents much more readable. You can make documents which have a smaller 'main' part - which you really want the reader to look at - and lots of appendices, linked from the 'main' bit with  hyperlinks, which your readers MIGHT want to read.

235
The way to get this to work with eaDocX would be to give a different stereotype to the 'title' package then give it its own Profile.

236
Automation Interface, Add-Ins and Tools / Re: SynchTaggedValues
« on: August 06, 2013, 05:21:30 pm »
...and having those guys grinning at me isn't helping either...:-)

237
Automation Interface, Add-Ins and Tools / Re: SynchTaggedValues
« on: August 06, 2013, 05:20:16 pm »
I realise I'm a bit late into this discussion, and thanks Simon for the answer to my question: I was stuck on the basic adding of a new BPMN element.
It seems odd that we need to create a new element of type 'BPMN20.::Gateway', rather than one of type 'BPMN2.0::Decision' with a stereotype="Gateway", which is what I was expecting.
It seems that this MDG has effectively defined some new "types" rather than stereotypes of existing ones.
My question is therefore where are these new types listed? The BPMN help  explains very well what they are from the user's point of view e.g"Data Object", "End Event" etc, but is there somewhere where we can find the new type names which the API understands ? For example, do we:
addNew("something","BPMN2.0::Data Object") or
addnew("something","BPMN2.0::DataObject") etc

Also, is it just me who gets confused about what's a type, what's a stereotype, and what one of these new 'special types', which look like type+stereotype in the database, but which EA treats like first-class types when listing available types ? Are there some rules here which might merit a bit more explanation ?

238
So here's the data, done the hard way:

  • Resources      srchID={02707522-DB58-4db2-82A9-E987764859EB};
  • Method Details      srchID={FEDECDF1-720B-4fae-B36B-08AC1C35E18D};
  • Recently Modified Diagrams      srchID={EBF4F7B8-6188-4f32-B22A-3C7403EA6A95};
  • Recently Modified Elements      srchID={208FA579-C35F-436b-A557-83046DAF8F4E};
  • Failed Internal Tests      srchID={4D1F04A1-1762-4e3e-90AE-5CA86CBAC90E};
  • Find Orphans      srchID={0CA24A24-EFDA-436f-8E47-4D385118E214};
  • Attribute Details      srchID={A5481563-8672-454d-B038-927430FA86B1};
  • Simple      srchID={DEEA1BE3-4565-428b-B746-83403E071FE6}
  • Extended      srchID={FC9FB0D7-76F9-4db2-8635-5AE8172CF732};
  • Find Bookmarked Elements      srchID={4ECCA3E7-1674-43dc-900E-8A61D51C0441};
  • My Checked Out Packages      srchID={D3825173-0DAC-4bbb-874F-FCF1D445B1AF};
  • Simple Issues Search      srchID={DEEA1BE3-4565-428b-B746-83403E071FE6}
  • Requirements      srchID={67003A6F-D6F4-46d7-828E-66D55A3CF2AA};
  • Responsibility      srchID={A9EAC1EE-536B-45db-96C2-B49B4C1A0EAF};
  • Element Name      srchID={F5B9369D-F986-42ed-829C-EB4FA1072CD5};

239
Thanks gentlemen.
FYI - the EA-supplied, built-in searches are NOT in the /AppData/.../EA_Search.XML - these are only the user-defined ones.

As usual :-) Geert has the best suggestion: I'll just have to pick the built-in searches one at a time, and make a note of the GUIDs, then hard-code it into eaDocX.
@Sparx: this doesn't seem a very polite solution: any chance of a bit of help? Perhaps you might save me the trouble, and post the Name/GUID pairs ?
Pretty please :-)

240
In the definition of a ModelView, the name of  search is defined by its GUID.
But to run the search using repository.getElementsByQuery, we need the name of the search.
Does anyone know how to do a lookup on the search GUID to get its name ?

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