Page 1 of 1

Hide the "Grid" View button

Posted: Mon Dec 19, 2011 4:47 pm
by Vincent
Hi,

I wonder if it's possible to hide the button "grid" in the application (Oxygen Author) in order to avoid the user to click on it.
I just want the ability to switch between Text and Author view but not for grid (it is useless in my case).
I talk about the buttons just below the editing window.

Where could I find the settings for this ?


Thank you,
Vincent.

Re: Hide the "Grid" View button

Posted: Mon Dec 19, 2011 5:58 pm
by Radu
Hi Vincent,

We do not yet have this possibility to hide the Grid page completely.
Do you want such a possibility as a per-user setting or do you want to impose it to a group of users?

If you are interested in the second approach the following workaround would be available:
If you have experience using Java, we have a Plugins SDK:
http://www.oxygenxml.com/oxygen_sdk.htm ... er_Plugins

Right now our Workspace Access plugin type API allows you to add a listener which will be notified when the user switches to a page. When the user switches to the Grid page you could (using the API) force the switch to the Text or Author pages or show a warning message and switch back to the last page.

Regards,
Radu

Re: Hide the "Grid" View button

Posted: Mon Dec 19, 2011 6:45 pm
by Vincent
I take note of your message and solutions.
Thank you for answering so rapidly.

Vincent

Re: Hide the "Grid" View button

Posted: Thu Mar 18, 2021 12:01 am
by cedporter
This is a very old thread, but did you ever implement a way to hid the Grid View button? We would definitely be interested in that feature, for all users. Ideally, something like a new option for pluginWorkspaceAccess.setGlobalObjectProperty() for suppressing a view would be a welcome addition.

Re: Hide the "Grid" View button

Posted: Thu Mar 18, 2021 10:28 am
by Radu
Hi,

I will assume you are using the desktop version of Oxygen.
We have a components validator plugin extension which allows you to remove the Grid editing mode:

Code: Select all

ro.sync.exml.ComponentsValidator.validateEditorPage(String)
https://www.oxygenxml.com/doc/versions/ ... lugin.html

and a sample Oxygen plugin which adds such a Java extension:

https://github.com/oxygenxml/oxygen-com ... ter-plugin

Regards,
Radu

Re: Hide the "Grid" View button

Posted: Fri Mar 19, 2021 7:22 pm
by cedporter
Thanks, we'll take a look at this.