Customize SaveInDB button for mandatory comment field in Oxygen XML Editor
Oxygen general issues.
-
Monika Lele
- Posts: 3
- Joined: Wed Nov 12, 2025 11:54 am
Customize SaveInDB button for mandatory comment field in Oxygen XML Editor
Post by Monika Lele »
Hi,
I have to customize the saveInDB button which appears in Oxygen xml editor view in TechPubStudio application.
I need to make the comment field a mandatory field and additionally add one more read only text field in Add comment dialog to show the last comment added.
We tried customizing the class OxygenActionsCustomizer, in which the buttons are loaded, but unable to customize as it calls the standard class and not customized class.
How to customize the save in database button? is it possible to customize the saveInDb button?
Thanks
Monika Lele
I have to customize the saveInDB button which appears in Oxygen xml editor view in TechPubStudio application.
I need to make the comment field a mandatory field and additionally add one more read only text field in Add comment dialog to show the last comment added.
We tried customizing the class OxygenActionsCustomizer, in which the buttons are loaded, but unable to customize as it calls the standard class and not customized class.
How to customize the save in database button? is it possible to customize the saveInDb button?
Thanks
Monika Lele
-
Radu
- Posts: 9564
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Customize SaveInDB button for mandatory comment field in Oxygen XML Editor
Hi Monica,
We do not know how Oxygen was integrated in TechPubStudio, probably they used our APIs to add specific buttons like the one you are mentioning, but we do not control how they have customized Oxygen. Have you tried to ask the TechPubStudio developers for help?
Regards,
Radu
We do not know how Oxygen was integrated in TechPubStudio, probably they used our APIs to add specific buttons like the one you are mentioning, but we do not control how they have customized Oxygen. Have you tried to ask the TechPubStudio developers for help?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
Monika Lele
- Posts: 3
- Joined: Wed Nov 12, 2025 11:54 am
Re: Customize SaveInDB button for mandatory comment field in Oxygen XML Editor
Post by Monika Lele »
Hi,
I am trying to customize the oxygen editor by extending the abstract class com.oxygenxml.editor.editors.ActionBarContributorCustomizer and used the extension point - com.oxygenxml.author.actionBarContributorCustomizer
here i added implementation for method - public void customizeAuthorPageInternalCoolbar(final CoolBar coolbar, final WSAuthorEditorPage page) {}
, we are adding the buttons in the Toolbar Menu here.
But when i try open the application and the Oxygen editor view, the call is not going to my custom class, but the standard class from TechPubStudio.
Can you suggest if this is possible to customize it ?
I am trying to customize the oxygen editor by extending the abstract class com.oxygenxml.editor.editors.ActionBarContributorCustomizer and used the extension point - com.oxygenxml.author.actionBarContributorCustomizer
here i added implementation for method - public void customizeAuthorPageInternalCoolbar(final CoolBar coolbar, final WSAuthorEditorPage page) {}
, we are adding the buttons in the Toolbar Menu here.
But when i try open the application and the Oxygen editor view, the call is not going to my custom class, but the standard class from TechPubStudio.
Can you suggest if this is possible to customize it ?
-
Radu
- Posts: 9564
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Customize SaveInDB button for mandatory comment field in Oxygen XML Editor
Hi,
So you are using the Oxygen Eclipse plugin with the extra Eclipse plugin added by TechPubStudio and an extra custom Eclipse plugin added by you, correct?
The "com.oxygenxml.author.actionBarContributorCustomizer" plugin extension point is additive, so if the TechPubStudio plugin installs it and you also install it, both your code and the TechPubStudio plugin implementation will receive the "customizeAuthorPageInternalCoolbar". The order in which your plugin and the TechPubStudio plugin's code is called is not specified, it could be in any order.
Regards,
Radu
So you are using the Oxygen Eclipse plugin with the extra Eclipse plugin added by TechPubStudio and an extra custom Eclipse plugin added by you, correct?
The "com.oxygenxml.author.actionBarContributorCustomizer" plugin extension point is additive, so if the TechPubStudio plugin installs it and you also install it, both your code and the TechPubStudio plugin implementation will receive the "customizeAuthorPageInternalCoolbar". The order in which your plugin and the TechPubStudio plugin's code is called is not specified, it could be in any order.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
Monika Lele
- Posts: 3
- Joined: Wed Nov 12, 2025 11:54 am
Re: Customize SaveInDB button for mandatory comment field in Oxygen XML Editor
Post by Monika Lele »
Hi,
I want to know if it is possible to register my own actionBarContributerCustomizer extension point, so to override the one coming from TPS standard.
Thanks,
Monika Lele
I want to know if it is possible to register my own actionBarContributerCustomizer extension point, so to override the one coming from TPS standard.
Thanks,
Monika Lele
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