Interface ISuppressionSettingsLinkModel
- All Superinterfaces:
IModel
,IValidable
The contract of models for suppression settings link feature of top objects.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add checks to the suppressions's container of the selected nodeReturn the check repositoryReturns the state of the suppression of the entire object.com.e1c.g5.v8.dt.check.suppress.ui.internal.SuppressTreeItem
Returns the current selectioncom.e1c.g5.v8.dt.check.suppress.ui.internal.ISuppressUiProvider
Returns the suppressions provider object.Returns the nullableOptional
of the suppress top object.Returns the suppress top object FQN.org.eclipse.emf.ecore.EObject
Returns the top object.Returns the project.void
Removes selected checks or checks from underlying selected container.void
setSelection
(com.e1c.g5.v8.dt.check.suppress.ui.internal.SuppressTreeItem selection) Sets the current selectionMethods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, createWorkingCopy, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponent
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
Method Details
-
getV8Project
IV8Project getV8Project()Returns the project.- Returns:
- the project, never
null
.
-
getTopObject
org.eclipse.emf.ecore.EObject getTopObject()Returns the top object.- Returns:
- the top object, never
null
.
-
getSuppressTopObject
Optional<SuppressionsContainer> getSuppressTopObject()Returns the nullableOptional
of the suppress top object.- Returns:
- the suppress top object optional, never
null
-
getSuppressTopObjectFqn
String getSuppressTopObjectFqn()Returns the suppress top object FQN.- Returns:
- the suppress top object FQN, never
null
-
addChecks
Add checks to the suppressions's container of the selected node- Parameters:
checkIds
- the list of check ids, cannot benull
-
removeChecks
void removeChecks()Removes selected checks or checks from underlying selected container. -
setSelection
void setSelection(com.e1c.g5.v8.dt.check.suppress.ui.internal.SuppressTreeItem selection) Sets the current selection- Parameters:
selection
- the selection, can benull
-
getSelection
com.e1c.g5.v8.dt.check.suppress.ui.internal.SuppressTreeItem getSelection()Returns the current selection- Returns:
- the current selection, can be
null
-
getSuppressionsProvider
com.e1c.g5.v8.dt.check.suppress.ui.internal.ISuppressUiProvider getSuppressionsProvider()Returns the suppressions provider object.- Returns:
- the suppressions provider, never
null
-
getCheckRepo
ICheckRepository getCheckRepo()Return the check repository- Returns:
- the check repository, never
null
-
getObjectSuppressed
Returns the state of the suppression of the entire object.- Returns:
- the state of the suppression of the entire object, never
null
-