Package com.intellij.util.ui.update

Examples of com.intellij.util.ui.update.Activatable


    myUpdater = createUpdater();
    myProgress = createProgressIndicator();
    Disposer.register(this, myUpdater);

    new UiNotifyConnector(tree, new Activatable() {
      public void showNotify() {
        if (myWasEverShown && myUpdateFromRootRequested) {
          updateFromRoot();
        }
        myWasEverShown = true;
View Full Code Here


      resortChildren(childNode);
    }
  }

  protected final void initRootNode() {
    final Activatable activatable = new Activatable() {
      public void showNotify() {
        if (!myRootNodeWasInitialized) {
          initRootNodeNow();
        }
      }

      public void hideNotify() {
      }
    };

    if (myUpdateIfInactive || ApplicationManager.getApplication().isUnitTestMode()) {
      activatable.showNotify();     
    } else {
      new UiNotifyConnector.Once(myTree, activatable);
    }
  }
View Full Code Here

      public void activeKeymapChanged(final Keymap keymap) {
        rebound();
      }
    };

    myUiNotify = new UiNotifyConnector(myComponent, new Activatable() {
      public void showNotify() {
        _connect();
      }

      public void hideNotify() {
View Full Code Here

    }
    return (IdeGlassPane)gp;
  }

  public static void installPainter(final JComponent target, final Painter painter, final Disposable parent) {
    final UiNotifyConnector connector = new UiNotifyConnector(target, new Activatable() {

      IdeGlassPane myPane;

      public void showNotify() {
        IdeGlassPane pane = find(target);
View Full Code Here

TOP

Related Classes of com.intellij.util.ui.update.Activatable

Copyright © 2018 www.massapicom. 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.