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 TypeMethodDescriptionvoid
dispose()
default String
getNewScriptText
(String scriptLanguage) Called when a query type is selected for a script without git selected, and without any script code.default Boolean
Determine if this type-specific panel currently requires a script.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.boolean
isChanged
(PersistentQueryConfiguration initialConfig) void
populateConfigurationFromPanel
(PersistentQueryConfiguration configuration) void
populatePanelFromConfiguration
(PersistentQueryConfiguration configuration) void
setActivate
(ConfigEditorInterface configEditor, boolean active) void
setEditable
(boolean isEditable) default void
validate()
-
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.
-