public static CompletionJavaDoc getCompletionJavaDoc(JTextComponent target) { ExtEditorUI extEditorUI = getExtEditorUI(target); if (extEditorUI != null) { return extEditorUI.getCompletionJavaDoc(); } return null; }
public void actionPerformed(ActionEvent evt, JTextComponent target) { if (target != null) { Completion completion = ExtUtilities.getCompletion(target); if (completion != null) { completion.setPaneVisible(true); } } }
public void actionPerformed(ActionEvent evt, JTextComponent target) { if (target != null) { JDCPopupPanel jdc = ExtUtilities.getJDCPopupPanel(target); if (jdc != null) { jdc.setVisible(false); } } }
public static CompletionJavaDoc getCompletionJavaDoc(JTextComponent target) { ExtEditorUI extEditorUI = getExtEditorUI(target); if (extEditorUI != null) { return extEditorUI.getCompletionJavaDoc(); } return null; }
public void actionPerformed(ActionEvent evt, JTextComponent target) { if (target != null) { Completion completion = ExtUtilities.getCompletion(target); if (completion != null) { completion.setPaneVisible(false); } } }
public void actionPerformed(ActionEvent evt, JTextComponent target) { if (target != null) { JDCPopupPanel jdc = ExtUtilities.getJDCPopupPanel(target); if (jdc != null) { jdc.setVisible(true); } } }
public static Completion getCompletion(JTextComponent target) { ExtEditorUI extEditorUI = getExtEditorUI(target); if (extEditorUI != null) { return extEditorUI.getCompletion(); } return null; }
public void actionPerformed(ActionEvent evt, JTextComponent target) { if (target != null) { Completion completion = ExtUtilities.getCompletion(target); if (completion != null) { completion.setPaneVisible(false); } } }
public void mouseClicked(MouseEvent evt) { if (SwingUtilities.isLeftMouseButton(evt)) { JTextComponent component = extEditorUI.getComponent(); if( component != null && evt.getClickCount() == 2 ) { JDCPopupPanel jdc = ExtUtilities.getJDCPopupPanel(component); if (jdc != null) { Action a = jdc.getActionMap().get(JDCPopupPanel.COMPLETION_SUBSTITUTE_TEXT); if (a != null) { a.actionPerformed(new ActionEvent(component, ActionEvent.ACTION_PERFORMED, "")); // NOI18N } } } } } }
public void actionPerformed(ActionEvent evt, JTextComponent target) { if (target != null) { ExtUtilities.getExtEditorUI(target).hidePopupMenu(); } } }
public void actionPerformed(ActionEvent evt, JTextComponent target) { if (target != null) { Completion completion = ExtUtilities.getCompletion(target); if (completion != null) { completion.setPaneVisible(true); } } }
public void mouseClicked(MouseEvent evt) { if (SwingUtilities.isLeftMouseButton(evt)) { JTextComponent component = extEditorUI.getComponent(); if( component != null && evt.getClickCount() == 2 ) { JDCPopupPanel jdc = ExtUtilities.getJDCPopupPanel(component); if (jdc != null) { Action a = jdc.getActionMap().get(JDCPopupPanel.COMPLETION_SUBSTITUTE_TEXT); if (a != null) { a.actionPerformed(new ActionEvent(component, ActionEvent.ACTION_PERFORMED, "")); // NOI18N } } } } } }
public static Completion getCompletion(JTextComponent target) { ExtEditorUI extEditorUI = getExtEditorUI(target); if (extEditorUI != null) { return extEditorUI.getCompletion(); } return null; }
public void actionPerformed(ActionEvent evt, JTextComponent target) { if (target != null) { Completion completion = ExtUtilities.getCompletion(target); if (completion != null && completion.isPaneVisible()) { if (completion.substituteText(true)) { // completion.setPaneVisible(false); } else { completion.refresh(false); } } } }
private boolean showPopup (MouseEvent evt) { // Show popup menu for right click if (component != null && evt.isPopupTrigger() && popupMenuEnabled) { ExtUtilities.getExtEditorUI(component).showPopupMenu(evt.getX(), evt.getY()); return true; } return false; }
public void mousePressed(MouseEvent evt) { Completion completion = ExtUtilities.getCompletion(component); if (completion != null && completion.isPaneVisible()) { // Hide completion if visible completion.setPaneVisible(false); } super.mousePressed(evt); }
public static Completion getCompletion(JTextComponent target) { ExtEditorUI extEditorUI = getExtEditorUI(target); if (extEditorUI != null) { return extEditorUI.getCompletion(); } return null; }
public void actionPerformed(ActionEvent evt, JTextComponent target) { if (target != null) { Completion completion = ExtUtilities.getCompletion(target); if (completion != null && completion.isPaneVisible()) { completion.getView().up(); } else { super.actionPerformed(evt, target); } } } }
public void actionPerformed(ActionEvent evt, JTextComponent target) { if (target != null) { ExtUtilities.getExtEditorUI(target).hidePopupMenu(); Completion cpl = ExtUtilities.getExtEditorUI(target).getCompletion(); if (cpl != null) { cpl.setPaneVisible(false); } } } }
public void actionPerformed(ActionEvent evt, JTextComponent target) { if (target != null) { Completion completion = ExtUtilities.getCompletion(target); if (completion != null && completion.isPaneVisible()) { completion.getView().down(); } else { super.actionPerformed(evt, target); } } } }