Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development StarUML extensions #20

Open
Iyetux opened this issue Jul 12, 2022 · 2 comments
Open

Development StarUML extensions #20

Iyetux opened this issue Jul 12, 2022 · 2 comments

Comments

@Iyetux
Copy link

Iyetux commented Jul 12, 2022

I am reading the StarUML document https://docs.staruml.io/developing-extensions/getting-started#application-context

Note
StarUML is developed based on electron platform, so you can also use electron APIs in your extension.

But, the developing extensions did not mention the relevant API。

What methods can I use to gracefully obtain the relevant electronic APIs in extension?

@xcriptus
Copy link

The fact that StarUML is based on electron is not really important because what you need is probably already provided by the StarUML layer on top of electron. You can change the StarUML use interface by adding menus, dialogs and panels. Electron is totally encapsulated and this is a very good point.

The developer' user guide is here : https://docs.staruml.io/developing-extensions/getting-started

The API is available here : https://s3.amazonaws.com/staruml-bucket/docs/3.0.0/api/index.html I think that this documentation is updated although the URL say 3.0.0 and StarUML is 5.0.1

I used various modeling tools in the past in particular to develop extensions. IMHO StarUML is the best for this purpose. The best in the ratio power/complexity. Using Javascript you can rather easily write a simple an extension. StarUML rocks.

NOTE: Instead of using this channel (the xmi repository is not linked to your question, so you might not receive answers), this question must go in google group forum : https://groups.google.com/g/staruml It would be cool if you duplicate the question there so that the questions/anwsers will placed in the right place.

@Iyetux
Copy link
Author

Iyetux commented Jul 13, 2022

The fact that StarUML is based on electron is not really important because what you need is probably already provided by the StarUML layer on top of electron. You can change the StarUML use interface by adding menus, dialogs and panels. Electron is totally encapsulated and this is a very good point.

The developer' user guide is here : https://docs.staruml.io/developing-extensions/getting-started

The API is available here : https://s3.amazonaws.com/staruml-bucket/docs/3.0.0/api/index.html I think that this documentation is updated although the URL say 3.0.0 and StarUML is 5.0.1

I used various modeling tools in the past in particular to develop extensions. IMHO StarUML is the best for this purpose. The best in the ratio power/complexity. Using Javascript you can rather easily write a simple an extension. StarUML rocks.

NOTE: Instead of using this channel (the xmi repository is not linked to your question, so you might not receive answers), this question must go in google group forum : https://groups.google.com/g/staruml It would be cool if you duplicate the question there so that the questions/anwsers will placed in the right place.

thk u for answer patiently and carefully.
The encapsulation of menus and panels by StarUML does reduce the difficulty of development.
But, I want to call third-party applications through StarUML, which is very tricky.
There is really no other idea except to use the API of electron.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants