Removing Features

Post here questions and problems related to oXygen frameworks/document types.
steve.cuzner
Posts: 64

Removing Features

Tue Aug 30, 2016 11:15 pm

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: 5221

Re: Removing Features

Wed Aug 31, 2016 9:20 am

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: 64

Re: Removing Features

Fri Sep 02, 2016 12:30 am

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: 5221

Re: Removing Features

Mon Sep 05, 2016 2:14 pm

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/18/ug-editor/tasks/howto-install-plugin.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

Return to “SDK-API, Frameworks - Document Types”

Who is online

Users browsing this forum: No registered users and 1 guest