промежуточный. Перенос отладки текущего проекта к его вкладкам.
This commit is contained in:
65
src/Visual_DVM_2021/UI/Main/DebugForm.java
Normal file
65
src/Visual_DVM_2021/UI/Main/DebugForm.java
Normal file
@@ -0,0 +1,65 @@
|
||||
package Visual_DVM_2021.UI.Main;
|
||||
import Common.Global;
|
||||
import Visual_DVM_2021.UI.Interface.DebugWindow;
|
||||
import Visual_DVM_2021.UI.Interface.FormWithSplitters;
|
||||
|
||||
import javax.swing.*;
|
||||
public class DebugForm implements DebugWindow, FormWithSplitters {
|
||||
private JPanel content;
|
||||
public JSplitPane SC51;
|
||||
public JSplitPane SC40;
|
||||
public JTabbedPane debugTabs;
|
||||
public JSplitPane SC41;
|
||||
public JSplitPane SC20;
|
||||
public JSplitPane SC52;
|
||||
public JSplitPane SC42;
|
||||
public JSplitPane SC43;
|
||||
public JSplitPane SC21;
|
||||
public JSplitPane SC35;
|
||||
private JPanel compilationTasksPanel;
|
||||
private JPanel makefilesPanel;
|
||||
private JPanel modulesPanel;
|
||||
private JPanel runTasksPanel;
|
||||
private JPanel runConfigurationsPanel;
|
||||
private JPanel environmentsPanel;
|
||||
private JPanel dvmParametersPanel;
|
||||
//--
|
||||
//-
|
||||
public RunTasksComparisonForm singleRunTaskMaster; // одиночные запуски
|
||||
public RunTasksComparisonForm singleRunTaskSlave;
|
||||
//
|
||||
public CompilationTasksComparisonForm singleCompilationTaskMaster; // одиночная компиляция
|
||||
public CompilationTasksComparisonForm singleCompilationTaskSlave;
|
||||
//--
|
||||
//--
|
||||
@Override
|
||||
public JPanel getContent() {
|
||||
return content;
|
||||
}
|
||||
@Override
|
||||
public void ShowAll() {
|
||||
|
||||
}
|
||||
public DebugForm(){
|
||||
LoadSplitters();
|
||||
//--
|
||||
Global.db.makefiles.mountUI(makefilesPanel);
|
||||
//-----------------------------------------------
|
||||
Global.db.modules.mountUI(modulesPanel);
|
||||
Global.db.runConfigurations.mountUI(runConfigurationsPanel);
|
||||
Global.db.environmentValues.mountUI(environmentsPanel);
|
||||
Global.db.dvmParameters.mountUI(dvmParametersPanel);
|
||||
//-
|
||||
Global.db.compilationTasks.mountUI(compilationTasksPanel);
|
||||
Global.db.runTasks.mountUI(runTasksPanel);
|
||||
//--
|
||||
singleCompilationTaskMaster = new CompilationTasksComparisonForm(singleCompilationTaskSlave = new CompilationTasksComparisonForm(null));
|
||||
singleRunTaskMaster = new RunTasksComparisonForm(singleRunTaskSlave = new RunTasksComparisonForm(null));
|
||||
//--
|
||||
//-
|
||||
SC41.setLeftComponent(singleCompilationTaskMaster.getContent());
|
||||
SC41.setRightComponent(singleCompilationTaskSlave.getContent());
|
||||
SC43.setLeftComponent(singleRunTaskMaster.getContent());
|
||||
SC43.setRightComponent(singleRunTaskSlave.getContent());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user