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

Pages: [1] 2 3 ... 8
1
Thank you Eve,

Is it possible to create these views without constraints on the possible element connections?
Indeed I think the view is not the right place to express metamodel constraints, except in the case where your view represents code or configuration items.

For Strategy and Enterprise Architecture you need one single metamodel applied to one single language (not one metamodel per view).
In the toolbox you need to show the usual elements and connectors.
But one should not prevent users from adding, sometimes, some additonal elements and connectors that are not usual in that kind of view.

Also it is better to implement the language metamodel using the language itself.
So it can be used both for
- Metamodel documentation
- Dynamic model validation
For example this language metamodel is used both for dynamic model validation and documentation.
http://www.labnaf.one/guidance/index.html?guid=ECF05395-8B5B-4973-AA4B-27E521AA5D30

2
In a diagram profile, how can we group/categorize existing diagram types so that they appear in a tree browser a bit like in Archimate 3?

So that, with a perspective properly set, the Add Diagram window shows for example:

Vision
- Corporate Objectives
- Domain Goals
- ...
People
- Organization Landscape
- ...
Application
- Application Landscape
- Application Interactions
...

3
Is there a way to automatically replace sql select content stored in list views and charts?

4
The traceability window is still ignoring MDG icons and this is confusing end users.

One generic way to solve it and to allow extensions at the same time is to provide an addin event that we can use to provide the icon that we need.
The icon could then also reflect the state of any element property or tagged value.

5
Thank you Paolo

6
Users are asking for a way to enter tagged values for a set of recurrent of a very long list of tagged values (longer than the window height).
As far as EA 14.1 is concerned, the specification manager is still very cumbersome for data entry.
It is also limited to the content of a package.


7
If I were you, I would rather simplify by changing my root packages into sub-packages.
Here is an example of a complex root package published to HTML: http://www.labnaf.one/guidance/index.html

It is easy to do. Here is something I did some time ago. You will need to tune it for your specific case.

1. Create a new single target package where you want your root packages to be moved to.

2. Using SQL Server Management Studio or equivalent, run some SQL to
a) change the package type for the root packages to be moved
Example:
UPDATE t_package set PackageFlags = NULL
WHERE t_package.Package_ID in (
   SELECT  Package_ID FROM t_package
   WHERE PackageFlags like 'isModel=1%'
   AND NOT (Name = 'XXXTRANSFER' or Name = 'XXXProjects')
   )

b) move the selected root packages into the new single target package.
Example:
UPDATE t_package set Parent_ID =  {ID OF MY SINGLE PACKAGE}
WHERE t_package.Package_ID in (
   SELECT Package_ID FROM t_package
   WHERE Parent_ID = 0
   AND NOT Name = 'XXXTRANSFER'
   )

Try first on a test database :-)

8
For some obscure reasons, some stereotypes defined in our MDG are mysteriously added to the list of UML Stereotypes in our shared repository.

As a result, when a new element or connector of that stereotype is created, Sparx uses the one defined in the repository instead of the one defined in the MDG.
Since the signature of these 2 stereotypes are different this has various impacts on the behavior of Sparx (execution of shapescripts, model validation...).

This situation happens notably when we change the type and/or stereotype of an element or connector in our MDG and then in the model repository. In that case, Sparx sometimes adds a new duplicate stereotype in the repository.

9
The architecture discipline requires frequent and dynamic updates to the metamodel.
Therefore having to rebuild and redeploy the mdg for each little change (as currently implemented by Sparx) is inadequate.

Therefore we are using a language metamodel, stored in the production repository, as language constraints.
When Sparx starts, an addin loads this metamodel and dynamically builds the language constraints in memory. These prevent users from creating the wrong connectors.
The exact same language metamodel is also used as documentation.
http://www.labnaf.one/guidance/index.html?guid=688CA55E-E24A-4561-B272-775DDAA01A08

When the metamodel is changed in the repository, the validation rules are changed instantly.

Quicklinks are also generated automatically from this metamodel.
The same validation rules can also be loaded from the quicklinks.

10
There is an additional issue with Build 1427 (already reported to Sparx) which make it unusable to me at least.

As soon as I save my workspace layout with a name and then reload it, then I can no longer save a UML profile without loosing the default stereotype colors.

If I delete the registry keys EA400/EA1405Workspace then it works again. But I loose my workspace.

11
Automation Interface, Add-Ins and Tools / Re: Stripped-down model view
« on: September 19, 2018, 12:00:01 am »
The Text Element stereotype is a good idea.

However we need this to be dynamic, like a model view.
And I would not add such behavior in our add-in.

I will issue a feature request.

Thank you.
Alain

12
Automation Interface, Add-Ins and Tools / Stripped-down model view
« on: September 12, 2018, 01:08:55 am »
Is there any way to have the equivalent of a model view as a text box, without any window around it.
Ideally there should be an optional text on the left.

Example: "Number of issues: " {text box containing the result of some SQL query}


13
In v14 there is now more than ar multiple ribbons in the RibbonSets.xml
In v13 there was a single ribbon in UserRibbon.xml

When deploying RibbonSets.xml to end users' computers, how can we make sure that the right ribbon is activated.
I could not find the currently selected ribbon set in the registry.

Thanks,
Alain

14
Thank you Nizam. But in the present scenario
- the MDG is stored and must be stored in the add-in
- the metamodel is stored in the repository

So I really need an API to load the MDG after the repository is already open (not OnInitializeTechnologies)

Cheers,

A.

15
Loading my MDG on EA_OnInitializeTechnologies is not appropriate for my needs. It is too early.
I need to first read configuration data (including a metamodel) from a repository, then update my MDG dynamically and then finally load the MDG.

How can I load an MDG at any time?
Would it be possible to make this API public please? This API should already exist since it is used by Sparx in the UI.


Thanks

Alain

Pages: [1] 2 3 ... 8