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 actEvalNameSequenceNon extends AbstractAction{ /** * */ private static final long serialVersionUID = 1L; { putValue( Action.NAME, "Supprime évaluer le nom de la séquence" ); putValue( Action.SHORT_DESCRIPTION, "Supprime l'évaluation du nom de la séquence." ); putValue( Action.SMALL_ICON, new ImageIcon(create.class.getResource("/resources/falsemini.png")) ); } @Override public void actionPerformed(ActionEvent e) { node nod = (node) fenetres.create.getSelectNode().getUserObject(); nod.supprimeAttribut("evalNameSequence"); fenetres.create.getTextNodeSelect().refreshAffichage(nod); } }