Class QueryPanel
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.splitlayout.SplitLayout
org.jumpmind.vaadin.ui.common.CustomSplitLayout
org.jumpmind.vaadin.ui.sqlexplorer.QueryPanel
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.splitlayout.SplitLayout>,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.HasTheme,com.vaadin.flow.component.shared.HasThemeVariant<com.vaadin.flow.component.splitlayout.SplitLayoutVariant>,Serializable,IContentTab
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.component.splitlayout.SplitLayout
com.vaadin.flow.component.splitlayout.SplitLayout.Orientation, com.vaadin.flow.component.splitlayout.SplitLayout.SplitterDragendEvent -
Constructor Summary
ConstructorsConstructorDescriptionQueryPanel(IDb db, ISettingsProvider settingsProvider, IButtonBar buttonBar, String user) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResultsTab(com.vaadin.flow.component.Component resultComponent, String title, com.vaadin.flow.component.icon.Icon icon) voidaddResultsTab(com.vaadin.flow.component.Component resultComponent, String title, com.vaadin.flow.component.icon.Icon icon, int position) protected voidaddToSqlHistory(String sqlStatement, Date executeTime, long executeDuration, String userId) voidprotected de.f0rce.ace.AceEditorvoidcommit()protected com.vaadin.flow.component.ShortcutRegistrationprotected com.vaadin.flow.component.ShortcutRegistrationvoidbooleanexecute(boolean runAsScript) protected booleanprotected booleanprotected voidexecuteSql(String sql, boolean writeToQueryWindow) getDb()getSql()de.f0rce.ace.AceEditorbooleanvoidvoidreplaceGeneralResultsWith(com.vaadin.flow.component.Component newComponent, com.vaadin.flow.component.icon.VaadinIcon icon) voidvoidvoidvoidrollback()voidselected()protected StringvoidsetAutoCompleteEnabled(boolean enabled) protected voidprotected voidvoidvoidvoidMethods inherited from class org.jumpmind.vaadin.ui.common.CustomSplitLayout
getPrimarySizePixel, getSecondarySizePixel, getSplitterPosition, setOrientation, setSplitterPositionMethods inherited from class com.vaadin.flow.component.splitlayout.SplitLayout
addSplitterDragendListener, addToPrimary, addToSecondary, getOrientation, getPrimaryComponent, getSecondaryComponent, remove, removeAll, setPrimaryStyle, setSecondaryStyleMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.ClickNotifier
addClickListener, addClickShortcut, addDoubleClickListener, addSingleClickListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.HasTheme
addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameMethods inherited from interface com.vaadin.flow.component.shared.HasThemeVariant
addThemeVariants, removeThemeVariants
-
Constructor Details
-
QueryPanel
-
-
Method Details
-
getDb
-
buildSqlEditor
protected de.f0rce.ace.AceEditor buildSqlEditor() -
getSqlEditor
public de.f0rce.ace.AceEditor getSqlEditor() -
syncSqlEditor
public void syncSqlEditor() -
getButtonBar
-
setSelectedTabChangeListener
protected void setSelectedTabChangeListener() -
getGeneralResultsTab
-
createGeneralResultsTab
public void createGeneralResultsTab() -
removeGeneralResultsTab
public void removeGeneralResultsTab() -
resetGeneralResultsTab
public void resetGeneralResultsTab() -
replaceGeneralResultsWith
public void replaceGeneralResultsWith(com.vaadin.flow.component.Component newComponent, com.vaadin.flow.component.icon.VaadinIcon icon) -
selected
public void selected()- Specified by:
selectedin interfaceIContentTab
-
unselected
public void unselected()- Specified by:
unselectedin interfaceIContentTab
-
setButtonsEnabled
protected void setButtonsEnabled() -
createExecuteSqlShortcutListener
protected com.vaadin.flow.component.ShortcutRegistration createExecuteSqlShortcutListener() -
createExecuteSqlScriptShortcutListener
protected com.vaadin.flow.component.ShortcutRegistration createExecuteSqlScriptShortcutListener() -
requestExecutionAtCursor
public void requestExecutionAtCursor() -
requestScriptExecution
public void requestScriptExecution() -
addToSqlHistory
-
reExecute
-
execute
public boolean execute(boolean runAsScript) -
appendSql
-
getSql
-
executeSql
-
execute
-
execute
protected boolean execute(boolean runAsScript, String sqlText, int tabPosition, boolean forceNewTab) -
addResultsTab
public void addResultsTab(com.vaadin.flow.component.Component resultComponent, String title, com.vaadin.flow.component.icon.Icon icon) -
addResultsTab
public void addResultsTab(com.vaadin.flow.component.Component resultComponent, String title, com.vaadin.flow.component.icon.Icon icon, int position) -
commit
public void commit() -
transactionEnded
public void transactionEnded() -
rollback
public void rollback() -
selectSqlToRun
-
setAutoCompleteEnabled
public void setAutoCompleteEnabled(boolean enabled)
-