/** * Overriden to suppress notification */ @Override public EList<Diagnostic> getErrors() { if (errors == null) { errors = new NotifyingListImpl<Diagnostic>() { private static final long serialVersionUID = 1L; @Override protected boolean isNotificationRequired() { return false; } @Override public Object getNotifier() { return PlanResourceImpl.this; } @Override public int getFeatureID() { return RESOURCE__ERRORS; } }; } return errors; }
/** * Overriden to suppress notification */ @Override public EList<Diagnostic> getWarnings() { if (warnings == null) { warnings = new NotifyingListImpl<Diagnostic>() { private static final long serialVersionUID = 1L; @Override protected boolean isNotificationRequired() { return false; } @Override public Object getNotifier() { return PlanResourceImpl.this; } @Override public int getFeatureID() { return RESOURCE__WARNINGS; } }; } return warnings; }
public EList<Diagnostic> getErrors() { if (errors == null) { errors = new NotifyingListImpl<Diagnostic>() { private static final long serialVersionUID = 1L; @Override protected boolean isNotificationRequired() { return ResourceImpl.this.eNotificationRequired(); } @Override public Object getNotifier() { return ResourceImpl.this; } @Override public int getFeatureID() { return RESOURCE__ERRORS; } }; } return errors; }
public EList<Diagnostic> getWarnings() { if (warnings == null) { warnings = new NotifyingListImpl<Diagnostic>() { private static final long serialVersionUID = 1L; @Override protected boolean isNotificationRequired() { return ResourceImpl.this.eNotificationRequired(); } @Override public Object getNotifier() { return ResourceImpl.this; } @Override public int getFeatureID() { return RESOURCE__WARNINGS; } }; } return warnings; }