public class DotStyleJavaValidator extends AbstractDotStyleJavaValidator
org.eclipse.xtext.validation.AbstractDeclarativeValidator.MethodWrapper, org.eclipse.xtext.validation.AbstractDeclarativeValidator.State, org.eclipse.xtext.validation.AbstractDeclarativeValidator.StateAccessorg.eclipse.emf.ecore.EValidator.Descriptor, org.eclipse.emf.ecore.EValidator.PatternMatcher, org.eclipse.emf.ecore.EValidator.Registry, org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider, org.eclipse.emf.ecore.EValidator.ValidationDelegateCURRENT_LANGUAGE_NAME, ISSUE_SEVERITIES| Constructor and Description |
|---|
DotStyleJavaValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkDeprecatedStyleItem(org.eclipse.gef.dot.internal.language.style.StyleItem styleItem)
Validates that the used
StyleItems are not deprecated. |
void |
checkDuplicatedStyleItem(org.eclipse.gef.dot.internal.language.style.Style style)
Validates that the used
Style does not contains duplicates. |
void |
checkStyleItemConformsToContext(org.eclipse.gef.dot.internal.language.style.StyleItem styleItem)
Validates that the used
StyleItems are applicable in the
respective DotAttributes.Context. |
getEPackagesacceptError, acceptError, acceptInfo, acceptInfo, acceptWarning, acceptWarning, addIssue, addIssue, addIssue, addIssue, addIssue, addIssueToState, checkDone, checkIsFromCurrentlyCheckedResource, createDiagnostic, createDiagnostic, createMethodWrapper, error, error, error, error, error, error, error, error, getChain, getCheckMode, getContext, getCurrentMethod, getCurrentObject, getIssueSeverities, getMessageAcceptor, guard, info, info, info, info, info, info, info, info, internalValidate, isIgnored, newInstance, setInjector, setMessageAcceptor, toDiagnosticSeverity, warning, warning, warning, warning, warning, warning, warning, warningpublic void checkStyleItemConformsToContext(org.eclipse.gef.dot.internal.language.style.StyleItem styleItem)
StyleItems are applicable in the
respective DotAttributes.Context.styleItem - The StyleItem to check.public void checkDeprecatedStyleItem(org.eclipse.gef.dot.internal.language.style.StyleItem styleItem)
StyleItems are not deprecated. Generates
warnings in case of the usage of deprecated style items.styleItem - The StyleItem to check.public void checkDuplicatedStyleItem(org.eclipse.gef.dot.internal.language.style.Style style)
Style does not contains duplicates.
Generates warnings in case of the usage of duplicated style items.style - The Style to check.Copyright (c) 2014 itemis AG and others. All rights reserved.