AuthorOutlineCustomizer and AuthorBreadCrumbCustomizer problems
Oxygen general issues.
-
- Posts: 3
- Joined: Mon Mar 18, 2013 4:28 pm
AuthorOutlineCustomizer and AuthorBreadCrumbCustomizer problems
Hi,
I'm trying to customize the render for the node in Outline and Bread crumb.
For that I'm using AuthorOutlineCustomizer and AuthorBreadCrumbCustomizer classes.
In my method customizeRenderingInformation(), I have the following instruction: renderInfo.setIconPath("${frameworks}/gdr/img/center.png");
But it doesn't work. Why?
I'm trying to customize the render for the node in Outline and Bread crumb.
For that I'm using AuthorOutlineCustomizer and AuthorBreadCrumbCustomizer classes.
In my method customizeRenderingInformation(), I have the following instruction: renderInfo.setIconPath("${frameworks}/gdr/img/center.png");
But it doesn't work. Why?
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: AuthorOutlineCustomizer and AuthorBreadCrumbCustomizer problems
Hi,
The method setIconPath is indeed available in the RenderingInformation API but it does not work for the AuthorOutlineCustomizer, we'll try to fix this.
Instead you can overwrite this method in the ExtensionsBundle implementation:
or create an implementation of ro.sync.exml.workspace.api.node.customizer.XMLNodeRendererCustomizer (the Author SDK should contain the sources for the DITA and Docbook implementation classes as an example) and set it as a separate extension in the document type (edit the document type and set it in the "Extensions tab").
An extension of type XMLNodeRendererCustomizer (which is a newer API) should also provide icons in the Text page Outline.
The breadcrumb which shows the path to the current node does not have API support to set a custom icon to each node (just the name).
Regards,
Radu
The method setIconPath is indeed available in the RenderingInformation API but it does not work for the AuthorOutlineCustomizer, we'll try to fix this.
Instead you can overwrite this method in the ExtensionsBundle implementation:
Code: Select all
ExtensionsBundle.createXMLNodeCustomizer()
An extension of type XMLNodeRendererCustomizer (which is a newer API) should also provide icons in the Text page Outline.
The breadcrumb which shows the path to the current node does not have API support to set a custom icon to each node (just the name).
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)
- ↳ 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