перенос проходов в центральный модуль
This commit is contained in:
@@ -63,7 +63,7 @@ public class DVMPackageDBTable extends iDBTable<DVMPackage> {
|
||||
}
|
||||
@Override
|
||||
public void MouseAction2() throws Exception {
|
||||
Pass.passes.get(PassCode.DownloadDVMPackage).Do();
|
||||
Global.mainModule.getPass(PassCode.DownloadDVMPackage).Do();
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
@@ -39,7 +39,7 @@ public class DVMSettingsFields implements DialogFields {
|
||||
bAddFlags.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
Pass pass = Pass.passes.get(PassCode.PickCompilerOptions);
|
||||
Pass pass = Global.mainModule.getPass(PassCode.PickCompilerOptions);
|
||||
if (pass.Do(Global.mainModule.getCompiler())) {
|
||||
tfFlags.setText((String)pass.target);
|
||||
}
|
||||
@@ -48,7 +48,7 @@ public class DVMSettingsFields implements DialogFields {
|
||||
bAddEnvironments.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
Pass pass = Pass.passes.get(PassCode.PickCompilerEnvironmentsForTesting);
|
||||
Pass pass = Global.mainModule.getPass(PassCode.PickCompilerEnvironmentsForTesting);
|
||||
if (pass.Do(Global.mainModule.getCompiler()))
|
||||
tfEnvironments.setText((String)pass.target);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user