Package com._1c.g5.v8.dt.ui.validation
Class ChecksViewerProvider
- java.lang.Object
- 
- com._1c.g5.v8.dt.ui.validation.ChecksViewerProvider
 
- 
 public class ChecksViewerProvider extends Object Check viewer common provider.
- 
- 
Constructor SummaryConstructors Constructor Description ChecksViewerProvider(ICheckRepository checkRepository, org.eclipse.core.resources.IProject project, Function<IChecksTreeNode,Boolean> treeFilter)Creates new provider instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.core.databinding.observable.value.IObservableValue<String>getActiveSettingsProfileObservable()Provides the observable value of the active settings profileorg.eclipse.core.databinding.observable.list.IObservableList<String>getAvailableProfiles()Provides the observable list of available profilescom._1c.g5.v8.dt.internal.ui.validation.CheckFiltergetCheckFilter()Provides check filterICheckRepositorygetCheckRepository()Provides check repositorycom._1c.g5.v8.dt.internal.ui.validation.ChecksTreeProvidergetChecksTreeProvider()Provides check tree content providerorg.eclipse.core.databinding.DataBindingContextgetDataBindingContext()Provides data binding contextStringgetLastSelectedProfile()Provides the last selected profile stringorg.eclipse.core.resources.IProjectgetProject()Provides projectvoidinit()Initializes checks tree content providervoidsetLastSelectedProfile(String lastSelectedProfile)Sets the last selected profile string
 
- 
- 
- 
Constructor Detail- 
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 Detail- 
initpublic void init() Initializes checks tree content provider
 - 
getCheckRepositorypublic ICheckRepository getCheckRepository() Provides 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
 
 - 
getCheckFilterpublic com._1c.g5.v8.dt.internal.ui.validation.CheckFilter getCheckFilter() Provides check filter- Returns:
- the check filter, cannot be null
 
 - 
getChecksTreeProviderpublic com._1c.g5.v8.dt.internal.ui.validation.ChecksTreeProvider getChecksTreeProvider() Provides check tree content provider- Returns:
- the tree content provider, cannot be null
 
 - 
getLastSelectedProfilepublic String getLastSelectedProfile() Provides the last selected profile string- Returns:
- the last selected profile, can be null
 
 - 
setLastSelectedProfilepublic void setLastSelectedProfile(String lastSelectedProfile) Sets the last selected profile string- Parameters:
- lastSelectedProfile- the last selected profile, can be- null
 
 - 
getAvailableProfilespublic org.eclipse.core.databinding.observable.list.IObservableList<String> getAvailableProfiles() Provides 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
 
 
- 
 
-