In general, the com server for your add-in is called when the assigned
language for the model element corresponds to your language add-in.  Then
your return value will determine if the default comes up or not.  So if you
return True and you didn't bring up a dialog, you would effectively disable
the spec dialog.

You can disable the dialog for classes, attributes and operations but I'm
not sure about packages.

-----Original Message-----
From: David Glaser [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 08, 2003 4:56 PM
To: [EMAIL PROTECTED]
Subject: (ROSE) Disabling the Rose Specification Dialog from an Addin


The REI documentation for Rose 2000 is not entirely clear on this.

Can a language addin disable the rose specification dialog box for 
packages, classes, attributes, and operations?

The documentation for the OnPropertySpecOpen event states when your addin 
will be called.  However, the documentation does not say that the Rose 
specification dialog will not be called if you handle the event.

-David
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
* Only plain-text messages are supported.
* HTML or Rich-Text messages may be rejected.
*
* 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
* Only plain-text messages are supported.
* HTML or Rich-Text messages may be rejected.
*
* 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