Class SqlExplorer
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.SqlExplorer
- 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
- 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
ConstructorsConstructorDescriptionSqlExplorer
(String configDir, IDbProvider databaseProvider, String user, double leftSplitPos) SqlExplorer
(String configDir, IDbProvider databaseProvider, String user, IDbMenuItem... additionalMenuItems) SqlExplorer
(String configDir, IDbProvider databaseProvider, ISettingsProvider settingsProvider, String user) SqlExplorer
(String configDir, IDbProvider databaseProvider, ISettingsProvider settingsProvider, String user, double leftSplitSize, IDbMenuItem... additionalMenuItems) SqlExplorer
(String configDir, IDbProvider databaseProvider, ISettingsProvider settingsProvider, String user, IDbMenuItem... additionalMenuItems) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addResultsTab
(String caption, com.vaadin.flow.component.icon.Icon icon, IContentTab panel) protected void
addShowButton
(com.vaadin.flow.component.menubar.MenuBar contentMenuBar) protected DbTree
protected com.vaadin.flow.component.menubar.MenuBar
protected Label
createItem
(String text, com.vaadin.flow.component.icon.VaadinIcon icon) protected void
void
focus()
protected void
protected void
protected QueryPanel
protected String
getTabName
(String name) protected void
openQueryWindow
(Set<DbTreeNode> nodes) protected QueryPanel
openQueryWindow
(DbTreeNode node) protected QueryPanel
openQueryWindow
(IDb db) void
putResultsInQueryTab
(String value, IDb db) void
refresh()
void
void
protected void
Methods inherited from class org.jumpmind.vaadin.ui.common.CustomSplitLayout
getPrimarySizePixel, getSecondarySizePixel, getSplitterPosition, setOrientation, setSplitterPosition
Methods inherited from class com.vaadin.flow.component.splitlayout.SplitLayout
addSplitterDragendListener, addToPrimary, addToSecondary, getOrientation, getPrimaryComponent, getSecondaryComponent, remove, removeAll, setPrimaryStyle, setSecondaryStyle
Methods 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, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.ClickNotifier
addClickListener, addClickShortcut, addDoubleClickListener, addSingleClickListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
Methods 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, setWidthFull
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
Methods inherited from interface com.vaadin.flow.component.HasTheme
addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeName
Methods inherited from interface com.vaadin.flow.component.shared.HasThemeVariant
addThemeVariants, removeThemeVariants
-
Constructor Details
-
SqlExplorer
public SqlExplorer(String configDir, IDbProvider databaseProvider, ISettingsProvider settingsProvider, String user) -
SqlExplorer
public SqlExplorer(String configDir, IDbProvider databaseProvider, String user, IDbMenuItem... additionalMenuItems) -
SqlExplorer
public SqlExplorer(String configDir, IDbProvider databaseProvider, ISettingsProvider settingsProvider, String user, IDbMenuItem... additionalMenuItems) -
SqlExplorer
public SqlExplorer(String configDir, IDbProvider databaseProvider, String user, double leftSplitPos) -
SqlExplorer
public SqlExplorer(String configDir, IDbProvider databaseProvider, ISettingsProvider settingsProvider, String user, double leftSplitSize, IDbMenuItem... additionalMenuItems)
-
-
Method Details
-
buildLeftMenu
protected com.vaadin.flow.component.menubar.MenuBar buildLeftMenu() -
selectContentTab
-
resetContentMenuBar
public void resetContentMenuBar() -
openQueryWindow
-
openQueryWindow
-
openQueryWindow
-
refreshQueryPanels
public void refreshQueryPanels() -
findQueryPanelForDb
-
generateSelectForSelectedTables
protected void generateSelectForSelectedTables() -
generateDmlForSelectedTables
-
dropSelectedTables
protected void dropSelectedTables() -
buildDbTree
-
createItem
-
getQueryPanelForDb
-
getTabName
-
getSettingsProvider
-
getDatabaseProvider
-
refresh
public void refresh() -
focus
public void focus() -
addResultsTab
public void addResultsTab(String caption, com.vaadin.flow.component.icon.Icon icon, IContentTab panel) -
putResultsInQueryTab
-