Package jmri.jmrit.whereused
@DefaultAnnotation({})
package jmri.jmrit.whereused
Create a where used report for a selected table object.
The main window has a combo box for selecting the item type, such as sensor. When a type is selected, the second combo box is used to select the item. When the Create button is pressed the matches are listed in the text area.
Each item type has a class which finds the references using the WhereUsedCollectors methods. Each collector method calls the getUsageReport in the related implementation class. The resulting report is passed back to the window class for display.
WhereUsedFrame
|-- {beanname}WhereUsed.getWhereUsed(bean) :: return text area
|-- WhereUsedCollectors.{method}(bean) :: return usage string
|-- {instance}.getUsageReport(bean) :: return NamedBeanUsageReport array
-
ClassDescriptionFind Audio references.Find Block references.Provides standard access for resource bundles in a package.Find entry/exit references.Find light references.Find memory references.Find OBlock references.Find Reporter references.Find Route references.Find Section references.Find sensor references.Find signal head references.Find signal mast references.Find turnout references.Find Warrant references.Swing action to create and register a WhereUsedFrameFind references.Create a where used report based on the selected bean.The item types.