28 lines
719 B
Java
28 lines
719 B
Java
|
package fenetres.create_act;
|
||
|
|
||
|
import java.awt.event.ActionEvent;
|
||
|
|
||
|
import javax.swing.AbstractAction;
|
||
|
import javax.swing.Action;
|
||
|
|
||
|
import cXML.node;
|
||
|
|
||
|
public class actEvalNameNodeNon extends AbstractAction{
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private static final long serialVersionUID = 1L;
|
||
|
{
|
||
|
putValue( Action.NAME, "Supprime l'évaluation de la présence du node" );
|
||
|
putValue( Action.SHORT_DESCRIPTION, "Supprime l'évaluation de la présence du node" );
|
||
|
}
|
||
|
@Override
|
||
|
public void actionPerformed(ActionEvent e) {
|
||
|
node nod = (node) fenetres.create.getSelectNode().getUserObject();
|
||
|
nod.supprimeAttribut("evalNameNode");
|
||
|
fenetres.create.getTextNodeSelect().refreshAffichage(nod);
|
||
|
}
|
||
|
|
||
|
}
|