Dear Maxim,

Thank you forguiding us to the file below thathelped understandhow the classes <horizontalMenuIconBar>, <mainToolsPanel> for Toolbar and <mainToolsPanelItem> for the Tools, are defined and used to compose the class: <mainToolsTopPanel>, which is instantiated infile: fixedFileExplorerWhiteBoard.lzx.

File: /openmeetings-flash/src/main/swf/modules/conference/whiteboard/panels/maintoolspanel/mainToolsPanel.lzx

Could you please provide some additional insights into toolbar?

(1) to better understand this feature, we would like to first adda new Tool, <mainToolsPanelItem> in existing toolbar (horizontalMenuIconBar) . Will the following method work?

  1.   Add its instance with new name, in mainToolsPanel

  2.   Add its icon image as a resourceItem and a new LabelID,

  3.   Set its selection via "onmouseup" event

4. Should we add an onclick handler to call any other method e.g. canvas._drawarea.parent.parent.clearAreaAndAddImage, or is there any other way advised for that? In existing Tools, only Cliparts has such a handler.

(2) Are there any pointers to better understandthe relationships and responsibilities of all the classes defined in this file, including key classthatinstantiates a Toolbar in the Whiteboardand thatcontains an instance of <horizontalMenuIconBar> named "_tools": <mainToolsTopPanel>

It seems there are few sets of classes which work together in case of vertically aligned bar/pointer, and another set of classes in the scenario where a developer instantiates the horizontally aligned menubar/ pointer.

(3)Is it designed so that one can have the toolbar either as a vertical one or a horizontal one, since we use the same name "_tools" for both ?

Sincerely,

Susheel Jalali

Coscend Communications Solutions

www.Coscend.com <http://www.coscend.com/>

----------------------------------------------------------------

CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail Messages from Coscend Communications Solutions' posted at:http://www.Coscend.com/Terms_and_Conditions.html <http://www.coscend.com/Terms_and_Conditions.html>

-------- Original Message --------

Subject: Re: How to Create new tools and New Toolbar for whiteboard

From: Maxim Solodovnik <[email protected] <mailto:[email protected]>>

Date: Wed, December 23, 2015 12:13 am

To: dev <[email protected] <mailto:[email protected]>>

Cc: "[email protected] <mailto:[email protected]>" <[email protected] <mailto:[email protected]>>

please check

/openmeetings-flash/src/main/swf/modules/conference/whiteboard/panels/maintoolspanel/mainToolsPanel.lzx

On Wed, Dec 23, 2015 at 4:17 AM, Susheel Jalali <[email protected] <mailto:[email protected]>>

wrote:

Dear OpenMeetings Developers,



We are seeking your guidance regarding an  enhancement to whiteboard in

conference room.



We wish to add new tool to the existing  toolbar, and also create a new

Toolbar for a set of new Tools.



What are the file(s) and examples to focus on  for understanding the

container and the tool items being added for  the above objectives.



--



Sincerely,



Susheel Jalali

Coscend Communications Solutions

www.Coscend.com <http://www.coscend.com/><http:// <http:>www.Coscend.com
<http://www.coscend.com/>>

 ----------------------------------------------------------------



CONFIDENTIALITY NOTICE: See 'Confidentiality  Notice Regarding E-mail

Messages from Coscend Communications  Solutions' posted at:

http:// <http:>www.Coscend.com
<http://www.coscend.com/>/Terms_and_Conditions.html

Reply via email to