1 30 package com.genimen.djeneric.tools.specifier.tree; 31 32 import javax.swing.JTree ; 33 import javax.swing.tree.TreeModel ; 34 35 import com.genimen.djeneric.repository.DjPersistenceManager; 36 import com.genimen.djeneric.repository.DjSession; 37 38 public class DjenericTree extends JTree 39 { 40 private static final long serialVersionUID = 1L; 41 protected DjPersistenceManager _mgr; 42 protected DjSession _session; 43 44 public DjenericTree(TreeModel newModel) 45 { 46 super(newModel); 47 } 48 49 public DjenericTree() 50 { 51 } 52 53 public void setManager(DjPersistenceManager mgr) 54 { 55 _mgr = mgr; 56 } 57 58 public DjPersistenceManager getManager() 59 { 60 return _mgr; 61 } 62 63 public void setSession(DjSession session) 64 { 65 _session = session; 66 } 67 68 public DjSession getSession() 69 { 70 return _session; 71 } 72 } | Popular Tags |