Java Code Examples for com.intellij.psi.impl.PsiTreeChangeEventImpl#setParent()
The following examples show how to use
com.intellij.psi.impl.PsiTreeChangeEventImpl#setParent() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ChangeInfoImpl.java From consulo with Apache License 2.0 | 5 votes |
private void childReplaced(PsiTreeChangeEventImpl e, TreeElement oldChild, TreeElement newChild, CompositeElement parent) { e.setParent(parent.getPsi()); e.setOldChild(oldChild.getPsi()); e.setChild(newChild.getPsi()); e.setNewChild(newChild.getPsi()); e.setOldLength(myOldLength); getPsiManagerImpl(e).childReplaced(e); }
Example 2
Source File: ChangeInfoImpl.java From consulo with Apache License 2.0 | 4 votes |
private static void childAdded(PsiTreeChangeEventImpl e, TreeElement child, CompositeElement parent) { e.setParent(parent.getPsi()); e.setChild(child.getPsi()); getPsiManagerImpl(e).childAdded(e); }
Example 3
Source File: ChangeInfoImpl.java From consulo with Apache License 2.0 | 4 votes |
private void childRemoved(PsiTreeChangeEventImpl e, TreeElement child, CompositeElement parent) { e.setParent(parent.getPsi()); e.setChild(child.getPsi()); e.setOldLength(myOldLength); getPsiManagerImpl(e).childRemoved(e); }
Example 4
Source File: ChangeInfoImpl.java From consulo with Apache License 2.0 | 4 votes |
static void childrenChanged(PsiTreeChangeEventImpl e, TreeElement parent, int oldLength) { e.setParent(parent.getPsi()); e.setOldLength(oldLength); getPsiManagerImpl(e).childrenChanged(e); }