Class AliasesTab

java.lang.Object
com._1c.g5.v8.dt.qw.ui.tabs.AbstractLazyTab
com._1c.g5.v8.dt.qw.ui.tabs.AliasesTab

public class AliasesTab extends AbstractLazyTab
Tab for aliases and aperators editing
  • Constructor Details

    • AliasesTab

      public AliasesTab(QueryWizardControl queryWizard, org.eclipse.core.resources.IProject project, org.eclipse.swt.custom.CTabFolder tabFolder)
      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
  • Method Details

    • getOperatorsTree

      public TreeViewer getOperatorsTree()
      Gets TreeViewer for query operators
      Returns:
      TreeViewer for query operators, never null
    • getAliasesTree

      public TreeViewer getAliasesTree()
      Gets TreeViewer for aliases of the query
      Returns:
      TreeViewer for aliases of the query, never null
    • getAliasChangeAction

      public org.eclipse.jface.action.Action getAliasChangeAction()
      Returns:
      aliasChangeAction
    • updateOperatorColumn

      public void updateOperatorColumn()
      Updates columns for aliases Tree
    • setTreeProviders

      protected void setTreeProviders()
      Description copied from class: AbstractLazyTab
      Sets content and label providers to the trees in tab items
      Specified by:
      setTreeProviders in class AbstractLazyTab
    • createTabContent

      protected void createTabContent()
      Description copied from class: AbstractLazyTab
      Creates content of the tab item, method will be call once when tab item has not been initialized yet. See AbstractLazyTab.init()
      Specified by:
      createTabContent in class AbstractLazyTab