blob: 3f588c75108234222b1809327a058258fea8c255 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_12) on Fri May 30 11:16:05 CDT 2008 -->
<TITLE>
JsTranslation
</TITLE>
<META NAME="keywords" CONTENT="org.eclipse.wst.jsdt.web.core.javascript.JsTranslation class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="JsTranslation";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JsTranslation.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsNameManglerUtil.html" title="class in org.eclipse.wst.jsdt.web.core.javascript"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslationAdapter.html" title="class in org.eclipse.wst.jsdt.web.core.javascript"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../index.html?org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="JsTranslation.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.eclipse.wst.jsdt.web.core.javascript</FONT>
<BR>
Class JsTranslation</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.wst.jsdt.web.core.javascript.JsTranslation</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>JsTranslation</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></DL>
</PRE>
<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/web/core/javascript/JsTranslation.html#JsTranslation()">JsTranslation</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#classpathChange()">classpathChange</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;notify the translation to update any external dependancies that are created during translation</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#fixupMangledName(java.lang.String)">fixupMangledName</A></B>(java.lang.String&nbsp;displayString)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fixes a mangled html--> pure js name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<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/web/core/javascript/JsTranslation.html#getAllElementsInJsRange(int, int)">getAllElementsInJsRange</A></B>(int&nbsp;javaPositionStart,
int&nbsp;javaPositionEnd)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptUnit.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptUnit</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#getCompilationUnit()">getCompilationUnit</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#getDirectoryUnderRoot()">getDirectoryUnderRoot</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<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/web/core/javascript/JsTranslation.html#getElementsFromJsRange(int, int)">getElementsFromJsRange</A></B>(int&nbsp;javaPositionStart,
int&nbsp;javaPositionEnd)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;IFile</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#getFile()">getFile</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;IDocument</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#getHtmlDocument()">getHtmlDocument</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#getHtmlText()">getHtmlText</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#getInstance(IStructuredDocument, org.eclipse.wst.jsdt.core.IJavaScriptProject, boolean)">getInstance</A></B>(IStructuredDocument&nbsp;htmlDocument,
<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;javaProj,
boolean&nbsp;listenForChanges)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#getJavaPath()">getJavaPath</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#getJavaProject()">getJavaProject</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<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/web/core/javascript/JsTranslation.html#getJsElementAtOffset(int)">getJsElementAtOffset</A></B>(int&nbsp;jsOffset)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#getJsText()">getJsText</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#getMangledName()">getMangledName</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#getMissingTagStart()">getMissingTagStart</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#getProblems()">getProblems</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Position[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#getScriptPositions()">getScriptPositions</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslator.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslator</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#getTranslator()">getTranslator</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/WorkingCopyOwner.html" title="class in org.eclipse.wst.jsdt.core">WorkingCopyOwner</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#getWorkingCopyOwner()">getWorkingCopyOwner</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#ifOffsetInImportNode(int)">ifOffsetInImportNode</A></B>(int&nbsp;offset)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#insertInFirstScriptRegion(java.lang.String)">insertInFirstScriptRegion</A></B>(java.lang.String&nbsp;text)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#insertScript(int, java.lang.String)">insertScript</A></B>(int&nbsp;offset,
java.lang.String&nbsp;text)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;insert javascript at the given offset.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#reconcileCompilationUnit()">reconcileCompilationUnit</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checks the CU for errors/consistancy.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#release()">release</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;release the translation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html#setProblemCollectingActive(boolean)">setProblemCollectingActive</A></B>(boolean&nbsp;collect)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;start/stop collecting problems within the javascript unit.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ========= 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="JsTranslation()"><!-- --></A><H3>
JsTranslation</H3>
<PRE>
public <B>JsTranslation</B>()</PRE>
<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="getTranslator()"><!-- --></A><H3>
getTranslator</H3>
<PRE>
public <A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslator.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslator</A> <B>getTranslator</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getInstance(IStructuredDocument, org.eclipse.wst.jsdt.core.IJavaScriptProject, boolean)"><!-- --></A><H3>
getInstance</H3>
<PRE>
public <A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A> <B>getInstance</B>(IStructuredDocument&nbsp;htmlDocument,
<A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A>&nbsp;javaProj,
boolean&nbsp;listenForChanges)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#getInstance(IStructuredDocument, org.eclipse.wst.jsdt.core.IJavaScriptProject, boolean)">getInstance</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="getJavaProject()"><!-- --></A><H3>
getJavaProject</H3>
<PRE>
public <A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> <B>getJavaProject</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#getJavaProject()">getJavaProject</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>IJavaScriptProject that this translation belongs to</DL>
</DD>
</DL>
<HR>
<A NAME="getFile()"><!-- --></A><H3>
getFile</H3>
<PRE>
public IFile <B>getFile</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getHtmlDocument()"><!-- --></A><H3>
getHtmlDocument</H3>
<PRE>
public IDocument <B>getHtmlDocument</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#getHtmlDocument()">getHtmlDocument</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Original HTML document from the translation.</DL>
</DD>
</DL>
<HR>
<A NAME="getMissingTagStart()"><!-- --></A><H3>
getMissingTagStart</H3>
<PRE>
public int <B>getMissingTagStart</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#getMissingTagStart()">getMissingTagStart</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>integer position of a missing </script> tag (the document isn't well formed and resulted in translation error.).</DL>
</DD>
</DL>
<HR>
<A NAME="getDirectoryUnderRoot()"><!-- --></A><H3>
getDirectoryUnderRoot</H3>
<PRE>
public java.lang.String <B>getDirectoryUnderRoot</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="fixupMangledName(java.lang.String)"><!-- --></A><H3>
fixupMangledName</H3>
<PRE>
public java.lang.String <B>fixupMangledName</B>(java.lang.String&nbsp;displayString)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#fixupMangledName(java.lang.String)">IJsTranslation</A></CODE></B></DD>
<DD>fixes a mangled html--> pure js name.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#fixupMangledName(java.lang.String)">fixupMangledName</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="getAllElementsInJsRange(int, int)"><!-- --></A><H3>
getAllElementsInJsRange</H3>
<PRE>
public <A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A>[] <B>getAllElementsInJsRange</B>(int&nbsp;javaPositionStart,
int&nbsp;javaPositionEnd)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#getAllElementsInJsRange(int, int)">getAllElementsInJsRange</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>all javascript elements within the given range</DL>
</DD>
</DL>
<HR>
<A NAME="getCompilationUnit()"><!-- --></A><H3>
getCompilationUnit</H3>
<PRE>
public <A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptUnit.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptUnit</A> <B>getCompilationUnit</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#getCompilationUnit()">getCompilationUnit</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the javascript unit from the jsdt.core</DL>
</DD>
</DL>
<HR>
<A NAME="getElementsFromJsRange(int, int)"><!-- --></A><H3>
getElementsFromJsRange</H3>
<PRE>
public <A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A>[] <B>getElementsFromJsRange</B>(int&nbsp;javaPositionStart,
int&nbsp;javaPositionEnd)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#getElementsFromJsRange(int, int)">getElementsFromJsRange</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="getHtmlText()"><!-- --></A><H3>
getHtmlText</H3>
<PRE>
public java.lang.String <B>getHtmlText</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#getHtmlText()">getHtmlText</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>string of the document.</DL>
</DD>
</DL>
<HR>
<A NAME="getJavaPath()"><!-- --></A><H3>
getJavaPath</H3>
<PRE>
public java.lang.String <B>getJavaPath</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#getJavaPath()">getJavaPath</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="getJsElementAtOffset(int)"><!-- --></A><H3>
getJsElementAtOffset</H3>
<PRE>
public <A HREF="../../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> <B>getJsElementAtOffset</B>(int&nbsp;jsOffset)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#getJsElementAtOffset(int)">getJsElementAtOffset</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a single javascript element at the given offset.</DL>
</DD>
</DL>
<HR>
<A NAME="getJsText()"><!-- --></A><H3>
getJsText</H3>
<PRE>
public java.lang.String <B>getJsText</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#getJsText()">getJsText</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>only the translated javascript text</DL>
</DD>
</DL>
<HR>
<A NAME="getScriptPositions()"><!-- --></A><H3>
getScriptPositions</H3>
<PRE>
public Position[] <B>getScriptPositions</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#getScriptPositions()">getScriptPositions</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a list of the script regions within the translation.</DL>
</DD>
</DL>
<HR>
<A NAME="insertInFirstScriptRegion(java.lang.String)"><!-- --></A><H3>
insertInFirstScriptRegion</H3>
<PRE>
public void <B>insertInFirstScriptRegion</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#insertInFirstScriptRegion(java.lang.String)">insertInFirstScriptRegion</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="insertScript(int, java.lang.String)"><!-- --></A><H3>
insertScript</H3>
<PRE>
public void <B>insertScript</B>(int&nbsp;offset,
java.lang.String&nbsp;text)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#insertScript(int, java.lang.String)">IJsTranslation</A></CODE></B></DD>
<DD>insert javascript at the given offset. method should ensure the documents well-formedness and proper script region.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#insertScript(int, java.lang.String)">insertScript</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getMangledName()"><!-- --></A><H3>
getMangledName</H3>
<PRE>
public java.lang.String <B>getMangledName</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getProblems()"><!-- --></A><H3>
getProblems</H3>
<PRE>
public java.util.List <B>getProblems</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#getProblems()">getProblems</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a list of javascript errors</DL>
</DD>
</DL>
<HR>
<A NAME="getWorkingCopyOwner()"><!-- --></A><H3>
getWorkingCopyOwner</H3>
<PRE>
public <A HREF="../../../../../../../org/eclipse/wst/jsdt/core/WorkingCopyOwner.html" title="class in org.eclipse.wst.jsdt.core">WorkingCopyOwner</A> <B>getWorkingCopyOwner</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="ifOffsetInImportNode(int)"><!-- --></A><H3>
ifOffsetInImportNode</H3>
<PRE>
public boolean <B>ifOffsetInImportNode</B>(int&nbsp;offset)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#ifOffsetInImportNode(int)">ifOffsetInImportNode</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>if the offset is within a script import node.</DL>
</DD>
</DL>
<HR>
<A NAME="reconcileCompilationUnit()"><!-- --></A><H3>
reconcileCompilationUnit</H3>
<PRE>
public void <B>reconcileCompilationUnit</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#reconcileCompilationUnit()">IJsTranslation</A></CODE></B></DD>
<DD>checks the CU for errors/consistancy.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#reconcileCompilationUnit()">reconcileCompilationUnit</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="release()"><!-- --></A><H3>
release</H3>
<PRE>
public void <B>release</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#release()">IJsTranslation</A></CODE></B></DD>
<DD>release the translation. always a good idea to do when you're done. you may notice document and model locks if not.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#release()">release</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setProblemCollectingActive(boolean)"><!-- --></A><H3>
setProblemCollectingActive</H3>
<PRE>
public void <B>setProblemCollectingActive</B>(boolean&nbsp;collect)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#setProblemCollectingActive(boolean)">IJsTranslation</A></CODE></B></DD>
<DD>start/stop collecting problems within the javascript unit.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#setProblemCollectingActive(boolean)">setProblemCollectingActive</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="classpathChange()"><!-- --></A><H3>
classpathChange</H3>
<PRE>
public void <B>classpathChange</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#classpathChange()">IJsTranslation</A></CODE></B></DD>
<DD>notify the translation to update any external dependancies that are created during translation
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html#classpathChange()">classpathChange</A></CODE> in interface <CODE><A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/IJsTranslation.html" title="interface in org.eclipse.wst.jsdt.web.core.javascript">IJsTranslation</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JsTranslation.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsNameManglerUtil.html" title="class in org.eclipse.wst.jsdt.web.core.javascript"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../../org/eclipse/wst/jsdt/web/core/javascript/JsTranslationAdapter.html" title="class in org.eclipse.wst.jsdt.web.core.javascript"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../index.html?org/eclipse/wst/jsdt/web/core/javascript/JsTranslation.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="JsTranslation.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>