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 Summary
Constructors Constructor Description ChecksViewerProvider(ICheckRepository checkRepository, org.eclipse.core.resources.IProject project, Function<IChecksTreeNode,Boolean> treeFilter)
Creates new provider instance.
-
Method Summary
All 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.CheckFilter
getCheckFilter()
Provides check filterICheckRepository
getCheckRepository()
Provides check repositorycom._1c.g5.v8.dt.internal.ui.validation.ChecksTreeProvider
getChecksTreeProvider()
Provides check tree content providerorg.eclipse.core.databinding.DataBindingContext
getDataBindingContext()
Provides data binding contextString
getLastSelectedProfile()
Provides the last selected profile stringorg.eclipse.core.resources.IProject
getProject()
Provides projectvoid
init()
Initializes checks tree content providervoid
setLastSelectedProfile(String lastSelectedProfile)
Sets the last selected profile string
-
-
-
Constructor Detail
-
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 Detail
-
init
public void init()
Initializes checks tree content provider
-
getCheckRepository
public ICheckRepository 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
public com._1c.g5.v8.dt.internal.ui.validation.CheckFilter getCheckFilter()
Provides check filter- Returns:
- the check filter, cannot be
null
-
getChecksTreeProvider
public com._1c.g5.v8.dt.internal.ui.validation.ChecksTreeProvider getChecksTreeProvider()
Provides check tree content provider- Returns:
- the tree content provider, cannot be
null
-
getLastSelectedProfile
public String getLastSelectedProfile()
Provides the last selected profile string- Returns:
- the last selected profile, can be
null
-
setLastSelectedProfile
public void setLastSelectedProfile(String lastSelectedProfile)
Sets the last selected profile string- Parameters:
lastSelectedProfile
- the last selected profile, can benull
-
getAvailableProfiles
public 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
-
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
-
-