Package org.eclipse.jst.jsf.common.metadata

Examples of org.eclipse.jst.jsf.common.metadata.Model


    public TaglibData(String nsURI) {
      this.nsURI = nsURI;
      final IMetaDataDomainContext context = MetaDataQueryContextFactory.getInstance().createTaglibDomainModelContext(project);
      final ITaglibDomainMetaDataQuery query = MetaDataQueryFactory.getInstance().createQuery(context);

      final Model model = query.findTagLibraryModel(nsURI);
      final Trait trait = query.findTrait(model, "display-label"); //$NON-NLS-1$
      this.name = TraitValueHelper.getValueAsString(trait);
    }
View Full Code Here


    private String name;
    public TaglibData(String nsURI) {
      this.nsURI = nsURI;
      final IMetaDataDomainContext mdcontext = MetaDataQueryContextFactory.getInstance().createTaglibDomainModelContext(project);
      final ITaglibDomainMetaDataQuery query = MetaDataQueryFactory.getInstance().createQuery(mdcontext);
      final Model model = query.findTagLibraryModel(nsURI);
      final Trait trait = query.findTrait(model, "display-label"); //$NON-NLS-1$
      this.name = TraitValueHelper.getValueAsString(trait);
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jst.jsf.common.metadata.Model

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.