@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")); }
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); }