@Override
    public boolean isEnableForComponent(Component invoker) {
        if(this.extAlert == null) {
            return false;
        }
        if ("treeAlert".equals(invoker.getName())) {
            setEnabled(!this.extAlert.getAlertPanel().getTreeAlert().isRowSelected(0) && 
                    isButtonEnabledForNumberOfSelectedAlerts(getNumberOfSelectedAlerts()));
            return true;
        }
        return false;
    }
@ Override public boolean isEnableForComponent ( Component invoker ) { if ( this . extAlert == null ) { return false ; } if ( "treeAlert" . equals ( invoker . getName ( ) ) ) { setEnabled ( ! this . extAlert . getAlertPanel ( ) . getTreeAlert ( ) . isRowSelected ( 0 ) && isButtonEnabledForNumberOfSelectedAlerts ( getNumberOfSelectedAlerts ( ) ) ) ; return true ; } return false ; }
@see #isButtonEnabledForNumberOfSelectedAlerts(int)