diff --git a/xml/dom-openapi/src/com/intellij/codeInsight/navigation/DomGotoRelatedItem.java b/xml/dom-openapi/src/com/intellij/codeInsight/navigation/DomGotoRelatedItem.java index 65df241472c4..f58e0bc4f454 100644 --- a/xml/dom-openapi/src/com/intellij/codeInsight/navigation/DomGotoRelatedItem.java +++ b/xml/dom-openapi/src/com/intellij/codeInsight/navigation/DomGotoRelatedItem.java @@ -27,7 +27,15 @@ public class DomGotoRelatedItem extends GotoRelatedItem { private final DomElement myElement; public DomGotoRelatedItem(DomElement element) { - super(element.getXmlElement(), "XML"); + this(element, "XML"); + } + + public DomGotoRelatedItem(DomElement element, String group) { + this(element, group, -1); + } + + public DomGotoRelatedItem(DomElement element, String group, int mnemonic) { + super(element.getXmlElement(), group, mnemonic); myElement = element; }