コード例 #1
0
 @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"));
 }
コード例 #2
0
 public void update(final AnActionEvent e) {
   super.update(e);
   e.getPresentation().setVisible(myCanGroupByChangeList);
 }
コード例 #3
0
 public void update(final AnActionEvent e) {
   super.update(e);
   e.getPresentation().setEnabled(!myGroupByChangeList);
 }