How to
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 66
- Joined: Wed Dec 03, 2014 11:25 am
How to
Hi,
I'm looking for a method to force my DITA extension additional framework as the highest priority (over DITA framework)
In my "dita_extension.framework", I already have highest priority.
Is it possible to prevent the user from changing the priority in "Options -> Preferences -> Document Type Association" page ?
Thx
Vince
I'm looking for a method to force my DITA extension additional framework as the highest priority (over DITA framework)
In my "dita_extension.framework", I already have highest priority.
Is it possible to prevent the user from changing the priority in "Options -> Preferences -> Document Type Association" page ?
Code: Select all
<field name="extensionPatch">
<documentTypeDescriptorPatch>
...
<poPatch>
<field name="fieldPath">
<String>priority</String>
</field>
<field name="value">
<Integer>5</Integer>
</field>
...
</poPatch>
...
<field name="extendedPersistentObjectKey">
<String>DITA</String>
</field>
</documentTypeDescriptorPatch>
</field>
Vince
-
- Posts: 66
- Joined: Wed Dec 03, 2014 11:25 am
Re: How to
To clarify my needs
My framework is installed as an add-on.
User can't change priority of this kind of framework.
But, as he can change the DITA framework priority to the highest, my custom framework is no longer a priority.
I see that because my custom handler that extends "DITAExternalObjectInsertionHandler" is not use any more.
Thx
My framework is installed as an add-on.
User can't change priority of this kind of framework.
But, as he can change the DITA framework priority to the highest, my custom framework is no longer a priority.
I see that because my custom handler that extends "DITAExternalObjectInsertionHandler" is not use any more.
Thx
-
- Posts: 9473
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to
Hi,
I understand, we do not have a specific setting to prohibit this. Then end user is in full control in the end, they can also disable your add-on for example as it's their Oxygen installation and they can override the settings your add-on contributed.
Regards,
Radu
I understand, we do not have a specific setting to prohibit this. Then end user is in full control in the end, they can also disable your add-on for example as it's their Oxygen installation and they can override the settings your add-on contributed.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9473
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to
Hi Vince,
If for example you add an editor changed listener:
you have API to access the document type info "editor.getDocumentTypeInformation()".
Regards,
Radu
If for example you add an editor changed listener:
Code: Select all
pluginWorkspaceAccess.addEditorChangeListener(new WSEditorChangeListener() {
@Override
public void editorOpened(URL editorLocation) {
WSEditor editor = pluginWorkspaceAccess.getEditorAccess(editorLocation, StandalonePluginWorkspace.MAIN_EDITING_AREA);
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
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