Package com.e1c.langtool.storage.model
Class StorageModelValidator
java.lang.Object
com.e1c.langtool.storage.model.StorageModelValidator
The validator of
project settings model.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final IMessageAcceptorprotected final ProjectStorageSettings -
Constructor Summary
ConstructorsConstructorDescriptionStorageModelValidator(ProjectStorageSettings object, IMessageAcceptor messageAcceptor) Instantiates a new storage model validator. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvalidate(ContextStorageSettings object) Validate context storage settings.protected voidvalidate(DictionaryStorageSettings object) Validate dictionary storage settings.protected voidvalidate(EditSettings object) Validate the editing settings.protected voidvalidate(RuleSettings object) Validate rule settings.protected voidvalidate(StorageIdList object) Validate the list of storage IDs.protected voidvalidate(StorageSettings object) Validate storage settings.voidvalidate(org.eclipse.core.runtime.IProgressMonitor monitor) Validate the model.protected voidvalidateReadOnly(StorageIdList object) Validate that list of storage IDs has read only id.
-
Field Details
-
root
-
messageAcceptor
-
-
Constructor Details
-
StorageModelValidator
Instantiates a new storage model validator.- Parameters:
object- the model object, cannot benull.messageAcceptor- the message acceptor, cannot benull.
-
-
Method Details
-
validate
public void validate(org.eclipse.core.runtime.IProgressMonitor monitor) Validate the model.- Parameters:
monitor- the monitor, cannot benull.
-
validate
Validate the editing settings.- Parameters:
object- the object, can benull.
-
validateReadOnly
Validate that list of storage IDs has read only id.- Parameters:
object- the object, can benull.
-
validate
Validate rule settings.- Parameters:
object- the object, can bnull.
-
validate
Validate the list of storage IDs.- Parameters:
object- the object, can benull.
-
validate
Validate context storage settings.- Parameters:
object- the object, can benull.
-
validate
Validate dictionary storage settings.- Parameters:
object- the object, can benull.
-
validate
Validate storage settings.- Parameters:
object- the object, can benull.
-