Page 1 of 1

Removing Features

Posted: Tue Aug 30, 2016 11:15 pm
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.

Re: Removing Features

Posted: Wed Aug 31, 2016 9:20 am
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

Re: Removing Features

Posted: Fri Sep 02, 2016 12:30 am
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

Re: Removing Features

Posted: Mon Sep 05, 2016 2:14 pm
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