Arno,
Are you deleting the properties or the property sets? You must delete the property sets for the tab to go away. Vishu ********** Annamalai "Vishu" Viswanathan -- [EMAIL PROTECTED] Senior Technical Support Engineer Rational Customer Service - Committed to Service Excellence SCP Certified: http://www.rational.com/support/scp.jsp Rational User Conference 2002.....Freedom to Create! Call for Papers Now Open at http://www.rational.com/ruc August 18-22, 2002 Lake Buena Vista, Florida ********** -----Original Message----- From: Arno Leenders [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 6:00 AM To: 'Viswanathan, Annamalai' Cc: '[EMAIL PROTECTED]' Subject: RE: (ROSE) delete property Yes it does make sense, but it does not work that way. I tried deleting all properties, but the tab just did not dissappear. greetings, Arno Leenders > -----Original Message----- > From: Viswanathan, Annamalai [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 27, 2002 2:56 PM > To: Arno Leenders; Viswanathan, Annamalai > Cc: '[EMAIL PROTECTED]' > Subject: RE: (ROSE) delete property > > > Arno, > > The tab automatically gets deleted when all of the property > sets under it > get deleted, i.e. lets say that I have a tab called 'MyTab' > in my class > specification dialog that has two property sets called 'default' and > 'current'. Each of these two property sets in turn has one or more > properties associated with it. Lets say that you use the > DeleteDefaultPropertySet method to delete the 'current' > property set. At > this point, the 'MyTab' tab will still be there because the 'default' > property set is still there. But when you use the > DeleteDefaultPropertySet > method to delete the 'default' property set this will remove > the 'MyTab' tab > as well since there are no longer any property sets > associated with the > 'MyTab' tool. > > Does this make sense? Please let me know if you require further > clarification. > > Vishu > > ********** > Annamalai "Vishu" Viswanathan -- [EMAIL PROTECTED] > Senior Technical Support Engineer > > Rational Customer Service - Committed to Service Excellence > SCP Certified: http://www.rational.com/support/scp.jsp > > Rational User Conference 2002.....Freedom to Create! > Call for Papers Now Open at http://www.rational.com/ruc > August 18-22, 2002 > Lake Buena Vista, Florida > ********** > > -----Original Message----- > From: Arno Leenders [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 27, 2002 2:47 AM > To: 'Viswanathan, Annamalai' > Cc: '[EMAIL PROTECTED]' > Subject: RE: (ROSE) delete property > > Hi, > > thank you for your help. I got it working now. > It raises more questions though.... > > Is it possible to delete a tab from a usecase or activity > specification? > (not only the property, but the tab as well?) > > greetings, > Arno Leenders > > > -----Original Message----- > > From: Viswanathan, Annamalai [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, June 22, 2002 2:53 AM > > To: Arno Leenders > > Subject: RE: (ROSE) delete property > > > > > > Arno, > > > > I believe the class name for an activity is > > ActivityState...but the safest > > way to do this is to simply use the GetPropertyClass method > > in your code, > > i.e. do this: > > > > ///// > > Dim theActivity As New Activity > > > > IsAdded = theProperties.AddDefaultProperty > > (theActivity.GetPropertyClassName, "MyNewTool", "MyNewSet", "Prop1", > > "String", "") > > ///// > > > > By using the GetPropertyClassName method to return the calss > > of a model > > element you dont really need to know the class name at all. > > > > Vishu > > > > -----Original Message----- > > From: Arno Leenders > > To: 'Viswanathan, Annamalai' > > Sent: 6/21/2002 2:08 AM > > Subject: RE: (ROSE) delete property > > > > Hi, > > > > thank you for your information. > > Can you tell me the classname for an activiy? > > You use: > > Dim theClass As New Class > > I need: > > Dim theActivityState As New .......? > > > > Greetings, > > Arno Leenders > > > > > -----Original Message----- > > > From: Viswanathan, Annamalai [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, June 20, 2002 3:47 PM > > > To: Arno Leenders; '[EMAIL PROTECTED]' > > > Subject: RE: (ROSE) delete property > > > > > > > > > Arno, > > > > > > You can use the DeleteDefaultProperty and the > > DeleteDefaultPropertySet > > > methods to do this. I have attached a sample script. > > > > > > Regards > > > > > > Vishu > > > > > > ********** > > > Annamalai "Vishu" Viswanathan -- [EMAIL PROTECTED] > > > Senior Technical Support Engineer > > > > > > Rational Customer Service - Committed to Service Excellence > > > SCP Certified: http://www.rational.com/support/scp.jsp > > > > > > Rational User Conference 2002.....Freedom to Create! > > > Call for Papers Now Open at http://www.rational.com/ruc > > > August 18-22, 2002 > > > Lake Buena Vista, Florida > > > ********** > > > > > > -----Original Message----- > > > From: Arno Leenders [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, June 20, 2002 1:51 AM > > > To: '[EMAIL PROTECTED]' > > > Subject: (ROSE) delete property > > > > > > > > > Hi all, > > > > > > I have recently recieved a script to add a property to a > > usecase in a > > > seperate tab. > > > I have been using the script some time. There a few > > > properties now I want to > > > delete. > > > How do I do that? > > > Does anyone have a script for that? > > > > > > Greetings, > > > Arno Leenders > > > ----------------------------------------------------------------- > > > ATTENTION: > > > No legal consequences can be derived from the content of this > > > e-mail and/or its attachments. Neither is sender committed to > > > these. The content of this e-mail is exclusively intended for > > > addressee(s) and information purposes. Should you receive this > > > message by mistake, you are hereby notified that any disclosure, > > > reproduction, distribution or use of this message is strictly > > > prohibited. Sender accepts no liability for any damage resulting > > > from the use and/or acceptation of the content of this e-mail. > > > Always scan attachments for viruses before opening them. > > > ----------------------------------------------------------------- > > > > > > ************************************************************** > > > ********** > > > * 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 > > ************************************************************** > > *********** > > > > > ----------------------------------------------------------------- > ATTENTION: > No legal consequences can be derived from the content of this > e-mail and/or its attachments. Neither is sender committed to > these. The content of this e-mail is exclusively intended for > addressee(s) and information purposes. Should you receive this > message by mistake, you are hereby notified that any disclosure, > reproduction, distribution or use of this message is strictly > prohibited. Sender accepts no liability for any damage resulting > from the use and/or acceptation of the content of this e-mail. > Always scan attachments for viruses before opening them. > ----------------------------------------------------------------- > ----------------------------------------------------------------- ATTENTION: No legal consequences can be derived from the content of this e-mail and/or its attachments. Neither is sender committed to these. The content of this e-mail is exclusively intended for addressee(s) and information purposes. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments for viruses before opening them. ----------------------------------------------------------------- ----------------------------------------------------------------- ATTENTION: No legal consequences can be derived from the content of this e-mail and/or its attachments. Neither is sender committed to these. The content of this e-mail is exclusively intended for addressee(s) and information purposes. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments for viruses before opening them. ----------------------------------------------------------------- ************************************************************************ * 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 *************************************************************************
