Examples of findTrait()


Examples of org.eclipse.jst.jsf.common.metadata.query.internal.taglib.ITaglibDomainMetaDataQuery.findTrait()

      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);
    }
    public String getNSURI() {
      return nsURI;
    }
View Full Code Here

Examples of org.eclipse.jst.jsf.common.metadata.query.internal.taglib.ITaglibDomainMetaDataQuery.findTrait()

    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);
    }
    public String getNSURI() {
      return nsURI;
    }
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.