2023-02-05 16:09:48 +01:00
|
|
|
package sousmenuEvaluation;
|
|
|
|
|
|
|
|
import javax.swing.ImageIcon;
|
|
|
|
import javax.swing.JMenu;
|
|
|
|
|
2023-02-05 17:46:02 +01:00
|
|
|
import action.actEvalPlacementParagrapheNon;
|
|
|
|
import action.actEvalPlacementParagrapheOui;
|
2023-02-05 16:09:48 +01:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|