Download XML Builder for UIElements Cmds Events

Topics: CAB & Smart Client Software Factory
Feb 28, 2006 at 4:11 PM
originally posted by: tpolansk

A Microsoft patterns & practices Composite UI Application Block (CAB) based module composite mapper service is provided (reference the CodeProject link below) including C# source code that builds Workspaces, UIElements, Commands and Event Publications/Subscriptions using an XML configuration file specified with a module. The module composite mapper service is based and executes on the CAB using a Model-View-Presenter (MVP) pattern within a proof-of-concept (POC) framework. This article and its included source code provide POC framework classes, module composite mapper service classes, module composite mapper XML configuration file syntax and examples, module composite mapper topic format guidelines, and example/template modules.
Mar 11, 2006 at 4:34 PM
originally posted by: rj45

Good stuff. I particularly like your implementation of UIElement mapping. It looks like you are adding the ToolStrips themselves in the shell and then just using the mapping to create the ToolStripItem UIElements. Does this mapping support the creation of new ToolStrips in the shell?
Mar 22, 2006 at 7:33 AM
originally posted by: tpolansk

Thanks! And you are correct, the module composite mapper service currently does not support adding the parent tool strips... this would definitely be a worthwhile feature that is architecturally consistent with the functionality provided by the service! Hmmm... add it to my TODO list... :)

Having said that, user interface element (UIElement) insert priority is coming soon as an update to the module composite mapper service! Insert priority is set within the XML configuration file specified with a module and provides end-user control over the ordering of UIElements that are added to the shell through the UI extension site composite mechanism (e.g., menu/toolbar item order independent of module load order). The feature is complete and will be covered in the article (as well as the downloadable source files) ASAP...
Apr 1, 2006 at 7:28 AM
originally posted by: tpolansk

User Interface Element (UIElement) Insert Priority Now Available!

User Interface Element (UIElement) insert priority is now available including article coverage and the downloadable source files. The XSShell application module composite mapper file may be used to try out the insert priority functionality against the core UI menu items (i.e., File, Edit, View, Tools, Window and Help).