Plugin development - Adding a checkbox to the toolbar

Having trouble installing Oxygen? Got a bug to report? Post it all here.
calvados
Posts: 22
Joined: Wed Jul 30, 2008 12:46 am

Plugin development - Adding a checkbox to the toolbar

Post by calvados »

Hello,

I'm wondering if anyone can point me in the right direction...I'm wanting to add a checkbox to my custom toolbar, but I'm unable to find a way to do this.

Also...Is it possible to load a certain layout based upon the document type association?

Thanks for your help.

Cal.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Plugin development - Adding a checkbox to the toolbar

Post by sorin_ristache »

Hello,

It is not possible to add a checkbox as extension to the Author mode. Can you give more details about the checkbox that you want to add?

Do you mean a layout of the Oxygen views and editors? No, this layout cannot be set based on the document type of the edited document. You can set your own fixed layout from Options -> Preferences -> Perspectives Layout -- Use fixed layout but it is applied for all documents.


Regards,
Sorin
calvados
Posts: 22
Joined: Wed Jul 30, 2008 12:46 am

Re: Plugin development - Adding a checkbox to the toolbar

Post by calvados »

Hey Sorin,

I was wanting to add a checkbox, so that my end users could toggle an auto-renumbering feature of a custom plugin that I developed on and off. Short of adding two buttons (one with auto-renumber, and one without) do you have any suggestions for creating such a toggle?

Thanks again for your help.

Cal.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Plugin development - Adding a checkbox to the toolbar

Post by sorin_ristache »

Hello,

No, in the current version (version 9.3) you do not have other option. You must use two buttons. We will consider allowing custom actions for toggle buttons on the Author toolbar.


Regards,
Sorin
calvados
Posts: 22
Joined: Wed Jul 30, 2008 12:46 am

Re: Plugin development - Adding a checkbox to the toolbar

Post by calvados »

Thanks Sorin. I believe that functionality would be quite handy for a number of plugin developers. A textbox for sending data to the plugin wouldn't be a bad idea either. :)

Thanks again.

Cal.
calvados
Posts: 22
Joined: Wed Jul 30, 2008 12:46 am

Re: Plugin development - Adding a checkbox to the toolbar

Post by calvados »

Hey Sorin...Just wondering if this functionality was added in the new 10.0 version?

Thanks,

Cal.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Plugin development - Adding a checkbox to the toolbar

Post by sorin_ristache »

Hello,

No, it was not added in version 10.0. The features added in version 10.0 were not centered around the Author mode.


Regards,
Sorin
Post Reply