Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

javax.ide.model
Class ElementDisplayInfo

java.lang.Object
  extended by javax.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
 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.

Parameters:
element - the element to get the label for.
Returns:
the label for the element.

getIcon

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

Parameters:
element - the element to get the icon for.
Returns:
the icon for the element.

getToolTip

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

Parameters:
element - the element to get the tooltip for.
Returns:
the tooltip for the element.

getLongLabel

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

Parameters:
element - the element to get the long label for.
Returns:
the long label for the element.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.