26 lines
844 B
Java
26 lines
844 B
Java
|
package sousmenuEvaluation;
|
||
|
|
||
|
import javax.swing.ImageIcon;
|
||
|
import javax.swing.JMenu;
|
||
|
|
||
|
import fenetres.create;
|
||
|
import fenetres.create_act.actEvaluerNomDuStyleHeriteFalse;
|
||
|
import fenetres.create_act.actEvaluerNomDuStyleHeriteTrue;
|
||
|
|
||
|
/**
|
||
|
* 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;
|
||
|
}
|
||
|
}
|