Ignore:
Timestamp:
Mar 5, 2010, 6:03:21 PM (14 years ago)
Author:
tobias
Message:

views and data objects of the resource types added.
basic logging with log4j for the beanUtil class.
Configuration and JobSchedule class renamed.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • vanHelsing/trunk/gui/src/de/dass_it/vanhelsing/gui/ConfigurationBean.java

    r830 r832  
    11package de.dass_it.vanhelsing.gui;
     2
     3import javax.swing.tree.DefaultMutableTreeNode;
     4import javax.swing.tree.DefaultTreeModel;
     5
    26/*
    37 * List all Bacula configuration components by name
    48 */
    5 public class Configuration extends TreeNavigation {
    6 
     9public 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       
    725}
Note: See TracChangeset for help on using the changeset viewer.