no message

This commit is contained in:
2024-02-14 17:58:52 +03:00
parent ea3fb6a0ba
commit 0397346b0f
8 changed files with 17 additions and 8 deletions

11
.idea/workspace.xml generated
View File

@@ -7,11 +7,14 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="e42177c3-2328-4b27-8a01-35779b2beb99" name="Default Changelist" comment=""> <list default="true" id="e42177c3-2328-4b27-8a01-35779b2beb99" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/src/Visual_DVM_2021/Passes/All/SPF_RemoveDeadCode.java" afterDir="false" /> <change afterPath="$PROJECT_DIR$/САПФОР КОНСОЛЬ.rtf" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/icons/Transformations/SPF_RemoveDeadCode.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Repository/Component/Sapfor/Sapfor.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Repository/Component/Sapfor/Sapfor.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/properties" beforeDir="false" afterPath="$PROJECT_DIR$/properties" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Visual_DVM_2021/Passes/PassCode_2021.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Visual_DVM_2021/Passes/PassCode_2021.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Common/Global.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Global.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Visual_DVM_2021/Passes/All/Precompilation.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Visual_DVM_2021/Passes/All/Precompilation.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Visual_DVM_2021/UI/Interface/FileWindow.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Visual_DVM_2021/UI/Interface/FileWindow.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Visual_DVM_2021/UI/Main/FileForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Visual_DVM_2021/UI/Main/FileForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Новый текстовый документ.txt" beforeDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />

View File

@@ -12,7 +12,7 @@
"AutoUpdateSearch": true, "AutoUpdateSearch": true,
"ConfirmPassesStart": true, "ConfirmPassesStart": true,
"ShowPassesDone": true, "ShowPassesDone": true,
"FocusPassesResult": false, "FocusPassesResult": true,
"GlobalDBName": "db7.sqlite", "GlobalDBName": "db7.sqlite",
"ProjectDBName": "new_project_base.sqlite", "ProjectDBName": "new_project_base.sqlite",
"BugReportsDBName": "bug_reports.sqlite", "BugReportsDBName": "bug_reports.sqlite",

View File

@@ -321,7 +321,7 @@ public class Global {
//--- //---
ActivateDB(); //тут current getAccount; роль по умолчанию всегда неизвестна. ActivateDB(); //тут current getAccount; роль по умолчанию всегда неизвестна.
///-------------- ///--------------
/*
Current.set(Current.Account, new Account(){ Current.set(Current.Account, new Account(){
{ {
name = "M"; name = "M";
@@ -329,7 +329,6 @@ public class Global {
role = AccountRole.Admin; role = AccountRole.Admin;
} }
}); });
*/
Pass_2021.passes.get(PassCode_2021.CheckAccount).Do(); Pass_2021.passes.get(PassCode_2021.CheckAccount).Do();
//--------------- //---------------
componentsServer.ActivateDB(); componentsServer.ActivateDB();

View File

@@ -238,8 +238,10 @@ public class Precompilation extends Pass_2021<db_project_info> {
@Override @Override
protected void showFinish() throws Exception { protected void showFinish() throws Exception {
UI.getMainWindow().getProjectWindow().RefreshProjectTreeAndMessages(); UI.getMainWindow().getProjectWindow().RefreshProjectTreeAndMessages();
if (Current.HasFile()) if (Current.HasFile()) {
Current.getFile().form.ShowCompilationOutput(); Current.getFile().form.ShowCompilationOutput();
Current.getFile().form.FocusCompilationOut();
}
} }
@Override @Override
public void Interrupt() throws Exception { public void Interrupt() throws Exception {

View File

@@ -52,6 +52,7 @@ public interface FileWindow extends VisualizerForm{
void FocusArrays(); void FocusArrays();
void RefreshTabsNames(); void RefreshTabsNames();
void FocusCompilationOut(); void FocusCompilationOut();
void FocusCompilationErrors();
//-- //--
void ShowWarningsCount(); void ShowWarningsCount();
void ShowErrorsCount(); void ShowErrorsCount();

View File

@@ -202,6 +202,10 @@ public class FileForm implements FileWindow, FormWithSplitters {
messagesTabs.setSelectedIndex(4); messagesTabs.setSelectedIndex(4);
} }
@Override @Override
public void FocusCompilationErrors() {
messagesTabs.setSelectedIndex(5);
}
@Override
public void ShowText() { public void ShowText() {
UI.Clear(editorPanel); UI.Clear(editorPanel);
editorPanel.add(new RTextScrollPane(Body = new SPFEditor(file))); editorPanel.add(new RTextScrollPane(Body = new SPFEditor(file)));

Binary file not shown.