no message
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package _VisualDVM.GlobalData.RunConfiguration;
|
||||
import Common.CommonConstants;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import _VisualDVM.Current;
|
||||
import Common.Visual.DataSetControlForm;
|
||||
import Common.Visual.Windows.Dialog.DBObjectDialog;
|
||||
@@ -40,18 +40,18 @@ public class RunConfigurationsDBTable extends iDBTable<RunConfiguration> {
|
||||
return new DBObjectDialog<RunConfiguration, RunConfigurationFields>(RunConfigurationFields.class) {
|
||||
@Override
|
||||
public void fillFields() {
|
||||
for (Compiler compiler : ((GlobalDatabase)CommonUtils.db).compilers.Data.values()) {
|
||||
for (Compiler compiler : ((GlobalDatabase) Utils_.db).compilers.Data.values()) {
|
||||
if (compiler.isVisible() && compiler.type.equals(CompilerType.dvm))
|
||||
fields.cbLauncherCall.addItem(compiler);
|
||||
}
|
||||
CommonUI.TrySelect_s(fields.cbLauncherCall, Result.LauncherCall);
|
||||
CommonUI.TrySelect(fields.cbLaunchOptions, Result.LauncherOptions);
|
||||
UI_.TrySelect_s(fields.cbLauncherCall, Result.LauncherCall);
|
||||
UI_.TrySelect(fields.cbLaunchOptions, Result.LauncherOptions);
|
||||
fields.tfArgs.setText(Result.args);
|
||||
fields.cbLauncherCall.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
if (fields.cbLauncherCall.getSelectedItem() instanceof Compiler) {
|
||||
CommonUI.TrySelect(fields.cbLaunchOptions, "run");
|
||||
UI_.TrySelect(fields.cbLaunchOptions, "run");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user