Class DtGranularEditorPageSingleColumnBuilder.SingleColumnSectionDefinitionBuilder<R>
- java.lang.Object
-
- com._1c.g5.aef2.standard.definitions.builders.AbstractBuilder<R,T>
-
- com._1c.g5.aef2.standard.definitions.builders.AbstractContainerDefinitionBuilder<SectionDefinition,T>
-
- com._1c.g5.aef2.standard.definitions.builders.SectionDefinitionBuilder<R,T>
-
- com._1c.g5.v8.dt.ui.aef.definitions.builder.DtSectionDefinitionBuilder<R,T>
-
- com._1c.g5.v8.dt.ui.editor.aef.definition.builder.DtGranularEditorPageSingleColumnBuilder.SingleColumnSectionDefinitionBuilder<R>
-
- Type Parameters:
R
- the return type.
- Enclosing class:
- DtGranularEditorPageSingleColumnBuilder<R>
public static class DtGranularEditorPageSingleColumnBuilder.SingleColumnSectionDefinitionBuilder<R> extends DtSectionDefinitionBuilder<R,T>
The section builder for the single-column builder.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.definitions.builders.SectionDefinitionBuilder
SectionDefinitionBuilder.ComponentParameterizationInfo
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SingleColumnSectionDefinitionBuilder(Supplier<SectionDefinition> provider, Consumer<SectionDefinition> endAction, DtGranularEditorPageSingleColumnBuilder<R> endSectionResult)
Creates a new builder instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DtGranularEditorPageActionBuilder<T>
actions()
Returns a builder for configuring section actions.DtGranularEditorPageActionBuilder<T>
actions(String... contextIds)
Deprecated.Use section with active contextDtGranularEditorPageSingleColumnBuilder.section(java.lang.String)
R
endSection()
Ends section and performs the action that is given while instantiating the builder.T
navigatorTable(org.eclipse.emf.ecore.EStructuralFeature feature, String contextId)
Creates a newFieldDefinition
onNavigatorTableComponent
and adds it to the section.T
navigatorTable(org.eclipse.emf.ecore.EStructuralFeature feature, String contextId, org.eclipse.emf.ecore.EStructuralFeature openFeature)
Creates a newFieldDefinition
onNavigatorTableComponent
and adds it to the section.T
selectionProvider(Object idQuery)
Sets the id query corresponding to the selection provider component of this section.T
toolbarId(String toolbarId)
Sets the toolbar id to populate contributed actions with.-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.definitions.builder.DtSectionDefinitionBuilder
builder, element, getComponentParameterizationInfo, multiFeatureElement, setup
-
Methods inherited from class com._1c.g5.aef2.standard.definitions.builders.SectionDefinitionBuilder
component, componentFactory, element, element, element, element, fieldDefinition, getComponentParameterizationInfo, getLastFeature, info, labeledDefinition, multiFeatureElement, navigateTo, navigateTo, navigateTo, navigateTo, operationFieldDefinition, separator, setElementLogger, stringIdDefiniton
-
Methods inherited from class com._1c.g5.aef2.standard.definitions.builders.AbstractContainerDefinitionBuilder
getAndIncrementPosition, getPosition, insert, setPosition
-
Methods inherited from class com._1c.g5.aef2.standard.definitions.builders.AbstractBuilder
apply, build, self
-
-
-
-
Constructor Detail
-
SingleColumnSectionDefinitionBuilder
protected SingleColumnSectionDefinitionBuilder(Supplier<SectionDefinition> provider, Consumer<SectionDefinition> endAction, DtGranularEditorPageSingleColumnBuilder<R> endSectionResult)
Creates a new builder instance.- Parameters:
provider
- the provider of the section definition.endAction
- the end action.endSectionResult
- the returning result.
-
-
Method Detail
-
selectionProvider
public T selectionProvider(Object idQuery)
Sets the id query corresponding to the selection provider component of this section.- Parameters:
idQuery
- the id query relative to the section representing the component that will be used as the selection provider for this section- Returns:
- the builder instance
- See Also:
ComponentSearch.ID_SEARCH_PROVIDER
-
toolbarId
public T toolbarId(String toolbarId)
Sets the toolbar id to populate contributed actions with.- Parameters:
toolbarId
- the toolbar id to populate contributed actions with, cannot benull
- Returns:
- the builder instance, never
null
-
endSection
public R endSection()
Description copied from class:SectionDefinitionBuilder
Ends section and performs the action that is given while instantiating the builder.- Overrides:
endSection
in classSectionDefinitionBuilder<R,T extends com._1c.g5.v8.dt.ui.editor.aef.definition.builder.DtGranularEditorPageSectionBuilder<R,T>>
- Returns:
- the object given in constructor, never
null
.
-
actions
@Deprecated public DtGranularEditorPageActionBuilder<T> actions(String... contextIds)
Deprecated.Use section with active contextDtGranularEditorPageSingleColumnBuilder.section(java.lang.String)
Returns a builder for configuring section actions.- Returns:
- a builder for configuring section actions.
-
actions
public DtGranularEditorPageActionBuilder<T> actions()
Returns a builder for configuring section actions.- Returns:
- a builder for configuring section actions.
-
navigatorTable
public T navigatorTable(org.eclipse.emf.ecore.EStructuralFeature feature, String contextId)
Creates a newFieldDefinition
onNavigatorTableComponent
and adds it to the section.- Parameters:
feature
- the feature that represents the feature path, cannot benull
contextId
- the ui context id, may benull
- Returns:
- the builder instance, cannot be
null
.
-
navigatorTable
public T navigatorTable(org.eclipse.emf.ecore.EStructuralFeature feature, String contextId, org.eclipse.emf.ecore.EStructuralFeature openFeature)
Creates a newFieldDefinition
onNavigatorTableComponent
and adds it to the section.- Parameters:
feature
- the feature that represents the feature path, cannot benull
contextId
- the ui context id, may benull
openFeature
- the model object feature to open editor, cannot benull
- Returns:
- the builder instance, cannot be
null
.
-
-