Package org.eclipse.emf.validation

Examples of org.eclipse.emf.validation.EMFEventType


public class ValidIdConstraint extends AbstractModelConstraint {

  @Override
  public IStatus validate(IValidationContext ctx) {
    EObject eObj = ctx.getTarget();
    EMFEventType eType = ctx.getEventType();
   
    // In the case of batch mode.
    if (eType == EMFEventType.NULL) {
      String id = null;
      if (eObj instanceof BaseElement) {
View Full Code Here

TOP

Related Classes of org.eclipse.emf.validation.EMFEventType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.