28 lines
764 B
Java
28 lines
764 B
Java
|
package fenetres.create_act;
|
||
|
|
||
|
import java.awt.event.ActionEvent;
|
||
|
|
||
|
import javax.swing.AbstractAction;
|
||
|
import javax.swing.Action;
|
||
|
|
||
|
import cXML.node;
|
||
|
|
||
|
public class actRechercheContenuPlusProcheVoisinfalse extends AbstractAction{
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private static final long serialVersionUID = 1L;
|
||
|
{
|
||
|
putValue( Action.NAME, "Plus proche voisin : false" );
|
||
|
putValue( Action.SHORT_DESCRIPTION, "Ne recherche pas par le contenu du plus proche voisin." );
|
||
|
}
|
||
|
@Override
|
||
|
public void actionPerformed(ActionEvent e) {
|
||
|
node nod = (node) fenetres.create.getSelectNode().getUserObject();
|
||
|
nod.getAttributs().put("recherche_contenu_plus_proche_voisin", "false");
|
||
|
fenetres.create.getTextNodeSelect().refreshAffichage(nod);
|
||
|
}
|
||
|
|
||
|
}
|