org.eclipse.jst.jsf.designtime.context
Class DTFacesContext

java.lang.Object
  extended by 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.


Constructor Summary
DTFacesContext(IExternalContextFactoryLocator locator)
           
 
Method Summary
 IDTExternalContext getDTExternalContext(org.eclipse.core.runtime.IAdaptable contextObject)
           
 java.lang.String getLocaleString()
           
 void setLocaleString(java.lang.String newLocaleString)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTFacesContext

public DTFacesContext(IExternalContextFactoryLocator locator)
Parameters:
locator -
Method Detail

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 -