Title: How do you create custom stereotypes (ROSE)
Perhaps these two following solutions might be of help:
 
 
-----Original Message-----
From: Arno Leenders [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 4:07 AM
To: 'Anurag Shah-Edventure Systems'; Viswanathan, Annamalai; [EMAIL PROTECTED]
Subject: RE: How do you create custom stereotypes (ROSE)

Is it possible to do this for activities too?
What exactly should I be filling in?
 
Greetings,
Arno Leenders
 
Sent: Friday, April 26, 2002 7:20 PM
Subject: RE: How do you create custom stereotypes (ROSE)

Hi Julian,

 

You can create custom sterotype and associates icons with those custom stereotypes by following the procedure listed in the Solution below:

 

///

QUESTION: How can I create a custom class stereotype in Rose?

ANSWER:

Open the defaultstereotypes.ini file in the Program files\Rational\Rose
directory.   At the top of the file you will see:

[Stereotyped Items]

Under this heading, add a section to it so it now would look like:

[Stereotyped Items]
Class:custom

By placing this at the top of the defaultstereotypes.ini , you have created a
text stereotype.   This stereotype will now show up in the pull down box in the
class specification.   For Example:


In order for Stereotypes to be displayed on the browser, toolbar or diagram,
you must create the following entry in the defaultstereotypes.ini file:

[Class:custom]
Item=Class  
Stereotype=custom
Metafile=&\stereotypes\normal\custom.wmf
SmallPaletteImages=&\stereotypes\small\custom_s.bmp
SmallPaletteIndex=1
MediumPaletteImages=&\stereotypes\medium\custom_m.bmp
MediumPaletteIndex=1
ListImages=&\stereotypes\list\custom_1.bmp
ListIndex=1
TextXPos=-5
TextJust=Left
ToolTip=My new
custom stereotype

Custom Diagram Icon is controlled by:
Metafile=&\stereotypes\normal\custom.wmf

Customer Browser Icons are defined by (browser icons are 16x16n pixels):
ListImages=&\stereotypes\list\custom_1.bmp
ListIndex=1

Custom Toolbar Icons are defined by (SmallToolbar icons are 15x16n   pixels):
SmallPaletteImages=&\stereotypes\small\custom_s.bmp
SmallPaletteIndex=1

Custom Toolbar Icons that show up in View->Toolbars->Configure are defined by
(MediumToolbar icons are 24x24n pixels)::
MediumPaletteImages=&\stereotypes\medium\custom_m.bmp
MediumPaletteIndex=1

///

 

Regards

 

Vishu

 

**********

 

Annamalai "Vishu" Viswanathan  --  [EMAIL PROTECTED]

Rose Technical Support Engineer

 

Rational Customer Service - Committed to Service Excellence

SCP Certified:  http://www.rational.com/support/scp.jsp

 

Rational User Conference 2002.....Freedom to Create!

Call for Papers Now Open at http://www.rational.com/ruc

August 18-22, 2002

Lake Buena Vista, Florida

 

**********

Reply via email to