void (@Nullable SmartPsiElementPointer<PsiElement> element, @NotNull @Nls String text, @NotNull Rectangle viewRect, @Nullable String ref) { myIsEmpty = false; if (myManager == null) return; myEditorPane.setText(text); setElement(element); if (element != null && element.getElement() != null) { myManager.updateToolWindowTabName(element.getElement()); } showHint(viewRect, ref); }