Exemplo n.º 1
0
 public void childrenChanged(@NotNull PsiTreeChangeEventImpl event) {
   event.setCode(PsiTreeChangeEventImpl.PsiEventType.CHILDREN_CHANGED);
   if (LOG.isDebugEnabled()) {
     LOG.debug("childrenChanged: parent = " + event.getParent());
   }
   fireEvent(event);
   afterChange(true);
 }
Exemplo n.º 2
0
 public void beforeChildrenChange(@NotNull PsiTreeChangeEventImpl event) {
   beforeChange(true);
   event.setCode(PsiTreeChangeEventImpl.PsiEventType.BEFORE_CHILDREN_CHANGE);
   if (LOG.isDebugEnabled()) {
     LOG.debug("beforeChildrenChange: parent = " + event.getParent());
   }
   fireEvent(event);
 }
Exemplo n.º 3
0
 public void childRemoved(@NotNull PsiTreeChangeEventImpl event) {
   event.setCode(PsiTreeChangeEventImpl.PsiEventType.CHILD_REMOVED);
   if (LOG.isDebugEnabled()) {
     LOG.debug("childRemoved: child = " + event.getChild() + ", parent = " + event.getParent());
   }
   fireEvent(event);
   afterChange(true);
 }
Exemplo n.º 4
0
 @Override
 public void beforeChildAddition(@NotNull PsiTreeChangeEventImpl event) {
   beforeChange(true);
   event.setCode(PsiTreeChangeEventImpl.PsiEventType.BEFORE_CHILD_ADDITION);
   if (LOG.isDebugEnabled()) {
     LOG.debug("beforeChildAddition: parent = " + event.getParent());
   }
   fireEvent(event);
 }
Exemplo n.º 5
0
 @Override
 public void beforeChildRemoval(@NotNull PsiTreeChangeEventImpl event) {
   beforeChange(true);
   event.setCode(PsiTreeChangeEventImpl.PsiEventType.BEFORE_CHILD_REMOVAL);
   if (LOG.isDebugEnabled()) {
     LOG.debug(
         "beforeChildRemoval: child = " + event.getChild() + ", parent = " + event.getParent());
   }
   fireEvent(event);
 }
Exemplo n.º 6
0
 @Override
 public void beforeChildReplacement(@NotNull PsiTreeChangeEventImpl event) {
   beforeChange(true);
   event.setCode(PsiTreeChangeEventImpl.PsiEventType.BEFORE_CHILD_REPLACEMENT);
   if (LOG.isDebugEnabled()) {
     LOG.debug(
         "beforeChildReplacement: oldChild = "
             + event.getOldChild()
             + ", parent = "
             + event.getParent());
   }
   fireEvent(event);
 }
Exemplo n.º 7
0
 public void beforePropertyChange(@NotNull PsiTreeChangeEventImpl event) {
   beforeChange(true);
   event.setCode(PsiTreeChangeEventImpl.PsiEventType.BEFORE_PROPERTY_CHANGE);
   if (LOG.isDebugEnabled()) {
     LOG.debug(
         "beforePropertyChange: element = "
             + event.getElement()
             + ", propertyName = "
             + event.getPropertyName()
             + ", oldValue = "
             + event.getOldValue());
   }
   fireEvent(event);
 }
Exemplo n.º 8
0
 public void beforeChildMovement(@NotNull PsiTreeChangeEventImpl event) {
   beforeChange(true);
   event.setCode(PsiTreeChangeEventImpl.PsiEventType.BEFORE_CHILD_MOVEMENT);
   if (LOG.isDebugEnabled()) {
     LOG.debug(
         "beforeChildMovement: child = "
             + event.getChild()
             + ", oldParent = "
             + event.getOldParent()
             + ", newParent = "
             + event.getNewParent());
   }
   fireEvent(event);
 }
Exemplo n.º 9
0
 public void propertyChanged(@NotNull PsiTreeChangeEventImpl event) {
   event.setCode(PsiTreeChangeEventImpl.PsiEventType.PROPERTY_CHANGED);
   if (LOG.isDebugEnabled()) {
     LOG.debug(
         "propertyChanged: element = "
             + event.getElement()
             + ", propertyName = "
             + event.getPropertyName()
             + ", oldValue = "
             + event.getOldValue()
             + ", newValue = "
             + event.getNewValue());
   }
   fireEvent(event);
   afterChange(true);
 }