Click or drag to resize

ComponentPlugin Class

返回用户文档首页
组件基类
Inheritance Hierarchy
SystemObject
  LoongCAD.STC.PluginsPlugin
    LoongCAD.STC.PluginsComponentPlugin

Namespace: LoongCAD.STC.Plugins
Assembly: LoongSDKSTC (in LoongSDKSTC.dll) Version: 0.8.15.0 (0.8.15.0)
Syntax
C#
public class ComponentPlugin : Plugin

The ComponentPlugin type exposes the following members.

Properties
 NameDescription
Public propertyCommonPropsName 通用属性名称
Public propertyCompName 组件名称
Public propertyCompNumber 组件号码
Public propertyCompPath 组件所在目录
Public propertyConfigPrefix 插件存储的配置文件名称前缀,默认为$CONFIG$,子类可重写此属性以修改前缀
(Inherited from Plugin)
Public propertyDefaultsConfigPrefix 组件默认值属性配置名称前缀,默认为$DEFAULT$,子类可重写此属性以修改前缀
Public propertyGuid 插件GUID,子类需要重写此属性以返回插件自身的GUID,否则插件无法正常运行
(Inherited from Plugin)
Public propertyPluginDataPrefix 插件所有数据文件名称前缀,默认为CFG_PLUGIN_PROPS_,子类可重写此属性以修改前缀
(Inherited from Plugin)
Public propertyRuntimeConfigName 插件运行时属性配置名称,默认为$RUNTIME$,子类可重写此属性以修改此名称
(Inherited from Plugin)
Top
Methods
 NameDescription
Public methodDeleteDocumentData 删除当前插件的模型数据
(Inherited from Plugin)
Public methodDeleteGlobalData 删除当前插件的全局数据
(Inherited from Plugin)
Public methodGetDefaultsData 获取目标默认值配置的数据
Public methodGetDocumentData 获取当前插件的模型数据
(Inherited from Plugin)
Public methodGetGlobalData 获取当前插件的全局数据
(Inherited from Plugin)
Public methodGetRuntimeData 获取当前插件的运行时模型数据
(Inherited from Plugin)
Public methodOnDefaultSetupShowFormObsolete.
Public methodOnDocumentClose 模型关闭回调
(Inherited from Plugin)
Public methodOnDocumentOpen 模型打开回调
(Inherited from Plugin)
Public methodOnInstanceCreate 创建组件实例回调
Public methodOnInstanceRun 运行组件
Public methodOnInstanceShowFormObsolete.
Public methodOnPluginDispose 插件销毁回调
(Inherited from Plugin)
Public methodOnPluginInit 插件初始化方法
(Inherited from Plugin)
Public methodOnShowDefaultPropsForm 显示组件属性目标默认值编辑窗口
Public methodOnShowInstancePropsForm 显示组件实例的属性窗
Public methodOnShowPluginPropsForm 显示组件属性窗
Public methodOnShowPropsFormObsolete.
显示组件属性窗
Public methodQueryDocumentDataNames 查询当前插件的模型数据名称列表
(Inherited from Plugin)
Public methodQueryGlobalDataNames 查询当前插件的所有全局数据名称
(Inherited from Plugin)
Public methodSaveDocumentData 保存当前插件专属的模型数据
(Inherited from Plugin)
Public methodSaveGlobalData 保存当前插件专属的全局数据
(Inherited from Plugin)
Public methodSaveRuntimeData 保存当前插件的运行时模型数据
(Inherited from Plugin)
Top
See Also