Package dataPlotsFX.data
Class TDDataProviderRegisterFX
java.lang.Object
dataPlotsFX.data.TDDataProviderRegisterFX
Static holder of information about plottable data.
- Author:
- Doug Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindDataProvider
(Class providerClass, String providerName) Find a provider based on it's class and it's name.findDataProvider
(PamDataBlock pamDataBlock) Find a provider based on it's datablock.static TDDataProviderRegisterFX
void
registerDataInfo
(TDDataProviderFX dataInfo) Register a source of plottable data.void
unRegisterDataInfo
(TDDataProviderFX dataInfo) Remove something from the registervoid
unRegisterDataInfo
(PamDataBlock dataBlock) Remove all items associated with a particular data block from the register.
-
Constructor Details
-
TDDataProviderRegisterFX
public TDDataProviderRegisterFX()
-
-
Method Details
-
getInstance
-
registerDataInfo
Register a source of plottable data.- Parameters:
dataInfo
- info to register
-
unRegisterDataInfo
Remove something from the register- Parameters:
dataInfo
- info to remove from register
-
unRegisterDataInfo
Remove all items associated with a particular data block from the register.- Parameters:
dataBlock
-
-
findDataProvider
Find a provider based on it's class and it's name.
This is mainly called when deserialising settings and recreating old plots.- Parameters:
providerClass
- classproviderName
- name- Returns:
- provider class or null.
-
findDataProvider
Find a provider based on it's datablock. If there is more than one data block then first provider in the list is returned.- Parameters:
pamDataBlock
- data block to find TDDataProvider for.- Returns:
- provider class or null.
-
getDataInfos
- Returns:
- the complete list of data infos
-