This can be done in 2002 (I could not get it to work in 2001).

The following is what I did to get a SortOrder property on a separate
'Properties' tab of the activity specification.

I created the following property file and then added it to my model.

Then the user enters the value for SortOrder as a numeric value for each
activity.

Then inside the SoDA script, when I sort by Activity, there will be a Sort
key named PropertiesSortOrder. I set it to sort as Numeric.

---cut here---
(object Petal
    version     43)

(list Attribute_Set
    (object Attribute
        tool    "Properties"
        name    "default__ActivityState"
        value   (list Attribute_Set
           (object Attribute
              tool      "Properties"
              name      "SortOrder"
              value     0))))
---cut here--- 

Change this property file to work for the desired Rose item. The tool and
field name can be changed as needed.

HTH,
Debbie

-----Original Message-----
From: Thierry Beigbeder
To: Rose_Forum
Sent: 5/3/02 7:26 AM
Subject: (ROSE) Sorting elements with SODA by property content


Hi all,
does anyone know a way to sort elements (packages, classes ...) in a
SODA
report by the content of a tool-specific property?
Perhaps is there another way to do so: what we want is to provide the
designers a mean by which they can make appear elements in a specific
order
in the SODA report, without having to rename elements in their models.

Thanks in advance,
Thierry Beigbeder

************************************************************************
* 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
*************************************************************************

Reply via email to