public abstract class AbstractDomChildDescriptionImpl extends java.lang.Object implements AbstractDomChildrenDescription, java.lang.Comparable<AbstractDomChildDescriptionImpl>
EMPTY_ARRAY| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDomChildDescriptionImpl(java.lang.reflect.Type type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomAnnotation(java.lang.annotation.Annotation annotation) |
boolean |
canNavigate()
Indicates whether this instance supports navigation of any kind.
|
boolean |
canNavigateToSource()
Indicates whether this instance supports navigation to source (that means some kind of editor).
|
boolean |
equals(java.lang.Object o) |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass) |
PsiElement |
getDeclaration(Project project) |
DomElement |
getDomDeclaration() |
DomNameStrategy |
getDomNameStrategy(DomElement parent) |
ElementPresentationTemplate |
getPresentationTemplate() |
java.util.List<? extends DomElement> |
getStableValues(DomElement parent) |
java.lang.reflect.Type |
getType() |
<T> T |
getUserData(Key<T> key) |
int |
hashCode() |
boolean |
isStubbed() |
boolean |
isValid() |
void |
navigate(boolean requestFocus)
Open editor and select/navigate to the object there if possible.
|
void |
setUserMap(java.util.Map userMap) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetValuesprotected AbstractDomChildDescriptionImpl(java.lang.reflect.Type type)
public final void addCustomAnnotation(java.lang.annotation.Annotation annotation)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void setUserMap(java.util.Map userMap)
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation in interface AnnotatedElementpublic <T> T getUserData(Key<T> key)
getUserData in interface AbstractDomChildrenDescriptionpublic final java.util.List<? extends DomElement> getStableValues(DomElement parent)
getStableValues in interface AbstractDomChildrenDescriptionpublic final java.lang.reflect.Type getType()
getType in interface AbstractDomChildrenDescriptionpublic DomNameStrategy getDomNameStrategy(DomElement parent)
getDomNameStrategy in interface AbstractDomChildrenDescriptionpublic void navigate(boolean requestFocus)
Navigatablenavigate in interface NavigatablerequestFocus - true if focus requesting is necessarypublic boolean canNavigate()
NavigatableNavigatable.canNavigateToSource() returns true.
We assume that this method should return true in such case,
so implement this method respectively.canNavigate in interface Navigatablefalse if navigation is not possible for any reason.public boolean canNavigateToSource()
Navigatablefalse.
In such cases it is not recommended to do batch navigation for all navigatables
available via CommonDataKeys.NAVIGATABLE_ARRAY,
because it may lead to opening several modal dialogs.
Use OpenSourceUtil.navigate(com.intellij.pom.Navigatable...) to process such arrays correctly.canNavigateToSource in interface Navigatablefalse if navigation to source is not possible for any reason.public ElementPresentationTemplate getPresentationTemplate()
getPresentationTemplate in interface AbstractDomChildrenDescriptionpublic PsiElement getDeclaration(Project project)
getDeclaration in interface AbstractDomChildrenDescriptionpublic DomElement getDomDeclaration()
getDomDeclaration in interface AbstractDomChildrenDescriptionpublic boolean isStubbed()
isStubbed in interface AbstractDomChildrenDescription