analyseWriter/Menu/sousmenuEvaluation/mnEvalPlacementParagraphe.java

26 lines
847 B
Java

package sousmenuEvaluation;
import javax.swing.ImageIcon;
import javax.swing.JMenu;
import action.actEvalPlacementParagrapheNon;
import action.actEvalPlacementParagrapheOui;
import fenetres.create;
/**
* Menu respecter l'ordre des paragraphes.</br>
* Vérification du placement du node par rapport à la présence node précédent (avant).</br>
* @author pabr6
*
*/
public class mnEvalPlacementParagraphe{
public static JMenu menu(){
JMenu mnPlacementParagraphe = new JMenu("Placement des paragraphes (evaluation du ¶ avant)");
mnPlacementParagraphe.setIcon(new ImageIcon(create.class.getResource("/resources/ordreparagraphemini.png")));
mnPlacementParagraphe.add(new actEvalPlacementParagrapheOui());
mnPlacementParagraphe.add(new actEvalPlacementParagrapheNon());
return mnPlacementParagraphe;
}
}