Java 类com.intellij.openapi.util.ActiveRunnable 实例源码

项目:tools-idea    文件:RunnerContentUi.java   
@Override
public void validate(final Content content, final ActiveRunnable toRestore) {
  final TabInfo current = myTabs.getSelectedInfo();
  myTabs.getPresentation().setPaintBlocked(true, true);

  select(content, false).doWhenDone(new Runnable() {
    @Override
    public void run() {
      myTabs.getComponent().validate();
      toRestore.run().doWhenDone(new Runnable() {
        @Override
        public void run() {
          myTabs.select(current, true);
          myTabs.getPresentation().setPaintBlocked(false, true);
        }
      });
    }
  });
}
项目:intellij-ce-playground    文件:JBTabs.java   
@NotNull
ActionCallback execute(final TabInfo info, final boolean requestFocus, @NotNull ActiveRunnable doChangeSelection);
项目:tools-idea    文件:JBTabs.java   
@NotNull
ActionCallback execute(final TabInfo info, final boolean requestFocus, @NotNull ActiveRunnable doChangeSelection);
项目:jediterm    文件:JBTabs.java   
@NotNull
ActionCallback execute(final TabInfo info, final boolean requestFocus, @NotNull ActiveRunnable doChangeSelection);
项目:consulo    文件:JBTabs.java   
@Nonnull
ActionCallback execute(final TabInfo info, final boolean requestFocus, @Nonnull ActiveRunnable doChangeSelection);
项目:intellij-ce-playground    文件:ViewContext.java   
void validate(Content content, ActiveRunnable toRestore);
项目:tools-idea    文件:ViewContext.java   
void validate(Content content, ActiveRunnable toRestore);
项目:consulo    文件:ViewContext.java   
void validate(Content content, ActiveRunnable toRestore);