From dcde5f1c17b07e39e3f97f149859cc5a219fb5f6 Mon Sep 17 00:00:00 2001 From: Sergey Vasiliev Date: Thu, 9 Mar 2006 15:13:35 +0300 Subject: [PATCH] structure views for faces components --- .../intellij/ide/structureView/impl/xml/XmlTagTreeElement.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/com/intellij/ide/structureView/impl/xml/XmlTagTreeElement.java b/source/com/intellij/ide/structureView/impl/xml/XmlTagTreeElement.java index 0d53aa5b89..cb52d3b9e6 100644 --- a/source/com/intellij/ide/structureView/impl/xml/XmlTagTreeElement.java +++ b/source/com/intellij/ide/structureView/impl/xml/XmlTagTreeElement.java @@ -33,16 +33,14 @@ package com.intellij.ide.structureView.impl.xml; import com.intellij.ide.structureView.StructureViewTreeElement; import com.intellij.ide.structureView.impl.common.PsiTreeElementBase; -import com.intellij.ide.structureView.impl.jsp.jspView.JspViewDeclarationNode; -import com.intellij.ide.structureView.impl.jsp.jspView.JspViewDirectiveNode; -import com.intellij.ide.structureView.impl.jsp.jspView.JspViewScriptletNode; -import com.intellij.ide.structureView.impl.jsp.jspView.JspViewExpressionNode; +import com.intellij.ide.structureView.impl.jsp.jspView.*; import com.intellij.psi.xml.XmlAttribute; import com.intellij.psi.xml.XmlTag; import com.intellij.psi.impl.source.jsp.jspJava.JspDeclaration; import com.intellij.psi.impl.source.jsp.jspJava.JspDirective; import com.intellij.psi.impl.source.jsp.jspJava.JspScriptlet; import com.intellij.psi.impl.source.jsp.jspJava.JspExpression; +import com.intellij.jsf.FacesManager; import java.util.Collection; import java.util.ArrayList; @@ -68,6 +66,8 @@ public class XmlTagTreeElement extends PsiTreeElementBase{ } else if (tag instanceof JspExpression) { element = new JspViewExpressionNode((JspExpression)tag); + } else if (FacesManager.getFacesManager().isFacesComponentTag(tag)) { + element = new JsfComponentNode(tag); } else { element = new XmlTagTreeElement(tag); -- 2.11.4.GIT