Package org.eclipse.jst.jsf.core.jsfappconfig.internal

Examples of org.eclipse.jst.jsf.core.jsfappconfig.internal.IJSFAppConfigManager


       {
           final List symbols = new ArrayList();
           final IFile   fileContext = FileContextUtil.deriveIFileFromContext(context);
           final IProject project = fileContext.getProject();
          
           final IJSFAppConfigManager appconfigMgr = JSFAppConfigManagerFactory.getJSFAppConfigManagerInstance(project);
           final List<ResourceBundleType> resourceBundles = appconfigMgr.getResourceBundles();
          
           for (final ResourceBundleType  resBundle : resourceBundles)
           {           
               final String  basename = getBaseName(resBundle);
               final String  name = getVarName(resBundle);
View Full Code Here


    private List<AbstractDTVariableResolver> retrieveDecorativeVariableResolvers(
            final IProject project)
    {
        //final long  curTime = System.nanoTime();
        final IJSFAppConfigManager manager = JSFAppConfigManagerFactory
                .getJSFAppConfigManagerInstance(project);
        final List<String> variableResolvers = manager.getVariableResolvers();
        final List<String> elResolvers = manager.getELResolvers();
        variableResolvers.addAll(elResolvers);
        final List<AbstractDTVariableResolver> resolvers = new ArrayList<AbstractDTVariableResolver>();
        for (final String variableResolver : variableResolvers)
        {
            final List<String> ids = JSFCorePlugin
View Full Code Here

    }

    private List<AbstractDTPropertyResolver> retrieveDecorativePropertyResolvers(
            final IProject project)
    {
        final IJSFAppConfigManager manager = JSFAppConfigManagerFactory
                .getJSFAppConfigManagerInstance(project);
        final List<String> propertyResolvers = manager.getPropertyResolvers();
        final List<String> elResolvers = manager.getELResolvers();
        propertyResolvers.addAll(elResolvers);
        final List<AbstractDTPropertyResolver> resolvers = new ArrayList<AbstractDTPropertyResolver>();
        for (final String propertyResolver : propertyResolvers)
        {
            final List<String> ids = JSFCorePlugin
View Full Code Here

     *         if none.
     */
    public static String findConverterClass(final String converterId,
            final IProject project)
    {
        final IJSFAppConfigManager manager = JSFAppConfigManagerFactory
                .getJSFAppConfigManagerInstance(project);
        final List<ConverterType> converters = manager.getConverters();

        for (final ConverterType converter : converters)
        {
            if (converter != null && converter.getConverterId() != null
                    && converter.getConverterId().getTextContent() != null)
View Full Code Here

     *         null if none.
     */
    public static String findValidatorClass(final String validatorId,
            final IProject project)
    {
        final IJSFAppConfigManager manager = JSFAppConfigManagerFactory
                .getJSFAppConfigManagerInstance(project);
        final List<ValidatorType> validators = manager.getValidators();

        for (final ValidatorType validatorType : validators)
        {
            if (validatorType != null && validatorType.getValidatorId() != null &&
                    validatorType.getValidatorId().getTextContent() != null)
View Full Code Here

    private List<AbstractDTVariableResolver> retrieveDecorativeVariableResolvers(
            final IProject project)
    {
        //final long  curTime = System.nanoTime();
        final IJSFAppConfigManager manager = JSFAppConfigManagerFactory
                .getJSFAppConfigManagerInstance(project);
        final List<String> variableResolvers = manager.getVariableResolvers();
        final List<AbstractDTVariableResolver> resolvers = new ArrayList<AbstractDTVariableResolver>();
        for (final String variableResolver : variableResolvers)
        {
            final List<String> ids = JSFCorePlugin
                    .getVariableResolversForName(variableResolver);
View Full Code Here

    }

    private List<AbstractDTPropertyResolver> retrieveDecorativePropertyResolvers(
            final IProject project)
    {
        final IJSFAppConfigManager manager = JSFAppConfigManagerFactory
                .getJSFAppConfigManagerInstance(project);
        final List<String> propertyResolvers = manager.getPropertyResolvers();
        final List<AbstractDTPropertyResolver> resolvers = new ArrayList<AbstractDTPropertyResolver>();
        for (final String propertyResolver : propertyResolvers)
        {
            final List<String> ids = JSFCorePlugin
                    .getPropertyResolversForName(propertyResolver);
View Full Code Here

       {
           final List symbols = new ArrayList();
           final IFile   fileContext = FileContextUtil.deriveIFileFromContext(context);
           final IProject project = fileContext.getProject();
          
           final IJSFAppConfigManager appconfigMgr = JSFAppConfigManagerFactory.getJSFAppConfigManagerInstance(project);
           final List<ResourceBundleType> resourceBundles = appconfigMgr.getResourceBundles();
          
           for (final ResourceBundleType  resBundle : resourceBundles)
           {           
               final String  basename = getBaseName(resBundle);
               final String  name = getVarName(resBundle);
View Full Code Here

    private List getManagedBeanSymbols(IProject iProject, int symbolScopeMask)
    {
        List   symbols = new ArrayList();
       
        final IJSFAppConfigManager  configManager = JSFAppConfigManagerFactory.getJSFAppConfigManagerInstance(iProject);
       

        if (configManager != null)
        {
            for (final Iterator aIt = configManager.getManagedBeans().iterator(); aIt.hasNext();)
            {
                ManagedBeanType  bean = (ManagedBeanType) aIt.next();
               
                // only bother with all this if we care about the scope of this bean
                if (isBeanScopeInMask(bean.getManagedBeanScope(), symbolScopeMask))
View Full Code Here

     *         if not found.
     */
    public static String findComponentClass(final String componentType,
            final IProject project)
    {
        final IJSFAppConfigManager manager = JSFAppConfigManagerFactory
                .getJSFAppConfigManagerInstance(project);
        final List<ComponentType> components = manager.getComponents();

        for (final ComponentType component : components)
        {
            final String type = component.getComponentType().getTextContent()
                    .trim();
View Full Code Here

TOP

Related Classes of org.eclipse.jst.jsf.core.jsfappconfig.internal.IJSFAppConfigManager

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.