Examples of JspFile


Examples of com.intellij.psi.jsp.JspFile

        final URL url = parseURL(value, myActionExtension);
        if (url == null) {
          return;
        }

        final JspFile jspFile = JspPsiUtil.getJspFile(value);
        assert jspFile != null;
        if (!FileModificationService.getInstance().prepareFileForWrite(jspFile)) return;

        XmlTag rootTag = jspFile.getRootTag();
        String prefix = rootTag.getPrefixByNamespace(StrutsConstants.TAGLIB_STRUTS_UI_URI);

        if (StringUtil.isEmpty(prefix)) {
          XmlNamespaceHelper extension = XmlNamespaceHelper.getHelper(jspFile);
          prefix = ExtendedTagInsertHandler.suggestPrefix(jspFile, StrutsConstants.TAGLIB_STRUTS_UI_URI);
View Full Code Here

Examples of com.intellij.psi.jsp.JspFile

        }
      }
    }

    private void wrapValue(String prefix, XmlAttributeValue value, URL url, boolean inline) {
      final JspFile jspFile = JspPsiUtil.getJspFile(value);
      assert jspFile != null;

      Project project = jspFile.getProject();
      TextRange range = value.getValueTextRange();
      Document document = PsiDocumentManager.getInstance(project).getDocument(jspFile);
      assert document != null;
      PsiDocumentManager.getInstance(project).doPostponedOperationsAndUnblockDocument(document);
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.