1 | String getLabelResource() {↵ | | 1 | String getLabelResource() {↵
|
2 | return "report_line_graph";↵ | | 2 | return "report_writer_html";↵
|
3 | }↵ | | 3 | }↵
|
4 | ↵ | | 4 | ↵
|
5 | public JPopupMenu createPopupMenu() {↵ | | 5 | public JPopupMenu createPopupMenu() {↵
|
6 | JPopupMenu pop = new JPopupMenu();↵ | | 6 | JPopupMenu pop = new JPopupMenu();↵
|
7 | ReportMenuFactory.addFileMenu(pop);↵ | | 7 | ReportMenuFactory.addFileMenu(pop);↵
|
8 | ReportMenuFactory.addEditMenu(pop,true);↵ | | 8 | ReportMenuFactory.addEditMenu(pop,true);↵
|
9 | return pop;↵ | | 9 | return pop;↵
|
10 | }↵ | | 10 | }↵
|
| | | 11 | ↵
|
| | | 12 | /**↵
|
| | | 13 | * init creates the necessary gui stuff.↵
|
| | | 14 | */↵
|
11 | private void init() {// called from ctor, so must not be overridable↵ | | 15 | private void init() {// called from ctor, so must not be overridable↵
|
12 | setLayout(new BorderLayout(10, 10));↵ | | 16 | setLayout(new BorderLayout(10, 10));↵
|
13 | setBorder(makeBorder());↵ | | 17 | setBorder(makeBorder());↵
|
14 | setBackground(Color.white);↵ | | 18 | setBackground(Color.white);↵
|
| | | 19 | ↵
|
15 | JPanel pane = new JPanel();↵ | | 20 | JPanel pane = new JPanel();↵
|
16 | pane.setLayout(new BorderLayout(10,10));↵ | | 21 | pane.setLayout(new BorderLayout(10,10));↵
|
17 | pane.setBackground(Color.white);↵ | | 22 | pane.setBackground(Color.white);↵
|
18 | pane.add(this.getNamePanel(),BorderLayout.NORTH);↵ | | 23 | pane.add(this.getNamePanel(),BorderLayout.NORTH);↵
|
19 | ↵ | | 24 | ↵
|
20 | VerticalPanel | | 25 | outputDirectory
|