Standardize the initial Oxygen layout, toolbar, and default Preferences users

Oxygen general issues.
kondalamca123
Posts: 2
Joined: Tue Sep 10, 2024 8:48 am

Standardize the initial Oxygen layout, toolbar, and default Preferences users

Post by kondalamca123 »

Hi All,
We need a requirement Standardize the initial Oxygen layout, toolbar, and default Preferences users,
Configure Oxygen to show only the following views for the DITA Perspective by default (either in Window > Load Layout or other method):
DITA Maps Manager
Editor
Attributes
Elements
Please help on it.
Regards,
Kondala.
Radu
Posts: 9192
Joined: Fri Jul 09, 2004 5:18 pm

Re: Standardize the initial Oxygen layout, toolbar, and default Preferences users

Post by Radu »

Hi Kondala,
In the Oxygen Preferences->"Application Layout" page one can choose to use a custom layout file:
https://www.oxygenxml.com/doc/versions/ ... ayout.html
If for example you open Oxygen in the DITA perspective, hide and show various views and then use the Oxygen main menu Window->"Export layout" action, you can save the custom layout to a file. And then the others can configure the Preferences->"Application Layout" page to use the layout which has been saved by you.
People will still be able to open other side views from the Oxygen main menu "Window->Show view" submenu.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
kondalamca123
Posts: 2
Joined: Tue Sep 10, 2024 8:48 am

Re: Standardize the initial Oxygen layout, toolbar, and default Preferences users

Post by kondalamca123 »

Hi Radu,
Thanks for quick reply,
Actually we are implemented the plugin for oxygen and it is using many of the writers and they are technically poor and we need to write java program part of plugin and it need to customize the required View,so is there any chance to implement programmatically for below custom Oxygen layout,

DITA Maps Manager
Editor
Attributes
Elements

Regards,
Kondala.
Radu
Posts: 9192
Joined: Fri Jul 09, 2004 5:18 pm

Re: Standardize the initial Oxygen layout, toolbar, and default Preferences users

Post by Radu »

Hi Kondala,

With a plugin there are two possibilities:

1) When the application starts a plugin can impose custom options:
https://www.oxygenxml.com/InstData/Edit ... orage.html
Like for example this custom Javascript-based plugin which uses the API above to impose a custom XML options file (which was exported from Oxygen):
https://github.com/oxygenxml/wsaccess-j ... se-options

2) We have a specific plugin extension type which can remove side views completely, so that they can no longer be shown by the end user:
https://www.oxygenxml.com/doc/versions/ ... lugin.html
The "ro.sync.exml.ComponentsValidator.validateComponent(String)" callback should be called both for toolbar names and side view names, allowing you to completely remove entire toolbars or views from the application.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply