Package com._1c.g5.v8.dt.qw.ui.tabs
Class TotalsTab
java.lang.Object
com._1c.g5.v8.dt.qw.ui.tabs.AbstractLazyTab
com._1c.g5.v8.dt.qw.ui.tabs.TotalsTab
Tab for totals
-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.qw.ui.tabs.AbstractLazyTab
init, project, querySchemaSource, queryWizard, tabFolder, tabItem
-
Constructor Summary
ConstructorsConstructorDescriptionTotalsTab
(QueryWizardControl queryWizard, org.eclipse.core.resources.IProject project, org.eclipse.swt.custom.CTabFolder tabFolder) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Creates content of the tab item, method will be call once when tab item has not been initialized yet.org.eclipse.jface.action.Action
Get totals action for updateGet totals all fields treeGet totals controls points treeGet totals expressions treeprotected void
Sets content and label providers to the trees in tab itemsMethods inherited from class com._1c.g5.v8.dt.qw.ui.tabs.AbstractLazyTab
addPaintListener, getTabItem, init, isInit, setTabItem, updateTreeProviders
-
Constructor Details
-
TotalsTab
public TotalsTab(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 Details
-
getTotalsAllFieldsTree
Get totals all fields tree- Returns:
- totals all fields tree, never
null
-
getTotalsControlsPointsTree
Get totals controls points tree- Returns:
- totals controls points tree, never
null
-
getTotalsExpressionsTree
Get totals expressions tree- Returns:
- totals expressions tree, never
null
-
getActionForUpdate
public org.eclipse.jface.action.Action getActionForUpdate()Get totals action for update- Returns:
- totals action for update
-
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
-