Link Here
|
616 |
*/ |
616 |
*/ |
617 |
private void addCommandSupport(final Control control) { |
617 |
private void addCommandSupport(final Control control) { |
618 |
fCommandSequence= fContentAssistant.getTriggerSequence(); |
618 |
fCommandSequence= fContentAssistant.getTriggerSequence(); |
619 |
if (!fCommandSequence.isEmpty() && fContentAssistant.isRepeatedInvocationMode()) { |
619 |
if (fCommandSequence != null && !fCommandSequence.isEmpty() && fContentAssistant.isRepeatedInvocationMode()) { |
620 |
control.addFocusListener(new FocusListener() { |
620 |
control.addFocusListener(new FocusListener() { |
621 |
private CommandKeyListener fCommandKeyListener; |
621 |
private CommandKeyListener fCommandKeyListener; |
622 |
public void focusGained(FocusEvent e) { |
622 |
public void focusGained(FocusEvent e) { |