Page 1 of 1
Loading info to "Results" panel
Posted: Wed Feb 06, 2019 8:05 pm
If I create an xml document, perhaps through a transformation scenario, and that xml document is valid against the report.dtd found in frameworks, is there a way to load that document into the "Results" panel so that users can view results and navigate to items in the report?
Re: Loading info to "Results" panel
Posted: Thu Feb 07, 2019 11:22 am
You do not have API available to contribute your own report to our "Results" view. But from a Workspace Access plugin you can define a custom view in the plugin.xml:
https://github.com/oxygenxml/sample-plu ... plugin.xml
https://github.com/oxygenxml/sample-plu ... nsion.java
Inside the view you could maybe add a Swing JEditorPane if you set HTML content in it.
Or used this new API we added in Oxygen 18.1:
https://www.oxygenxml.com/InstData/Edit ... space.html
to create a component in which you can set an XML document with a referenced CSS file and having it rendered like it would get rendered in the Author visual editing mode.
In Oxygen 19.0 we added this API:
which allows you to add messages to the results view, each message having a target URL and line/column information, allowing people to double click those messages and Oxygen will automatically open the files in which the problems are reported.