This is pretty well hidden but it can be done.
The fields you see in the ANSI C++ custom dialog do map to properties/tagged
values. So one way of figuring out which property maps to which custom
field is to trace it. I do this by setting the custom field with some
traceable value (e.g. c:\temp), saving the model file and then searching the
model file for my value. For one of the fields you were looking for, the
trail brought me to:
(object module "NewComponent" "NotAModuleType" "NotAModulePart"
attributes (list Attribute_Set
(object Attribute
tool "Cplusplus"
name "RevEngRootDirectory"
value "c:\\temp")
So now I know the tool name and the property name (RevEngRootDirectory).
There's several of things here that could have gotten you hung up:
1. tool name is really Cplusplus regardless of the presentation
2. property name is also different
3. components are referred to in the REI as modules and not components.
Hope this helps,
John
p.s. I'm assuming that you're comfortable with programmatic access of tagged
values.
-----Original Message-----
From: Thomas Loeffler [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 7:39 AM
To: [EMAIL PROTECTED]
Subject: (ROSE) Howto change values for ANSI C++ plugin from REI
Hi,
does anybody know how to change the settings for the ANSI C++ plug in?
I know this for the 'normal' values reached by the "Open Specification..."
Menu of a class or component and then the ANSI C++ tab. But what I do not
know is how to set the values
"Source file root directory"
and
"Code generation root directory"
which can be set through a right mouse klick on a component and choosing the
menu "ANSI C++"->"Open ANSI C++ Specification..."
I think there may a possibility with a variable of type Object and then
setting some properties of the underlying OLE object, but I cannot find some
documentation.
The solution should work with Rose on Unix, too.
Thanks for help
Thomas
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* 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
*
* 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
*************************************************************************