Thread View: borland.public.together.documentation
2 messages
2 total messages
Started by JLam
Tue, 26 Jul 2005 06:00
Need Help In Setting A Condition For Element Iterator
Author: JLam
Date: Tue, 26 Jul 2005 06:00
Date: Tue, 26 Jul 2005 06:00
15 lines
1398 bytes
1398 bytes
Hi, I am quite new to GenDoc and would like some help navigating through. I have a class diagram in which I hide some classes. When I use GenDoc to generate the document. GenDoc corrects hides those diagrams I wanted to hide but it generated all the descriptions pertaining to those classes. I believe the way to do this (please correct me) is to set a condition (Filter Expression?) on the Element Iterator for Class in the ClassDiagram.tpl. What is the condition I should be setting? If I am moving down the wrong path, please advise. Thanks. -- JLam
Re: Need Help In Setting A Condition For Element Iterator
Author: ElenaA
Date: Mon, 01 Aug 2005 12:22
Date: Mon, 01 Aug 2005 12:22
42 lines
2620 bytes
2620 bytes
can be done using Programmed iteration scope - you can write your own GenDoc adapter that collects all visible references and pass its output to GenDoc. Normally this adapter class should reside in one of com.togethersoft.modules subpackages, and should be placed into the corresponding subfolder of $TGH/modules/com/togethersoft/modules. It should have a method with the following signature: public Vector method (GenDocContext context); GenDocContext is defined in package: com.togethersoft.modules.gendoc.api The method should use the call: context.getRwiElement() to obtain passed current RWI-element (or context.getRwiReference(), if RWI-reference is expected) The method should return a vector of RWI elements that will be passed to Diagram Iteration Section as the iteration scope. Please, let me know if you need an example of java code and .tpl file that do this. "JLam" <josh_lam@intuit.com> wrote in message news:42e5d18b$1@newsgroups.borland.com... > > Hi, > > I am quite new to GenDoc and would like some help navigating through. > > I have a class diagram in which I hide some classes. When I use GenDoc to > generate the document. GenDoc corrects hides those diagrams I wanted to > hide but it generated all the descriptions pertaining to those classes. > > I believe the way to do this (please correct me) is to set a condition > (Filter Expression?) on the Element Iterator for Class in the > ClassDiagram.tpl. What is the condition I should be setting? > > If I am moving down the wrong path, please advise. > > Thanks. > > -- > JLam >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads