bytecode: allow anonymous classes; work on editor element; prepare editor in component

This commit is contained in:
anna
2012-05-08 09:14:14 +02:00
parent 12fc5d5a75
commit d0d8e6f8d3
3 changed files with 3 additions and 3 deletions
@@ -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);
@@ -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