org.eclipse.jst.jsf.designtime.context
Class DTFacesContext
java.lang.Object
org.eclipse.jst.jsf.designtime.context.DTFacesContext
public final class DTFacesContext
- extends java.lang.Object
Represents a design-time version of the JSF FacesContext for a particular
web application.
Client may not sub-class.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DTFacesContext
public DTFacesContext(IExternalContextFactoryLocator locator)
- Parameters:
locator
-
getDTExternalContext
public IDTExternalContext getDTExternalContext(org.eclipse.core.runtime.IAdaptable contextObject)
- Parameters:
contextObject
- -- the object corresponding to the external context.
Usually an IFile point to a file containing the external context. It must
be adaptable to an IFile.
- Returns:
- the designtime external context or null if one is not defined
for this contextObject
getLocaleString
public java.lang.String getLocaleString()
- Returns:
- the current locale string
setLocaleString
public void setLocaleString(java.lang.String newLocaleString)
- Parameters:
newLocaleString
-