mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
bytecode: allow anonymous classes; work on editor element; prepare editor in component
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ public abstract class DockablePopupManager<T extends JComponent & Disposable> {
|
||||
|
||||
protected abstract T createComponent();
|
||||
protected abstract void doUpdateComponent(PsiElement element, PsiElement originalElement, T component);
|
||||
protected abstract void doUpdateComponent(Editor injectedEditor, PsiFile psiFile);
|
||||
protected abstract void doUpdateComponent(Editor editor, PsiFile psiFile);
|
||||
protected abstract void doUpdateComponent(@NotNull PsiElement element);
|
||||
|
||||
protected abstract String getTitle(PsiElement element);
|
||||
|
||||
+2
-2
@@ -862,8 +862,8 @@ public class DocumentationManager extends DockablePopupManager<DocumentationComp
|
||||
fetchDocInfo(getDefaultCollector(element, originalElement), component);
|
||||
}
|
||||
|
||||
protected void doUpdateComponent(Editor injectedEditor, PsiFile psiFile) {
|
||||
showJavaDocInfo(injectedEditor, psiFile, false, true);
|
||||
protected void doUpdateComponent(Editor editor, PsiFile psiFile) {
|
||||
showJavaDocInfo(editor, psiFile, false, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user