Last change
on this file since 832 was 832, checked in by tobias, on Mar 5, 2010 at 6:03:21 PM |
views and data objects of the resource types added.
basic logging with log4j for the beanUtil class.
Configuration and JobSchedule class renamed.
|
File size:
612 bytes
|
Line | |
---|
1 | package de.dass_it.vanhelsing.gui;
|
---|
2 |
|
---|
3 | import javax.swing.tree.DefaultMutableTreeNode;
|
---|
4 | import javax.swing.tree.DefaultTreeModel;
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * List all Bacula configuration components by name
|
---|
8 | */
|
---|
9 | public class ConfigurationBean extends TreeNavigation {
|
---|
10 | private DefaultTreeModel tree;
|
---|
11 | public ConfigurationBean(){
|
---|
12 | DefaultMutableTreeNode root = new DefaultMutableTreeNode();
|
---|
13 | String[] nodes = {"Director", "SDStorage", "Catalog", "SDDevice"};
|
---|
14 | setTree(super.createTree(root, nodes));
|
---|
15 |
|
---|
16 | }
|
---|
17 | public void setTree(DefaultTreeModel tree) {
|
---|
18 | this.tree = tree;
|
---|
19 | }
|
---|
20 | public DefaultTreeModel getTree() {
|
---|
21 | return tree;
|
---|
22 | }
|
---|
23 |
|
---|
24 |
|
---|
25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.