Hello,
The following script will add a tab to the Objects in Sequence diagrams.
Sub Main
Dim mProps As DefaultModelProperties
Set mProps = RoseApp.CurrentModel.DefaultProperties
toolName$ = "myTool"
setName$ = "default"
If Not mProps.CreateDefaultPropertySet("Object",toolName,setName) Then
MsgBox "Could Not create default property-set"
End If
End Sub
For more information, please see solution:
Subject: WINDOWS/UNIX: How can I add my own visible tool property-set and
properties to Rose elements via REI?
Solution Id: 118960308
http://solutions.rational.com/solutions/display.jsp?solutionId=118960308
In particular, to determine the REI name of a model element, the following
method can be used: Element.GetPropertyClassName (see online help for
CreateDefaultPropertySet for more information).
Regards, Lara
==========================================================================
Solutions knowledge base http://solutions.rational.com
==========================================================================
Lara Ziosi Technical Support Engineer
Rational WW Customer Service Rational Software
Phone: +31 (0)20 4546 200 Fax: +31 (0)20 4546 201
Beechavenue 30 -- 1119 PV Schiphol-Rijk The Netherlands
Email: [EMAIL PROTECTED] http://www.rational.com/support
==========================================================================
-----Original Message-----
From: Sumpter, Anthony T (N-Intecon) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 6:50 PM
To: [EMAIL PROTECTED]
Subject: (ROSE) requirements tab addition
I have created a usable tab in the specification of a class, I need to know
how to add it to a class object in a sequence diagram. i.e. class is :
name "default_class"
what is the metamodel name for a sequence diagram object?
> A. Todd Sumpter
> Lockheed Martin Management & Data Systems
> * 6304 Spine Rd., Boulder, CO 80301
> * 303/581-4472 (work) / 303/581-4268 (fax)
> * 877/369-9836 (pager)
> * [EMAIL PROTECTED]
>
>
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
* Only plain-text messages are supported.
* HTML or Rich-Text messages may be rejected.
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
* http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
* To: [EMAIL PROTECTED]
* Subject: <BLANK>
* Body: unsubscribe rose_forum
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
* Only plain-text messages are supported.
* HTML or Rich-Text messages may be rejected.
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
* http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
* To: [EMAIL PROTECTED]
* Subject: <BLANK>
* Body: unsubscribe rose_forum
*************************************************************************