文档详情

ui插件框架示例for plugin framework exampleUI.pdf

发布:2025-04-06约3.24千字共6页下载文档
文本预览下载声明

UMLforUIPluginFrameworkExample

ElijahKerry

NationalInstruments

/largeapps

OO-BasedStateMachineDesign

Alsoknownas‘CommandPattern’or‘ChainofCommandPattern’

UICommand

sendCommand()

execute()

InitializeLoadPanelSlidePanelPopulateMenu

execute()execute()execute()execute()

displayPlugin()move()displayPlugin()

+WriteUIParameters

+ReadUIParameters+WriteVIReference+WriteButtonNames

+ReadVIReference+ReadButtonNames

UsesDynamicDispatchingtodetermine(atrun-time)whichversionof

theexecutemethodgetsrun

FactoryDesignPatternExample

GenericPlugin

Data

-UIReference

-PluginName

Dynamic

ConfigurePlugin()

Run()

Stop()

Pluginsarerequiredto

overrideconfiguration

显示全部
相似文档