public class DomMetaData<T extends DomElement> extends java.lang.Object implements PsiWritableMetaData, PsiPresentableMetaData, PsiMetaData
Constructor and Description |
---|
DomMetaData() |
Modifier and Type | Method and Description |
---|---|
PsiElement |
getDeclaration() |
java.lang.Object [] |
getDependencies() |
T |
getElement() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getName() |
java.lang.String |
getName(PsiElement context) |
protected GenericDomValue |
getNameElement(T t) |
java.lang.String |
getTypeName() |
void |
init(PsiElement element) |
void |
setElement(T element) |
void |
setName(java.lang.String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDependences
public final PsiElement getDeclaration()
getDeclaration
in interface PsiMetaData
public T getElement()
public java.lang.String getName(PsiElement context)
getName
in interface PsiMetaData
public final java.lang.String getName()
getName
in interface PsiMetaData
public void init(PsiElement element)
init
in interface PsiMetaData
public void setElement(T element)
protected GenericDomValue getNameElement(T t)
public java.lang.Object [] getDependencies()
getDependencies
in interface PsiMetaData
CachedValue
public void setName(java.lang.String name) throws IncorrectOperationException
setName
in interface PsiWritableMetaData
IncorrectOperationException
public java.lang.String getTypeName()
getTypeName
in interface PsiPresentableMetaData
public javax.swing.Icon getIcon()
getIcon
in interface PsiPresentableMetaData