Salome HOME
Addition of a new scenario to a study is fixed. StudyMenu and NewScenarioMenu are...
[tools/siman.git] / Workspace / Siman / src / org / splat / wapp / SimpleMenu.java
1 package org.splat.wapp;
2
3
4 public class SimpleMenu extends Menu {
5
6 //  ==============================================================================================================================
7 //  Constructors
8 //  ==============================================================================================================================
9
10     public SimpleMenu (String name) {
11 //  -------------------------------
12       super(name);
13     }
14     public SimpleMenu (String name, String scope) {
15 //  ---------------------------------------------
16       super(name, scope);
17     }
18
19 //  ==============================================================================================================================
20 //  Member functions
21 //  ==============================================================================================================================
22
23     public void addItem (String name, String label, String icon, String url) {
24 //  ------------------------------------------------------------------------
25       this.addItem(name, new MenuItem(label,icon,url) );
26     }
27 }