Examples of ITaglibRecord


Examples of org.eclipse.jst.jsp.core.taglib.ITaglibRecord

    }
    return doc;
  }

  private long getModificationStamp(String reference) {
    ITaglibRecord record = TaglibIndex.resolve(getCurrentParserPath().toString(), reference, false);
    long modificationStamp = IResource.NULL_STAMP;
    if (record != null) {
      switch (record.getRecordType()) {
        case (ITaglibRecord.TLD) : {
          IFile tldfile = ResourcesPlugin.getWorkspace().getRoot().getFile(((ITLDRecord) record).getPath());
          if (tldfile.isAccessible()) {
            modificationStamp = tldfile.getModificationStamp();
          }
View Full Code Here

Examples of org.eclipse.jst.jsp.core.taglib.ITaglibRecord

   */
  protected CMDocument loadTaglib(String uri) {
    CMDocument document = null;
    IPath currentPath = getCurrentParserPath();
    if (currentPath != null) {
      ITaglibRecord record = TaglibIndex.resolve(currentPath.toString(), uri, false);
      if (record != null) {
        document = getCMDocumentBuilder().createCMDocument(record);
      }
      else {
        /* Not a very-often used code path (we hope) */
 
View Full Code Here

Examples of org.eclipse.jst.jsp.core.taglib.ITaglibRecord

      String uri = documentRegion.getText(uriValueRegion);

      if (file != null) {
        uri = StringUtils.stripQuotes(uri);
        if (uri.length() > 0) {
          ITaglibRecord reference = TaglibIndex.resolve(file.getFullPath().toString(), uri, false);
          if (reference != null) {
            switch (reference.getRecordType()) {
              case (ITaglibRecord.TLD) : {
                ITLDRecord record = (ITLDRecord) reference;
                IResource tldfile = ResourcesPlugin.getWorkspace().getRoot().getFile(record.getPath());
                addDependsOn(tldfile);
              }
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.