no message
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
package GlobalData.Module.UI;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common_old.Current;
|
||||
import Common_old.UI.ComboBox.StyledTextComboBox;
|
||||
import Common_old.UI.UI;
|
||||
@@ -39,7 +40,7 @@ public class ModuleAnchestorFields implements DialogFields {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
Pass_2021<String> pass = Pass_2021.passes.get(PassCode_2021.PickCompilerOptions);
|
||||
if (pass.Do(compiler)) {
|
||||
UI.TrySelect(cbFlags, pass.target);
|
||||
CommonUI.TrySelect(cbFlags, pass.target);
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -58,7 +59,7 @@ public class ModuleAnchestorFields implements DialogFields {
|
||||
cbCompilers.addActionListener(e -> {
|
||||
if (cbCompilers.getSelectedItem() instanceof Compiler) {
|
||||
Compiler compiler = ((Compiler) cbCompilers.getSelectedItem());
|
||||
UI.TrySelect(cbCommands,
|
||||
CommonUI.TrySelect(cbCommands,
|
||||
linker ? compiler.getSpecialLinkCommand(languageName) : compiler.getSpecialCompilationCommand(languageName));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package GlobalData.Module.UI;
|
||||
import Common.CommonConstants;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common_old.Current;
|
||||
import Common_old.UI.UI;
|
||||
import Common_old.UI.Windows.Dialog.DBObjectDialog;
|
||||
import GlobalData.Compiler.Compiler;
|
||||
import GlobalData.Compiler.CompilerType;
|
||||
@@ -93,9 +93,9 @@ public class ModuleAnchestorForm<T extends ModuleAnchestor> extends DBObjectDial
|
||||
}
|
||||
@Override
|
||||
public void fillFields() {
|
||||
UI.TrySelect(fields.cbFlags, Result.flags);
|
||||
UI.TrySelect(fields.cbCommands, Result.command);
|
||||
UI.TrySelect(fields.cbCompilers, Result.getCompiler());
|
||||
CommonUI.TrySelect(fields.cbFlags, Result.flags);
|
||||
CommonUI.TrySelect(fields.cbCommands, Result.command);
|
||||
CommonUI.TrySelect(fields.cbCompilers, Result.getCompiler());
|
||||
//--------------------------------------------
|
||||
fields.setListeners(Result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user