1 26 27 28 package org.objectweb.openccm.explorer.DCI; 29 30 import java.awt.Color ; 31 32 import javax.swing.JPanel ; 33 34 import org.objectweb.util.explorer.api.Panel; 35 import org.objectweb.util.explorer.api.TreeView; 36 37 43 public class AssemblyManagerModelPanel 44 implements Panel { 45 46 private JPanel panel_; 47 48 public AssemblyManagerModelPanel(){ 49 panel_ = new JPanel (); 50 panel_.setBackground(Color.white); 51 } 52 53 56 public void selected(TreeView treeView) { 57 org.objectweb.openccm.OpenCCM_DCI.AssemblyManagerModel 58 AMM=(org.objectweb.openccm.OpenCCM_DCI.AssemblyManagerModel) 59 treeView.getSelectedObject(); 60 panel_.add(new javax.swing.JTextArea (AMM.xml_descriptor())); 61 } 62 63 66 public Object getPanel() { 67 return panel_; 68 } 69 70 73 public void unselected(TreeView treeView) { 74 } 76 77 } 78 | Popular Tags |