Examples of EmptyIcon


Examples of com.intellij.util.ui.EmptyIcon


    @NotNull
    @Override
    public Icon getIcon() {
        return new EmptyIcon( 0,0 );
    }
View Full Code Here

Examples of com.intellij.util.ui.EmptyIcon

  }

  public static Icon getEmptyIcon(boolean showVisibility) {
    RowIcon baseIcon = new RowIcon(2);
    Icon emptyIcon = Icons.CLASS_ICON != null
                          ? new EmptyIcon(Icons.CLASS_ICON.getIconWidth(), Icons.CLASS_ICON.getIconHeight())
                          : null;
    baseIcon.setIcon(emptyIcon, 0);
    if (showVisibility) {
      emptyIcon = Icons.PUBLIC_ICON != null ? new EmptyIcon(Icons.PUBLIC_ICON.getIconWidth(), Icons.PUBLIC_ICON.getIconHeight()) : null;
      baseIcon.setIcon(emptyIcon, 1);
    }
    return baseIcon;
  }
View Full Code Here

Examples of com.intellij.util.ui.EmptyIcon

      }
      else if (modifierList.hasModifierProperty(PsiModifier.PACKAGE_LOCAL)) {
        setVisibilityIcon(PsiUtil.ACCESS_LEVEL_PACKAGE_LOCAL, baseIcon);
      }
      else {
        Icon emptyIcon = new EmptyIcon(Icons.PUBLIC_ICON.getIconWidth(), Icons.PUBLIC_ICON.getIconHeight());
        baseIcon.setIcon(emptyIcon, 1);
      }
    }
    else if (Icons.PUBLIC_ICON != null) {
        Icon emptyIcon = new EmptyIcon(Icons.PUBLIC_ICON.getIconWidth(), Icons.PUBLIC_ICON.getIconHeight());
        baseIcon.setIcon(emptyIcon, 1);
      }
  }
View Full Code Here

Examples of com.intellij.util.ui.EmptyIcon

      case PsiUtil.ACCESS_LEVEL_PRIVATE:
        icon = Icons.PRIVATE_ICON;
        break;
      default:
        if (Icons.PUBLIC_ICON != null) {
          icon = new EmptyIcon(Icons.PUBLIC_ICON.getIconWidth(), Icons.PUBLIC_ICON.getIconHeight());
        }
        else {
          return;
        }
    }
View Full Code Here

Examples of com.l2fprod.common.swing.icons.EmptyIcon

    protected void configureLabel(JTaskPaneGroup group) {
      label.applyComponentOrientation(group.getComponentOrientation());
      label.setFont(group.getFont());
      label.setText(group.getTitle());
      label.setIcon(
        group.getIcon() == null ? new EmptyIcon() : group.getIcon());     
    }
View Full Code Here

Examples of com.sshtools.common.ui.EmptyIcon

*
* @param model
*/
    public MRUAction(MRUListModel model) {
        putValue(Action.NAME, "Recent");
        putValue(Action.SMALL_ICON, new EmptyIcon(16, 16));
        putValue(Action.SHORT_DESCRIPTION, "Recent connections");
        putValue(Action.LONG_DESCRIPTION, "Recent connection files");
        putValue(Action.MNEMONIC_KEY, new Integer('r'));
        putValue(Action.ACTION_COMMAND_KEY, "recent");
        putValue(StandardAction.ON_MENUBAR, new Boolean(true));
View Full Code Here

Examples of com.sshtools.common.ui.EmptyIcon

*
* @param model
*/
    public MRUAction(MRUListModel model) {
        putValue(Action.NAME, "Recent");
        putValue(Action.SMALL_ICON, new EmptyIcon(16, 16));
        putValue(Action.SHORT_DESCRIPTION, "Recent connections");
        putValue(Action.LONG_DESCRIPTION, "Recent connection files");
        putValue(Action.MNEMONIC_KEY, new Integer('r'));
        putValue(Action.ACTION_COMMAND_KEY, "recent");
        putValue(StandardAction.ON_MENUBAR, new Boolean(true));
View Full Code Here

Examples of jetbrains.communicator.util.icons.EmptyIcon

        if (System.getProperty(IDEtalkProperties.IDEA_IDE_TALK_NO_TOOLBAR_BLINK) == null) {
          myFlag = !myFlag;
        }

        if (myFlag) {
          myToolWindow.setIcon(new EmptyIcon(13, 13));
        }
        else {
          myToolWindow.setIcon(new IconSizeWrapper(IdetalkCoreIcons.IdeTalk.User_toolwindow, blinkingIcon));
        }
      }
View Full Code Here

Examples of jetbrains.communicator.util.icons.EmptyIcon

    return myMessage.indexOf(searchString) >= 0;
  }

  @Override
  public Icon getMessageIcon(int refreshCounter) {
    return new EmptyIcon(3,3);
  }
View Full Code Here

Examples of jetbrains.communicator.util.icons.EmptyIcon

  public Icon getMessageIcon(int refreshCounter) {
    if (refreshCounter <= 2) {
      return getIcon();
    }
    else {
      return new EmptyIcon(getIcon().getIconWidth(), getIcon().getIconHeight());
    }
  }
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.