Removing Features

Post here questions and problems related to oXygen frameworks/document types.
steve.cuzner
Posts: 72
Joined: Thu Mar 26, 2015 4:57 pm

Removing Features

Post by steve.cuzner »

We have made a decision that we do not want our authors to use the Oxygen review tools when working in certain frameworks. How can I remove the feature or eliminate the GUI items (menu items) that access that feature. We have removed the toolbar items for review from our toolbar configuration, but they still appear in the menus.
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: Removing Features

Post by Radu »

Hi Steve,

I need more details.
What specific actions do you want to remove? Could you tell me how you removed the toolbar items?
Did you use a Workspace Access plugin extension? It can also be used to add a main menu bar customizer ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace.addMenuBarCustomizer(MenuBarCustomizer).
Or do you mean the contextual menu?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
steve.cuzner
Posts: 72
Joined: Thu Mar 26, 2015 4:57 pm

Re: Removing Features

Post by steve.cuzner »

For the toolbar, we simply removed them and saved a layout file that we will distribute to writers or use the enforce preferences plugin. I've been trying to avoid the development of a plugin because it's not as easy to distribute as a framework and I'd rather avoid java if I can help it. The big item we want to remove is the review tools because the change tracking feature causes problems with some of our other tools and complicates our build system. Ideally we would like to remove it entirely from the product or at least all UI access points so that writers don't experiment with it and cause build failures since we don't support it.

Steve
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: Removing Features

Post by Radu »

Hi Steve,

It's not possible to remove menu items just by saving a layout. So you do need a plugin for this. Installing a plugin is just as simple as installing a framework, either manually or via an add-on installation package:

https://www.oxygenxml.com/doc/versions/ ... lugin.html

In our SDK we have a sample plugin which uses an XML configuration file to filter out various items from the user interface. If you contact us via the support email address support@oxygenxml.com I could give you the plugin along with more details.

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