|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jst.jsf.designtime.context.DTFacesContext
public final class DTFacesContext
Represents a design-time version of the JSF FacesContext for a particular web application. Client may not sub-class.
Constructor Summary | |
---|---|
DTFacesContext(IAdaptable contextObject,
IExternalContextFactoryLocator locator)
|
|
DTFacesContext(IExternalContextFactoryLocator locator)
Deprecated. Use DTFacesContext(IAdaptable, IExternalContextFactoryLocator) |
Method Summary | |
---|---|
IResource |
adaptContextObject()
|
IDTExternalContext |
getDTExternalContext(IAdaptable contextObject)
|
java.lang.String |
getLocaleString()
Deprecated. Use IDTViewHandler.calculateLocale instead |
org.eclipse.jst.jsf.designtime.internal.view.IViewRootHandle |
getViewRootHandle()
Returns a new copy of the view root handle. |
void |
initialize(org.eclipse.jst.jsf.common.internal.resource.LifecycleListener lifecycleListener)
THIS IS NOT AN API METHOD. |
void |
setLocaleString(java.lang.String newLocaleString)
Deprecated. Use IDTViewHandler.calculateLocale instead |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DTFacesContext(IAdaptable contextObject, IExternalContextFactoryLocator locator)
contextObject
- locator
- @Deprecated public DTFacesContext(IExternalContextFactoryLocator locator)
locator
- Method Detail |
---|
public void initialize(org.eclipse.jst.jsf.common.internal.resource.LifecycleListener lifecycleListener)
lifecycleListener
- public IDTExternalContext getDTExternalContext(IAdaptable contextObject)
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.
public org.eclipse.jst.jsf.designtime.internal.view.IViewRootHandle getViewRootHandle()
Returns a new copy of the view root handle.
return null if the value of the view root
@Deprecated public java.lang.String getLocaleString()
@Deprecated public void setLocaleString(java.lang.String newLocaleString)
newLocaleString
- public IResource adaptContextObject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |