Intersoft WebDesktop Documentation
Understanding ToolBar Architecture
Send Feedback
Intersoft WebDesktop > WebToolBar > Understanding ToolBar Architecture

Glossary Item Box

Introduction

One of WebToolBar most powerful features is its ability to imitate the command button's behavior of common Desktop's Application. This section will illustrate the architecture of WebToolBar corresponds to its Command Types.

WebToolBar's Architecture

WebToolBar can be placed either inside/outside (standalone mode) a place holder. The advantages of having a WebToolBar inside a place holder is the ability to perform two innovative actions ("merging" and "docking").

In general the Architecture can be represent as follows :

ISNet.WebUI.WebDesktop.PlaceHolderManager 
    ISNet.WebUI.WebDesktop.WebToolBar
        ISNet.WebUI.WebDesktop.ToolCommand
            ISNet.WebUI.WebDesktop.CommandType.Button
            ISNet.WebUI.WebDesktop.CommandType.ToggleButton
            ISNet.WebUI.WebDesktop.CommandType.DropDownButton
                ISNet.WebUI.WebDesktop.WebMenuItem
            ISNet.WebUI.WebDesktop.CommandType.SplitButton
                ISNet.WebUI.WebDesktop.WebMenuItem
            ISNet.WebUI.WebDesktop.CommandType.Separator
            ISNet.WebUI.WebDesktop.CommandType.Custom
                ITemplate
            ISNet.WebUI.WebDesktop.CommandType.Container
                (ISNet.WebUI.WebDesktop.WebToolBar) 

Merging

WebToolBar implements unique merging capabilities which allow you to merge bars contained in a different page (typically inside IFrame) into parent WebToolBar contained in parent window. The merging feature enables a better scalability to your application design, where you can define the WebToolBar's items specific to a module inside that Page, instead of defining every functions in the same parent Page. This approach also solved extensibility issues where page developers can work and extend their own modules without has to modify the parent container Page.

There are two type of merging :

Docking

WebToolBar also has Docking Capability just like the common Desktop Application's ToolBar. To enable the Docking Capability we need to Integrate the WebToolBar with PlaceHolderManager (see PlaceHolderManager Concept).

Command Types

As you can see from the Architecture above, WebToolBar has built-in command types which use to imitate the original behavior of ToolBar in Desktop's Application. Those built-in command types are :

© 2012 Intersoft Solutions Corp. All Rights Reserved.