private void maybeShowPreview() {
    boolean shouldShow = !myProcessor.isShown();
    EditorSettingsExternalizable.getInstance().setShowIntentionPreview(shouldShow);
    if (shouldShow) {
      myProcessor.activate();
      showPreview();
    }
    else {
      myProcessor.hide();
    }
  }
private void maybeShowPreview()