blob: fca2464b166ca710a3c8091b7e6750be83038be6 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_12) on Fri May 30 11:16:02 CDT 2008 -->
<TITLE>
JavaScriptElementLabelProvider
</TITLE>
<META NAME="keywords" CONTENT="org.eclipse.wst.jsdt.ui.JavaScriptElementLabelProvider class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="JavaScriptElementLabelProvider";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JavaScriptElementLabelProvider.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementImageDescriptor.html" title="class in org.eclipse.wst.jsdt.ui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabels.html" title="class in org.eclipse.wst.jsdt.ui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="JavaScriptElementLabelProvider.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.eclipse.wst.jsdt.ui</FONT>
<BR>
Class JavaScriptElementLabelProvider</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by ">LabelProvider
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.wst.jsdt.ui.JavaScriptElementLabelProvider</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>JavaScriptElementLabelProvider</B><DT>extends LabelProvider</DL>
</PRE>
<P>
Standard label provider for JavaScript elements.
Use this class when you want to present the JavaScript elements in a viewer.
<p>
The implementation also handles non-JavaScript elements by forwarding the requests to the
<code>IWorkbenchAdapter</code> of the element.
</p>
<p>
This class may be instantiated; it is not intended to be subclassed.
</p>
* Provisional API: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability. It is being made available at this early stage to solicit feedback
from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
(repeatedly) as the API evolves.
<P>
<P>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#SHOW_BASICS">SHOW_BASICS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constant (value <code>0</code>) indicating that the label should show
the basic images only.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#SHOW_CONTAINER">SHOW_CONTAINER</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use SHOW_QUALIFIED or SHOW_ROOT instead</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#SHOW_CONTAINER_QUALIFICATION">SHOW_CONTAINER_QUALIFICATION</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use SHOW_QUALIFIED instead</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#SHOW_DEFAULT">SHOW_DEFAULT</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constant indicating the default label rendering.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#SHOW_OVERLAY_ICONS">SHOW_OVERLAY_ICONS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag (bit mask) indicating that the label should include overlay icons
for element type and modifiers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#SHOW_PARAMETERS">SHOW_PARAMETERS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag (bit mask) indicating that method label include parameter types.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#SHOW_POST_QUALIFIED">SHOW_POST_QUALIFIED</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag (bit mask) indicating that compilation units, class files, types, declarations and members
should be rendered qualified.The qualification is appended.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#SHOW_POSTIFIX_QUALIFICATION">SHOW_POSTIFIX_QUALIFICATION</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>SHOW_POST_QUALIFIED instead</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#SHOW_QUALIFIED">SHOW_QUALIFIED</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag (bit mask) indicating that compilation units, class files, types, declarations and members
should be rendered qualified.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#SHOW_RETURN_TYPE">SHOW_RETURN_TYPE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag (bit mask) indicating that methods labels include the method return type (appended).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#SHOW_ROOT">SHOW_ROOT</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag (bit mask) indicating that the label should include the name of the
package fragment root (appended).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#SHOW_SMALL_ICONS">SHOW_SMALL_ICONS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag (bit mask) indicating that the label should show the icons with no space
reserved for overlays.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#SHOW_TYPE">SHOW_TYPE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag (bit mask) indicating that a field label should include the declared type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#SHOW_VARIABLE">SHOW_VARIABLE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag (bit mask) indicating that the package fragment roots from class path variables should
be rendered with the variable in the name</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#JavaScriptElementLabelProvider()">JavaScriptElementLabelProvider</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new label provider with <code>SHOW_DEFAULT</code> flag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#JavaScriptElementLabelProvider(int)">JavaScriptElementLabelProvider</A></B>(int&nbsp;flags)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new label provider.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#dispose()">dispose</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Image</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#getImage(java.lang.Object)">getImage</A></B>(java.lang.Object&nbsp;element)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#getText(java.lang.Object)">getText</A></B>(java.lang.Object&nbsp;element)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#turnOff(int)">turnOff</A></B>(int&nbsp;flags)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Turns off the rendering options specified in the given flags.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#turnOn(int)">turnOn</A></B>(int&nbsp;flags)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Turns on the rendering options specified in the given flags.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="SHOW_RETURN_TYPE"><!-- --></A><H3>
SHOW_RETURN_TYPE</H3>
<PRE>
public static final int <B>SHOW_RETURN_TYPE</B></PRE>
<DL>
<DD>Flag (bit mask) indicating that methods labels include the method return type (appended).
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptElementLabelProvider.SHOW_RETURN_TYPE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SHOW_PARAMETERS"><!-- --></A><H3>
SHOW_PARAMETERS</H3>
<PRE>
public static final int <B>SHOW_PARAMETERS</B></PRE>
<DL>
<DD>Flag (bit mask) indicating that method label include parameter types.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptElementLabelProvider.SHOW_PARAMETERS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SHOW_CONTAINER"><!-- --></A><H3>
SHOW_CONTAINER</H3>
<PRE>
public static final int <B>SHOW_CONTAINER</B></PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>Use SHOW_QUALIFIED or SHOW_ROOT instead</I><DD>Flag (bit mask) indicating that the label of a member should include the container.
For example, include the name of the type enclosing a field.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptElementLabelProvider.SHOW_CONTAINER">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SHOW_CONTAINER_QUALIFICATION"><!-- --></A><H3>
SHOW_CONTAINER_QUALIFICATION</H3>
<PRE>
public static final int <B>SHOW_CONTAINER_QUALIFICATION</B></PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>Use SHOW_QUALIFIED instead</I><DD>Flag (bit mask) indicating that the label of a type should be fully qualified.
For example, include the fully qualified name of the type enclosing a type.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptElementLabelProvider.SHOW_CONTAINER_QUALIFICATION">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SHOW_OVERLAY_ICONS"><!-- --></A><H3>
SHOW_OVERLAY_ICONS</H3>
<PRE>
public static final int <B>SHOW_OVERLAY_ICONS</B></PRE>
<DL>
<DD>Flag (bit mask) indicating that the label should include overlay icons
for element type and modifiers.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptElementLabelProvider.SHOW_OVERLAY_ICONS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SHOW_TYPE"><!-- --></A><H3>
SHOW_TYPE</H3>
<PRE>
public static final int <B>SHOW_TYPE</B></PRE>
<DL>
<DD>Flag (bit mask) indicating that a field label should include the declared type.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptElementLabelProvider.SHOW_TYPE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SHOW_ROOT"><!-- --></A><H3>
SHOW_ROOT</H3>
<PRE>
public static final int <B>SHOW_ROOT</B></PRE>
<DL>
<DD>Flag (bit mask) indicating that the label should include the name of the
package fragment root (appended).
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptElementLabelProvider.SHOW_ROOT">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SHOW_POSTIFIX_QUALIFICATION"><!-- --></A><H3>
SHOW_POSTIFIX_QUALIFICATION</H3>
<PRE>
public static final int <B>SHOW_POSTIFIX_QUALIFICATION</B></PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>SHOW_POST_QUALIFIED instead</I><DD>Flag (bit mask) indicating that the label qualification of a type should
be shown after the name.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptElementLabelProvider.SHOW_POSTIFIX_QUALIFICATION">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SHOW_SMALL_ICONS"><!-- --></A><H3>
SHOW_SMALL_ICONS</H3>
<PRE>
public static final int <B>SHOW_SMALL_ICONS</B></PRE>
<DL>
<DD>Flag (bit mask) indicating that the label should show the icons with no space
reserved for overlays.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptElementLabelProvider.SHOW_SMALL_ICONS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SHOW_VARIABLE"><!-- --></A><H3>
SHOW_VARIABLE</H3>
<PRE>
public static final int <B>SHOW_VARIABLE</B></PRE>
<DL>
<DD>Flag (bit mask) indicating that the package fragment roots from class path variables should
be rendered with the variable in the name
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptElementLabelProvider.SHOW_VARIABLE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SHOW_QUALIFIED"><!-- --></A><H3>
SHOW_QUALIFIED</H3>
<PRE>
public static final int <B>SHOW_QUALIFIED</B></PRE>
<DL>
<DD>Flag (bit mask) indicating that compilation units, class files, types, declarations and members
should be rendered qualified.
Examples: <code>java.lang.String</code>, <code>java.util.Vector.size()</code>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptElementLabelProvider.SHOW_QUALIFIED">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SHOW_POST_QUALIFIED"><!-- --></A><H3>
SHOW_POST_QUALIFIED</H3>
<PRE>
public static final int <B>SHOW_POST_QUALIFIED</B></PRE>
<DL>
<DD>Flag (bit mask) indicating that compilation units, class files, types, declarations and members
should be rendered qualified.The qualification is appended.
Examples: <code>String - java.lang</code>, <code>size() - java.util.Vector</code>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptElementLabelProvider.SHOW_POST_QUALIFIED">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SHOW_BASICS"><!-- --></A><H3>
SHOW_BASICS</H3>
<PRE>
public static final int <B>SHOW_BASICS</B></PRE>
<DL>
<DD>Constant (value <code>0</code>) indicating that the label should show
the basic images only.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptElementLabelProvider.SHOW_BASICS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SHOW_DEFAULT"><!-- --></A><H3>
SHOW_DEFAULT</H3>
<PRE>
public static final int <B>SHOW_DEFAULT</B></PRE>
<DL>
<DD>Constant indicating the default label rendering.
Currently the default is equivalent to
<code>SHOW_PARAMETERS | SHOW_OVERLAY_ICONS</code>.
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="JavaScriptElementLabelProvider()"><!-- --></A><H3>
JavaScriptElementLabelProvider</H3>
<PRE>
public <B>JavaScriptElementLabelProvider</B>()</PRE>
<DL>
<DD>Creates a new label provider with <code>SHOW_DEFAULT</code> flag.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html#SHOW_DEFAULT"><CODE>SHOW_DEFAULT</CODE></A></DL>
</DL>
<HR>
<A NAME="JavaScriptElementLabelProvider(int)"><!-- --></A><H3>
JavaScriptElementLabelProvider</H3>
<PRE>
public <B>JavaScriptElementLabelProvider</B>(int&nbsp;flags)</PRE>
<DL>
<DD>Creates a new label provider.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>flags</CODE> - the initial options; a bitwise OR of <code>SHOW_* </code> constants</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="turnOn(int)"><!-- --></A><H3>
turnOn</H3>
<PRE>
public void <B>turnOn</B>(int&nbsp;flags)</PRE>
<DL>
<DD>Turns on the rendering options specified in the given flags.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>flags</CODE> - the options; a bitwise OR of <code>SHOW_* </code> constants</DL>
</DD>
</DL>
<HR>
<A NAME="turnOff(int)"><!-- --></A><H3>
turnOff</H3>
<PRE>
public void <B>turnOff</B>(int&nbsp;flags)</PRE>
<DL>
<DD>Turns off the rendering options specified in the given flags.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>flags</CODE> - the initial options; a bitwise OR of <code>SHOW_* </code> constants</DL>
</DD>
</DL>
<HR>
<A NAME="getImage(java.lang.Object)"><!-- --></A><H3>
getImage</H3>
<PRE>
public Image <B>getImage</B>(java.lang.Object&nbsp;element)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getText(java.lang.Object)"><!-- --></A><H3>
getText</H3>
<PRE>
public java.lang.String <B>getText</B>(java.lang.Object&nbsp;element)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="dispose()"><!-- --></A><H3>
dispose</H3>
<PRE>
public void <B>dispose</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JavaScriptElementLabelProvider.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementImageDescriptor.html" title="class in org.eclipse.wst.jsdt.ui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptElementLabels.html" title="class in org.eclipse.wst.jsdt.ui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/eclipse/wst/jsdt/ui/JavaScriptElementLabelProvider.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="JavaScriptElementLabelProvider.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>