Package net.sf.rej.gui.dialog

Examples of net.sf.rej.gui.dialog.ClassChooseDialog.invoke()


      addButton.setText("+");
      addButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent e) {
                ClassIndex cpIndex = SystemFacade.getInstance().getClassIndex();
                ClassChooseDialog ccd = new ClassChooseDialog(MainWindow.getInstance(), cpIndex);
                ccd.invoke();
                ClassLocator cl = ccd.getSelected();
                if (cl != null) {
                    ClassEditor.this.interfaceModel.addElement(cl.getFullName());
                    ClassEditor.this.interfaceList.setSelectedValue(cl.getFullName(), true);
                }
View Full Code Here


      selectClassButton.setText("...");
      selectClassButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent e) {
          ClassIndex classIndex = SystemFacade.getInstance().getClassIndex();
          ClassChooseDialog ccd = new ClassChooseDialog(MainWindow.getInstance(), classIndex);
          ccd.invoke();
          ClassLocator locator = ccd.getSelected();
          if (locator != null) {
            DebugTab.this.mainClassField.setText(locator.getFullName());
          }
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.