org.eclipse.wst.jsdt.web.core.javascript
Class JsTranslationAdapter
java.lang.Object
org.eclipse.wst.jsdt.web.core.javascript.JsTranslationAdapter
public class JsTranslationAdapter
- extends java.lang.Object
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.
this adapter loads translation information from extension points. this is to allow more complicated html/js translations through extensions.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsTranslationAdapter
public JsTranslationAdapter(IDOMModel xmlModel)
shouldListenForChanges
public void shouldListenForChanges(boolean listenForProjectChanges)
getJavaProject
public IJavaScriptProject getJavaProject()
getJSPTranslation
public IJsTranslation getJSPTranslation(boolean listenForChanges)
- Returns the JSPTranslation for this adapter.
- Returns:
- a JSPTranslationExtension
isAdapterForType
public boolean isAdapterForType(java.lang.Object type)
notifyChanged
public void notifyChanged(INodeNotifier notifier,
int eventType,
java.lang.Object changedFeature,
java.lang.Object oldValue,
java.lang.Object newValue,
int pos)
release
public void release()
resourceChanged
public void resourceChanged(IResourceChangeEvent event)