/** * Always enables this action if it is connected to a text editor. * If the associated editor is <code>null</code>, the action is disabled. * Subclasses may override. */ public void update() { setEnabled(getTextEditor() != null); }
/** * Always enables this action if it is connected to a text editor. * If the associated editor is <code>null</code>, the action is disabled. * Subclasses may override. */ @Override public void update() { setEnabled(getTextEditor() != null); }
/** * Always enables this action if it is connected to a text editor. * If the associated editor is <code>null</code>, the action is disabled. * Subclasses may override. */ @Override public void update() { setEnabled(getTextEditor() != null); }