public void removeUpdate(DocumentEvent e) {
updateQualifications();
}
});
final AutoCompleteManager autoCompleteManager = new AutoCompleteManager(this, perspective);
getCALEditor().addKeyListener(new KeyAdapter() {
@Override
public void keyPressed(KeyEvent e) {
// The gesture is control - space - a la Eclipse et al.
if ((e.isControlDown()) && (e.getKeyCode() == KeyEvent.VK_SPACE)) {
// Show the autocomplete popup just underneath the cursor
try {
autoCompleteManager.showCodeEditorPopupMenu();
} catch (AutoCompletePopupMenu.AutoCompleteException ex) {
setStatusMessage(NavigatorMessages.getString("NAV_NoAutocompleteAvailable_Message"));
}
}
}