1 package org.catacomb.druid.gui.base;
2
3 import org.catacomb.druid.gui.edit.DruMenu;
4 import org.catacomb.druid.swing.DMenuBar;
5
6
7
8
9 public class DruMenuBar {
10 static final long serialVersionUID = 1001;
11
12 String id;
13
14 DMenuBar dMenuBar;
15
16 public DruMenuBar(String s) {
17 dMenuBar = new DMenuBar();
18 id = s;
19 }
20
21
22 public DMenuBar getGUIPeer() {
23 return dMenuBar;
24 }
25
26 public String getID() {
27 return id;
28 }
29
30 public String toString() {
31 return "DruMenuBar " + id;
32 }
33
34
35 public void addMenu(DruMenu am) {
36 dMenuBar.add(am.getGUIPeer());
37 }
38
39
40 }