awips2/cave/com.raytheon.viz.gfe/help/TextProductUserGuideNarrative/notes32.txt
root e2ecdcfe33 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: a02aeb236c [formerly 9f19e3f712] [formerly a02aeb236c [formerly 9f19e3f712] [formerly 06a8b51d6d [formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]]
Former-commit-id: 06a8b51d6d
Former-commit-id: 8e80217e59 [formerly 3360eb6c5f]
Former-commit-id: 377dcd10b9
2012-01-06 08:55:05 -06:00

3 lines
553 B
Text

We have some simple rules that all tree methods must follow. First, they must check for the necessary data and if it's not available yet, return immediately. If the data is available, the method does its job and returns the special self.DONE() flag.
For example, the "assembleComponents" method checks to see if the "words" attribute for ALL of the child phrases have been set. If not, it simply returns. If so, it adds a time range label, assembles the component phrases, and returns the special self.DONE() flag so it will not be called again.