Class ComponentPropertyTermFinder
java.lang.Object
com.inductiveautomation.factorypmi.designer.i18n.search.ComponentPropertyTermFinder
- All Implemented Interfaces:
ComponentTermFinder
- Direct Known Subclasses:
AlarmJournalTableTermFinder,AlarmStatusTableTermFinder,EquipmentScheduleViewTermFinder,LinearScaleTermFinder,MovingAnalogIndicatorTermFinder,PMI2StateButtonTermFinder,PMIBarChartTermFinder,PMIBoxWhiskerChartTermFinder,PMIChartTermFinder,PMIComboBoxTermFinder,PMICommentsPanelTermFinder,PMICompassTermFinder,PMIControlButtonTermFinder,PMIDateRangeTermFinder,PMIDateTimePopupSelectorTermFinder,PMIDateTimeSelectorTermFinder,PMIDayViewTermFinder,PMIEasyChartTermFinder,PMIGanttChartTermFinder,PMINStateButtonTermFinder,PMIPieChartTermFinder,PMIStatusChartTermFinder,PMITableTermFinder,PMITabStripTermFinder,PMIWeekViewTermFinder,RadarChart2TermFinder,RealtimeDateRangeTermFinder,ReportViewerTermFinder,RosterManagementPanelTermFinder,ScheduleManagementPanelTermFinder,UserManagementPanelTermFinder,VisionAdvancedTableTermFinder
The basic term finder looks through all properties of the bean for standard string based translatable properties.
Also respects components' "isTranslatable" property.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidaddFromBasicProperties(List<TermDescriptor> ret, JComponent component) protected static voidaddFromDynamicProperties(List<TermDescriptor> ret, JComponent component) protected static voidaddFromStyles(List<TermDescriptor> ret, Dataset styleDs) voidgetTermsFor(JComponent component, List<TermDescriptor> results) Will create TermDescriptors for each translatable term found in the component.
-
Constructor Details
-
ComponentPropertyTermFinder
public ComponentPropertyTermFinder()
-
-
Method Details
-
getTermsFor
Description copied from interface:ComponentTermFinderWill create TermDescriptors for each translatable term found in the component.- Specified by:
getTermsForin interfaceComponentTermFinder
-
addFromBasicProperties
-
addFromDynamicProperties
-
addFromStyles
-