1. Create your grafics
Diagram editor icons wmf or emf (prefered)
Diagram toolbar icons bmp
Browser list icons bmp
- Small
Height: 16 Pixel (you use only 15)
Width: n*16 Pixel (several BMPs in one File; indexed; Index starts as 1)
colours: 256
Background: white
- Medium
Height: 24 (23)
Width: n*24
2. Define it in your INI-File
a) For Rose <install directory>\DefaultStereotypes.ini or
b) For Rose Registry setting HKEY_LOCAL_MACHINE\Software\Rational\Rose\StereotypeCfgFiles
File<n> (:String) = <path to your ini-File> or
c) For AddIn same as b) but in ...Rose\AddIn\<AddIn-Name>
StereotypeCfgFile = <name of ini-File>
InstallDir = <rootdirectory of the AddIn>
INI-Format: see DefaultStereotypes.ini
Example
Stereotype.ini
----------------------
[Stereotyped Items]
Class:MyStereotype1
Package:MyStereotype2
...
[Class::MyStereotype1]
Item=Class
Stereotype=:MyStereotype1
ListImages=c:/myStereotypes/myBrowserIcons.bmp
ListIndex=4
Metafile=c:/myStereotypes/myEditorIcon.emf
SmallPaletteImages=c:/myStereotypes/toolbar_icons_small.bmp
SmallPaletteIndex=1
MediumPaletteImages=c:/myStereotypes/toolbar_icons_medium.bmp
MediumPaletteImages=1
Tooltip=This is a wonderful Stereotype
Version=1.0
Stereotype presentation=<one of: StereotypeIconStyle, DisplayStereotype>
Class presentation=<several of: ShowAllAttributes, ShowAllOperations, ShowOperationSignature, SuppressAttributes, SuppressOperations, ShowVisibility, ShowCompartmentsStereotypes>
...
-------------------
refer to on-line help for more details. "Sterotype Configuration File"
Mit freundlichen Gr��en
Jan Mat�rne
RZF NRW
Sachgebiet 314-P Software-Entwicklungs-Methoden
Fiscus AFG NW 42 SoftwareEntwicklungsUmgebung
Internet: [EMAIL PROTECTED]
-----Urspr�ngliche Nachricht-----
Von: Bharath, Kumar (IE10) [SMTP:[EMAIL PROTECTED]]
Gesendet am: Mittwoch, 3. Januar 2001 16:38
An: '[EMAIL PROTECTED]'
Betreff: (ROSE) Stereotypes
Hi,
I wanted to customize stereotypes in ROSE for deployment diagram. I will
very much thankful If anybody knows and tell this.
Thanks & My best regards
Bharath
------------------------------------------
HISO Honeywell
HAPPY NEW TO ALL --> ROSE FORUM
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************
