Plugins with non-XML documents
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 84
- Joined: Tue Oct 11, 2005 9:17 am
- Location: Helsinki, Finland
- Contact:
Plugins with non-XML documents
It seems that selection plugins cannot be used with for example plain text or Python files. The context menu has the Plugins menu only for documents that are XML. Could plugin support be extended to non-XML documents too?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Plugins with non-XML documents
Post by sorin_ristache »
Hello,
We will consider extending the plugins support to non XML files in a future version.
Thank you for your suggestion,
Sorin
We will consider extending the plugins support to non XML files in a future version.
Thank you for your suggestion,
Sorin
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Plugins with non-XML documents
Dear Jarno,
Just wanted to let you know that we fixed the limitation and you will probably have access to defined plugins also in the non-XML editors in the upcoming Oxygen 9.3 (couple of weeks)
Regards,
Radu
Just wanted to let you know that we fixed the limitation and you will probably have access to defined plugins also in the non-XML editors in the upcoming Oxygen 9.3 (couple of weeks)
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 84
- Joined: Tue Oct 11, 2005 9:17 am
- Location: Helsinki, Finland
- Contact:
Re: Plugins with non-XML documents
If you have plans to develop the plugin API further, one feature I'd like to see for selection plugins. Currently you can only get the selection with getSelect(), but I'd like to see a feature that would allow you to extend that selection. My use case is a plugin that does sorting, and if I haveRadu wrote:Just wanted to let you know that we fixed the limitation and you will probably have access to defined plugins also in the non-XML editors in the upcoming Oxygen...
foo
bar
baz
and the text in bold was selected, when I run sort, the result is
fba
bar
ooz
Thus, I'd like for the plugin to be able to extend the selection to beginning of the first line and the end of the last line.
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Plugins with non-XML documents
Hi Jarno,
In Oxygen 11.2 which will get released probably at the end of March there will be the possibility to implement a Workspace Access plugin which will have enhanced access to all opened editors and in the editors to the Text and Author pages. For the Text page the plugin will have access to the swing Document and will have a number of methods to manipulate the caret position, selection interval.
After the 11.2 release the Workspace Access plugin along with a sample implementation will be available in the Plugins section here:
http://www.oxygenxml.com/developer.html
Regards,
Radu
In Oxygen 11.2 which will get released probably at the end of March there will be the possibility to implement a Workspace Access plugin which will have enhanced access to all opened editors and in the editors to the Text and Author pages. For the Text page the plugin will have access to the swing Document and will have a number of methods to manipulate the caret position, selection interval.
After the 11.2 release the Workspace Access plugin along with a sample implementation will be available in the Plugins section here:
http://www.oxygenxml.com/developer.html
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