JY,
Go to Help> Find tab> Java variables. Display the topic: Java
Variables(Fields), then click on the link "Changing String Variables To
Attribute".
Basically you will be adding java.lang.String to the registry setting:
HKEY_LOCAL_MACHINE\SOFTWARE\Rational\Software\Rose\AddIns\Java\
FundamentalTypes
Remember to add java.lang.String and not only String.
Raida Synnestvedt
Rational Support
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 8:11 AM
To: [EMAIL PROTECTED]
Subject: (ROSE) How to set String as return type in Java
Hi,
I am new to Rose and using Rose 2000 Enterprise Version.
In the class diagram, I create a class call "runner", in it there is an
operation call "go()". In "Method Specification", I want to select the
"Return" of go()as "String", but there is no "String" option. Can anyone
tell me how to set "String" as return type? The option available are
"boolean, char, byte, short, int, long, float, void".
(In Tools.Options.Notation.DefaultLanguage is Java. Java is the language I
need to use.
In LogicalView.PackageSpecification the language is still C++. (Anybody know
why? will this cause problem?) But in LogicalView.runner.classSpecification
shows Java.)
Thanks,
JY Wang
************************************************************************
* 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
*
*************************************************************************
************************************************************************
* 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
*
*************************************************************************