1 19 20 23 24 package org.netbeans.modules.j2ee.sun.ws7.ui; 25 import org.openide.NotifyDescriptor; 26 import org.openide.util.NbBundle; 27 28 32 public class WS70ConfigSelectDialog extends NotifyDescriptor { 33 protected WS70ConfigSelectorPanel panel; 34 35 36 public WS70ConfigSelectDialog(String [] args) { 37 super(null, NbBundle.getMessage(WS70ConfigSelectDialog.class, "LBL_TITLE"), 38 NotifyDescriptor.OK_CANCEL_OPTION, NotifyDescriptor.PLAIN_MESSAGE, null, null); 39 panel = new WS70ConfigSelectorPanel(args); 40 super.setMessage(panel); 41 } 42 public String getSelectedConfig(){ 43 return panel.getSelectedConfig(); 44 } 45 46 } 47 | Popular Tags |