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 Summary
ConstructorsConstructorDescriptionChecksViewerProvider
(ICheckRepository checkRepository, org.eclipse.core.resources.IProject project, Function<IChecksTreeNode, Boolean> treeFilter) Creates new provider instance. -
Method Summary
Modifier 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.DataBindingContext
Provides data binding contextProvides the last selected profile stringorg.eclipse.core.resources.IProject
Provides projectvoid
init()
Initializes checks tree content providervoid
setLastSelectedProfile
(String lastSelectedProfile) Sets the last selected profile string
-
Constructor Details
-
ChecksViewerProvider
public ChecksViewerProvider(ICheckRepository checkRepository, org.eclipse.core.resources.IProject project, Function<IChecksTreeNode, Boolean> treeFilter) Creates new provider instance.- Parameters:
checkRepository
- the check repository, cannot benull
project
- the project, can benull
treeFilter
- tree filter supplier, can benull
-
-
Method Details
-
init
public void init()Initializes checks tree content provider -
getCheckRepository
Provides check repository- Returns:
- the check repository, cannot be
null
-
getProject
public org.eclipse.core.resources.IProject getProject()Provides project- Returns:
- the project, can be
null
-
getDataBindingContext
public org.eclipse.core.databinding.DataBindingContext getDataBindingContext()Provides data binding context- Returns:
- data binding context, cannot be
null
-
getCheckFilter
Provides check filter- Returns:
- the check filter, cannot be
null
-
getChecksTreeProvider
Provides check tree content provider- Returns:
- the tree content provider, cannot be
null
-
getLastSelectedProfile
Provides the last selected profile string- Returns:
- the last selected profile, can be
null
-
setLastSelectedProfile
Sets the last selected profile string- Parameters:
lastSelectedProfile
- the last selected profile, can benull
-
getAvailableProfiles
Provides the observable list of available profiles- Returns:
- the list of availble profiles, cannot be
null
-
getActiveSettingsProfileObservable
public 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
-