ApplicationManager.getApplication().getMessageBus().connect().subscribe(ProgressWindow.TOPIC, new ProgressWindow.Listener() {
@Override
- public void created(ProgressWindow pw) {
+ public void progressWindowCreated(ProgressWindow pw) {
Disposer.register(pw, new Disposable() {
@Override
public void dispose() {
private int myDelayInMillis = DEFAULT_PROGRESS_DIALOG_POSTPONE_TIME_MILLIS;
public interface Listener {
- void created(ProgressWindow pw);
+ void progressWindowCreated(ProgressWindow pw);
}
public static final Topic<Listener> TOPIC = Topic.create("progress window", Listener.class);
}
}
});
- ApplicationManager.getApplication().getMessageBus().syncPublisher(TOPIC).created(this);
+ ApplicationManager.getApplication().getMessageBus().syncPublisher(TOPIC).progressWindowCreated(this);
}
@Override