public class DotStyleJavaValidator extends AbstractDotStyleJavaValidator
org.eclipse.xtext.validation.AbstractDeclarativeValidator.MethodWrapper, org.eclipse.xtext.validation.AbstractDeclarativeValidator.State, org.eclipse.xtext.validation.AbstractDeclarativeValidator.StateAccess
org.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.ValidationDelegate
CURRENT_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
StyleItem s 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
StyleItem s are applicable in the
respective DotAttributes.Context . |
getEPackages
acceptError, 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, warning
public void checkStyleItemConformsToContext(org.eclipse.gef.dot.internal.language.style.StyleItem styleItem)
StyleItem
s are applicable in the
respective DotAttributes.Context
.styleItem
- The StyleItem
to check.public void checkDeprecatedStyleItem(org.eclipse.gef.dot.internal.language.style.StyleItem styleItem)
StyleItem
s 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.