Examples of ITagRegistry


Examples of org.eclipse.jst.jsf.designtime.internal.view.model.ITagRegistry

      }
    }
  }

  private ITagRegistry getTagRegistry(final TagRegistryIdentifier regId) {
    ITagRegistry reg = null;
    if (regId.getProject() != null) {
      reg = CompositeTagRegistryFactory.getInstance().getRegistry(regId);
      if (reg != null) {
        reg.addListener(this);
      }
    }
    return reg;
  }
View Full Code Here

Examples of org.eclipse.jst.jsf.designtime.internal.view.model.ITagRegistry

                        context, viewId);

                if (res instanceof IFile)
                {
                    final IFile srcFile = (IFile) res;
                    final ITagRegistry registry = findTagRegistry(srcFile);
                    if (JSPUtil.isJSPContentType(srcFile) && registry != null)
                    {
                        // if we have a jsp file, then return the default
                        // adapter
                        return new JSPViewDefnAdapter(registry);
View Full Code Here

Examples of org.eclipse.jst.jsf.designtime.internal.view.model.ITagRegistry

    protected final ITagRegistry findTagRegistry(final IFile file)
    {
        final IContentTypeManager typeManager = Platform.getContentTypeManager();
        final IContentType contentType =
            typeManager.findContentTypeFor(file.getName());
        ITagRegistry tagRegistry = null;
        if (contentType != null)
        {
            final TagRegistryIdentifier id =
                new TagRegistryIdentifier(file.getProject(), contentType);
            tagRegistry = CompositeTagRegistryFactory.getInstance().getRegistry(id);
View Full Code Here

Examples of org.eclipse.jst.jsf.designtime.internal.view.model.ITagRegistry

      }
    }
  }

  private ITagRegistry getTagRegistry(final TagRegistryIdentifier regId) {
    ITagRegistry reg = null;
    if (regId.getProject() != null) {
      reg = CompositeTagRegistryFactory.getInstance().getRegistry(regId);
      if (reg != null) {
        reg.addListener(this);
      }
    }
    return reg;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.