org.eclipse.stp.core.saf.handler
Interface IInterfaceHandler.IInterfaceLabelProvider

Enclosing interface:
IInterfaceHandler

public static interface IInterfaceHandler.IInterfaceLabelProvider

The IInterfaceLabelProvider maps an interface object to an optional image and optional text string used to display the element in the viewer's control.


Method Summary
 org.eclipse.core.resources.IFile getFile(java.lang.Object interfaceObject)
          Returns the file containing the given interface object.
 java.net.URL getIconURL(java.lang.Object interfaceObject)
          Returns the URL for the label of the given interface object.
 java.lang.String getName(java.lang.Object interfaceObject)
          Returns the name for the label of the given interface object.
 java.lang.String getQualifier(java.lang.Object interfaceObject)
          Returns the name of the qualifier for the label of the given interface object.
 

Method Detail

getName

public java.lang.String getName(java.lang.Object interfaceObject)
Returns the name for the label of the given interface object.

Parameters:
interfaceObject - the interface object whose label is required
Returns:
interface name

getQualifier

public java.lang.String getQualifier(java.lang.Object interfaceObject)
Returns the name of the qualifier for the label of the given interface object.

Parameters:
interfaceObject - the interface object whose label is required
Returns:
qualifier name

getIconURL

public java.net.URL getIconURL(java.lang.Object interfaceObject)
Returns the URL for the label of the given interface object.

Parameters:
interfaceObject - the interface object whose label is required
Returns:
interface image URL

getFile

public org.eclipse.core.resources.IFile getFile(java.lang.Object interfaceObject)
Returns the file containing the given interface object.

Parameters:
interfaceObject - the interface object whose file is required
Returns:
the new interface