ROSE 增加新的 Stereotype LQX@ 2增加新的 Stereotype –使 Rose 可在配置图中表示更多的结点类型 3 例1:增强 Rose 中部署图的表示能力。?开发步骤: 1. 设计部署图中 stereotype 所用的图符文件, ( .bmp, .wmf, 文件) 2. 写 stereotype 的配置文件 (没有采用手工改动 的方法,优点: 卸载方便) (说明:用户增加的新配置文件需在注册表中说明) 3. 安装时在注册表的 HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\Rose\StereotypeCfgFiles 下增加键值 4 说明: ?在文件 预定义了以下一些版型: Class:ponent:ponent:ponent:ponent:ponent:Applet Use Case:use-case realization Class:control Class:boundary Class:entity …… 5 ?文件中先列出每一个版型,如– Class:Interface 表示 Class 上的<<Interface>> 版型; – Component:EXE ponent 上的<<EXE>> 版型; ?然后再给出每一个版型的详细说明,如: [Class:boundary] Item=Class Stereotype=boundary Metafile=&\stereotypes\normal\ SmallPaletteImages=&\stereotypes\small\ SmallPaletteIndex=1 M
rose补充 来自淘豆网m.daumloan.com转载请标明出处.