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);
}
}