public PopupManager getPopupManager() { if (popupManager == null) { synchronized (getComponentLock()) { JTextComponent component = getComponent(); if (component != null) { popupManager = new PopupManager(component); } } } return popupManager; }
public Completion getCompletion() { if (completion == null) { if (noCompletion) { return null; } synchronized (getComponentLock()) { JTextComponent component = getComponent(); if (component != null) { BaseKit kit = Utilities.getKit(component); if (kit != null && kit instanceof ExtKit) { try { Method m = kit.getClass().getMethod("createCompletion", ExtEditorUI.class); //NOI18N completion = (Completion) m.invoke(kit, this); } catch (Exception e) { completion = null; } if (completion == null) { noCompletion = true; } } } } } return completion; }
public CompletionJavaDoc getCompletionJavaDoc() { if (completionJavaDoc == null) { if (noCompletionJavaDoc) { return null; } synchronized (getComponentLock()) { JTextComponent component = getComponent(); if (component != null) { BaseKit kit = Utilities.getKit(component); if (kit != null && kit instanceof ExtKit) { try { Method m = kit.getClass().getMethod("createCompletionJavaDoc", ExtEditorUI.class); //NOI18N completionJavaDoc = (CompletionJavaDoc) m.invoke(kit, this); } catch (Exception e) { completionJavaDoc = null; } if (completionJavaDoc == null) { noCompletionJavaDoc = true; } } } } } return completionJavaDoc; } }
public Completion getCompletion() { if (completion == null) { if (noCompletion) { return null; } synchronized (getComponentLock()) { JTextComponent component = getComponent(); if (component != null) { BaseKit kit = Utilities.getKit(component); if (kit != null && kit instanceof ExtKit) { completion = ((ExtKit)kit).createCompletion(this); if (completion == null) { noCompletion = true; } } } } } return completion; }
public CompletionJavaDoc getCompletionJavaDoc() { if (completionJavaDoc == null) { if (noCompletionJavaDoc) { return null; } synchronized (getComponentLock()) { JTextComponent component = getComponent(); if (component != null) { BaseKit kit = Utilities.getKit(component); if (kit != null && kit instanceof ExtKit) { completionJavaDoc = ((ExtKit)kit).createCompletionJavaDoc(this); if (completionJavaDoc == null) { noCompletionJavaDoc = true; } } } } } return completionJavaDoc; }
public Completion getCompletion() { if (completion == null) { if (noCompletion) { return null; } synchronized (getComponentLock()) { JTextComponent component = getComponent(); if (component != null) { BaseKit kit = Utilities.getKit(component); if (kit != null && kit instanceof ExtKit) { completion = ((ExtKit) kit).createCompletion(this); if (completion == null) { noCompletion = true; } } } } } return completion; }
synchronized (extEditorUI.getComponentLock()) {
synchronized (extEditorUI.getComponentLock()) {
synchronized (extEditorUI.getComponentLock()) {
synchronized (extEditorUI.getComponentLock()) {
synchronized (extEditorUI.getComponentLock()) {
synchronized (extEditorUI.getComponentLock()) {
synchronized (extEditorUI.getComponentLock()) {
synchronized (extEditorUI.getComponentLock()) {
synchronized (extEditorUI.getComponentLock()) {
synchronized (extEditorUI.getComponentLock()) {