![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Using ReporterPlus to list Class Constraints Topic Summary: Created On: 7-Mar-2007 19:52 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|||
Has anyone attempted to use ReporterPlus to generate a list of Classes and their associated (anchored) constraints?
Thanks, John |
|||
![]() |
|||
![]() |
|||
Hi John
Yes, quite! You can't directly navigate from an arbitrary model element to any annotations which are anchored to it. :mad: The good news is that you can achieve this through a bit of ReporterPLUS Q language. The enclosed template should output all the classes in your model, each with their constraints listed. The key part of the template is the Advanced Condition set on the constraints node: [CODE]<Specific Object> filter { there_exists ELT in current -> [anchoredElements] => ELT = this } over all "Constraint"[/CODE] This checks all the constraints in your model for any that are anchored to the current class. ReporterPLUS Q language is described in Qlanguage.pdf, in your ReporterPLUS folder. If you're interested in more ReporterPLUS tips, you might like to take look at a [URL=http://www.telelogic.com/download/index.cfm?id=4740][COLOR=Navy]presentation[/COLOR][/URL] I gave to the Telelogic User Conference last November. (Although it loses a lot without the associated notes, which Telelogic didn't put up for download.) Let me know how you get on... regards, Simon ------------------------- Simon Morrish simon.morrish@eu.panasonic.com http://panasonic.co.uk Panasonic ideas for life |
|||
![]() |
|||
![]() |
|||
I know this is an old thread, but I just downloaded the presentation and it is quite impressive. I'm still working through the examples to see exactly how they work.
|
|||
![]() |
|||
![]() |
|||
Hi Sean
Thankyou for your kind words. I greatly admire your persistence in working through the slides; they must be very difficult to follow without the notes. I've been meaning to put up the notes for download for some time, so here they are attached. I hope they help. Any questions, let me know... Incidentally, do you think there would be much interest in a ReporterPLUS "how to" guide? I've occasionally considered putting something like this together, given the lack of documentation from Telelogic, although it would have to be in my spare time... best regards, Simon
------------------------- Simon Morrish simon.morrish@eu.panasonic.com http://panasonic.co.uk Panasonic ideas for life |
|||
![]() |
|||
![]() |
|||
My, that does make some thing much more clear. If nothing else, I no longer have to make up captions for the pictures. ^_^ It's still going to require some work to go through due to the mentioned lack of official documentation on the Q Language. Just to give an example, the parentheses with semicolons syntax (ex: ([] ; [] -> [containedPackages])) is not documented in the QLanguage.pdf file. *wrinkles nose* It doesn't help that we were only given Rhapsody classes, and no ReporterPlus class, but from reading through your presentation, I'm left with the impression that even the class doesn't generally touch on more than the very basics of building up a report... do they actually cover the undocumented operations of filter, traverse, and the like or did you have to figure all of this out on your own by experimentation?
Incidentally, I think there would indeed be an interest in a "how to" guide. Unfortunately, by the time people find these forums, they've probably either figured out their problems or they've practically given up. I'm impressed that you still keep watch over here despite the sparse traffic. As a newbie who was kind of thrown into the use of ReporterPlus, you have been a godsend. |
|||
![]() |
|||
![]() |
|||
Hi Simon and Sean (and all you other guys),
I must say, that a "How to" guide for ReporterPLUS, would be really nice. I think it's a bit odd, that it has to be an end users job to make it ![]() It looks to me, that ReporterPLUS doesn't have that much focus at Telelogic (or I-Logix, for that matter). We have been trying to get the DescriptionRTF fixed for several years, but...! And thank you for the presentation notes. It makes it a lot easier to understand ![]() Regards ------------------------- Jesper Gissel Johnson Controls Denmark, Marine Controls |
|||
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.