Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: Using ReporterPlus to list Class Constraints
Topic Summary:
Created On: 7-Mar-2007 19:52
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 7-Mar-2007 19:52
User is offline View Users Profile Print this message


John Mettenburg

Posts: 1
Joined: 24-Oct-2005

Has anyone attempted to use ReporterPlus to generate a list of Classes and their associated (anchored) constraints?

Thanks, John
Report this to a Moderator Report this to a Moderator
 8-Mar-2007 11:31
User is offline View Users Profile Print this message


Simon Morrish

Posts: 127
Joined: 17-May-2005

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
Report this to a Moderator Report this to a Moderator
 9-Jun-2008 21:27
User is offline View Users Profile Print this message


Sean Duggan

Posts: 29
Joined: 21-Apr-2008

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.
Report this to a Moderator Report this to a Moderator
 10-Jun-2008 14:28
User is offline View Users Profile Print this message


Simon Morrish

Posts: 127
Joined: 17-May-2005

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
Report this to a Moderator Report this to a Moderator
 10-Jun-2008 20:57
User is offline View Users Profile Print this message


Sean Duggan

Posts: 29
Joined: 21-Apr-2008

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.
Report this to a Moderator Report this to a Moderator
 11-Jun-2008 09:21
User is offline View Users Profile Print this message


Jesper Gissel

Posts: 88
Joined: 20-Jul-2005

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 The User Guide which comes with ReporterPLUS, is not very useful.

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
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.