Package net.sf.rej.gui.dialog

Examples of net.sf.rej.gui.dialog.ClassChooseDialog


      addButton = new JButton();
      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 = new JButton();
      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

Related Classes of net.sf.rej.gui.dialog.ClassChooseDialog

Copyright © 2018 www.massapicom. 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.