no message
This commit is contained in:
@@ -321,7 +321,7 @@ public class Global {
|
||||
//---
|
||||
ActivateDB(); //тут current getAccount; роль по умолчанию всегда неизвестна.
|
||||
///--------------
|
||||
/*
|
||||
|
||||
Current.set(Current.Account, new Account(){
|
||||
{
|
||||
name = "M";
|
||||
@@ -329,7 +329,6 @@ public class Global {
|
||||
role = AccountRole.Admin;
|
||||
}
|
||||
});
|
||||
*/
|
||||
Pass_2021.passes.get(PassCode_2021.CheckAccount).Do();
|
||||
//---------------
|
||||
componentsServer.ActivateDB();
|
||||
|
||||
@@ -238,8 +238,10 @@ public class Precompilation extends Pass_2021<db_project_info> {
|
||||
@Override
|
||||
protected void showFinish() throws Exception {
|
||||
UI.getMainWindow().getProjectWindow().RefreshProjectTreeAndMessages();
|
||||
if (Current.HasFile())
|
||||
if (Current.HasFile()) {
|
||||
Current.getFile().form.ShowCompilationOutput();
|
||||
Current.getFile().form.FocusCompilationOut();
|
||||
}
|
||||
}
|
||||
@Override
|
||||
public void Interrupt() throws Exception {
|
||||
|
||||
@@ -52,6 +52,7 @@ public interface FileWindow extends VisualizerForm{
|
||||
void FocusArrays();
|
||||
void RefreshTabsNames();
|
||||
void FocusCompilationOut();
|
||||
void FocusCompilationErrors();
|
||||
//--
|
||||
void ShowWarningsCount();
|
||||
void ShowErrorsCount();
|
||||
|
||||
@@ -202,6 +202,10 @@ public class FileForm implements FileWindow, FormWithSplitters {
|
||||
messagesTabs.setSelectedIndex(4);
|
||||
}
|
||||
@Override
|
||||
public void FocusCompilationErrors() {
|
||||
messagesTabs.setSelectedIndex(5);
|
||||
}
|
||||
@Override
|
||||
public void ShowText() {
|
||||
UI.Clear(editorPanel);
|
||||
editorPanel.add(new RTextScrollPane(Body = new SPFEditor(file)));
|
||||
|
||||
Reference in New Issue
Block a user