protected void startEventPropagation() {
    Application app = ApplicationManager.getApplication();
    if (app != null) {
      ExtensionPoint<KeyedLazyInstance<VirtualFileSystem>> extensionPoint = app.getExtensionArea().getExtensionPointIfRegistered(VirtualFileSystem.EP_NAME.getName());
      MessageBusConnection connection;
      if (extensionPoint != null) {
        Disposable extensionDisposable = ExtensionPointUtil.createExtensionDisposable(this, extensionPoint, ep -> ep.getKey().equals(getProtocol()));
        connection = app.getMessageBus().connect(extensionDisposable);
      }
      else {
        connection = app.getMessageBus().connect();
      }

      connection.subscribe(
        VirtualFileManager.VFS_CHANGES, new BulkVirtualFileListenerAdapter(myEventDispatcher.getMulticaster(), this));
    }
  }
protected void startEventPropagation()