1 22 package org.objectweb.joram.client.tools.admin; 23 24 import java.util.*; 25 import javax.swing.*; 26 import javax.swing.tree.*; 27 28 class DestinationRootTreeNode extends DefaultMutableTreeNode 29 implements AdminTreeNode { 30 31 private ServerTreeNode parentServerTreeNode; 32 33 public DestinationRootTreeNode(ServerTreeNode parentServerTreeNode) { 34 super("Destinations"); 35 this.parentServerTreeNode = parentServerTreeNode; 36 } 37 38 41 public String getDescription() { 42 return ""; 43 } 44 45 49 public JPopupMenu getContextMenu() { 50 return null; 51 } 52 53 57 public ImageIcon getImageIcon() { 58 return null; 59 } 60 61 65 public void refresh(DefaultTreeModel treeModel) { 66 67 } 68 69 public final ServerTreeNode getParentServerTreeNode() { 70 return parentServerTreeNode; 71 } 72 } 73 | Popular Tags |