Package com._1c.g5.v8.dt.ui.validation
Class ChecksViewerProvider
java.lang.Object
com._1c.g5.v8.dt.ui.validation.ChecksViewerProvider
Check viewer common provider.
- 
Constructor SummaryConstructorsConstructorDescriptionChecksViewerProvider(ICheckRepository checkRepository, org.eclipse.core.resources.IProject project, Function<IChecksTreeNode, Boolean> treeFilter) Creates new provider instance.
- 
Method SummaryModifier and TypeMethodDescriptionorg.eclipse.core.databinding.observable.value.IObservableValue<String>Provides the observable value of the active settings profileorg.eclipse.core.databinding.observable.list.IObservableList<String>Provides the observable list of available profilesProvides check filterProvides check repositoryProvides check tree content providerorg.eclipse.core.databinding.DataBindingContextProvides data binding contextProvides the last selected profile stringorg.eclipse.core.resources.IProjectProvides projectvoidinit()Initializes checks tree content providervoidsetLastSelectedProfile(String lastSelectedProfile) Sets the last selected profile string
- 
Constructor Details- 
ChecksViewerProviderpublic ChecksViewerProvider(ICheckRepository checkRepository, org.eclipse.core.resources.IProject project, Function<IChecksTreeNode, Boolean> treeFilter) Creates new provider instance.- Parameters:
- checkRepository- the check repository, cannot be- null
- project- the project, can be- null
- treeFilter- tree filter supplier, can be- null
 
 
- 
- 
Method Details- 
initpublic void init()Initializes checks tree content provider
- 
getCheckRepositoryProvides check repository- Returns:
- the check repository, cannot be null
 
- 
getProjectpublic org.eclipse.core.resources.IProject getProject()Provides project- Returns:
- the project, can be null
 
- 
getDataBindingContextpublic org.eclipse.core.databinding.DataBindingContext getDataBindingContext()Provides data binding context- Returns:
- data binding context, cannot be null
 
- 
getCheckFilterProvides check filter- Returns:
- the check filter, cannot be null
 
- 
getChecksTreeProviderProvides check tree content provider- Returns:
- the tree content provider, cannot be null
 
- 
getLastSelectedProfileProvides the last selected profile string- Returns:
- the last selected profile, can be null
 
- 
setLastSelectedProfileSets the last selected profile string- Parameters:
- lastSelectedProfile- the last selected profile, can be- null
 
- 
getAvailableProfilesProvides the observable list of available profiles- Returns:
- the list of availble profiles, cannot be null
 
- 
getActiveSettingsProfileObservablepublic org.eclipse.core.databinding.observable.value.IObservableValue<String> getActiveSettingsProfileObservable()Provides the observable value of the active settings profile- Returns:
- the observable value of the active settings profile, never null
 
 
-