Page 1 of 1
					
				Plugin development - Adding a checkbox to the toolbar
				Posted: Fri Aug 01, 2008 7:33 pm
				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.
			 
			
					
				Re: Plugin development - Adding a checkbox to the toolbar
				Posted: Mon Aug 04, 2008 10:57 am
				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
			 
			
					
				Re: Plugin development - Adding a checkbox to the toolbar
				Posted: Tue Aug 05, 2008 6:18 pm
				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.
			 
			
					
				Re: Plugin development - Adding a checkbox to the toolbar
				Posted: Wed Aug 06, 2008 10:28 am
				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
			 
			
					
				Re: Plugin development - Adding a checkbox to the toolbar
				Posted: Wed Aug 06, 2008 6:44 pm
				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.
 
			
					
				Re: Plugin development - Adding a checkbox to the toolbar
				Posted: Thu Oct 30, 2008 9:47 pm
				by calvados
				Hey Sorin...Just wondering if this functionality was added in the new 10.0 version?
Thanks,
Cal.
			 
			
					
				Re: Plugin development - Adding a checkbox to the toolbar
				Posted: Fri Oct 31, 2008 10:25 am
				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