Package com._1c.g5.v8.dt.qw.ui.tabs
Class DataCompositionTab
- java.lang.Object
-
- com._1c.g5.v8.dt.qw.ui.tabs.AbstractLazyTab
-
- com._1c.g5.v8.dt.qw.ui.tabs.DataCompositionTab
-
public class DataCompositionTab extends AbstractLazyTab
Tab for characteristics
-
-
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 DataCompositionTab(QueryWizardControl queryWizard, org.eclipse.core.resources.IProject project, org.eclipse.swt.custom.CTabFolder tabFolder)
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
changeExpressionInDialog(QueryWizardControl queryWizard, QuerySchemaExpression editedExpression)
Change dcs condition in dialogprotected void
createTabContent()
Creates content of the tab item, method will be call once when tab item has not been initialized yet.TreeViewer
getDataCompositionAllFieldsConditionsTree()
Get all fields conditionsTreeViewer
getDataCompositionAllFieldsTree()
Get all fields treeTreeViewer
getDataCompositionConditionsTree()
Get conditions treeTreeViewer
getDataCompositionFieldsTree()
Get fields treeTreeViewer
getDataCompositionTablesTree()
Get tables treeboolean
isOperatorsComboVisible()
Is operators combo visibleprotected void
setTreeProviders()
Sets content and label providers to the trees in tab items-
Methods inherited from class com._1c.g5.v8.dt.qw.ui.tabs.AbstractLazyTab
addPaintListener, getTabItem, init, isInit, setTabItem, updateTreeProviders
-
-
-
-
Constructor Detail
-
DataCompositionTab
public DataCompositionTab(QueryWizardControl queryWizard, org.eclipse.core.resources.IProject project, org.eclipse.swt.custom.CTabFolder tabFolder)
Constructor- Parameters:
queryWizard
- actual Query wizard control, cannot benull
project
- actual context project of Query Builder, cannot benull
tabFolder
- parentCTabFolder
for creating tab on it, cannot benull
-
-
Method Detail
-
changeExpressionInDialog
public static void changeExpressionInDialog(QueryWizardControl queryWizard, QuerySchemaExpression editedExpression)
Change dcs condition in dialog- Parameters:
queryWizard
- - query wizardeditedExpression
- - query schema expression
-
isOperatorsComboVisible
public boolean isOperatorsComboVisible()
Is operators combo visible- Returns:
- true if visible
-
getDataCompositionTablesTree
public TreeViewer getDataCompositionTablesTree()
Get tables tree- Returns:
- tables tree, never
null
-
getDataCompositionAllFieldsTree
public TreeViewer getDataCompositionAllFieldsTree()
Get all fields tree- Returns:
- all fields tree, never
null
-
getDataCompositionFieldsTree
public TreeViewer getDataCompositionFieldsTree()
Get fields tree- Returns:
- fields tree, never
null
-
getDataCompositionAllFieldsConditionsTree
public TreeViewer getDataCompositionAllFieldsConditionsTree()
Get all fields conditions- Returns:
- all fields conditions, never
null
-
getDataCompositionConditionsTree
public TreeViewer getDataCompositionConditionsTree()
Get conditions tree- Returns:
- conditions tree, never
null
-
setTreeProviders
protected void setTreeProviders()
Description copied from class:AbstractLazyTab
Sets content and label providers to the trees in tab items- Specified by:
setTreeProviders
in classAbstractLazyTab
-
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. SeeAbstractLazyTab.init()
- Specified by:
createTabContent
in classAbstractLazyTab
-
-