Package com._1c.g5.v8.dt.qw.ui.tabs
Class ConditionsTab
- java.lang.Object
-
- com._1c.g5.v8.dt.qw.ui.tabs.AbstractLazyTab
-
- com._1c.g5.v8.dt.qw.ui.tabs.ConditionsTab
-
public class ConditionsTab extends AbstractLazyTab
Tab for conditions
-
-
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 ConditionsTab(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 voidaddConditionFromTreeItem(AbstractQueryWizardEditProvider editProvider, org.eclipse.swt.widgets.TreeItem item)Add new conditionprotected voidcreateTabContent()Creates content of the tab item, method will be call once when tab item has not been initialized yet.TreeViewergetAllSourcesTree()GetsTreeViewerwith all field available for condition section from query operatorTreeViewergetConditionsTree()GetsTreeViewerfor condition section of the query operatorprotected voidsetTreeProviders()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
-
ConditionsTab
public ConditionsTab(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
-
getAllSourcesTree
public TreeViewer getAllSourcesTree()
GetsTreeViewerwith all field available for condition section from query operator- Returns:
TreeViewerwith all field available for condition section from query operator, nevernull
-
getConditionsTree
public TreeViewer getConditionsTree()
GetsTreeViewerfor condition section of the query operator- Returns:
TreeViewerfor condition section of the query operator, nevernull
-
addConditionFromTreeItem
public void addConditionFromTreeItem(AbstractQueryWizardEditProvider editProvider, org.eclipse.swt.widgets.TreeItem item)
Add new condition- Parameters:
editProvider-
-
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
-
-