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

Pages: 1 ... 5 6 [7] 8 9 ... 35
General Board / Re: Performance of Sparx EA under Linux Wine
« on: September 15, 2016, 10:44:38 am »
Used Sparx on Mac OS (BSD Linux) on WINE and seems to work fine. Only things I found that didn't quite work
Colour picker couldn't pick colours. This has been reported to sparx
When using a secondary monitor it wouldn't show. Think this is a problem with WINE.
Other than that all good.

Uml Process / Re: CSV export with notes
« on: September 12, 2016, 09:56:38 am »
Not sure if it will address your problem but there is an Office MDG you could try the export facility to excel in that. You can down load a trial version to see if works for you.

General Board / Re: DDL change scripts
« on: September 08, 2016, 07:42:26 pm »
The Database Builder does support synchronizing the DBMS structure with change scripts. I suggest you have a look at the example in the whitepaper and webinar covering the Database Builder:
Thanks for bringing that to our attention. Didn't know it existed.

Uml Process / Re: Specification Manager
« on: September 07, 2016, 07:52:19 am »
If you are using EA version 13, then tagged values can be added as follows:
Ahh V13 we are all waiting for it with its new UI and features but its taking a bit of time to get out of beta aye?

FYI - %APPDATA% is in a hidden folder so to see it you need to tick the "hidden items" in Windows file explorer and that is why you had trouble locating it.

General Board / Re: DDL change scripts
« on: September 07, 2016, 07:31:41 am »
As mentioned Sparx only generates DDL for the whole database not changes. However what you could do is use that to create a new database then use one of many tools out there to compare the two databases and create change scripts to apply to the first database.

I know other tools like Sparx provide that capability so you might like to put a feature request in to Sparx Systems and if your lucky they might implement it some time in the future. Doesn't help you immediately I know but would help others in the future.   

General Board / Re: Link element to continue on another diagram
« on: September 07, 2016, 07:22:38 am »
Here is a thought and common pattern used for managing large amounts of classes. You group them into domains, subject areas or what ever you want to call them.
If you put each diagram in a package with the elements for that domain. You can create a parent package that allows you to drill down to the domains by putting all the packages (domains) on to the parent package.
In each domain diagram you can add hyperlinks to the other diagrams so you can navigate between them. The hyperlink can be created by dragging the target diagram in the browser on to the diagram canvas or via the toolbox in  the common partition and navigating to the diagram.

So the pattern is something like  this
Parent Package
   Parent Diagram with domain packages to drill down
   Domain Xpackage
      Domain X Diagram
      Class A
      Class B
   Domain Y package
     Domain Y Diagram
     Class C
     Class D

In your diagram of Domain X it shows relationships to other domain classes which you can distinguish via some means like colour or using a boundary.
    Class A -> Class B -> Class C [Next to Class C you put a hyper link to Domain Y Diagram showing the other relationships to Class C]

General Board / Re: Visualizing element complexity
« on: September 07, 2016, 07:04:03 am »
Or the easy way is just add a diagram legend and use auto legend to set up a colour for each value of complexity value.
See the V12.1 user guide for example using priority [just change that to complexity]

The dialog box is showing here describing all the settings

Couldn't be easier  ;)

General Board / Re: Sparx Cloud - User Access
« on: September 07, 2016, 06:52:58 am »
So you want single sign on with multiple organisations? Here is a thought but untested. As each organisation will have its own active directory and user base you'll find it difficult however not impossible. You should look into setting up federated Active Directory in Azure and pushing the user credentials up into Azure AD from each organisation. You should then set up the Sparx EA Cloud service and database to use the Azure AD. This way  you might  have a chance of succeeding with single sign on by using a single AD source.
There will probably be some challenges as each organisation will have its AD user base set up with different groups and processes and policies so managing these across different enterprises could be the biggest challenge.

Good luck and do let us know if you were successful.

Uml Process / Re: Specification Manager
« on: September 04, 2016, 06:44:16 am »
Next question can you save the specification manager view as a diagram?
No but check out the following
a) model views in the dashboard diagram although the items in the list will be read only.
b) view all items on diagram and view diagram as list - no tag values though.

General Board / Re: Round trip XSD. Updating Previous Import
« on: August 31, 2016, 11:03:59 am »
Oops didn't read that post too carefully did I? XSD vs XMI duh!

Thinking about that further I guess with the XSD not having Sparx EA GUIDs in it you could only match the elements by name. If the names change then it makes it rather difficult.  You need a way of matching up elements to merge the updates into the existing model.
If the names didn't change you could match the names and use some sql using a left or right outer join to merge the two sets of data after you imported them. using eap file you could use MS Access to write the SQL to merge.

Other than that don't have a lot of ideas without further info.

General Board / Re: Round trip XSD. Updating Previous Import
« on: August 31, 2016, 07:22:51 am »
There is a Strip GUIDs tick box on the Import XSD dialog. Make sure that is not ticked then when you import it will replace rather then add duplicates.

EAP file is just an MS Access data base so yes it is possible to open it with MS Access and run reports or queries.
In case you don't have MS Access you could also open with Libre Office too.Not sure why upgrading Sparx EA V9 isn't an option its inexpensive to do so. You could spend a lot of time and effort that translates into money so have a careful think about not upgrading. Sparx may have fixed those bugs you mentioned for a start. Personally I'd upgrade as V9 is pretty old now but you probably have your reasons.

There is a caveat with MS Access the original eap file uses Access 97 so later versions have to convert to Jet 4.0 to create queries. You can upgrade using Jet 4.0 option in the options dialog of Sparx EA and doing project transfer to the jet 4.0 eap. You have down load from Sparx Site the base for Jet 4.0 and replace the EA_Base.eap file in program files. Instructions can be found on sparx systems website.

General Board / Re: New stereotype creation
« on: August 25, 2016, 08:52:43 am »
In my EA MDG I extended only the archimate 2 element without the need for the base uml meta class and it worked fine. i.e. no need to extend class too. If you think about it the Archimate 2 element is already extending the uml meta class so you may end up with some side effects by extending the meta class twice.

Tags on diagram -  Well the archimate 2 shapescript doesn't seem to support that so you have a couple of options.
a) connect a note and connect the note to the element using linked note element feature (left click on connector to get context menu) and select tags
b) create and _image attribute and write the shapescript to do that all that. Use Geert's shape script code to extract the shapescript to start you off rather than starting from scratch.

BTW; I've got an EA MDG model that extends Archimate 2 which is used to create a custom EA MDG based on ArchiMate and I share it with folk I know across NZ govt under a creative commons ShareAlike licence Free of charge. I can remove the NZ Govt specific stuff and share it if anyone is interested.

Similarly I have a Enterprise Integration Patterns MDG I could share too based on Gregor Hohpe's book
The question is where is the best place to share them? Any suggestions?

I've created child diagrams for elements using API in javascript so I think rather than hack the database using the API from C# would be safer.
That being said you should use the method AddNew("Diagram Name","Diagram Type") from the diagrams collection of the element.
See this link for more detail

An example in javascript
Code: [Select]
var theElement as EA.Element;
var motivationDiagram as EA.Diagram;
motivationDiagram = theElement.Diagrams.AddNew( theElement.Name + " Motivation", "Motivation Diagram" );
motivationDiagram.Notes = "The diagram above shows the motivation for the workpackage " + theElement.Name;

Note the diagram type "Motivation Diagram" is from my custom EA MDG incase you were wondering.
Hope that helps

Pages: 1 ... 5 6 [7] 8 9 ... 35