Package com.intellij.ide.projectView

Examples of com.intellij.ide.projectView.PresentationData.addText()


    protected PresentationData createPresentation()
    {
      PresentationData presentation = new PresentationData();
      if (myName == null)
      {
        presentation.addText(RevuBundle.message("browsing.group.values.none.text"),
          SimpleTextAttributes.GRAYED_BOLD_ATTRIBUTES);
      }
      else
      {
        presentation.addText(myName, SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES);
View Full Code Here


        presentation.addText(RevuBundle.message("browsing.group.values.none.text"),
          SimpleTextAttributes.GRAYED_BOLD_ATTRIBUTES);
      }
      else
      {
        presentation.addText(myName, SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES);
      }

      presentation.addText(" [" + children.size() + "]", SimpleTextAttributes.GRAY_ATTRIBUTES);

      return presentation;
View Full Code Here

      else
      {
        presentation.addText(myName, SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES);
      }

      presentation.addText(" [" + children.size() + "]", SimpleTextAttributes.GRAY_ATTRIBUTES);

      return presentation;
    }

    @Override
View Full Code Here

    @NotNull
    protected PresentationData createPresentation()
    {
      PresentationData presentation = new PresentationData();

      presentation.addText(" " + issue.getPresentableSummary(), SimpleTextAttributes.REGULAR_ATTRIBUTES);

      presentation.setTooltip(issue.getDesc());

      return presentation;
    }
View Full Code Here

    protected PresentationData createPresentation()
    {
      PresentationData presentation = new PresentationData();
      if (myName == null)
      {
        presentation.addText(RevuBundle.message("browsing.group.values.none.text"),
          SimpleTextAttributes.GRAYED_BOLD_ATTRIBUTES);
      }
      else
      {
        presentation.addText(myName, SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES);
View Full Code Here

        presentation.addText(RevuBundle.message("browsing.group.values.none.text"),
          SimpleTextAttributes.GRAYED_BOLD_ATTRIBUTES);
      }
      else
      {
        presentation.addText(myName, SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES);
      }

      presentation.addText(" [" + children.size() + "]", SimpleTextAttributes.GRAY_ATTRIBUTES);

      return presentation;
View Full Code Here

      else
      {
        presentation.addText(myName, SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES);
      }

      presentation.addText(" [" + children.size() + "]", SimpleTextAttributes.GRAY_ATTRIBUTES);

      return presentation;
    }

    @Override
View Full Code Here

    @NotNull
    protected PresentationData createPresentation()
    {
      PresentationData presentation = new PresentationData();

      presentation.addText(" " + issue.getSummary(), SimpleTextAttributes.REGULAR_ATTRIBUTES);

      presentation.setTooltip(issue.getDesc());

      return presentation;
    }
View Full Code Here

      final PresentationData presentationData = getPresentation();
      final String name = mySet.getName();

      if (fileSet.getFiles().isEmpty()) {
        presentationData.addText(name, getErrorAttributes());
        presentationData.setTooltip(StrutsBundle.message("facet.fileset.no.files.attached"));
      }
      else {
        presentationData.addText(name, getPlainAttributes());
        presentationData.setLocationString(Integer.toString(fileSet.getFiles().size()));
View Full Code Here

      if (fileSet.getFiles().isEmpty()) {
        presentationData.addText(name, getErrorAttributes());
        presentationData.setTooltip(StrutsBundle.message("facet.fileset.no.files.attached"));
      }
      else {
        presentationData.addText(name, getPlainAttributes());
        presentationData.setLocationString(Integer.toString(fileSet.getFiles().size()));
      }
    }

    public SimpleNode[] getChildren() {
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.