mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
testing delayed notifications
This commit is contained in:
+8
-1
@@ -64,6 +64,13 @@ public class NotificationTestAction extends AnAction implements DumbAware {
|
||||
"You can<br> close this very<p> very very very long notification by clicking <a href=\"close\">this link</a>. Long long long long. It should be long. Very long. Too long. And even longer.",
|
||||
type, listener);
|
||||
|
||||
messageBus.syncPublisher(Notifications.TOPIC).notify(notification);
|
||||
ApplicationManager.getApplication().executeOnPooledThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
//DebugUtil.sleep(1000);
|
||||
messageBus.syncPublisher(Notifications.TOPIC).notify(notification);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user