Dear community, dear Infragistics employees,
I am currently working on a CAB/SCSF project and I wonder what the differences between the ToolbarsManager and the corresponding Workspace are and how I have to use the ToolbarsManagerWorkspace.
Of course I know that I can still use the normal ToolbarsManager but I guess there must be some benefits when using the Workspace.Some explanations/descriptions about the the benefits and/or drawdowns would be nice.
Additionally I would like to know how to register a menu or a toolbar (which were created in the ToolbarsManagerWorkspace) as UIExtensionSites.
Thanks in advance and best regards,
Gerald
The UltraToolbarManagerWorkspace is essentially is essentially the UltraToolbarManager wrapped to work as a workspace in CAB. For information regarding our NetAdvantage CAB Extensibility Kit please see the following documentation:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/Win_NetAdvantage_CAB_Extensibility_Kit.html
This particular article shows what can be registered as UIExtensionSites:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/Win_UIElement_Command_Adapters.html
There are also numerous Knowledge Base articles regarding NCEK with samples here:
http://devcenter.infragistics.com/Support/KnowledgeBaseResults.aspx?type=Full&query=cab&articletypes=0&age=0&sort=LastModifiedDate&samplesonly=0
Hi Kim,
thanks for your fast response. Apart from the 2nd one I knew that articles already. Unfortunately the articles don't provide any in-depth information. They are only overviews. But the article behind the second link provides at least information about all the possibilities of UIExtensionSites. And that's already helpful. So, thanks again.
One more question: do I have to include an extra UltraToolbarsManager for every SmartPart view where I want a context menu?
Best regards,
That would all depend.
Are you going to have a different context menu for each smart part? If so, is this context menu for that smart part or for a certain control in the smart part?
Are you going to have one context menu that gets modified based on what smart parts are loaded? If so, when does this context menu get displayed?
If you are doing a different context menu per smart part then you probably would go the route of a toolbarmanager per smartpart. If these smartparts loads other parts inside of it, then you may want to use the workspace instead in the smartparts.
If you are doing a context menu for the whole shell, which will add different options based on the loaded smart parts, you may be able to work off the main toolbarworkspace.