01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.admin.common;
05:
06: import javax.swing.tree.DefaultTreeModel;
07:
08: public class XTreeModel extends DefaultTreeModel {
09: public XTreeModel() {
10: this (new XRootNode());
11: }
12:
13: public XTreeModel(XRootNode root) {
14: super (root);
15: ((XRootNode) getRoot()).setModel(this);
16: }
17: }
|