Web Author Customization and Dialogs

Post here questions and problems related to oXygen frameworks/document types.
sebastian436
Posts: 1
Joined: Mon Apr 20, 2020 5:36 pm

Web Author Customization and Dialogs

Post by sebastian436 » Tue Apr 21, 2020 2:42 pm

Hello,

At the company I work for, we currently evaluate Oxygen Web Author. The first steps of creating a framework for our XML structure have been very straightforward due to the comprehensive documentation.

However, there are two matters of detail that have a certain importance for us:

1. The first question is concerning the possibilities (and maybe limits) of customization. The GUI areas we'd like to further customize are: The header bar, the menu bar underneath it and the accordion on the right with Review, Attributes and Validation tabs (see the attachment). Is it possible to change icons, colors and also available actions and menu items in a plugin? Is it possible to disable the Review tab on the right?

I understand that custom actions can be added via framework, but maybe we would also like to remove some of the predefined actions that always seem to be there. Can that be realized in a plugin and is there documentation or an example available? What is the most reduced configuration possible?

2. I read in the documentation that actions which display dialogs have to be avoided for the Web Author, as Swing is not available in browsers. Is that a definite restriction (-> no dialogs in Web Author) or is it possible to create operations that render dialogs with other technologies (even if that meant they work in Web Author only)? A solution working in Author and Web Author would be preferred of course.

Thank you a lot,
Sebastian
Oxygen_Customization.png
Oxygen_Customization.png (174.44 KiB) Viewed 226 times

mihaela
Posts: 221
Joined: Wed May 20, 2009 2:40 pm

Re: Web Author Customization and Dialogs

Post by mihaela » Wed Apr 22, 2020 11:45 am

Hello,

1. Yes, you can customize the header, menu and views of the Web Author. Also, the default actions can be removed from the toolbar and contextual menu. You can find details and samples in the "Customizing the Web Author User Interface" topic from the Web Author customization tutorial:
https://www.oxygenxml.com/doc/versions/ ... ng_ui.html

2. You do not have to avoid actions that display a dialog. You just have to make sure that you overwrite these actions for Web Author to present proper dialogs, created with Javascript API:
https://www.oxygenxml.com/maven/com/oxy ... ialog.html
More details about migrating a framework from Oxygen XML Editor to Web Author can be found here:
https://www.oxygenxml.com/doc/versions/ ... works.html

Please let us know if you need more details.

Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com

Post Reply