Package org.eclipse.jst.pagedesigner.dtmanager.dtinfo

Examples of org.eclipse.jst.pagedesigner.dtmanager.dtinfo.DTInfo


    if (project != null) {
      ITaglibDomainMetaDataModelContext context = TaglibDomainMetaDataQueryHelper.createMetaDataModelContext(project, nsURI);
      if (context != null) {
        Trait trait = TaglibDomainMetaDataQueryHelper.getTrait(context, element.getLocalName(), DTINFO_TRAIT_KEY);
        if (trait != null) {
          DTInfo dtInfoModelObject = (DTInfo)trait.getValue();
          if (dtInfoModelObject != null) {
            dtInfo = new DefaultDTInfo(dtInfoModelObject, trait);
          }
        }
      }
View Full Code Here


        final IMetaDataDomainContext context = MetaDataQueryContextFactory.getInstance().createTaglibDomainModelContext(file);
        final ITaglibDomainMetaDataQuery query = MetaDataQueryFactory.getInstance().createQuery(context);
        if (query != null) {
          final Trait trait = query.getQueryHelper().getTrait(nsURI, element.getLocalName(), DTINFO_TRAIT_KEY);
          if (trait != null) {
            final DTInfo dtInfoModelObject = (DTInfo)trait.getValue();
            if (dtInfoModelObject != null) {
              dtInfo = new DefaultDTInfo(dtInfoModelObject, trait);
            }
          }
        }
View Full Code Here

TOP

Related Classes of org.eclipse.jst.pagedesigner.dtmanager.dtinfo.DTInfo

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.