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
-
Class Summary Class Description AudioWhereUsed Find Audio references.BlockWhereUsed Find Block references.Bundle Provides standard access for resource bundles in a package.EntryExitWhereUsed Find entry/exit references.LightWhereUsed Find light references.MemoryWhereUsed Find memory references.OBlockWhereUsed Find OBlock references.ReporterWhereUsed Find Reporter references.RouteWhereUsed Find Route references.SectionWhereUsed Find Section references.SensorWhereUsed Find sensor references.SignalHeadWhereUsed Find signal head references.SignalMastWhereUsed Find signal mast references.TurnoutWhereUsed Find turnout references.WarrantWhereUsed Find Warrant references.WhereUsedAction Swing action to create and register a WhereUsedFrameWhereUsedCollectors Find references.WhereUsedFrame Create a where used report based on the selected bean. -
Enum Summary Enum Description WhereUsedFrame.ItemType The item types.