Examples of StatusBar


Examples of com.extjs.gxt.ui.client.widget.StatusBar

  private final Component createContentPanel(String txt) {
    ContentPanel content = new ContentPanel();
    content.setHeading(constants.information());
    content.setLayout(new FitLayout());
    content.setPixelSize(300, 100);
    StatusBar statusBar = new StatusBar();
    statusBar.showBusy(txt);
    content.add(statusBar, new RowData(1.0, 1.0, new Margins(20, 20, 20, 20)));
      return content;
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.StatusBar

public class StatusButtonBar extends ButtonBar {

  protected StatusBar statusBar;

  public StatusButtonBar() {
    statusBar = new StatusBar();
    add(new ButtonAdapter(statusBar));
    add(new FillButton());
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.StatusBar

public class StatusButtonBar extends ButtonBar {

  protected StatusBar statusBar;

  public StatusButtonBar() {
    statusBar = new StatusBar();
    add(new ButtonAdapter(statusBar));
    add(new FillButton());
  }
View Full Code Here

Examples of com.intellij.openapi.wm.StatusBar

    });
  }

  public void projectOpened()
  {
    StatusBar statusBar = WindowManager.getInstance().getStatusBar(project);
    if (statusBar == null)
    {
      return;
    }

    statusBar.addCustomIndicationComponent(this);
    WindowManager.getInstance().getFrame(project).repaint();

    reviewExternalizationListener = new IReviewExternalizationListener()
    {
      public void loadFailed(final File file, Exception exception)
View Full Code Here

Examples of com.intellij.openapi.wm.StatusBar

      MessageType messageType = message.getType().getMessageType();

      label.setIcon(messageType.getDefaultIcon());
      label.setText(RevuBundle.message("statusPopup.alert.text", message.getTitle()));

      StatusBar statusBar = WindowManager.getInstance().getStatusBar(project);
      if (statusBar != null)
      {
        statusBar.fireNotificationPopup(label, messageType.getPopupBackground());
      }
    }
View Full Code Here

Examples of com.intellij.openapi.wm.StatusBar

    //endregion

    highlightManager.addOccurrenceHighlights(
        editor, usages.toArray(new PsiElement[usages.size()]), textattributes, false, null);
    final WindowManager windowManager = WindowManager.getInstance();
    final StatusBar statusBar = windowManager.getStatusBar(project);
    assert statusBar != null;
    statusBar.setInfo("Press Esc to remove highlighting");
  }
View Full Code Here

Examples of com.intellij.openapi.wm.StatusBar

      Runnable runnable = new Runnable() {
        public void run() {

          if (!myProject.isDisposed()) {
            final StatusBar statusBar = WindowManager.getInstance().getStatusBar(myProject);
            if (null != statusBar) {
              statusBar.removeWidget(statusWidget.ID());
            }
          }
        }
      };
      try {
View Full Code Here

Examples of com.intellij.openapi.wm.StatusBar

    });
  }

  public void projectOpened()
  {
    StatusBar statusBar = WindowManager.getInstance().getStatusBar(project);
    if (statusBar == null)
    {
      return;
    }

    statusBar.addCustomIndicationComponent(this);
    WindowManager.getInstance().getFrame(project).repaint();

    reviewExternalizationListener = new IReviewExternalizationListener()
    {
      public void loadFailed(final File file, Exception exception)
View Full Code Here

Examples of com.intellij.openapi.wm.StatusBar

      MessageType messageType = message.getType().getMessageType();

      label.setIcon(messageType.getDefaultIcon());
      label.setText(RevuBundle.message("statusPopup.alert.text", message.getTitle()));

      StatusBar statusBar = WindowManager.getInstance().getStatusBar(project);
      if (statusBar != null)
      {
        statusBar.fireNotificationPopup(label, messageType.getPopupBackground());
      }
    }
View Full Code Here

Examples of com.intellij.openapi.wm.StatusBar

   * @param messageType type of balloon
   * @param message that will be shown
   */
  private void showMessageBubble(final AnActionEvent actionEvent, final MessageType messageType, final String message) {

    StatusBar statusBar = WindowManager.getInstance()
        .getStatusBar(actionEvent.getData(PlatformDataKeys.PROJECT));


    JBPopupFactory.getInstance()
        .createHtmlTextBalloonBuilder(message, messageType, null)
        .setFadeoutTime(7500)
        .createBalloon()
        .show(RelativePoint.getCenterOf(statusBar.getComponent()),
            Balloon.Position.atRight);
  }
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.