package fenetres.create_act; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.Action; import javax.swing.ImageIcon; import cXML.node; import fenetres.allContent; import fenetres.create; public class actAllContentChilds extends AbstractAction{ { putValue( Action.NAME, "Evaluer le contenu de tous les nodes enfants" ); putValue( Action.SHORT_DESCRIPTION, "Evaluer le contenu de tous les nodes enfants" ); putValue( Action.SMALL_ICON, new ImageIcon(create.class.getResource("/resources/allcontentchildsmini.png")) ); } /** * */ private static final long serialVersionUID = 1L; @Override public void actionPerformed(ActionEvent e) { node nod = (node) fenetres.create.getSelectNode().getUserObject(); new allContent(nod,fenetres.create.getTextNodeSelect(),true); } }