Package org.objectstyle.wolips.wodclipse.core.completion

Examples of org.objectstyle.wolips.wodclipse.core.completion.WodCacheEntry


            commentText = commentText.substring(2).trim();
            if (commentText.toLowerCase().startsWith("inherit ")) {
              String componentName = commentText.substring("inherit ".length()).trim();
              try {
                WodParserCache inheritCache = WodParserCache.parser(_wodFile.getProject(), componentName);
                WodCacheEntry wodCacheEntry = inheritCache.getWodEntry();
                IWodModel parentWodModel = wodCacheEntry.getModel();
                for (IWodElement parentWodElement : parentWodModel.getElements()) {
                  SimpleWodElement inheritedWodElement = new SimpleWodElement(parentWodElement);
                  inheritedWodElement.setInherited(true);
                  addElement(inheritedWodElement);
                }
View Full Code Here


      visitElement(rootElement, inlineProblems, validate);

      if (validate) {
        HtmlCacheEntry htmlCacheEntry = _cache.getHtmlEntry();
        htmlCacheEntry.getHtmlElementCache().clearCache();
        WodCacheEntry wodCacheEntry = _cache.getWodEntry();
        IFile wodFile = wodCacheEntry.getFile();
        IWodModel wodModel = wodCacheEntry.getModel();
        for (FuzzyXMLElement woElement : _woElements) {
          String woElementName = woElement.getAttributeValue("name");
          int startOffset = woElement.getOffset() + woElement.getNameOffset() + 1;
          int endOffset = startOffset + woElement.getNameLength() - 1;
          HtmlElementName elementName = new HtmlElementName(htmlCacheEntry.getFile(), woElementName, startOffset, endOffset);
View Full Code Here

TOP

Related Classes of org.objectstyle.wolips.wodclipse.core.completion.WodCacheEntry

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.