1 26 27 package org.objectweb.openccm.explorer.CosTrading.gui; 28 29 30 import javax.swing.JPanel ; 31 32 import org.objectweb.util.explorer.api.Panel; 33 import org.objectweb.util.explorer.api.TreeView; 34 35 43 public class DefaultNodeViewPanel 44 extends JPanel 45 implements Panel 46 { 47 48 54 57 private TreeView treeView_; 58 59 65 68 public DefaultNodeViewPanel() { 69 } 70 71 77 80 protected TreeView getTreeView() { 81 return treeView_; 82 } 83 84 90 93 public void onSetTreeView() { 94 } 95 96 102 105 public void selected(TreeView treeView) { 106 treeView_ = treeView; 107 onSetTreeView(); 108 } 109 110 114 public Object getPanel(){ 115 return this; 116 } 117 118 121 public void unselected(TreeView treeView) { 122 } 123 124 } 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | Popular Tags |