public class PsiTreeChangeEventImpl extends PsiTreeChangeEvent
Modifier and Type | Class and Description |
---|---|
static class |
PsiTreeChangeEventImpl.PsiEventType |
myChild, myElement, myFile, myNewChild, myNewParent, myNewValue, myOffset, myOldChild, myOldLength, myOldParent, myOldValue, myParent, myPropertyName, PROP_DIRECTORY_NAME, PROP_FILE_NAME, PROP_FILE_TYPES, PROP_ROOTS, PROP_UNLOADED_PSI, PROP_WRITABLE
Constructor and Description |
---|
PsiTreeChangeEventImpl(PsiManager manager) |
Modifier and Type | Method and Description |
---|---|
PsiTreeChangeEventImpl.PsiEventType |
getCode() |
int |
getOffset() |
int |
getOldLength() |
boolean |
isGenericChange() |
void |
setChild(PsiElement child) |
void |
setCode(PsiTreeChangeEventImpl.PsiEventType code) |
void |
setElement(PsiElement element) |
void |
setFile(PsiFile file) |
void |
setGenericChange(boolean genericChange) |
void |
setNewChild(PsiElement newChild) |
void |
setNewParent(PsiElement newParent) |
void |
setNewValue(java.lang.Object newValue) |
void |
setOffset(int offset) |
void |
setOldChild(PsiElement oldChild) |
void |
setOldLength(int oldLength) |
void |
setOldParent(PsiElement oldParent) |
void |
setOldValue(java.lang.Object oldValue) |
void |
setParent(PsiElement parent) |
void |
setPropertyName(java.lang.String propertyName) |
java.lang.String |
toString() |
getChild, getElement, getFile, getNewChild, getNewParent, getNewValue, getOldChild, getOldParent, getOldValue, getParent, getPropertyName
public PsiTreeChangeEventImpl(PsiManager manager)
public PsiTreeChangeEventImpl.PsiEventType getCode()
public void setCode(PsiTreeChangeEventImpl.PsiEventType code)
public void setParent(PsiElement parent)
public void setOldParent(PsiElement oldParent)
public void setNewParent(PsiElement newParent)
public void setChild(PsiElement child)
public void setOldChild(PsiElement oldChild)
public void setNewChild(PsiElement newChild)
public void setElement(PsiElement element)
public void setPropertyName(java.lang.String propertyName)
public void setOldValue(java.lang.Object oldValue)
public void setNewValue(java.lang.Object newValue)
public void setFile(PsiFile file)
public void setOffset(int offset)
public int getOffset()
public void setOldLength(int oldLength)
public int getOldLength()
public boolean isGenericChange()
public void setGenericChange(boolean genericChange)
public java.lang.String toString()
toString
in class java.util.EventObject