@Override
 public boolean isSelected(AnActionEvent e) {
   return mySupport.isEnabled();
 }
 @Override
 public void setSelected(AnActionEvent e, boolean state) {
   mySupport.setEnabled(state);
 }
 @Override
 public boolean isVisible() {
   return mySupport.isSupported();
 }