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

Mount contextual project action #14

Closed
raducoravu opened this issue Aug 25, 2017 · 2 comments
Closed

Mount contextual project action #14

raducoravu opened this issue Aug 25, 2017 · 2 comments

Comments

@raducoravu
Copy link
Contributor

We could mount the same action on the project.
In Oxygen 19.1 we will have API to add a popup menu customizer on the project view and to take from the project view the list of selected resources:

ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace.getProjectManager()

I created a 19.1 beta kit which should have this API functionality included:

https://www.oxygenxml.com/userFiles/oxygen-64bit-19.1-beta-accessibility-take-2.exe

I'm not sure how to proceed in order to have the plugin still work with older Oxygen versions.
You should try using Java reflection for the API. It seems you can also implement interfaces (like the interface which needs to be implemented to receive popup menu customizer callbacks) using java.lang.reflect.Proxy.

@raducoravu
Copy link
Contributor Author

I'm attaching the Java code for the new API accessible via ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace.getProjectManager()

projectAPI.zip

@DunaMariusCosmin
Copy link
Collaborator

fixed in: 927061f

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