Package org.eclipse.jst.jsf.designtime.context

Examples of org.eclipse.jst.jsf.designtime.context.DTFacesContext


            return null;
        }

        synchronized (_facesContexts)
        {
            DTFacesContext context = _facesContexts.get(file);
            if (context == null)
            {
                context = new DTFacesContext(file, _locator);
                context.initialize(_lifecycleListener);
                _facesContexts.put(file, context);
            }
            return context;
        }
    }
View Full Code Here


        final IDTViewHandler viewHandler =
                DesignTimeApplicationManager.getInstance(project)
                        .getViewHandler();
        try
        {
            final DTFacesContext facesContext = manager.getFacesContext(file);
           
            if (facesContext != null)
            {
                final IViewDefnAdapterFactory factory =
                        viewHandler.getViewMetadataAdapterFactory(facesContext);
View Full Code Here

        if (manager != null)
        {
            if (res instanceof IFile)
            {
                final DTFacesContext facesContext = manager
                        .getFacesContext((IFile) res);
                if (facesContext != null)
                {
                    return facesContext.getViewRootHandle();
                }
            }
        }
        return null;
    }
View Full Code Here

            final DesignTimeApplicationManager manager =
                DesignTimeApplicationManager.getInstance(file.getProject());
           
            if (manager != null)
            {
                final DTFacesContext facesContext = manager.getFacesContext(file);
       
                return manager.getVariableResolver().
                    resolveVariable(facesContext, name, file);
            }
        }
View Full Code Here

            final DesignTimeApplicationManager manager =
                DesignTimeApplicationManager.getInstance(file.getProject());
           
            if (manager != null)
            {
                final DTFacesContext facesContext = manager.getFacesContext(file);
               
                if (facesContext != null)
                {
                    return manager.getVariableResolver().
                            getAllVariables(facesContext, file);
View Full Code Here

            DesignTimeApplicationManager  dtAppMgr =
                DesignTimeApplicationManager.getInstance(_file.getProject());

            if (dtAppMgr != null)
            {
                DTFacesContext facesContext = dtAppMgr.getFacesContext(_file);
               
                if (facesContext != null)
                {
                    facesContext.setLocaleString(attribute.getNodeValue());
                }
            }
        }
    }
View Full Code Here

            DesignTimeApplicationManager  dtAppMgr =
                DesignTimeApplicationManager.getInstance(_file.getProject());

            if (dtAppMgr != null)
            {
                DTFacesContext facesContext = dtAppMgr.getFacesContext(_file);
               
                if (facesContext != null)
                {
                    facesContext.setLocaleString(attribute.getNodeValue());
                }
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jst.jsf.designtime.context.DTFacesContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.