4514f70d80
placement avant. Ajoute dans le calcul du hash des méthodes.)
30 lines
714 B
Java
30 lines
714 B
Java
package fenetres.create_act;
|
|
|
|
import java.awt.event.ActionEvent;
|
|
|
|
import javax.swing.AbstractAction;
|
|
import javax.swing.Action;
|
|
|
|
import cXML.node;
|
|
|
|
public class actsautmultipletrue extends AbstractAction{
|
|
{
|
|
putValue( Action.NAME, "true" );
|
|
putValue( Action.SHORT_DESCRIPTION, "true" );
|
|
}
|
|
/**
|
|
*
|
|
*/
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@Override
|
|
public void actionPerformed(ActionEvent e) {
|
|
node nod = (node) fenetres.create.getSelectNode().getUserObject();
|
|
for(int i = 0 ; i < nod.getNodes().size();i++) {
|
|
nod.getNodes().get(i).getAttributs().put("saut", "true");
|
|
}
|
|
fenetres.create.getTextNodeSelect().refreshAffichage(nod);
|
|
}
|
|
|
|
}
|