Package com._1c.g5.v8.dt.qw.ui.tabs
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
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.qw.ui.tabs.AbstractLazyTab
init, project, querySchemaSource, queryWizard, tabFolder, tabItem
-
-
Constructor Summary
Constructors Constructor Description AliasesTab(QueryWizardControl queryWizard, org.eclipse.core.resources.IProject project, org.eclipse.swt.custom.CTabFolder tabFolder)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateTabContent()Creates content of the tab item, method will be call once when tab item has not been initialized yet.org.eclipse.jface.action.ActiongetAliasChangeAction()TreeViewergetAliasesTree()GetsTreeViewerfor aliases of the queryTreeViewergetOperatorsTree()GetsTreeViewerfor query operatorsprotected voidsetTreeProviders()Sets content and label providers to the trees in tab itemsvoidupdateOperatorColumn()Updates columns for aliases Tree-
Methods inherited from class com._1c.g5.v8.dt.qw.ui.tabs.AbstractLazyTab
addPaintListener, getTabItem, init, isInit, setTabItem, updateTreeProviders
-
-
-
-
Constructor Detail
-
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 benullproject- actual context project of Query Builder, cannot benulltabFolder- parentCTabFolderfor creating tab on it, cannot benull
-
-
Method Detail
-
getOperatorsTree
public TreeViewer getOperatorsTree()
GetsTreeViewerfor query operators- Returns:
TreeViewerfor query operators, nevernull
-
getAliasesTree
public TreeViewer getAliasesTree()
GetsTreeViewerfor aliases of the query- Returns:
TreeViewerfor aliases of the query, nevernull
-
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:AbstractLazyTabSets content and label providers to the trees in tab items- Specified by:
setTreeProvidersin classAbstractLazyTab
-
createTabContent
protected void createTabContent()
Description copied from class:AbstractLazyTabCreates content of the tab item, method will be call once when tab item has not been initialized yet. SeeAbstractLazyTab.init()- Specified by:
createTabContentin classAbstractLazyTab
-
-