Package com.illumon.iris.controller
Interface ConfigEditorInterface
- All Known Implementing Classes:
PersistentQueryConfigEditor
public interface ConfigEditorInterface
Functions that the PersistentQueryConfigEditor promises to provide for TypeSpecificConfigPanels
-
Method Summary
Modifier and Type Method Description void
setScriptPathRequired(boolean scriptPathRequired)
void
updateDbServerList(List<String> serverClasses, String currentValue)
Update the list of allowed DB servers based on the provided list of server classes.void
updateScriptCodeTab(boolean makeVisible, boolean makeEditable)
Update the script tab based on whether it should be visible and/or editable.
-
Method Details
-
setScriptPathRequired
void setScriptPathRequired(boolean scriptPathRequired) -
updateScriptCodeTab
void updateScriptCodeTab(boolean makeVisible, boolean makeEditable)Update the script tab based on whether it should be visible and/or editable.- Parameters:
makeVisible
- if true, make the script editor tab visible; if false, don'tmakeEditable
- if true, the tab should be editable if it is visible
-
updateDbServerList
Update the list of allowed DB servers based on the provided list of server classes. If serverClasses is null, then all available servers allowed for the user will be added. If currentValue is not null and that server is in the server list, it will be selected in the combo box, otherwise an indeterminate object will be selected.- Parameters:
serverClasses
- the server classes to be allowedcurrentValue
- the value to which to set the combo box
-