RE: (ROSE) Adding properties in Rose

2002-03-14 Thread Hsia, John



Don't know what else might be wrong with the file but one thing is:
default_Category should be *__* (i.e. 2 underscores).
-Original Message-
From: Carmen Occhipinti [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 1:51 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: (ROSE) Adding properties in Rose



Hello,
I have a problem in adding properties into my model.
I have create a "*.pty" property file where I have define a new Panel that I
would appears in the Package Specification window for new Packages element.
Then I have add my property file to my model by selecting "Tools>Model
Properties>Add" from the menu bar, but no model properties have been added.

My property file is as follow:

(object Petal
version 43)

(list Attribute_Set
(object Attribute
 tool"myTool"
 name  "default_Category"
 value   (list Attribute_Set
 (object Attribute
  tool"myTool"
  name"myNewEnumeration"
  value   (list Attribute_Set
  (object Attribute
   tool"myTool"
   name"Value1"
   value   1)
  (object Attribute
   tool"myTool"
   name"Value2"
   value   2)
  (object Attribute
   tool"myTool"
   name"Value3"
   value   3)))
(object Attribute
 tool "myTool"
 name "myEnumeratedProperty"
 value ("myNewEnumeration" 1))
(object Attribute
 tool "myTool"
 name "isAppropriate"
 value TRUE)
(object Attribute
 tool "myTool"
 name "mySpace"
 value 5

Can you help me?

Thanks,
Carmen



* 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: 
*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: 
*Body: unsubscribe rose_forum
*




RE: (ROSE) Adding properties in Rose

2002-03-11 Thread Peter Smith


Be careful, in prior versions of Rose there was a 
separate Rose.ini file that rose looked at for these 
types of settings. More recent versions store this same 
information in the registry and ignore an external .ini 
file.

Pete

Quoting Alfonso Moreno Rey <[EMAIL PROTECTED]>:

> 
>
> I had similar problems a week ago. I thought such 
properties as line
> colour, toolboxes, etc... you define were to be 
stored in the pty file, but
> then when I imported it from someone else´s Rose it 
wasn´t what I expected.
> I finally noticed those "properties" are stored in 
the rose.ini file
> instead. I´m not sure about this issue.
>
>
> -Mensaje original-
> De:   Carmen Occhipinti [SMTP:[EMAIL PROTECTED]]
> Enviado el:   viernes 8 de marzo de 2002 10:51
> Para: [EMAIL PROTECTED]; rose_forum-
[EMAIL PROTECTED]
> Asunto:   (ROSE) Adding properties in Rose
>
>
> Hello,
> I have a problem in adding properties into my model.
> I have create a "*.pty" property file where I have 
define a new Panel that
> I
> would appears in the Package Specification window for 
new Packages element.
> Then I have add my property file to my model by 
selecting "Tools>Model
> Properties>Add" from the menu bar, but no model 
properties have been added.
>
> My property file is as follow:
>
> (object Petal
> version 43)
>
> (list Attribute_Set
> (object Attribute
>  tool"myTool"
>  name  "default_Category"
>  value   (list Attribute_Set
>  (object Attribute
>   tool"myTool"
>   name"myNewEnumeration"
>   value   (list Attribute_Set
>   (object Attribute
>tool"myTool"
>name"Value1"
>value   1)
>   (object Attribute
>tool"myTool"
>name"Value2"
>value   2)
>   (object Attribute
>tool"myTool"
>name"Value3"
>value   3)))
> (object Attribute
>  tool "myTool"
>  name "myEnumeratedProperty"
>  value ("myNewEnumeration" 1))
> (object Attribute
>  tool "myTool"
>  name "isAppropriate"
>  value TRUE)
> (object Attribute
>  tool "myTool"
>  name "mySpace"
>  value 5
>
> Can you help me?
>
> Thanks,
> Carmen
>
>
> 


> * 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_for
um.jsp
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> *To: [EMAIL PROTECTED]
> *Subject: 
> *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_for
um.jsp
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> *To: [EMAIL PROTECTED]
> *Subject: 
> *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: 
*Body: unsubscribe rose_forum
*




RE: (ROSE) Adding properties in Rose

2002-03-08 Thread Alfonso Moreno Rey



I had similar problems a week ago. I thought such properties as line colour, 
toolboxes, etc... you define were to be stored in the pty file, but then when I 
imported it from someone else´s Rose it wasn´t what I expected. I finally noticed 
those "properties" are stored in the rose.ini file instead. I´m not sure about this 
issue.


-Mensaje original-
De: Carmen Occhipinti [SMTP:[EMAIL PROTECTED]]
Enviado el: viernes 8 de marzo de 2002 10:51
Para:   [EMAIL PROTECTED]; [EMAIL PROTECTED]
Asunto: (ROSE) Adding properties in Rose


Hello,
I have a problem in adding properties into my model.
I have create a "*.pty" property file where I have define a new Panel that I
would appears in the Package Specification window for new Packages element.
Then I have add my property file to my model by selecting "Tools>Model
Properties>Add" from the menu bar, but no model properties have been added.

My property file is as follow:

(object Petal
version 43)

(list Attribute_Set
(object Attribute
 tool"myTool"
 name  "default_Category"
 value   (list Attribute_Set
 (object Attribute
  tool"myTool"
  name"myNewEnumeration"
  value   (list Attribute_Set
  (object Attribute
   tool"myTool"
   name"Value1"
   value   1)
  (object Attribute
   tool"myTool"
   name"Value2"
   value   2)
  (object Attribute
   tool"myTool"
   name"Value3"
   value   3)))
(object Attribute
 tool "myTool"
 name "myEnumeratedProperty"
 value ("myNewEnumeration" 1))
(object Attribute
 tool "myTool"
 name "isAppropriate"
 value TRUE)
(object Attribute
 tool "myTool"
 name "mySpace"
 value 5

Can you help me?

Thanks,
Carmen



* 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: 
*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: 
*Body: unsubscribe rose_forum
*