no message
This commit is contained in:
@@ -182,10 +182,6 @@ public class RunConfiguration extends iDBObject {
|
||||
return res;
|
||||
}
|
||||
@Override
|
||||
public boolean isVisible() {
|
||||
return Global.mainModule.matchCurrentID(Current.Machine, machine_id);
|
||||
}
|
||||
@Override
|
||||
public String getFKName() {
|
||||
return "run_configuration_id";
|
||||
}
|
||||
|
||||
@@ -43,7 +43,8 @@ public class RunConfigurationsDBTable extends iDBTable<RunConfiguration> {
|
||||
@Override
|
||||
public void fillFields() {
|
||||
for (Compiler compiler : (Global.mainModule.getDb()).compilers.Data.values()) {
|
||||
if (compiler.isVisible() && compiler.type.equals(CompilerType.dvm))
|
||||
if (Global.mainModule.getDb().compilers.getUI().isObjectVisible(compiler)
|
||||
&& compiler.type.equals(CompilerType.dvm))
|
||||
fields.cbLauncherCall.addItem(compiler);
|
||||
}
|
||||
UI.TrySelect_s(fields.cbLauncherCall, Result.LauncherCall);
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
package _VisualDVM.GlobalData.RunConfiguration.UI;
|
||||
import Common.Database.Tables.DataSet;
|
||||
import Common.MainModule_;
|
||||
import Common.Visual.DataSetControlForm;
|
||||
import Common.Visual.Menus.DataMenuBar;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.GlobalData.RunConfiguration.RunConfiguration;
|
||||
import _VisualDVM.Passes.PassCode;
|
||||
|
||||
@@ -39,4 +42,8 @@ public class RunConfigurationsForm extends DataSetControlForm<RunConfiguration>
|
||||
}
|
||||
};
|
||||
}
|
||||
@Override
|
||||
public boolean isObjectVisible(RunConfiguration object) {
|
||||
return MainModule_.instance.matchCurrentID(Current.Machine, object.machine_id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user