]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/MigrationTools/org/tianocore/migration/FirstPanel.java
remodel 1
[mirror_edk2.git] / Tools / Source / MigrationTools / org / tianocore / migration / FirstPanel.java
index 1d9cf64a618ac96ef5d70ef9a8194a3e3f2e58bd..8c07783cd4aaef7af414d31928518327bf56678b 100644 (file)
@@ -128,21 +128,11 @@ public final class FirstPanel extends JPanel implements ActionListener, UI {
     public void actionPerformed(ActionEvent e) {\r
         if ( e.getSource() == moduleButton ) {\r
                modulepath = getFilepath();\r
-               /*\r
-               int ret = fc.showOpenDialog(this);\r
-               if (ret == JFileChooser.APPROVE_OPTION) {\r
-                       modulepath = fc.getSelectedFile().getAbsolutePath();\r
-                       moduletext.setText(modulepath);\r
-                log.append("ModulePath: " + modulepath + "\n");\r
-               }\r
-               */\r
         }\r
         if ( e.getSource() == goButton ) {\r
                try {\r
                        logfile = new PrintWriter(new BufferedWriter(new FileWriter(modulepath + File.separator + "migration.log")));\r
-                       println("Project MsaGen");\r
-                       println("Copyright (c) 2006, Intel Corporation");\r
-                       Common.toDoAll(modulepath, ModuleInfo.class.getMethod("seekModule", String.class), null, null, Common.DIR);\r
+                       ModuleInfo.triger(modulepath);\r
                        logfile.flush();\r
                } catch (Exception en) {\r
                        println(en.getMessage());\r