How to store specific information for a framework
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 47
- Joined: Thu Jun 19, 2014 3:55 pm
How to store specific information for a framework
Hi,
we are using the Eclipse Oxygen Author in Version 15.2.
If I want to store some information, which I defined for a specific framework, in the frameworks file.
My use case to change the appeareance of some elments through the StylesFilter. This works fine, but if I want to extend the list of this elements, I have to write code. To avoid this I could define this elements in a file and extend the containing list whenever I want.
Could I use the frameworks file for it and if, which API I have to use to get the defined elements?
Best regards
Denis
we are using the Eclipse Oxygen Author in Version 15.2.
If I want to store some information, which I defined for a specific framework, in the frameworks file.
My use case to change the appeareance of some elments through the StylesFilter. This works fine, but if I want to extend the list of this elements, I have to write code. To avoid this I could define this elements in a file and extend the containing list whenever I want.
Could I use the frameworks file for it and if, which API I have to use to get the defined elements?
Best regards
Denis
Denis Zygann
KGU Consulting GmbH
http://www.kgu-consulting.com
KGU Consulting GmbH
http://www.kgu-consulting.com
-
- Posts: 9470
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to store specific information for a framework
Hi Denis,
I would suggest keeping a separate custom XML configuration document separate for this.
You could have a separate customizations folder for all your custom resources.
If you edit the document type you can add in the Classpath tab a link to that extra folder, then you can use the API ro.sync.ecss.extensions.api.AuthorAccess.getClassPathResourcesAccess() to get access (as URLs) to all folders listed in the Classpath tab.
Regards,
Radu
I would suggest keeping a separate custom XML configuration document separate for this.
You could have a separate customizations folder for all your custom resources.
If you edit the document type you can add in the Classpath tab a link to that extra folder, then you can use the API ro.sync.ecss.extensions.api.AuthorAccess.getClassPathResourcesAccess() to get access (as URLs) to all folders listed in the Classpath tab.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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