Presentation is loading. Please wait.

Presentation is loading. Please wait.

UML for UI Plugin Framework Example Elijah Kerry National Instruments ni.com/largeapps.

Similar presentations


Presentation on theme: "UML for UI Plugin Framework Example Elijah Kerry National Instruments ni.com/largeapps."— Presentation transcript:

1 UML for UI Plugin Framework Example Elijah Kerry National Instruments ni.com/largeapps

2 2 OO-Based State Machine Design UI Command sendCommand() execute() Initialize execute() + WriteUIParameters + ReadUIParameters LoadPanel execute() displayPlugin() + WriteVIReference + ReadVIReference SlidePanel execute() move() Populate Menu execute() displayPlugin() + WriteButtonNames + ReadButtonNames Also known as ‘Command Pattern’ or ‘Chain of Command Pattern’ Uses Dynamic Dispatching to determine (at run-time) which version of the execute method gets run

3 3 Factory Design Pattern Example Generic Plugin Data -UI Reference -Plugin Name Plugin A Configure Plugin() Plugin BPlugin CPlugin D Configure Plugin() Stop() Configure Plugin() Run() Stop() Configure Plugin() Run() Dynamic Configure Plugin() Run() Stop() Plugins are required to override configuration Static Register Events() Read Events()

4 4

5 5


Download ppt "UML for UI Plugin Framework Example Elijah Kerry National Instruments ni.com/largeapps."

Similar presentations


Ads by Google