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 TypeMethodDescriptionvoidaddResultsTab(String caption, com.vaadin.flow.component.icon.Icon icon, IContentTab panel) protected voidaddShowButton(com.vaadin.flow.component.menubar.MenuBar contentMenuBar) protected DbTreeprotected com.vaadin.flow.component.menubar.MenuBarprotected LabelcreateItem(String text, com.vaadin.flow.component.icon.VaadinIcon icon) protected voidvoidfocus()protected voidprotected voidprotected QueryPanelprotected StringgetTabName(String name) protected voidopenQueryWindow(Set<DbTreeNode> nodes) protected QueryPanelopenQueryWindow(DbTreeNode node) protected QueryPanelopenQueryWindow(IDb db) voidputResultsInQueryTab(String value, IDb db) voidrefresh()voidvoidprotected voidMethods 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
-
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
-