Examples of searchActionClass()


Examples of com.intellij.struts2.dom.struts.action.Action.searchActionClass()

        if (o instanceof Action) {
          final Action action = (Action) o;
          final StrutsPackage strutsPackage = action.getStrutsPackage();

          final DocumentationBuilder builder = new DocumentationBuilder();
          final PsiClass actionClass = action.searchActionClass();
          builder.addLine("Action", action.getName().getStringValue())
                 .addLine("Class", actionClass != null ? actionClass.getQualifiedName() : null)
                 .addLine("Method", action.getMethod().getStringValue())
                 .addLine("Package", strutsPackage.getName().getStringValue())
                 .addLine("Namespace", strutsPackage.searchNamespace());
View Full Code Here

Examples of com.intellij.struts2.dom.struts.action.Action.searchActionClass()

                                               @NotNull final ProcessingContext processingContext) {
    final Result result = (Result)DomUtil.getDomElement(psiElement);
    assert result != null : psiElement.getText();
    final Action action = result.getParentOfType(Action.class, true);
    assert action != null : psiElement.getText();
    final PsiClass actionClass = action.searchActionClass();
    if (actionClass == null) {
      return PsiReference.EMPTY_ARRAY;
    }

    final int tagValueStartOffset = ElementManipulators.getOffsetInElement(result.getXmlTag());
View Full Code Here

Examples of com.intellij.struts2.dom.struts.action.Action.searchActionClass()

    if (actions.size() != 1) {
      return PsiReference.EMPTY_ARRAY;
    }

    final Action action = actions.get(0);
    return new BeanPropertyPathReferenceSet(psiElement, action.searchActionClass(), supportsReadOnlyProperties) {

      // TODO CTOR creates references eagerly, so we have to subclass here
      @Override
      public boolean isSoft() {
        return false;
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.