| 1 19 23 24 package org.netbeans.modules.j2ee.sun.share.configbean.customizers.ejbmodule; 25 26 import java.util.ResourceBundle ; 27 28 import org.netbeans.modules.j2ee.sun.dd.api.ejb.Finder; 29 import org.netbeans.modules.j2ee.sun.share.configbean.CmpEntityEjb; 30 import org.netbeans.modules.j2ee.sun.share.configbean.customizers.common.BeanInputDialog; 31 import org.netbeans.modules.j2ee.sun.share.configbean.customizers.common.BeanTablePanel; 32 33 34 35 40 public class OneOneFinderPanel extends BeanTablePanel{ 41 42 43 static final ResourceBundle bundle = 44 ResourceBundle.getBundle( 45 "org.netbeans.modules.j2ee.sun.share.configbean.customizers.ejbmodule.Bundle"); 47 48 public OneOneFinderPanel(final OneOneFinderModel model) { 49 super(model); 50 } 51 52 53 void setModel(CmpEntityEjb cmpEntityEjb, Finder[] params) { 54 super.setModel(cmpEntityEjb, params); 55 } 56 57 58 public BeanInputDialog getInputDialog(Object [] values){ 59 String title = bundle.getString("LBL_Finder"); return new OneOneFinderDialog(this, title, values); 62 63 } 64 65 66 public BeanInputDialog getInputDialog(){ 67 String title = bundle.getString("LBL_Finder"); return new OneOneFinderDialog(this, title); 70 } 71 72 73 protected String getAccessibleName(){ 74 return bundle.getString("One_One_Finders_Acsbl_Name"); } 76 77 78 protected String getAccessibleDesc(){ 79 return bundle.getString("One_One_Finders_Acsbl_Desc"); } 81 } 82 | Popular Tags |