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 ... 9
1
Bugs and Issues / Re: Repository.SaveAsDiagramProfile does not save colors
« on: November 16, 2019, 01:57:17 am »
Indeed. I reported the bug.

2
Bugs and Issues / Repository.SaveAsDiagramProfile does not save colors
« on: November 11, 2019, 01:18:40 am »
Great idea. It would be a very useful function.
However, unless I am missing something, in our case it is useless as it does save the colors.
A.


4
Hello,
A user can change an existing connector by moving a connector end to another element.
And in that case "EA_OnPreNewConnector" is not triggered.

Does anybody know what event is triggered in that case?

Thank you in advance,
Alain

5
... when the stereotype is defined in an MDG?

Does anybody know?

Thank you in advance,
Alain

6
Are there any plans to provide URLs that are accessible from outside the repository.

Here is a use case:

User 1
- Right-clicks on a diagram and select (new option) "Copy link to diagram" (just as in OneNote).
- Copy the link in an email.

Robot/daemon
- Create links to diagrams and puts them in emails or on a web site

User 2 (recipient)
- Clicks on a URL

EA
- Starts if was not already running
- Opens the diagram and makes it active


7
Related to history of Changes and fixes for Build 1427. (https://sparxsystems.com/products/ea/history.html)

Still no API to make this synchronization automatic vs manually pushing a button every time?

Can't find any.

8
So we can write console programs or services that access the object model in batch mode
- without having to install EA on the server
- without existing limitations which are due to the fact that EA is a desktop program

9
General Board / Re: Pros and Cons of mixing TOGAF and Archimate?
« on: August 27, 2019, 09:04:20 pm »
Indeed it is the same problem everywhere.
http://www.labnaf.one/ln-content/edu/EDU%2020%20Challenges.pdf

An alternative is having one single language that makes sense i.e.
- that is based on precise systems semantics
http://www.labnaf.one/guidance/index.html?guid=6A67F237-E1E4-41a2-BF3E-F922E1B18FF8

- and that is designed to support the complete process of driving transformations (the TOGAF ADM is a process for driving one single change)
http://www.labnaf.one/guidance/index.html?guid=1FC5C565-4DA7-4e0c-AD58-134E8BEC0CA5

For more information please contact Sparx Europe.

10
The alternative is to delete the list view and regenerate it.

11
When you define an element stereotype, you define notably the
- tagged values
- their grouping
- the default child diagram types.

When you "synchronize stereotype", only the tagged values are updated.
Their grouping and the default child diagram are not updated.

So the "synchronize stereotype" feature does only part of its job.

Cheers,
Alain

12
Thank you very much for trying to resolve this.

However there is only one instance running. It is a command line program that start a single new instance using that line "Process externalEaProcess = Process.Start(repositoryFileInfo.FullName)".

So it cannot get the wrong instance since there is only one.

Thank you anyway,
Alain

13
Hello Eve,

Thank you very much for your quick answer.
I tried to use Repository.LoadAddins (see code below) but that does not make the OnInitializeTechnologies to be called.

To summarize:
- If I just open the repository from the Windows UI, it calls OnInitializeTechnologies properly (it has being doing this for years).
- But when a batch program opens the repository then OnInitializeTechnologies is not called, even when Repository.LoadAddins() is called after opening the repository.

What would you suggest?

------------

if (eaRepo.OpenFile(sFullPath))
{
    eaRepo.LoadAddins();
    return true;
}

14
Dear Eve and Ian,

Indeed as indicated on this link provided by Eve, we can load an MDG from an AddIn, and that is what I am doing.

However, the problem is that the OnInitializeTechnologies is not loaded when EA is started in batch mode.

And that prevents us from generating HTML in batch mode, which is a feature I absolutely need (I might not be the only one).

So if the ImportTechnology was working instead, that would be a viable workaround. So the request from Ian should be considered I think.

As a conclusion the ability to load a custom MDG, including in batch mode, is critical.
We should be able to do this
- either OnInitializeTechnologies
- or using ImportTechnology

Any idea, Eve, when we can have a quick fix with one or the other options?

Cheers,
Alain

15
I need to generate HTML using an MDG loaded from my addin. And this needs to run in batch mode.
But OnInitializeTechnologies is not called when running in batch mode.
It works perfectly well when running in normal/user interface mode.

As a workaround I tried to start another instance and call RunHTMLReport() on that other instance (code below)
But RunHTMLReport() returns an error.

Did anybody encounter the same problem... and found a solution :-) ?

Thank you in advance
Alain

-------------

Process externalEaProcess = Process.Start(repositoryFileInfo.FullName)
object obj = Marshal.GetActiveObject("EA.App");
EA.App app = obj as EA.App;
Repository repo = app.Repository;
repo.GetProjectInterface().RunHTMLReport(...)
externalEaProcess.Kill();



Pages: [1] 2 3 ... 9