Package org.erlide.engine.new_model.internal

Examples of org.erlide.engine.new_model.internal.ErlDeltaProcessor


    int _type = event.getType();
    boolean _notEquals = (_type != IResourceChangeEvent.POST_CHANGE);
    if (_notEquals) {
      return;
    }
    final ErlDeltaProcessor deltaProcessor = new ErlDeltaProcessor();
    try {
      IResourceDelta _delta = event.getDelta();
      _delta.accept(deltaProcessor);
    } catch (final Throwable _t) {
      if (_t instanceof CoreException) {
        final CoreException e = (CoreException)_t;
        ErlLogger.error(e);
      } else {
        throw Exceptions.sneakyThrow(_t);
      }
    }
    HandleDelta _delta_1 = deltaProcessor.getDelta();
    boolean _isEmpty = _delta_1.isEmpty();
    boolean _not = (!_isEmpty);
    if (_not) {
      HandleDelta _delta_2 = deltaProcessor.getDelta();
      ElementChangeEvent _elementChangeEvent = new ElementChangeEvent(ElementChangeEvent.POST_CHANGE, _delta_2);
      this.fireElementChangeEvent(_elementChangeEvent);
    }
  }
View Full Code Here

TOP

Related Classes of org.erlide.engine.new_model.internal.ErlDeltaProcessor

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.