| <!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:03 CDT 2008 --> |
| <TITLE> |
| JavaScriptUI |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.eclipse.wst.jsdt.ui.JavaScriptUI class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="JavaScriptUI"; |
| } |
| </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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JavaScriptUI.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptSuperTypeAction.html" title="class in org.eclipse.wst.jsdt.ui"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/ui/JSdocContentAccess.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/JavaScriptUI.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="JavaScriptUI.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <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 JavaScriptUI</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.wst.jsdt.ui.JavaScriptUI</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public final class <B>JavaScriptUI</B><DT>extends java.lang.Object</DL> |
| </PRE> |
| |
| <P> |
| Central access point for the JavaScript UI plug-in (id <code>"org.eclipse.wst.jsdt.ui"</code>). |
| This class provides static methods for: |
| <ul> |
| <li> creating various kinds of selection dialogs to present a collection |
| of JavaScript elements to the user and let them make a selection.</li> |
| <li> opening a JavaScript editor on a compilation unit.</li> |
| </ul> |
| <p> |
| This class provides static methods and fields only; it is not intended to be |
| instantiated or subclassed by clients. |
| </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 java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_ACTION_SET">ID_ACTION_SET</A></B></CODE> |
| |
| <BR> |
| The id of the JavaScript action set |
| (value <code>"org.eclipse.wst.jsdt.ui.JavaActionSet"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_ACTION_SET2">ID_ACTION_SET2</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_BROWSING_PERSPECTIVE">ID_BROWSING_PERSPECTIVE</A></B></CODE> |
| |
| <BR> |
| The id of the JavaScript Browsing Perspective |
| (value <code>"org.eclipse.wst.jsdt.ui.JavaBrowsingPerspective"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_CF_EDITOR">ID_CF_EDITOR</A></B></CODE> |
| |
| <BR> |
| The editor part id of the editor that presents JavaScript binary class files |
| (value <code>"org.eclipse.wst.jsdt.ui.ClassFileEditor"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_CODING_ACTION_SET">ID_CODING_ACTION_SET</A></B></CODE> |
| |
| <BR> |
| The id of the JavaScript Coding action set |
| (value <code>"org.eclipse.wst.jsdt.ui.CodingActionSet"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_CU_EDITOR">ID_CU_EDITOR</A></B></CODE> |
| |
| <BR> |
| The editor part id of the editor that presents JavaScript compilation units |
| (value <code>"org.eclipse.wst.jsdt.ui.CompilationUnitEditor"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_ELEMENT_CREATION_ACTION_SET">ID_ELEMENT_CREATION_ACTION_SET</A></B></CODE> |
| |
| <BR> |
| The id of the JavaScript Element Creation action set |
| (value <code>"org.eclipse.wst.jsdt.ui.JavaElementCreationActionSet"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_HIERARCHYPERSPECTIVE">ID_HIERARCHYPERSPECTIVE</A></B></CODE> |
| |
| <BR> |
| The id of the JavaScript hierarchy perspective |
| (value <code>"org.eclipse.wst.jsdt.ui.JavaHierarchyPerspective"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_JAVADOC_VIEW">ID_JAVADOC_VIEW</A></B></CODE> |
| |
| <BR> |
| The view part id of the Javadoc view |
| (value <code>"org.eclipse.wst.jsdt.ui.JavadocView"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_MEMBERS_VIEW">ID_MEMBERS_VIEW</A></B></CODE> |
| |
| <BR> |
| The view part id of the JavaScript Browsing Members view |
| (value <code>"org.eclipse.wst.jsdt.ui.MembersView"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_OPEN_ACTION_SET">ID_OPEN_ACTION_SET</A></B></CODE> |
| |
| <BR> |
| The id of the JavaScript action set for open actions |
| (value <code>"org.eclipse.wst.jsdt.ui.A_OpenActionSet"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_PACKAGES">ID_PACKAGES</A></B></CODE> |
| |
| <BR> |
| The view part id of the Packages view |
| (value <code>"org.eclipse.wst.jsdt.ui.PackageExplorer"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_PACKAGES_VIEW">ID_PACKAGES_VIEW</A></B></CODE> |
| |
| <BR> |
| The view part id of the JavaScript Browsing Packages view |
| (value <code>"org.eclipse.wst.jsdt.ui.PackagesView"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_PERSPECTIVE">ID_PERSPECTIVE</A></B></CODE> |
| |
| <BR> |
| The id of the JavaScript perspective |
| (value <code>"org.eclipse.wst.jsdt.ui.JavaPerspective"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_PLUGIN">ID_PLUGIN</A></B></CODE> |
| |
| <BR> |
| The id of the JavaScript plug-in (value <code>"org.eclipse.wst.jsdt.ui"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_PROJECTS_VIEW">ID_PROJECTS_VIEW</A></B></CODE> |
| |
| <BR> |
| The view part id of the JavaScript Browsing Projects view |
| (value <code>"org.eclipse.wst.jsdt.ui.ProjectsView"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_SEARCH_ACTION_SET">ID_SEARCH_ACTION_SET</A></B></CODE> |
| |
| <BR> |
| The id of the JavaScript Search action set |
| (value <code>org.eclipse.wst.jsdt.ui.SearchActionSet"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_SNIPPET_EDITOR">ID_SNIPPET_EDITOR</A></B></CODE> |
| |
| <BR> |
| The editor part id of the code snippet editor |
| (value <code>"org.eclipse.wst.jsdt.ui.SnippetEditor"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_SOURCE_VIEW">ID_SOURCE_VIEW</A></B></CODE> |
| |
| <BR> |
| The view part id of the source (declaration) view |
| (value <code>"org.eclipse.wst.jsdt.ui.SourceView"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_TYPE_HIERARCHY">ID_TYPE_HIERARCHY</A></B></CODE> |
| |
| <BR> |
| The view part id of the type hierarchy part |
| (value <code>"org.eclipse.wst.jsdt.ui.TypeHierarchy"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#ID_TYPES_VIEW">ID_TYPES_VIEW</A></B></CODE> |
| |
| <BR> |
| The view part id of the JavaScript Browsing Types view |
| (value <code>"org.eclipse.wst.jsdt.ui.TypesView"</code>).</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== 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>static SelectionDialog</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#createPackageDialog(Shell, org.eclipse.wst.jsdt.core.IJavaScriptProject, int)">createPackageDialog</A></B>(Shell parent, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| int style)</CODE> |
| |
| <BR> |
| Creates a selection dialog that lists all packages of the given JavaScript project.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static SelectionDialog</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#createPackageDialog(Shell, org.eclipse.wst.jsdt.core.IJavaScriptProject, int, java.lang.String)">createPackageDialog</A></B>(Shell parent, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| int style, |
| java.lang.String filter)</CODE> |
| |
| <BR> |
| Creates a selection dialog that lists all packages of the given JavaScript project.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static SelectionDialog</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#createPackageDialog(Shell, org.eclipse.wst.jsdt.core.IPackageFragmentRoot)">createPackageDialog</A></B>(Shell parent, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IPackageFragmentRoot.html" title="interface in org.eclipse.wst.jsdt.core">IPackageFragmentRoot</A> root)</CODE> |
| |
| <BR> |
| Creates a selection dialog that lists all packages under the given package |
| fragment root.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static SelectionDialog</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#createPackageDialog(Shell, org.eclipse.wst.jsdt.core.IPackageFragmentRoot, java.lang.String)">createPackageDialog</A></B>(Shell parent, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IPackageFragmentRoot.html" title="interface in org.eclipse.wst.jsdt.core">IPackageFragmentRoot</A> root, |
| java.lang.String filter)</CODE> |
| |
| <BR> |
| Creates a selection dialog that lists all packages under the given package |
| fragment root.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static SelectionDialog</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#createPackageDialog(Shell, IRunnableContext, org.eclipse.wst.jsdt.core.search.IJavaScriptSearchScope, boolean, boolean, java.lang.String)">createPackageDialog</A></B>(Shell parent, |
| IRunnableContext context, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/search/IJavaScriptSearchScope.html" title="interface in org.eclipse.wst.jsdt.core.search">IJavaScriptSearchScope</A> scope, |
| boolean multipleSelection, |
| boolean removeDuplicates, |
| java.lang.String filter)</CODE> |
| |
| <BR> |
| Creates a selection dialog that lists all packages of the given JavaScript search scope.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static SelectionDialog</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#createTypeDialog(Shell, IRunnableContext, org.eclipse.wst.jsdt.core.search.IJavaScriptSearchScope, int, boolean, java.lang.String)">createTypeDialog</A></B>(Shell parent, |
| IRunnableContext context, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/search/IJavaScriptSearchScope.html" title="interface in org.eclipse.wst.jsdt.core.search">IJavaScriptSearchScope</A> scope, |
| int style, |
| boolean multipleSelection, |
| java.lang.String filter)</CODE> |
| |
| <BR> |
| Creates a selection dialog that lists all types in the given scope.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static SelectionDialog</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#createTypeDialog(Shell, IRunnableContext, org.eclipse.wst.jsdt.core.search.IJavaScriptSearchScope, int, boolean, java.lang.String, org.eclipse.wst.jsdt.ui.dialogs.TypeSelectionExtension)">createTypeDialog</A></B>(Shell parent, |
| IRunnableContext context, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/search/IJavaScriptSearchScope.html" title="interface in org.eclipse.wst.jsdt.core.search">IJavaScriptSearchScope</A> scope, |
| int style, |
| boolean multipleSelection, |
| java.lang.String filter, |
| org.eclipse.wst.jsdt.ui.dialogs.TypeSelectionExtension extension)</CODE> |
| |
| <BR> |
| Creates a selection dialog that lists all types in the given scope.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static SelectionDialog</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#createTypeDialog(Shell, IRunnableContext, IProject, int, boolean)">createTypeDialog</A></B>(Shell parent, |
| IRunnableContext context, |
| IProject project, |
| int style, |
| boolean multipleSelection)</CODE> |
| |
| <BR> |
| Creates a selection dialog that lists all types in the given project.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../org/eclipse/wst/jsdt/ui/text/IColorManager.html" title="interface in org.eclipse.wst.jsdt.ui.text">IColorManager</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#getColorManager()">getColorManager</A></B>()</CODE> |
| |
| <BR> |
| Returns the color manager the JavaScript UI plug-in which is used to manage |
| any Java-specific colors needed for such things like syntax highlighting.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static IDocumentProvider</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#getDocumentProvider()">getDocumentProvider</A></B>()</CODE> |
| |
| <BR> |
| Returns the DocumentProvider used for JavaScript compilation units.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#getEditorInputJavaElement(IEditorInput)">getEditorInputJavaElement</A></B>(IEditorInput editorInput)</CODE> |
| |
| <BR> |
| Returns the JavaScript element wrapped by the given editor input.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static Transfer</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#getJavaElementClipboardTransfer()">getJavaElementClipboardTransfer</A></B>()</CODE> |
| |
| <BR> |
| Returns the transfer instance used to copy/paste JavaScript elements to |
| and from the clipboard.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.net.URL</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#getJSdocBaseLocation(org.eclipse.wst.jsdt.core.IJavaScriptElement)">getJSdocBaseLocation</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> element)</CODE> |
| |
| <BR> |
| Returns the Javadoc base URL for an element.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.net.URL</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#getJSdocLocation(org.eclipse.wst.jsdt.core.IJavaScriptElement, boolean)">getJSdocLocation</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> element, |
| boolean includeAnchor)</CODE> |
| |
| <BR> |
| Returns the Javadoc URL for an element.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.net.URL</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#getLibraryJSdocLocation(org.eclipse.wst.jsdt.core.IIncludePathEntry)">getLibraryJSdocLocation</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IIncludePathEntry.html" title="interface in org.eclipse.wst.jsdt.core">IIncludePathEntry</A> entry)</CODE> |
| |
| <BR> |
| Returns the Javadoc location for library's classpath entry or <code>null</code> if no |
| location is available.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.net.URL</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#getProjectJSdocLocation(org.eclipse.wst.jsdt.core.IJavaScriptProject)">getProjectJSdocLocation</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project)</CODE> |
| |
| <BR> |
| Returns the Javadoc location for a JavaScript project or <code>null</code> if no |
| location is available.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../org/eclipse/wst/jsdt/ui/ISharedImages.html" title="interface in org.eclipse.wst.jsdt.ui">ISharedImages</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#getSharedImages()">getSharedImages</A></B>()</CODE> |
| |
| <BR> |
| Returns the shared images for the JavaScript UI.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../org/eclipse/wst/jsdt/ui/IWorkingCopyManager.html" title="interface in org.eclipse.wst.jsdt.ui">IWorkingCopyManager</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#getWorkingCopyManager()">getWorkingCopyManager</A></B>()</CODE> |
| |
| <BR> |
| Returns the working copy manager for the JavaScript UI plug-in.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static IEditorPart</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#openInEditor(org.eclipse.wst.jsdt.core.IJavaScriptElement)">openInEditor</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> element)</CODE> |
| |
| <BR> |
| Opens an editor on the given JavaScript element in the active page.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static IEditorPart</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#openInEditor(org.eclipse.wst.jsdt.core.IJavaScriptElement, boolean, boolean)">openInEditor</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> element, |
| boolean activate, |
| boolean reveal)</CODE> |
| |
| <BR> |
| Opens an editor on the given JavaScript element in the active page.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#revealInEditor(IEditorPart, org.eclipse.wst.jsdt.core.IJavaScriptElement)">revealInEditor</A></B>(IEditorPart part, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> element)</CODE> |
| |
| <BR> |
| Reveals the given JavaScript element in the given editor.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptUI.html#setProjectJSdocLocation(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.net.URL)">setProjectJSdocLocation</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| java.net.URL url)</CODE> |
| |
| <BR> |
| Sets the Javadoc location for a JavaScript project.</TD> |
| </TR> |
| </TABLE> |
| <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> |
| |
| <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="ID_PLUGIN"><!-- --></A><H3> |
| ID_PLUGIN</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_PLUGIN</B></PRE> |
| <DL> |
| <DD>The id of the JavaScript plug-in (value <code>"org.eclipse.wst.jsdt.ui"</code>). |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_PLUGIN">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_PERSPECTIVE"><!-- --></A><H3> |
| ID_PERSPECTIVE</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_PERSPECTIVE</B></PRE> |
| <DL> |
| <DD>The id of the JavaScript perspective |
| (value <code>"org.eclipse.wst.jsdt.ui.JavaPerspective"</code>). |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_PERSPECTIVE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_HIERARCHYPERSPECTIVE"><!-- --></A><H3> |
| ID_HIERARCHYPERSPECTIVE</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_HIERARCHYPERSPECTIVE</B></PRE> |
| <DL> |
| <DD>The id of the JavaScript hierarchy perspective |
| (value <code>"org.eclipse.wst.jsdt.ui.JavaHierarchyPerspective"</code>). |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_HIERARCHYPERSPECTIVE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_ACTION_SET"><!-- --></A><H3> |
| ID_ACTION_SET</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_ACTION_SET</B></PRE> |
| <DL> |
| <DD>The id of the JavaScript action set |
| (value <code>"org.eclipse.wst.jsdt.ui.JavaActionSet"</code>). |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_ACTION_SET">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_ACTION_SET2"><!-- --></A><H3> |
| ID_ACTION_SET2</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_ACTION_SET2</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_ACTION_SET2">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_ELEMENT_CREATION_ACTION_SET"><!-- --></A><H3> |
| ID_ELEMENT_CREATION_ACTION_SET</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_ELEMENT_CREATION_ACTION_SET</B></PRE> |
| <DL> |
| <DD>The id of the JavaScript Element Creation action set |
| (value <code>"org.eclipse.wst.jsdt.ui.JavaElementCreationActionSet"</code>). |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_ELEMENT_CREATION_ACTION_SET">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_CODING_ACTION_SET"><!-- --></A><H3> |
| ID_CODING_ACTION_SET</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_CODING_ACTION_SET</B></PRE> |
| <DL> |
| <DD>The id of the JavaScript Coding action set |
| (value <code>"org.eclipse.wst.jsdt.ui.CodingActionSet"</code>). |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_CODING_ACTION_SET">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_OPEN_ACTION_SET"><!-- --></A><H3> |
| ID_OPEN_ACTION_SET</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_OPEN_ACTION_SET</B></PRE> |
| <DL> |
| <DD>The id of the JavaScript action set for open actions |
| (value <code>"org.eclipse.wst.jsdt.ui.A_OpenActionSet"</code>). |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_OPEN_ACTION_SET">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_SEARCH_ACTION_SET"><!-- --></A><H3> |
| ID_SEARCH_ACTION_SET</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_SEARCH_ACTION_SET</B></PRE> |
| <DL> |
| <DD>The id of the JavaScript Search action set |
| (value <code>org.eclipse.wst.jsdt.ui.SearchActionSet"</code>). |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_SEARCH_ACTION_SET">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_CU_EDITOR"><!-- --></A><H3> |
| ID_CU_EDITOR</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_CU_EDITOR</B></PRE> |
| <DL> |
| <DD>The editor part id of the editor that presents JavaScript compilation units |
| (value <code>"org.eclipse.wst.jsdt.ui.CompilationUnitEditor"</code>). |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_CU_EDITOR">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_CF_EDITOR"><!-- --></A><H3> |
| ID_CF_EDITOR</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_CF_EDITOR</B></PRE> |
| <DL> |
| <DD>The editor part id of the editor that presents JavaScript binary class files |
| (value <code>"org.eclipse.wst.jsdt.ui.ClassFileEditor"</code>). |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_CF_EDITOR">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_SNIPPET_EDITOR"><!-- --></A><H3> |
| ID_SNIPPET_EDITOR</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_SNIPPET_EDITOR</B></PRE> |
| <DL> |
| <DD>The editor part id of the code snippet editor |
| (value <code>"org.eclipse.wst.jsdt.ui.SnippetEditor"</code>). |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_SNIPPET_EDITOR">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_PACKAGES"><!-- --></A><H3> |
| ID_PACKAGES</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_PACKAGES</B></PRE> |
| <DL> |
| <DD>The view part id of the Packages view |
| (value <code>"org.eclipse.wst.jsdt.ui.PackageExplorer"</code>). |
| <p> |
| When this id is used to access |
| a view part with <code>IWorkbenchPage.findView</code> or |
| <code>showView</code>, the returned <code>IViewPart</code> |
| can be safely cast to an <code>IPackagesViewPart</code>. |
| </p> |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/ui/IPackagesViewPart.html" title="interface in org.eclipse.wst.jsdt.ui"><CODE>IPackagesViewPart</CODE></A>, |
| <CODE>org.eclipse.ui.IWorkbenchPage#findView(java.lang.String)</CODE>, |
| <CODE>org.eclipse.ui.IWorkbenchPage#showView(java.lang.String)</CODE>, |
| <A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_PACKAGES">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_TYPE_HIERARCHY"><!-- --></A><H3> |
| ID_TYPE_HIERARCHY</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_TYPE_HIERARCHY</B></PRE> |
| <DL> |
| <DD>The view part id of the type hierarchy part |
| (value <code>"org.eclipse.wst.jsdt.ui.TypeHierarchy"</code>). |
| <p> |
| When this id is used to access |
| a view part with <code>IWorkbenchPage.findView</code> or |
| <code>showView</code>, the returned <code>IViewPart</code> |
| can be safely cast to an <code>ITypeHierarchyViewPart</code>. |
| </p> |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/ui/ITypeHierarchyViewPart.html" title="interface in org.eclipse.wst.jsdt.ui"><CODE>ITypeHierarchyViewPart</CODE></A>, |
| <CODE>org.eclipse.ui.IWorkbenchPage#findView(java.lang.String)</CODE>, |
| <CODE>org.eclipse.ui.IWorkbenchPage#showView(java.lang.String)</CODE>, |
| <A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_TYPE_HIERARCHY">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_SOURCE_VIEW"><!-- --></A><H3> |
| ID_SOURCE_VIEW</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_SOURCE_VIEW</B></PRE> |
| <DL> |
| <DD>The view part id of the source (declaration) view |
| (value <code>"org.eclipse.wst.jsdt.ui.SourceView"</code>). |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><CODE>org.eclipse.ui.IWorkbenchPage#findView(java.lang.String)</CODE>, |
| <CODE>org.eclipse.ui.IWorkbenchPage#showView(java.lang.String)</CODE>, |
| <A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_SOURCE_VIEW">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_JAVADOC_VIEW"><!-- --></A><H3> |
| ID_JAVADOC_VIEW</H3> |
| <PRE> |
| public static final java.lang.String <B>ID_JAVADOC_VIEW</B></PRE> |
| <DL> |
| <DD>The view part id of the Javadoc view |
| (value <code>"org.eclipse.wst.jsdt.ui.JavadocView"</code>). |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><CODE>org.eclipse.ui.IWorkbenchPage#findView(java.lang.String)</CODE>, |
| <CODE>org.eclipse.ui.IWorkbenchPage#showView(java.lang.String)</CODE>, |
| <A HREF="../../../../../constant-values.html#org.eclipse.wst.jsdt.ui.JavaScriptUI.ID_JAVADOC_VIEW">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_BROWSING_PERSPECTIVE"><!-- --></A><H3> |
| ID_BROWSING_PERSPECTIVE</H3> |
| <PRE> |
| public static java.lang.String <B>ID_BROWSING_PERSPECTIVE</B></PRE> |
| <DL> |
| <DD>The id of the JavaScript Browsing Perspective |
| (value <code>"org.eclipse.wst.jsdt.ui.JavaBrowsingPerspective"</code>). |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_PROJECTS_VIEW"><!-- --></A><H3> |
| ID_PROJECTS_VIEW</H3> |
| <PRE> |
| public static java.lang.String <B>ID_PROJECTS_VIEW</B></PRE> |
| <DL> |
| <DD>The view part id of the JavaScript Browsing Projects view |
| (value <code>"org.eclipse.wst.jsdt.ui.ProjectsView"</code>). |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_PACKAGES_VIEW"><!-- --></A><H3> |
| ID_PACKAGES_VIEW</H3> |
| <PRE> |
| public static java.lang.String <B>ID_PACKAGES_VIEW</B></PRE> |
| <DL> |
| <DD>The view part id of the JavaScript Browsing Packages view |
| (value <code>"org.eclipse.wst.jsdt.ui.PackagesView"</code>). |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_TYPES_VIEW"><!-- --></A><H3> |
| ID_TYPES_VIEW</H3> |
| <PRE> |
| public static java.lang.String <B>ID_TYPES_VIEW</B></PRE> |
| <DL> |
| <DD>The view part id of the JavaScript Browsing Types view |
| (value <code>"org.eclipse.wst.jsdt.ui.TypesView"</code>). |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="ID_MEMBERS_VIEW"><!-- --></A><H3> |
| ID_MEMBERS_VIEW</H3> |
| <PRE> |
| public static java.lang.String <B>ID_MEMBERS_VIEW</B></PRE> |
| <DL> |
| <DD>The view part id of the JavaScript Browsing Members view |
| (value <code>"org.eclipse.wst.jsdt.ui.MembersView"</code>). |
| <P> |
| <DL> |
| </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="getSharedImages()"><!-- --></A><H3> |
| getSharedImages</H3> |
| <PRE> |
| public static <A HREF="../../../../../org/eclipse/wst/jsdt/ui/ISharedImages.html" title="interface in org.eclipse.wst.jsdt.ui">ISharedImages</A> <B>getSharedImages</B>()</PRE> |
| <DL> |
| <DD>Returns the shared images for the JavaScript UI. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the shared images manager</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createPackageDialog(Shell, org.eclipse.wst.jsdt.core.IJavaScriptProject, int, java.lang.String)"><!-- --></A><H3> |
| createPackageDialog</H3> |
| <PRE> |
| public static SelectionDialog <B>createPackageDialog</B>(Shell parent, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| int style, |
| java.lang.String filter) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates a selection dialog that lists all packages of the given JavaScript project. |
| The caller is responsible for opening the dialog with <code>Window.open</code>, |
| and subsequently extracting the selected package (of type |
| <code>IPackageFragment</code>) via <code>SelectionDialog.getResult</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent shell of the dialog to be created<DD><CODE>project</CODE> - the JavaScript project<DD><CODE>style</CODE> - flags defining the style of the dialog; the valid flags are: |
| <code>IJavaScriptElementSearchConstants.CONSIDER_BINARIES</code>, indicating that |
| packages from binary package fragment roots should be included in addition |
| to those from source package fragment roots; |
| <code>IJavaScriptElementSearchConstants.CONSIDER_REQUIRED_PROJECTS</code>, indicating that |
| packages from required projects should be included as well.<DD><CODE>filter</CODE> - the initial pattern to filter the set of packages. For example "com" shows |
| all packages starting with "com". The meta character '?' representing any character and |
| '*' representing any string are supported. Clients can pass an empty string if no filtering |
| is required. |
| <DT><B>Returns:</B><DD>a new selection dialog |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if the selection dialog could not be opened</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createPackageDialog(Shell, IRunnableContext, org.eclipse.wst.jsdt.core.search.IJavaScriptSearchScope, boolean, boolean, java.lang.String)"><!-- --></A><H3> |
| createPackageDialog</H3> |
| <PRE> |
| public static SelectionDialog <B>createPackageDialog</B>(Shell parent, |
| IRunnableContext context, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/search/IJavaScriptSearchScope.html" title="interface in org.eclipse.wst.jsdt.core.search">IJavaScriptSearchScope</A> scope, |
| boolean multipleSelection, |
| boolean removeDuplicates, |
| java.lang.String filter)</PRE> |
| <DL> |
| <DD>Creates a selection dialog that lists all packages of the given JavaScript search scope. |
| The caller is responsible for opening the dialog with <code>Window.open</code>, |
| and subsequently extracting the selected package (of type |
| <code>IPackageFragment</code>) via <code>SelectionDialog.getResult</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent shell of the dialog to be created<DD><CODE>context</CODE> - the runnable context to run the search in<DD><CODE>scope</CODE> - the scope defining the available packages.<DD><CODE>multipleSelection</CODE> - true if multiple selection is allowed<DD><CODE>removeDuplicates</CODE> - true if only one package is shown per package name<DD><CODE>filter</CODE> - the initial pattern to filter the set of packages. For example "com" shows |
| all packages starting with "com". The meta character '?' representing any character and |
| '*' representing any string are supported. Clients can pass an empty string if no filtering |
| is required. |
| <DT><B>Returns:</B><DD>a new selection dialog</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createPackageDialog(Shell, org.eclipse.wst.jsdt.core.IJavaScriptProject, int)"><!-- --></A><H3> |
| createPackageDialog</H3> |
| <PRE> |
| public static SelectionDialog <B>createPackageDialog</B>(Shell parent, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| int style) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates a selection dialog that lists all packages of the given JavaScript project. |
| The caller is responsible for opening the dialog with <code>Window.open</code>, |
| and subsequently extracting the selected package (of type |
| <code>IPackageFragment</code>) via <code>SelectionDialog.getResult</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent shell of the dialog to be created<DD><CODE>project</CODE> - the JavaScript project<DD><CODE>style</CODE> - flags defining the style of the dialog; the valid flags are: |
| <code>IJavaScriptElementSearchConstants.CONSIDER_BINARIES</code>, indicating that |
| packages from binary package fragment roots should be included in addition |
| to those from source package fragment roots; |
| <code>IJavaScriptElementSearchConstants.CONSIDER_REQUIRED_PROJECTS</code>, indicating that |
| packages from required projects should be included as well. |
| <DT><B>Returns:</B><DD>a new selection dialog |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if the selection dialog could not be opened</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createPackageDialog(Shell, org.eclipse.wst.jsdt.core.IPackageFragmentRoot, java.lang.String)"><!-- --></A><H3> |
| createPackageDialog</H3> |
| <PRE> |
| public static SelectionDialog <B>createPackageDialog</B>(Shell parent, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IPackageFragmentRoot.html" title="interface in org.eclipse.wst.jsdt.core">IPackageFragmentRoot</A> root, |
| java.lang.String filter) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates a selection dialog that lists all packages under the given package |
| fragment root. |
| The caller is responsible for opening the dialog with <code>Window.open</code>, |
| and subsequently extracting the selected package (of type |
| <code>IPackageFragment</code>) via <code>SelectionDialog.getResult</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent shell of the dialog to be created<DD><CODE>root</CODE> - the package fragment root<DD><CODE>filter</CODE> - the initial pattern to filter the set of packages. For example "com" shows |
| all packages starting with "com". The meta character '?' representing any character and |
| '*' representing any string are supported. Clients can pass an empty string if no filtering |
| is required. |
| <DT><B>Returns:</B><DD>a new selection dialog |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if the selection dialog could not be opened</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createPackageDialog(Shell, org.eclipse.wst.jsdt.core.IPackageFragmentRoot)"><!-- --></A><H3> |
| createPackageDialog</H3> |
| <PRE> |
| public static SelectionDialog <B>createPackageDialog</B>(Shell parent, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IPackageFragmentRoot.html" title="interface in org.eclipse.wst.jsdt.core">IPackageFragmentRoot</A> root) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates a selection dialog that lists all packages under the given package |
| fragment root. |
| The caller is responsible for opening the dialog with <code>Window.open</code>, |
| and subsequently extracting the selected package (of type |
| <code>IPackageFragment</code>) via <code>SelectionDialog.getResult</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent shell of the dialog to be created<DD><CODE>root</CODE> - the package fragment root |
| <DT><B>Returns:</B><DD>a new selection dialog |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if the selection dialog could not be opened</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createTypeDialog(Shell, IRunnableContext, IProject, int, boolean)"><!-- --></A><H3> |
| createTypeDialog</H3> |
| <PRE> |
| public static SelectionDialog <B>createTypeDialog</B>(Shell parent, |
| IRunnableContext context, |
| IProject project, |
| int style, |
| boolean multipleSelection) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates a selection dialog that lists all types in the given project. |
| The caller is responsible for opening the dialog with <code>Window.open</code>, |
| and subsequently extracting the selected type(s) (of type |
| <code>IType</code>) via <code>SelectionDialog.getResult</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent shell of the dialog to be created<DD><CODE>context</CODE> - the runnable context used to show progress when the dialog |
| is being populated<DD><CODE>project</CODE> - the JavaScript project<DD><CODE>style</CODE> - flags defining the style of the dialog; the only valid values are |
| <code>IJavaScriptElementSearchConstants.CONSIDER_CLASSES</code>, |
| <code>IJavaScriptElementSearchConstants.CONSIDER_INTERFACES</code>, |
| <code>IJavaScriptElementSearchConstants.CONSIDER_ANNOTATION_TYPES</code>, |
| <code>IJavaScriptElementSearchConstants.CONSIDER_ENUMS</code>, |
| <code>IJavaScriptElementSearchConstants.CONSIDER_ALL_TYPES</code>, |
| <code>IJavaScriptElementSearchConstants.CONSIDER_CLASSES_AND_INTERFACES</code> |
| <code>IJavaScriptElementSearchConstants.CONSIDER_CLASSES_AND_ENUMS</code>. Please note that |
| the bitwise OR combination of the elementary constants is not supported.<DD><CODE>multipleSelection</CODE> - <code>true</code> if multiple selection is allowed |
| <DT><B>Returns:</B><DD>a new selection dialog |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if the selection dialog could not be opened</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createTypeDialog(Shell, IRunnableContext, org.eclipse.wst.jsdt.core.search.IJavaScriptSearchScope, int, boolean, java.lang.String)"><!-- --></A><H3> |
| createTypeDialog</H3> |
| <PRE> |
| public static SelectionDialog <B>createTypeDialog</B>(Shell parent, |
| IRunnableContext context, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/search/IJavaScriptSearchScope.html" title="interface in org.eclipse.wst.jsdt.core.search">IJavaScriptSearchScope</A> scope, |
| int style, |
| boolean multipleSelection, |
| java.lang.String filter) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates a selection dialog that lists all types in the given scope. |
| The caller is responsible for opening the dialog with <code>Window.open</code>, |
| and subsequently extracting the selected type(s) (of type |
| <code>IType</code>) via <code>SelectionDialog.getResult</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent shell of the dialog to be created<DD><CODE>context</CODE> - the runnable context used to show progress when the dialog |
| is being populated<DD><CODE>scope</CODE> - the scope that limits which types are included<DD><CODE>style</CODE> - flags defining the style of the dialog; the only valid values are |
| <code>IJavaScriptElementSearchConstants.CONSIDER_CLASSES</code>, |
| <code>IJavaScriptElementSearchConstants.CONSIDER_INTERFACES</code>, |
| <code>IJavaScriptElementSearchConstants.CONSIDER_ANNOTATION_TYPES</code>, |
| <code>IJavaScriptElementSearchConstants.CONSIDER_ENUMS</code>, |
| <code>IJavaScriptElementSearchConstants.CONSIDER_ALL_TYPES</code>, |
| <code>IJavaScriptElementSearchConstants.CONSIDER_CLASSES_AND_INTERFACES</code> |
| <code>IJavaScriptElementSearchConstants.CONSIDER_CLASSES_AND_ENUMS</code>. Please note that |
| the bitwise OR combination of the elementary constants is not supported.<DD><CODE>multipleSelection</CODE> - <code>true</code> if multiple selection is allowed<DD><CODE>filter</CODE> - the initial pattern to filter the set of types. For example "Abstract" shows |
| all types starting with "abstract". The meta character '?' representing any character and |
| '*' representing any string are supported. Clients can pass an empty string if no filtering |
| is required. |
| <DT><B>Returns:</B><DD>a new selection dialog |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if the selection dialog could not be opened</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createTypeDialog(Shell, IRunnableContext, org.eclipse.wst.jsdt.core.search.IJavaScriptSearchScope, int, boolean, java.lang.String, org.eclipse.wst.jsdt.ui.dialogs.TypeSelectionExtension)"><!-- --></A><H3> |
| createTypeDialog</H3> |
| <PRE> |
| public static SelectionDialog <B>createTypeDialog</B>(Shell parent, |
| IRunnableContext context, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/search/IJavaScriptSearchScope.html" title="interface in org.eclipse.wst.jsdt.core.search">IJavaScriptSearchScope</A> scope, |
| int style, |
| boolean multipleSelection, |
| java.lang.String filter, |
| org.eclipse.wst.jsdt.ui.dialogs.TypeSelectionExtension extension) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates a selection dialog that lists all types in the given scope. |
| The caller is responsible for opening the dialog with <code>Window.open</code>, |
| and subsequently extracting the selected type(s) (of type |
| <code>IType</code>) via <code>SelectionDialog.getResult</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent shell of the dialog to be created<DD><CODE>context</CODE> - the runnable context used to show progress when the dialog |
| is being populated<DD><CODE>scope</CODE> - the scope that limits which types are included<DD><CODE>style</CODE> - flags defining the style of the dialog; the only valid values are |
| <code>IJavaScriptElementSearchConstants.CONSIDER_CLASSES</code>, |
| <code>IJavaScriptElementSearchConstants.CONSIDER_INTERFACES</code>, |
| <code>IJavaScriptElementSearchConstants.CONSIDER_ANNOTATION_TYPES</code>, |
| <code>IJavaScriptElementSearchConstants.CONSIDER_ENUMS</code>, |
| <code>IJavaScriptElementSearchConstants.CONSIDER_ALL_TYPES</code>, |
| <code>IJavaScriptElementSearchConstants.CONSIDER_CLASSES_AND_INTERFACES</code> |
| <code>IJavaScriptElementSearchConstants.CONSIDER_CLASSES_AND_ENUMS</code>. Please note that |
| the bitwise OR combination of the elementary constants is not supported.<DD><CODE>multipleSelection</CODE> - <code>true</code> if multiple selection is allowed<DD><CODE>filter</CODE> - the initial pattern to filter the set of types. For example "Abstract" shows |
| all types starting with "abstract". The meta character '?' representing any character and |
| '*' representing any string are supported. Clients can pass an empty string if no filtering |
| is required.<DD><CODE>extension</CODE> - a user interface extension to the type selection dialog or <code>null</code> |
| if no extension is desired |
| <DT><B>Returns:</B><DD>a new selection dialog |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if the selection dialog could not be opened</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="openInEditor(org.eclipse.wst.jsdt.core.IJavaScriptElement)"><!-- --></A><H3> |
| openInEditor</H3> |
| <PRE> |
| public static IEditorPart <B>openInEditor</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> element) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A>, |
| PartInitException</PRE> |
| <DL> |
| <DD>Opens an editor on the given JavaScript element in the active page. Valid elements are all JavaScript elements that are <A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceReference.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>ISourceReference</CODE></A>. |
| For elements inside a compilation unit or class file, the parent is opened in the editor is opened and the element revealed. |
| If there already is an open JavaScript editor for the given element, it is returned. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>element</CODE> - the input element; either a compilation unit |
| (<code>IJavaScriptUnit</code>) or a class file (<code>IClassFile</code>) or source references inside. |
| <DT><B>Returns:</B><DD>returns the editor part of the opened editor or <code>null</code> if the element is not a <A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceReference.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>ISourceReference</CODE></A> or the |
| file was opened in an external editor. |
| <DT><B>Throws:</B> |
| <DD><CODE>PartInitException</CODE> - if the editor could not be initialized or no workbench page is active |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an exception occurs while accessing its underlying resource</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="openInEditor(org.eclipse.wst.jsdt.core.IJavaScriptElement, boolean, boolean)"><!-- --></A><H3> |
| openInEditor</H3> |
| <PRE> |
| public static IEditorPart <B>openInEditor</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> element, |
| boolean activate, |
| boolean reveal) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A>, |
| PartInitException</PRE> |
| <DL> |
| <DD>Opens an editor on the given JavaScript element in the active page. Valid elements are all JavaScript elements that are <A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceReference.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>ISourceReference</CODE></A>. |
| For elements inside a compilation unit or class file, the parent is opened in the editor is opened. |
| If there already is an open JavaScript editor for the given element, it is returned. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>element</CODE> - the input element; either a compilation unit |
| (<code>IJavaScriptUnit</code>) or a class file (<code>IClassFile</code>) or source references inside.<DD><CODE>activate</CODE> - if set, the editor will be activated.<DD><CODE>reveal</CODE> - if set, the element will be revealed. |
| <DT><B>Returns:</B><DD>returns the editor part of the opened editor or <code>null</code> if the element is not a <A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceReference.html" title="interface in org.eclipse.wst.jsdt.core"><CODE>ISourceReference</CODE></A> or the |
| file was opened in an external editor. |
| <DT><B>Throws:</B> |
| <DD><CODE>PartInitException</CODE> - if the editor could not be initialized or no workbench page is active |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an exception occurs while accessing its underlying resource</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="revealInEditor(IEditorPart, org.eclipse.wst.jsdt.core.IJavaScriptElement)"><!-- --></A><H3> |
| revealInEditor</H3> |
| <PRE> |
| public static void <B>revealInEditor</B>(IEditorPart part, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> element)</PRE> |
| <DL> |
| <DD>Reveals the given JavaScript element in the given editor. If the element is not an instance |
| of <code>ISourceReference</code> this method result in a NOP. If it is a source |
| reference no checking is done if the editor displays a compilation unit or class file that |
| contains the source reference element. The editor simply reveals the source range |
| denoted by the given element. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>part</CODE> - the editor displaying a compilation unit or class file<DD><CODE>element</CODE> - the element to be revealed</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getWorkingCopyManager()"><!-- --></A><H3> |
| getWorkingCopyManager</H3> |
| <PRE> |
| public static <A HREF="../../../../../org/eclipse/wst/jsdt/ui/IWorkingCopyManager.html" title="interface in org.eclipse.wst.jsdt.ui">IWorkingCopyManager</A> <B>getWorkingCopyManager</B>()</PRE> |
| <DL> |
| <DD>Returns the working copy manager for the JavaScript UI plug-in. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the working copy manager for the JavaScript UI plug-in</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getEditorInputJavaElement(IEditorInput)"><!-- --></A><H3> |
| getEditorInputJavaElement</H3> |
| <PRE> |
| public static <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> <B>getEditorInputJavaElement</B>(IEditorInput editorInput)</PRE> |
| <DL> |
| <DD>Returns the JavaScript element wrapped by the given editor input. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>editorInput</CODE> - the editor input |
| <DT><B>Returns:</B><DD>the JavaScript element wrapped by <code>editorInput</code> or <code>null</code> if none</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDocumentProvider()"><!-- --></A><H3> |
| getDocumentProvider</H3> |
| <PRE> |
| public static IDocumentProvider <B>getDocumentProvider</B>()</PRE> |
| <DL> |
| <DD>Returns the DocumentProvider used for JavaScript compilation units. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the DocumentProvider for JavaScript compilation units.<DT><B>See Also:</B><DD><CODE>IDocumentProvider</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLibraryJSdocLocation(org.eclipse.wst.jsdt.core.IIncludePathEntry)"><!-- --></A><H3> |
| getLibraryJSdocLocation</H3> |
| <PRE> |
| public static java.net.URL <B>getLibraryJSdocLocation</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IIncludePathEntry.html" title="interface in org.eclipse.wst.jsdt.core">IIncludePathEntry</A> entry)</PRE> |
| <DL> |
| <DD>Returns the Javadoc location for library's classpath entry or <code>null</code> if no |
| location is available. Note that only classpath entries of kind <A HREF="../../../../../org/eclipse/wst/jsdt/core/IIncludePathEntry.html#CPE_LIBRARY"><CODE>IIncludePathEntry.CPE_LIBRARY</CODE></A> and |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IIncludePathEntry.html#CPE_VARIABLE"><CODE>IIncludePathEntry.CPE_VARIABLE</CODE></A> support Javadoc locations. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>entry</CODE> - the classpath entry to get the Javadoc location for |
| <DT><B>Returns:</B><DD>the Javadoc location or<code>null</code> if no Javadoc location is available |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - Thrown when the entry is <code>null</code> or not of kind |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IIncludePathEntry.html#CPE_LIBRARY"><CODE>IIncludePathEntry.CPE_LIBRARY</CODE></A> or <A HREF="../../../../../org/eclipse/wst/jsdt/core/IIncludePathEntry.html#CPE_VARIABLE"><CODE>IIncludePathEntry.CPE_VARIABLE</CODE></A>.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setProjectJSdocLocation(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.net.URL)"><!-- --></A><H3> |
| setProjectJSdocLocation</H3> |
| <PRE> |
| public static void <B>setProjectJSdocLocation</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| java.net.URL url)</PRE> |
| <DL> |
| <DD>Sets the Javadoc location for a JavaScript project. This location is used for |
| all types located in the project's source folders. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>project</CODE> - the project<DD><CODE>url</CODE> - the Javadoc location to set. This location should contain index.html and |
| a file 'package-list'. <code>null</code> clears the current documentation |
| location.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getProjectJSdocLocation(org.eclipse.wst.jsdt.core.IJavaScriptProject)"><!-- --></A><H3> |
| getProjectJSdocLocation</H3> |
| <PRE> |
| public static java.net.URL <B>getProjectJSdocLocation</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project)</PRE> |
| <DL> |
| <DD>Returns the Javadoc location for a JavaScript project or <code>null</code> if no |
| location is available. This location is used for all types located in the project's |
| source folders. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>project</CODE> - the project |
| <DT><B>Returns:</B><DD>the Javadoc location for a JavaScript project or <code>null</code></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getJSdocBaseLocation(org.eclipse.wst.jsdt.core.IJavaScriptElement)"><!-- --></A><H3> |
| getJSdocBaseLocation</H3> |
| <PRE> |
| public static java.net.URL <B>getJSdocBaseLocation</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> element) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns the Javadoc base URL for an element. The base location contains the |
| index file. This location doesn't have to exist. Returns <code>null</code> |
| if no javadoc location has been attached to the element's library or project. |
| Example of a returned URL is <i>http://www.junit.org/junit/javadoc</i>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>element</CODE> - the element for which the documentation URL is requested. |
| <DT><B>Returns:</B><DD>the base location |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - thrown when the element can not be accessed</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getJSdocLocation(org.eclipse.wst.jsdt.core.IJavaScriptElement, boolean)"><!-- --></A><H3> |
| getJSdocLocation</H3> |
| <PRE> |
| public static java.net.URL <B>getJSdocLocation</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> element, |
| boolean includeAnchor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns the Javadoc URL for an element. Example of a returned URL is |
| <i>http://www.junit.org/junit/javadoc/junit/extensions/TestSetup.html</i>. |
| This returned location doesn't have to exist. Returns <code>null</code> |
| if no javadoc location has been attached to the element's library or |
| project. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>element</CODE> - the element for which the documentation URL is requested.<DD><CODE>includeAnchor</CODE> - If set, the URL contains an anchor for member references: |
| <i>http://www.junit.org/junit/javadoc/junit/extensions/TestSetup.html#run(junit.framework.TestResult)</i>. Note |
| that this involves type resolving and is a more expensive call than without anchor. |
| <DT><B>Returns:</B><DD>the Javadoc URL for the element |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - thrown when the element can not be accessed</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getJavaElementClipboardTransfer()"><!-- --></A><H3> |
| getJavaElementClipboardTransfer</H3> |
| <PRE> |
| public static Transfer <B>getJavaElementClipboardTransfer</B>()</PRE> |
| <DL> |
| <DD>Returns the transfer instance used to copy/paste JavaScript elements to |
| and from the clipboard. Objects managed by this transfer instance |
| are of type <code>IJavaScriptElement[]</code>. So to access data from the |
| clipboard clients should use the following code snippet: |
| <pre> |
| IJavaScriptElement[] elements= |
| (IJavaScriptElement[])clipboard.getContents(JavaScriptUI.getJavaElementClipboardTransfer()); |
| </pre> |
| |
| To put elements into the clipboard use the following snippet: |
| |
| <pre> |
| IJavaScriptElement[] javaElements= ...; |
| clipboard.setContents( |
| new Object[] { javaElements }, |
| new Transfer[] { JavaScriptUI.getJavaElementClipboardTransfer() } ); |
| </pre> |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>returns the transfer object used to copy/paste JavaScript elements |
| to and from the clipboard</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getColorManager()"><!-- --></A><H3> |
| getColorManager</H3> |
| <PRE> |
| public static <A HREF="../../../../../org/eclipse/wst/jsdt/ui/text/IColorManager.html" title="interface in org.eclipse.wst.jsdt.ui.text">IColorManager</A> <B>getColorManager</B>()</PRE> |
| <DL> |
| <DD>Returns the color manager the JavaScript UI plug-in which is used to manage |
| any Java-specific colors needed for such things like syntax highlighting. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the color manager to be used for JavaScript text viewers</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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JavaScriptUI.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/ui/JavaScriptSuperTypeAction.html" title="class in org.eclipse.wst.jsdt.ui"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/ui/JSdocContentAccess.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/JavaScriptUI.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="JavaScriptUI.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| |
| </BODY> |
| </HTML> |