Examples of PomModelEvent


Examples of com.intellij.pom.event.PomModelEvent

  private PomModelAspect myAspect;
  private PomModelEvent myAccumulatedEvent;
  public PomTransactionBase(PsiElement scope, final PomModelAspect aspect){
    myScope = scope;
    myAspect = aspect;
    myAccumulatedEvent = new PomModelEvent(scope.getManager().getProject().getModel());
  }
View Full Code Here

Examples of com.intellij.pom.event.PomModelEvent

    return myAccumulatedEvent;
  }

  public void run() throws IncorrectOperationException {
    // override accumulated event because transaction should construct full model event in its aspect
    final PomModelEvent event = runInner();
    if(event == null){
      // in case of null event aspect change set supposed to be rebuild by low level events
      myAccumulatedEvent.registerChangeSet(myAspect, null);
      return;
    }
    for (PomModelAspect aspect : event.getChangedAspects()) {
      myAccumulatedEvent.merge(event);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.