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

Allow Jarchi scripts to trigger menu actions #34

Open
rfamans opened this issue Oct 29, 2018 · 6 comments
Open

Allow Jarchi scripts to trigger menu actions #34

rfamans opened this issue Oct 29, 2018 · 6 comments

Comments

@rfamans
Copy link

rfamans commented Oct 29, 2018

It would be great to have a possibility to start Archi UI menu actions via a Jarchi script without having indepth knowledge of the underlying Archi java software architecture. Maybe it is possible to extend the current Jarchi DOM with Archi UI menu functions.

@Phillipus
Copy link
Member

Can you provide more details regarding which menu actions and what the use case is? We also have to be careful not to go too far with the jArchi API, otherwise there is a danger of duplicating much of the underlying Java code with JS wrapper code.

@rfamans
Copy link
Author

rfamans commented Oct 29, 2018

I am particularly interested in triggering the Collaboration menu actions (refresh model, commit changes and publish changes).

@jbsarrodie
Copy link
Member

I am particularly interested in triggering the Collaboration menu actions (refresh model, commit changes and publish changes).

That's interesting because I thought about it some time ago. I think the best solution would be that plugins "expose" some actions/api to jArchi, instead of the opposite. This could be similar to what have been done with Archi run from commande line.

Caveat: I don't know how to do it.

@timhale7
Copy link

I would have a publication use case for this feature. I have a model with 19 views. I commonly publish the models to pdf for distribution. I use the File/Export/View as Image function to produce the PDFs. Executing this 19 times for each publication cycle takes a bit of time that I'd like to automate.

I'm told that jarchi can already programmatically manipulate and save views as PNGs. But I am left with the manual task of printing to PDF - so no real time savings or accuracy improvements there.

Just a thought for you. Thanks

@Phillipus
Copy link
Member

But I am left with the manual task of printing to PDF

Please open a new feature request - export views to more than PNG format in jArchi,

@eduardobbs
Copy link

I would like to be able to trigger the Magic Connector, this way maybe I could create a keyboard shortcut for this.

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

5 participants