Class TablesAndFieldsTab


  • public final class TablesAndFieldsTab
    extends AbstractLazyTab
    Tab for tables and fields
    • Constructor Detail

      • TablesAndFieldsTab

        public TablesAndFieldsTab​(QueryWizardControl queryWizard,
                                  org.eclipse.core.resources.IProject project,
                                  org.eclipse.swt.custom.CTabFolder tabFolder,
                                  IBmNavigatorOrderIndexManager bmNavigatorOrderIndexManager,
                                  IConfigurationProvider configurationProvider)
        Constructor
        Parameters:
        queryWizard - actual Query wizard control, cannot be null
        project - actual context project of Query Builder, cannot be null
        tabFolder - parent CTabFolder for creating tab on it, cannot be null
        bmNavigatorOrderIndexManager - - service to get IBmNavigatorOrderIndexProvider. Cannot be null.
        configurationProvider - - service to get configuration using eObject. Cannot be null.
    • Method Detail

      • changeExpression

        public static void changeExpression​(QuerySchemaExpression querySchemaExpression,
                                            QueryWizardControl queryWizard,
                                            org.eclipse.core.resources.IProject project)
        Change expression in dialog
        Parameters:
        querySchemaExpression -
        queryWizard -
        project -
      • getAvailableTablesTree

        public TreeViewer getAvailableTablesTree()
        Gets TreeViewer with all available tables for query
        Returns:
        TreeViewer with all available tables for query, never null
      • getSourcesTree

        public TreeViewer getSourcesTree()
        Gets TreeViewer with sources of query operator
        Returns:
        TreeViewer with sources of query operator, never null
      • getFieldsTree

        public TreeViewer getFieldsTree()
        Gets TreeViewer with select fields of query operator
        Returns:
        TreeViewer with select fields of query operator, never null