mirror of
https://github.com/Noratrieb/UMLetClassParser.git
synced 2026-01-14 16:45:05 +01:00
removed convert button 2
This commit is contained in:
parent
3b484441ec
commit
6d76166b3c
1 changed files with 5 additions and 11 deletions
|
|
@ -3,8 +3,6 @@ import java.awt.datatransfer.DataFlavor;
|
|||
import java.awt.dnd.DnDConstants;
|
||||
import java.awt.dnd.DropTarget;
|
||||
import java.awt.dnd.DropTargetDropEvent;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.awt.event.KeyAdapter;
|
||||
import java.awt.event.KeyEvent;
|
||||
import java.io.File;
|
||||
|
|
@ -13,7 +11,6 @@ import java.util.List;
|
|||
public class UMLClassView {
|
||||
private JTextArea inputArea;
|
||||
private JPanel panel1;
|
||||
private JButton convertButton;
|
||||
private JTextArea outputArea;
|
||||
private JTextField pathField;
|
||||
private JButton convertFileButton;
|
||||
|
|
@ -39,14 +36,11 @@ public class UMLClassView {
|
|||
}
|
||||
});
|
||||
|
||||
convertFileButton.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
convertFileButton.addActionListener(e -> {
|
||||
String path = pathField.getText();
|
||||
String packagePath = packagePathField.getText();
|
||||
XMLParser parser = new XMLParser(path);
|
||||
manager.parseClasses(parser.getClassesText(), packagePath);
|
||||
}
|
||||
});
|
||||
|
||||
pathField.setDropTarget(new DropTarget() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue