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