| <!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:04 CDT 2008 --> |
| <TITLE> |
| JavaScriptSourceViewerConfiguration |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.eclipse.wst.jsdt.ui.text.JavaScriptSourceViewerConfiguration class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="JavaScriptSourceViewerConfiguration"; |
| } |
| </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/JavaScriptSourceViewerConfiguration.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/text/IJavaScriptPartitions.html" title="interface in org.eclipse.wst.jsdt.ui.text"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptTextTools.html" title="class in org.eclipse.wst.jsdt.ui.text"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="JavaScriptSourceViewerConfiguration.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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.text</FONT> |
| <BR> |
| Class JavaScriptSourceViewerConfiguration</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by ">TextSourceViewerConfiguration |
| <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.wst.jsdt.ui.text.JavaScriptSourceViewerConfiguration</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>JavaScriptSourceViewerConfiguration</B><DT>extends TextSourceViewerConfiguration</DL> |
| </PRE> |
| |
| <P> |
| Configuration for a source viewer which shows JavaScript code. |
| <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> |
| |
| <!-- ======== 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/text/JavaScriptSourceViewerConfiguration.html#JavaScriptSourceViewerConfiguration(org.eclipse.wst.jsdt.ui.text.IColorManager, IPreferenceStore, ITextEditor, java.lang.String)">JavaScriptSourceViewerConfiguration</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/IColorManager.html" title="interface in org.eclipse.wst.jsdt.ui.text">IColorManager</A> colorManager, |
| IPreferenceStore preferenceStore, |
| ITextEditor editor, |
| java.lang.String partitioning)</CODE> |
| |
| <BR> |
| Creates a new JavaScript source viewer configuration for viewers in the given editor |
| using the given preference store, the color manager and the specified document partitioning.</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> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#affectsTextPresentation(PropertyChangeEvent)">affectsTextPresentation</A></B>(PropertyChangeEvent event)</CODE> |
| |
| <BR> |
| Determines whether the preference change encoded by the given event |
| changes the behavior of one of its contained components.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> IAnnotationHover</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getAnnotationHover(ISourceViewer)">getAnnotationHover</A></B>(ISourceViewer sourceViewer)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> IAutoEditStrategy[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getAutoEditStrategies(ISourceViewer, java.lang.String)">getAutoEditStrategies</A></B>(ISourceViewer sourceViewer, |
| java.lang.String contentType)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getConfiguredContentTypes(ISourceViewer)">getConfiguredContentTypes</A></B>(ISourceViewer sourceViewer)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getConfiguredDocumentPartitioning(ISourceViewer)">getConfiguredDocumentPartitioning</A></B>(ISourceViewer sourceViewer)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getConfiguredTextHoverStateMasks(ISourceViewer, java.lang.String)">getConfiguredTextHoverStateMasks</A></B>(ISourceViewer sourceViewer, |
| java.lang.String contentType)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> IContentAssistant</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getContentAssistant(ISourceViewer)">getContentAssistant</A></B>(ISourceViewer sourceViewer)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> IContentFormatter</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getContentFormatter(ISourceViewer)">getContentFormatter</A></B>(ISourceViewer sourceViewer)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getDefaultPrefixes(ISourceViewer, java.lang.String)">getDefaultPrefixes</A></B>(ISourceViewer sourceViewer, |
| java.lang.String contentType)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> ITextDoubleClickStrategy</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getDoubleClickStrategy(ISourceViewer, java.lang.String)">getDoubleClickStrategy</A></B>(ISourceViewer sourceViewer, |
| java.lang.String contentType)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> IInformationPresenter</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getHierarchyPresenter(ISourceViewer, boolean)">getHierarchyPresenter</A></B>(ISourceViewer sourceViewer, |
| boolean doCodeResolve)</CODE> |
| |
| <BR> |
| Returns the hierarchy presenter which will determine and shown type hierarchy |
| information requested for the current cursor position.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getIndentPrefixes(ISourceViewer, java.lang.String)">getIndentPrefixes</A></B>(ISourceViewer sourceViewer, |
| java.lang.String contentType)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> IInformationControlCreator</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getInformationControlCreator(ISourceViewer)">getInformationControlCreator</A></B>(ISourceViewer sourceViewer)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> IInformationPresenter</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getInformationPresenter(ISourceViewer)">getInformationPresenter</A></B>(ISourceViewer sourceViewer)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> IInformationPresenter</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getOutlinePresenter(ISourceViewer, boolean)">getOutlinePresenter</A></B>(ISourceViewer sourceViewer, |
| boolean doCodeResolve)</CODE> |
| |
| <BR> |
| Returns the outline presenter which will determine and shown |
| information requested for the current cursor position.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> IAnnotationHover</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getOverviewRulerAnnotationHover(ISourceViewer)">getOverviewRulerAnnotationHover</A></B>(ISourceViewer sourceViewer)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> IPresentationReconciler</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getPresentationReconciler(ISourceViewer)">getPresentationReconciler</A></B>(ISourceViewer sourceViewer)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> IQuickAssistAssistant</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getQuickAssistAssistant(ISourceViewer)">getQuickAssistAssistant</A></B>(ISourceViewer sourceViewer)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> IReconciler</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getReconciler(ISourceViewer)">getReconciler</A></B>(ISourceViewer sourceViewer)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getTabWidth(ISourceViewer)">getTabWidth</A></B>(ISourceViewer sourceViewer)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> ITextHover</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getTextHover(ISourceViewer, java.lang.String)">getTextHover</A></B>(ISourceViewer sourceViewer, |
| java.lang.String contentType)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> ITextHover</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#getTextHover(ISourceViewer, java.lang.String, int)">getTextHover</A></B>(ISourceViewer sourceViewer, |
| java.lang.String contentType, |
| int stateMask)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#handlePropertyChangeEvent(PropertyChangeEvent)">handlePropertyChangeEvent</A></B>(PropertyChangeEvent event)</CODE> |
| |
| <BR> |
| Adapts the behavior of the contained components to the change |
| encoded in the given event.</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> |
| |
| <!-- ========= 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="JavaScriptSourceViewerConfiguration(org.eclipse.wst.jsdt.ui.text.IColorManager, IPreferenceStore, ITextEditor, java.lang.String)"><!-- --></A><H3> |
| JavaScriptSourceViewerConfiguration</H3> |
| <PRE> |
| public <B>JavaScriptSourceViewerConfiguration</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/IColorManager.html" title="interface in org.eclipse.wst.jsdt.ui.text">IColorManager</A> colorManager, |
| IPreferenceStore preferenceStore, |
| ITextEditor editor, |
| java.lang.String partitioning)</PRE> |
| <DL> |
| <DD>Creates a new JavaScript source viewer configuration for viewers in the given editor |
| using the given preference store, the color manager and the specified document partitioning. |
| <p> |
| Creates a JavaScript source viewer configuration in the new setup without text tools. Clients are |
| allowed to call <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html#handlePropertyChangeEvent(PropertyChangeEvent)"><CODE>handlePropertyChangeEvent(PropertyChangeEvent)</CODE></A> |
| on the resulting |
| JavaScript source viewer configuration. |
| </p> |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>colorManager</CODE> - the color manager<DD><CODE>preferenceStore</CODE> - the preference store, can be read-only<DD><CODE>editor</CODE> - the editor in which the configured viewer(s) will reside, or <code>null</code> if none<DD><CODE>partitioning</CODE> - the document partitioning for this configuration, or <code>null</code> for the default partitioning</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="getPresentationReconciler(ISourceViewer)"><!-- --></A><H3> |
| getPresentationReconciler</H3> |
| <PRE> |
| public IPresentationReconciler <B>getPresentationReconciler</B>(ISourceViewer sourceViewer)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getContentAssistant(ISourceViewer)"><!-- --></A><H3> |
| getContentAssistant</H3> |
| <PRE> |
| public IContentAssistant <B>getContentAssistant</B>(ISourceViewer sourceViewer)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getQuickAssistAssistant(ISourceViewer)"><!-- --></A><H3> |
| getQuickAssistAssistant</H3> |
| <PRE> |
| public IQuickAssistAssistant <B>getQuickAssistAssistant</B>(ISourceViewer sourceViewer)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getReconciler(ISourceViewer)"><!-- --></A><H3> |
| getReconciler</H3> |
| <PRE> |
| public IReconciler <B>getReconciler</B>(ISourceViewer sourceViewer)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAutoEditStrategies(ISourceViewer, java.lang.String)"><!-- --></A><H3> |
| getAutoEditStrategies</H3> |
| <PRE> |
| public IAutoEditStrategy[] <B>getAutoEditStrategies</B>(ISourceViewer sourceViewer, |
| java.lang.String contentType)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDoubleClickStrategy(ISourceViewer, java.lang.String)"><!-- --></A><H3> |
| getDoubleClickStrategy</H3> |
| <PRE> |
| public ITextDoubleClickStrategy <B>getDoubleClickStrategy</B>(ISourceViewer sourceViewer, |
| java.lang.String contentType)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDefaultPrefixes(ISourceViewer, java.lang.String)"><!-- --></A><H3> |
| getDefaultPrefixes</H3> |
| <PRE> |
| public java.lang.String[] <B>getDefaultPrefixes</B>(ISourceViewer sourceViewer, |
| java.lang.String contentType)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getIndentPrefixes(ISourceViewer, java.lang.String)"><!-- --></A><H3> |
| getIndentPrefixes</H3> |
| <PRE> |
| public java.lang.String[] <B>getIndentPrefixes</B>(ISourceViewer sourceViewer, |
| java.lang.String contentType)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTabWidth(ISourceViewer)"><!-- --></A><H3> |
| getTabWidth</H3> |
| <PRE> |
| public int <B>getTabWidth</B>(ISourceViewer sourceViewer)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAnnotationHover(ISourceViewer)"><!-- --></A><H3> |
| getAnnotationHover</H3> |
| <PRE> |
| public IAnnotationHover <B>getAnnotationHover</B>(ISourceViewer sourceViewer)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getOverviewRulerAnnotationHover(ISourceViewer)"><!-- --></A><H3> |
| getOverviewRulerAnnotationHover</H3> |
| <PRE> |
| public IAnnotationHover <B>getOverviewRulerAnnotationHover</B>(ISourceViewer sourceViewer)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConfiguredTextHoverStateMasks(ISourceViewer, java.lang.String)"><!-- --></A><H3> |
| getConfiguredTextHoverStateMasks</H3> |
| <PRE> |
| public int[] <B>getConfiguredTextHoverStateMasks</B>(ISourceViewer sourceViewer, |
| java.lang.String contentType)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTextHover(ISourceViewer, java.lang.String, int)"><!-- --></A><H3> |
| getTextHover</H3> |
| <PRE> |
| public ITextHover <B>getTextHover</B>(ISourceViewer sourceViewer, |
| java.lang.String contentType, |
| int stateMask)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTextHover(ISourceViewer, java.lang.String)"><!-- --></A><H3> |
| getTextHover</H3> |
| <PRE> |
| public ITextHover <B>getTextHover</B>(ISourceViewer sourceViewer, |
| java.lang.String contentType)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConfiguredContentTypes(ISourceViewer)"><!-- --></A><H3> |
| getConfiguredContentTypes</H3> |
| <PRE> |
| public java.lang.String[] <B>getConfiguredContentTypes</B>(ISourceViewer sourceViewer)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConfiguredDocumentPartitioning(ISourceViewer)"><!-- --></A><H3> |
| getConfiguredDocumentPartitioning</H3> |
| <PRE> |
| public java.lang.String <B>getConfiguredDocumentPartitioning</B>(ISourceViewer sourceViewer)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getContentFormatter(ISourceViewer)"><!-- --></A><H3> |
| getContentFormatter</H3> |
| <PRE> |
| public IContentFormatter <B>getContentFormatter</B>(ISourceViewer sourceViewer)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getInformationControlCreator(ISourceViewer)"><!-- --></A><H3> |
| getInformationControlCreator</H3> |
| <PRE> |
| public IInformationControlCreator <B>getInformationControlCreator</B>(ISourceViewer sourceViewer)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getInformationPresenter(ISourceViewer)"><!-- --></A><H3> |
| getInformationPresenter</H3> |
| <PRE> |
| public IInformationPresenter <B>getInformationPresenter</B>(ISourceViewer sourceViewer)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getOutlinePresenter(ISourceViewer, boolean)"><!-- --></A><H3> |
| getOutlinePresenter</H3> |
| <PRE> |
| public IInformationPresenter <B>getOutlinePresenter</B>(ISourceViewer sourceViewer, |
| boolean doCodeResolve)</PRE> |
| <DL> |
| <DD>Returns the outline presenter which will determine and shown |
| information requested for the current cursor position. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>sourceViewer</CODE> - the source viewer to be configured by this configuration<DD><CODE>doCodeResolve</CODE> - a boolean which specifies whether code resolve should be used to compute the JavaScript element |
| <DT><B>Returns:</B><DD>an information presenter</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getHierarchyPresenter(ISourceViewer, boolean)"><!-- --></A><H3> |
| getHierarchyPresenter</H3> |
| <PRE> |
| public IInformationPresenter <B>getHierarchyPresenter</B>(ISourceViewer sourceViewer, |
| boolean doCodeResolve)</PRE> |
| <DL> |
| <DD>Returns the hierarchy presenter which will determine and shown type hierarchy |
| information requested for the current cursor position. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>sourceViewer</CODE> - the source viewer to be configured by this configuration<DD><CODE>doCodeResolve</CODE> - a boolean which specifies whether code resolve should be used to compute the JavaScript element |
| <DT><B>Returns:</B><DD>an information presenter</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="affectsTextPresentation(PropertyChangeEvent)"><!-- --></A><H3> |
| affectsTextPresentation</H3> |
| <PRE> |
| public boolean <B>affectsTextPresentation</B>(PropertyChangeEvent event)</PRE> |
| <DL> |
| <DD>Determines whether the preference change encoded by the given event |
| changes the behavior of one of its contained components. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>event</CODE> - the event to be investigated |
| <DT><B>Returns:</B><DD><code>true</code> if event causes a behavioral change</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="handlePropertyChangeEvent(PropertyChangeEvent)"><!-- --></A><H3> |
| handlePropertyChangeEvent</H3> |
| <PRE> |
| public void <B>handlePropertyChangeEvent</B>(PropertyChangeEvent event)</PRE> |
| <DL> |
| <DD>Adapts the behavior of the contained components to the change |
| encoded in the given event. |
| <p> |
| Clients are not allowed to call this method if the old setup with |
| text tools is in use. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>event</CODE> - the event to which to adapt<DT><B>See Also:</B><DD><CODE>JavaScriptSourceViewerConfiguration#JavaSourceViewerConfiguration(IColorManager, IPreferenceStore, ITextEditor, String)</CODE></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/JavaScriptSourceViewerConfiguration.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/text/IJavaScriptPartitions.html" title="interface in org.eclipse.wst.jsdt.ui.text"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/eclipse/wst/jsdt/ui/text/JavaScriptTextTools.html" title="class in org.eclipse.wst.jsdt.ui.text"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/eclipse/wst/jsdt/ui/text/JavaScriptSourceViewerConfiguration.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="JavaScriptSourceViewerConfiguration.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| |
| </BODY> |
| </HTML> |