org.fife.rtext.plugins.langsupport
Class XmlSourceBrowserTreeConstructor

java.lang.Object
  extended by org.fife.rtext.plugins.langsupport.XmlSourceBrowserTreeConstructor

public class XmlSourceBrowserTreeConstructor
extends java.lang.Object

Constructs the source browser tree for XML files. ctags doesn't support generating tags for XML, so we do it ourselves. Elements are displayed in a tree view, along with their "primary" attribute (an "id" attribute is preferred; if one isn't defined, "name" is preferred. If neither attribute is defined, the first attribute on the element is used).

Version:
1.0
Author:
Robert Futrell

Constructor Summary
XmlSourceBrowserTreeConstructor()
           
 
Method Summary
 javax.swing.JTree constructSourceBrowserTree(RText rtext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlSourceBrowserTreeConstructor

public XmlSourceBrowserTreeConstructor()
Method Detail

constructSourceBrowserTree

public javax.swing.JTree constructSourceBrowserTree(RText rtext)