Development StarUML extensions
Opened this issue · 2 comments
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?
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.
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.