Comments follow ...
-----Original Message----- From: Alexander Felfernig [mailto:[EMAIL PROTECTED]] Sent: Monday, November 19, 2001 1:49 AM To: [EMAIL PROTECTED] Subject: (ROSE) Building Rose Addins: Events, Properties, etc. Hello. We are currently implementing a Rational Rose Addin for modeling configurable products. In this context the following questions: - We want to replace the default "attribute specification" mask with a corresponding Rose script - how does the corresponding entry for "onPropertySpecOpen" in the Addin registry file look like exactly - what are the parameters? jhsia: This can't be done with rosescript. Beacause parameters are passed, a COM server is required. Check the online help for details on the COM method signature required. - Is it possible to add user-defined properties, where the underlying datatype is ako property collection? E.g., each class has a set of additional properties of the same type. In our case a class represents a component type of a configurable product - such a component type can be provided by a set of suppliers which we want to explicitly represent as a property of the component type. jhsia: cardinality of properties is 1. You could create invisible properties (call createProperty on the individual model element), embed the index of the collection in the name of the property, add a property telling you how many items there are in your collection but you'd also have to create your own GUI as the default spec can only handle statically created properties (i.e. via DefaultModelProperties object or pty files). - Is there any support for building ako table-field in Rose-Script? Thanks, Alexander ************************************************************************ * 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/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 * *************************************************************************
