analyseWriter/src/action/actEvalPasParagrapheVideNon.java

31 lines
898 B
Java
Raw Normal View History

package action;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.ImageIcon;
import cXML.node;
import fenetres.create;
public class actEvalPasParagrapheVideNon extends AbstractAction{
{
putValue( Action.NAME, "Supprime évaluer l'absence de paragraphe vide" );
putValue( Action.SHORT_DESCRIPTION, "Supprime l'évaluation de l'absence de paragraphe vide." );
putValue( Action.SMALL_ICON, new ImageIcon(create.class.getResource("/resources/falsemini.png")) );
}
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public void actionPerformed(ActionEvent e) {
node nod = (node) fenetres.create.getSelectNode().getUserObject();
nod.supprimeAttribut("evalPasParagrapheVide");
fenetres.create.getTextNodeSelect().refreshAffichage(nod);
}
}