Package com._1c.g5.v8.dt.dcs.ui.settings
Interface IDcsSettingsProvider
- All Superinterfaces:
IDcsEnvironmentProvider,IDcsListener
- All Known Implementing Classes:
ConditionalAppearance,DataCompositionFilterDialog,DataCompositionGroupFieldsDialog,DataCompositionSettingsDialog,DcsSettingsService,FormConditionalAppearanceSettingsService,Settings,SettingsDialog,UserFieldsCaseDialog,UserFieldsExpressionDialog
Provider of some information for available fields folders
(current
DataCompositionSettings model object, current available field, current available field destination, etc.)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumKind of settings tab -
Method Summary
Modifier and TypeMethodDescriptionGet source of available fieldsGet available fields variant (Filter, Order, etc.)Get current object.Get current tab kindGet parent destination object in main viewer for available fieldGet expressions fields variantGet title for fieldGet nested schema nameGet dcs schemaGet info of selected available fields in current folderGet selected object (selected node in structure tree or main object).Get selected objects in main viewer (destination)GetDataCompositionSettingsmodel objectbooleanCheck whether user fields is availablevoidSet expressions fields variantvoidUpdate source of available fieldsMethods inherited from interface com._1c.g5.v8.dt.dcs.ui.IDcsEnvironmentProvider
getBmModel, getCurrentLanguageCode, getEditingContext, getV8project, getVersionMethods inherited from interface com._1c.g5.v8.dt.dcs.ui.IDcsListener
notify
-
Method Details
-
getSchema
DataCompositionSchema getSchema()Get dcs schema- Returns:
- schema, can be null
-
getSettings
DataCompositionSettings getSettings()GetDataCompositionSettingsmodel object- Returns:
DataCompositionSettingsmodel object
-
getAvailableFieldsSource
DcsAvailableSettingsSourceForSchema getAvailableFieldsSource()Get source of available fields- Returns:
DcsAvailableSettingsSourceForSchemaobject
-
updateAvailableFieldsSource
void updateAvailableFieldsSource()Update source of available fields -
getSelectedAvailableFields
List<DcsAvailableFieldInfo> getSelectedAvailableFields()Get info of selected available fields in current folder- Returns:
- list of
DcsAvailableFieldInfoobjects, never null
-
getSelectedViewerNodes
Get selected objects in main viewer (destination)- Returns:
- list of selected objects, never null
-
getDestinationForAvailableField
Object getDestinationForAvailableField()Get parent destination object in main viewer for available field- Returns:
- parent destination object
-
getAvailableFieldsUse
DcsAvailableSettingsSourceForSchema.FieldUse getAvailableFieldsUse()Get available fields variant (Filter, Order, etc.)- Returns:
- available fields variant
-
getSelectedObject
Object getSelectedObject()Get selected object (selected node in structure tree or main object). Object can be one ofDataCompositionSettings,StructureItem,DataCompositionTableGroup,DataCompositionChartGroup- Returns:
- selected object, never null
-
getCurrentObject
Object getCurrentObject()Get current object. Object can be one ofDataCompositionSettings,StructureItem,DataCompositionTableGroup,DataCompositionChartGroup- Returns:
- current object, never null
-
getExpressionsFieldsUse
DcsAvailableSettingsSourceForSchema.FieldUse getExpressionsFieldsUse()Get expressions fields variant- Returns:
- expressions fields variant
-
setExpressionsFieldsUse
Set expressions fields variant- Parameters:
fieldUse- expressions fields variant
-
isUserFieldsAvailable
boolean isUserFieldsAvailable()Check whether user fields is available- Returns:
- whether user fields is available
-
getFieldTitle
Get title for field- Parameters:
field- field, can't be null- Returns:
- title, never null
-
getCurrentTabKind
IDcsSettingsProvider.TabKind getCurrentTabKind()Get current tab kind- Returns:
IDcsSettingsProvider.TabKindvalue, never null
-
getNestedSchemaName
String getNestedSchemaName()Get nested schema name- Returns:
- nested schema name, never null (empty for the main schema)
-