Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model
Class ElementDisplayInfo  view ElementDisplayInfo download ElementDisplayInfo.java

java.lang.Object
  extended byjavax.ide.model.ElementDisplayInfo

public class ElementDisplayInfo
extends java.lang.Object

Display information about a JSR-198 element. This class allows custom Elements (extension-provided subclasses of Element, Document, TextDocument or XMLDocument) to configure the way they appear in the IDE.

Any methods on this class may return null. If they do, IDEs will display the element in whatever the "default" way is for nodes of this type.

This implementation returns null from all methods.


Constructor Summary
ElementDisplayInfo()
           
 
Method Summary
 javax.ide.util.IconDescription getIcon(Element element)
          Get the icon for the specified element.
 java.lang.String getLabel(Element element)
          Get the label for the specified element.
 java.lang.String getLongLabel(Element element)
          Get the long label for the element.
 java.lang.String getToolTip(Element element)
          Get the tooltip for the specified element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementDisplayInfo

public ElementDisplayInfo()
Method Detail

getLabel

public java.lang.String getLabel(Element element)
Get the label for the specified element.


getIcon

public javax.ide.util.IconDescription getIcon(Element element)
Get the icon for the specified element.


getToolTip

public java.lang.String getToolTip(Element element)
Get the tooltip for the specified element.


getLongLabel

public java.lang.String getLongLabel(Element element)
Get the long label for the element.