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.actEvaluerNomDuStyleHeriteFalse;
|
|
|
|
import action.actEvaluerNomDuStyleHeriteTrue;
|
2023-02-05 16:09:48 +01:00
|
|
|
import fenetres.create;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Menu pour évaluer le nom du style hérité.</br>
|
|
|
|
* Permet d'évaluer les formatages directs sans utiliser analyseStyle.</br>
|
|
|
|
* @author pabr6
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public class mnEvalNameLegacyStyle{
|
|
|
|
|
|
|
|
public static JMenu menu(){
|
|
|
|
JMenu mnEvalNameLegacyStyle = new JMenu("Evaluer le nom du style hérité");
|
|
|
|
mnEvalNameLegacyStyle.setIcon( new ImageIcon(create.class.getResource("/resources/heritagestylemini.png")));
|
|
|
|
mnEvalNameLegacyStyle.add(new actEvaluerNomDuStyleHeriteTrue());
|
|
|
|
mnEvalNameLegacyStyle.add( new actEvaluerNomDuStyleHeriteFalse());
|
|
|
|
return mnEvalNameLegacyStyle;
|
|
|
|
}
|
|
|
|
}
|