Loading info to "Results" panel
Oxygen general issues.
-
- Posts: 72
- Joined: Thu Mar 26, 2015 4:57 pm
Loading info to "Results" panel
Post by steve.cuzner »
Hi.
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?
Steve
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?
Steve
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Loading info to "Results" panel
Hi Steve,
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
and then from the Java or Javascript code on the "customizeView" callback provide some contents for the view:
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:
ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace.createEditorComponentProvider(String[], String)
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.
Or:
In Oxygen 19.0 we added this API:
ro.sync.exml.workspace.api.PluginWorkspace.getResultsManager()
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.
Regards,
Radu
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
and then from the Java or Javascript code on the "customizeView" callback provide some contents for the view:
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:
ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace.createEditorComponentProvider(String[], String)
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.
Or:
In Oxygen 19.0 we added this API:
ro.sync.exml.workspace.api.PluginWorkspace.getResultsManager()
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.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service