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.


Topics - Ian Mitchell

Pages: 1 2 [3]
31
General Board / Migrating Visio BPMN into EA
« on: April 18, 2013, 03:00:53 am »
Does anyone have any faster way of migrating Visio BPMN diagrams into EA?
I am using the 'MDG Visio Importer' but whilst it's great on the geometry of the diagrams, its hopeless at creating the correct element types & stereotypes: everything seems to stereotypes of a single type (Activity looked easiest), but the EA BPMN uses lots of element types. Also, the source BPMN has lots of line types, and they all come out as a single one. And every line needs to be made 'Orthogonal rounded', which is really, really dull....
There MUST be a better way than spending an hour correcting each diagram!

32
Bugs and Issues / Creating new Operations in Locked Components
« on: March 03, 2014, 10:03:57 pm »
We have a component model which has locked components which most users can't update.
So, if they try to add new Operations to those components directly, EA correctly stops them.
BUT
When they take the same component, make it realize an interface, EA will let them select which operations they want to implement, THEN LETS THEM ADD THEM TO THE COMPONENT.
Surely this breaks the security model? Or have I missed an option somewhere?
How can I stop my users from compromising the integrity of my master model ? :-/

33
Uml Process / Inheritance of Required- and Provided-Interfaces
« on: November 19, 2013, 01:45:43 am »
I'm trying to provide an EA 'sandbox' where designers can try-out new ideas for components, based on pre-defined (read-only) existing ones.
The existing ones have lots of Provided- and RequiredInterfaces defined, with lots of operations on those interfaces.

What I was expecting to do was have them
  • create a Generalization of the existing component, so that they don't break anything
  • then add/modify interfaces/operations of the new Component
Mostly, though, they will just be re-using existing Interfaces (and their operations) from the parent.

But EA doesn't seem to inherit the ProvidedInterfaces of the parent. I'd imagined that anything which inherits from a parent inherits everything: operations attributes and implemented interfaces as well.

Any operations defined in the parent component are inherited just fine - of course - but I was surprised that the ProvidedInterfaces were not inherited as well.
Is this a gap in my understanding of (1) UML or (2) EA, or (3) just a funny in EA ?

The only way I can seem to get around this is to either
- create the ProvidedInterfaces all over again, on each of the inherited Components, which rather means there is no point inheriting the Component in the first place.
or
- doing a Copy/Paste of the parent element. This correctly copies the Provided- and Required-Interfaces. But now I've lost the fact that the new Component is related to the parent.

In both cases, if the parent changes, the children (copies) don't know. :-(, which is exactly what inheritance solves.

34
I'm trying out the "Office Integration" add-in from Sparx, and there's a useful-looking button on the front page of 'Import Word Document' which says 'Add Diagrams for each package'.
No matter what I do, I can't get it to import the diagrams from my Word document.
Has anyone else made this work?

35
Automation Interface, Add-Ins and Tools / Sort order of Scenarios
« on: June 10, 2015, 11:59:49 pm »
I'm pulling scenario data from the API using EA.Element.scenarios, but there is some data missing, namely the 'Step' indication from the UI.
The UI shows each scenario with the basic path step from which it is called, and a letter (a->z), so that the steps have a predictable sort order in the UI.
Question is, where does that sort order, and the 'step' numbering come from ?
The table t_objectscenarios has a column 'EValue' - even Querty doesn't know what this does, but it may get copied into an attribute called 'scenario.weight', which is sometimes the sort order, and sometimes not.
Can anyone from Sparx tell me where the Step number+letter comes from ?

36
Automation Interface, Add-Ins and Tools / Office MDG Performance
« on: June 08, 2015, 09:34:48 pm »
Having just installed the Office MDG, i'm now getting some strange performance impacts from Word and Excel. Each of them now takes about 10 sec extra whenever a file is loaded. This seems to be associated with Word and Excel addins which also seems to get installed with the EA MDG.
I have a i5 computer with 8Gb and an SSD, so everything else is super-fast: does anyone know what these addins are doing for 10 seconds each time ?
BTW - disabling the Sparx addins removes the problem, so I'm 100% certain they are to blame.

37
I've only just discovered that we're allowed to create content for the Learning Center, which would mean I can write training material which the user can view at the same time they are using EA: should be great!
But the instructions are quite brief, and I've spent a while not making much progress.
Does anyone have an example - even a simple  'hello world' one - which shows how I can create a bunch of pages, have them link to each other, and have some diagrams etc. this would help me see what I'm aiming at. Or perhaps Sparx might make a little bit of the actual Learning Center content available, as a ready-made example?

38
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

39
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)

40
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 ?

41
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 ?

42
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 https://leanpub.com/InsideEA) its really complicated, so no chance to do the filtering myself.
Any ideas ?

43
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 ?

44
Automation Interface, Add-Ins and Tools / Closing an Addin custom view
« on: February 12, 2010, 01:40:48 am »
Having coded my Add-in, I'm finally getting around to the tidy-up of the UI, and I can't seem to find any way to close the Custom View under program control. Is there an interface somewhere to do this ? If not, why not?
Also, having created the new Tab which contains the custom view, how can I change the name of it? In my add-in, the user gets to do a 'saveAs' for the data in view, and it would seem sensible to change the tab name once they have done so.

Pages: 1 2 [3]