Package com.illumon.iris.controller
Interface TypeSpecificConfigPanel
- All Known Implementing Classes:
BinaryImportQueryConfigPanel,CsvImportQueryConfigPanel,DownsampleImportQueryConfigPanel,JdbcImportQueryConfigPanel,MergeImportConfigPanel,MergeQueryConfigPanel,ReplayConfigPanel,ValidateQueryConfigPanel,XmlImportQueryConfigPanel
public interface TypeSpecificConfigPanel
-
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()default StringgetNewScriptText(String scriptLanguage) Called when a query type is selected for a script without git selected, and without any script code.default BooleanDetermine if this type-specific panel currently requires a script.default voidinit()After the type specific panel has been created, this is called off the swing thread; but before the panel's configuration is populated.booleanisChanged(PersistentQueryConfiguration initialConfig) voidpopulateConfigurationFromPanel(PersistentQueryConfiguration configuration) voidpopulatePanelFromConfiguration(PersistentQueryConfiguration configuration) voidsetActivate(ConfigEditorInterface configEditor, boolean active) voidsetEditable(boolean isEditable) default voidvalidate()
-
Method Details
-
getComponent
JComponent getComponent() -
populatePanelFromConfiguration
-
populateConfigurationFromPanel
-
setEditable
void setEditable(boolean isEditable) -
isChanged
-
setActivate
-
validate
-
dispose
void dispose() -
hasScript
Determine if this type-specific panel currently requires a script. This is only applicable if a type-specific panel may or may not require a script.- Returns:
- null if it is not applicable or not determined, true if it currently requires a script, false if it does not currently require a script
-
getNewScriptText
Called when a query type is selected for a script without git selected, and without any script code. If a default script is desired, this should provide it.- Parameters:
scriptLanguage- the language for the new script text- Returns:
- a starting script, or null if none is needed
-
init
default void init()After the type specific panel has been created, this is called off the swing thread; but before the panel's configuration is populated.
-