Component |
public class ComponentPlugin : Plugin
The ComponentPlugin type exposes the following members.
Name | Description | |
---|---|---|
CommonPropsName | 通用属性名称 | |
CompName | 组件名称 | |
CompNumber | 组件号码 | |
CompPath | 组件所在目录 | |
ConfigPrefix |
插件存储的配置文件名称前缀,默认为$CONFIG$,子类可重写此属性以修改前缀
(Inherited from Plugin) | |
DefaultsConfigPrefix | 组件默认值属性配置名称前缀,默认为$DEFAULT$,子类可重写此属性以修改前缀 | |
Guid |
插件GUID,子类需要重写此属性以返回插件自身的GUID,否则插件无法正常运行
(Inherited from Plugin) | |
PluginDataPrefix |
插件所有数据文件名称前缀,默认为CFG_PLUGIN_PROPS_,子类可重写此属性以修改前缀
(Inherited from Plugin) | |
RuntimeConfigName |
插件运行时属性配置名称,默认为$RUNTIME$,子类可重写此属性以修改此名称
(Inherited from Plugin) |
Name | Description | |
---|---|---|
DeleteDocumentData |
删除当前插件的模型数据
(Inherited from Plugin) | |
DeleteGlobalData |
删除当前插件的全局数据
(Inherited from Plugin) | |
GetDefaultsData | 获取目标默认值配置的数据 | |
GetDocumentData |
获取当前插件的模型数据
(Inherited from Plugin) | |
GetGlobalData |
获取当前插件的全局数据
(Inherited from Plugin) | |
GetRuntimeData |
获取当前插件的运行时模型数据
(Inherited from Plugin) | |
OnDefaultSetupShowForm | Obsolete. | |
OnDocumentClose |
模型关闭回调
(Inherited from Plugin) | |
OnDocumentOpen |
模型打开回调
(Inherited from Plugin) | |
OnInstanceCreate | 创建组件实例回调 | |
OnInstanceRun | 运行组件 | |
OnInstanceShowForm | Obsolete. | |
OnPluginDispose |
插件销毁回调
(Inherited from Plugin) | |
OnPluginInit |
插件初始化方法
(Inherited from Plugin) | |
OnShowDefaultPropsForm | 显示组件属性目标默认值编辑窗口 | |
OnShowInstancePropsForm | 显示组件实例的属性窗 | |
OnShowPluginPropsForm | 显示组件属性窗 | |
OnShowPropsForm | Obsolete. 显示组件属性窗 | |
QueryDocumentDataNames |
查询当前插件的模型数据名称列表
(Inherited from Plugin) | |
QueryGlobalDataNames |
查询当前插件的所有全局数据名称
(Inherited from Plugin) | |
SaveDocumentData |
保存当前插件专属的模型数据
(Inherited from Plugin) | |
SaveGlobalData |
保存当前插件专属的全局数据
(Inherited from Plugin) | |
SaveRuntimeData |
保存当前插件的运行时模型数据
(Inherited from Plugin) |