@Override public void update(final AnActionEvent e) { super.update(e); final Presentation presentation = e.getPresentation(); presentation.setIcon(SvnIcons.ShowIntegratedFrom); presentation.setText(SvnBundle.message("committed.changes.action.enable.merge.highlighting")); presentation.setDescription( SvnBundle.message("committed.changes.action.enable.merge.highlighting.description.text")); }
@Override public void update(AnActionEvent e) { super.update(e); Presentation presentation = e.getPresentation(); presentation.setEnabled(myContainerNodes.size() > 1); }
public void update(final AnActionEvent e) { super.update(e); }
public void update(final AnActionEvent e) { super.update(e); e.getPresentation().setEnabled(mySettings.UI_SHOW_MODULES); }
public void update(final AnActionEvent e) { super.update(e); e.getPresentation().setVisible(myCanGroupByChangeList); }
public void update(final AnActionEvent e) { super.update(e); e.getPresentation().setEnabled(!myGroupByChangeList); }
@Override public void update(AnActionEvent e) { super.update(e); e.getPresentation().setIcon(myConfiguration.SOFT_WRAPS_IN_SHORT_DIFF ? myIcon : null); }
@Override public final void update(@NotNull final AnActionEvent event) { super.update(event); final Presentation presentation = event.getPresentation(); presentation.setEnabled(isValidBase()); }