при выдаче сообщений об ошибках интерфейсом, копирование сообщения в буфер обмена.
This commit is contained in:
@@ -35,6 +35,7 @@ import Common.UI.Trees.GraphTreeCellRenderer;
|
||||
import Common.UI.Trees.SelectionTreeCellRenderer;
|
||||
import Common.UI.Windows.FormType;
|
||||
import Common.UI.Windows.SearchReplaceForm;
|
||||
import Common.Utils.Utils;
|
||||
import GlobalData.Compiler.CompilersDBTable;
|
||||
import GlobalData.CompilerEnvironment.UI.CompilerEnvironmentValueEditor;
|
||||
import GlobalData.CompilerEnvironment.UI.CompilerEnvironmentValueRenderer;
|
||||
@@ -407,10 +408,12 @@ public class UI {
|
||||
return Question(getFrontWindow(), text);
|
||||
}
|
||||
public static void Info(String message) {
|
||||
Utils.CopyToClipboard(message);
|
||||
if (Current.hasUI())
|
||||
JOptionPane.showMessageDialog(getFrontWindow(), message, "", 1);
|
||||
}
|
||||
public static void Error(String message) {
|
||||
Utils.CopyToClipboard(message);
|
||||
if (Current.hasUI())
|
||||
JOptionPane.showMessageDialog(getFrontWindow(), message, "", 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user