From 99ea4582740fc114fc657dd9c332808f8cb8ce47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Tue, 17 Nov 2015 11:17:16 +0100 Subject: [PATCH] IDEA-123587 DevKit: get rid of "Collection Child xxx" tooltips on tags in plugin.xml --- .../intellij/util/xml/impl/AttributeChildDescriptionImpl.java | 2 ++ .../src/com/intellij/xml/impl/dom/DomElementXmlDescriptor.java | 2 ++ .../util/xml/reflect/DomCollectionChildDescription.java | 2 ++ 3 files changed, 6 insertions(+) diff --git a/xml/dom-impl/src/com/intellij/util/xml/impl/AttributeChildDescriptionImpl.java b/xml/dom-impl/src/com/intellij/util/xml/impl/AttributeChildDescriptionImpl.java index 945af2258c12..79ef56595c43 100644 --- a/xml/dom-impl/src/com/intellij/util/xml/impl/AttributeChildDescriptionImpl.java +++ b/xml/dom-impl/src/com/intellij/util/xml/impl/AttributeChildDescriptionImpl.java @@ -15,6 +15,7 @@ */ package com.intellij.util.xml.impl; +import com.intellij.ide.presentation.Presentation; import com.intellij.util.ArrayUtil; import com.intellij.util.ReflectionUtil; import com.intellij.util.xml.*; @@ -30,6 +31,7 @@ import java.util.List; /** * @author peter */ +@Presentation(typeName = "Attribute") public class AttributeChildDescriptionImpl extends DomChildDescriptionImpl implements DomAttributeChildDescription { private final JavaMethod myGetterMethod; diff --git a/xml/dom-impl/src/com/intellij/xml/impl/dom/DomElementXmlDescriptor.java b/xml/dom-impl/src/com/intellij/xml/impl/dom/DomElementXmlDescriptor.java index e754a54ca0f6..6569396f13c7 100644 --- a/xml/dom-impl/src/com/intellij/xml/impl/dom/DomElementXmlDescriptor.java +++ b/xml/dom-impl/src/com/intellij/xml/impl/dom/DomElementXmlDescriptor.java @@ -16,6 +16,7 @@ package com.intellij.xml.impl.dom; import com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightingAwareElementDescriptor; +import com.intellij.ide.presentation.Presentation; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.Key; import com.intellij.openapi.util.text.StringUtil; @@ -91,6 +92,7 @@ public class DomElementXmlDescriptor extends AbstractDomChildrenDescriptor imple return false; } + @Presentation(typeName = "Root tag") private static class MyRootDomChildrenDescription implements DomChildrenDescription { private final DomElement myDomElement; diff --git a/xml/dom-openapi/src/com/intellij/util/xml/reflect/DomCollectionChildDescription.java b/xml/dom-openapi/src/com/intellij/util/xml/reflect/DomCollectionChildDescription.java index 26bf7a50df32..0c7eb60b6376 100644 --- a/xml/dom-openapi/src/com/intellij/util/xml/reflect/DomCollectionChildDescription.java +++ b/xml/dom-openapi/src/com/intellij/util/xml/reflect/DomCollectionChildDescription.java @@ -15,6 +15,7 @@ */ package com.intellij.util.xml.reflect; +import com.intellij.ide.presentation.Presentation; import com.intellij.util.xml.DomElement; import com.intellij.util.xml.JavaMethod; import org.jetbrains.annotations.NotNull; @@ -25,6 +26,7 @@ import java.lang.reflect.Type; /** * @author peter */ +@Presentation(typeName = "XML tag") public interface DomCollectionChildDescription extends DomChildrenDescription { DomCollectionChildDescription[] EMPTY_ARRAY = new DomCollectionChildDescription[0];