no message
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Utils.Utils_;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.GlobalData.GlobalDatabase;
|
||||
import _VisualDVM.Visual.Interface.DebugWindow;
|
||||
import _VisualDVM.Visual.Interface.FormWithSplitters;
|
||||
|
||||
import javax.swing.*;
|
||||
public class DebugForm implements DebugWindow, FormWithSplitters {
|
||||
private JPanel content;
|
||||
public JSplitPane SC51;
|
||||
public JSplitPane SC40;
|
||||
public JTabbedPane debugTabs;
|
||||
@@ -18,13 +15,6 @@ public class DebugForm implements DebugWindow, FormWithSplitters {
|
||||
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; // одиночные запуски
|
||||
@@ -32,6 +22,35 @@ public class DebugForm implements DebugWindow, FormWithSplitters {
|
||||
//
|
||||
public CompilationTasksComparisonForm singleCompilationTaskMaster; // одиночная компиляция
|
||||
public CompilationTasksComparisonForm singleCompilationTaskSlave;
|
||||
private JPanel content;
|
||||
private JPanel compilationTasksPanel;
|
||||
private JPanel makefilesPanel;
|
||||
private JPanel modulesPanel;
|
||||
private JPanel runTasksPanel;
|
||||
private JPanel runConfigurationsPanel;
|
||||
private JPanel environmentsPanel;
|
||||
private JPanel dvmParametersPanel;
|
||||
public DebugForm() {
|
||||
LoadSplitters();
|
||||
//--
|
||||
Global.mainModule.getDb().makefiles.mountUI(makefilesPanel);
|
||||
Global.mainModule.getDb().modules.mountUI(modulesPanel);
|
||||
Global.mainModule.getDb().runConfigurations.mountUI(runConfigurationsPanel);
|
||||
Global.mainModule.getDb().environmentValues.mountUI(environmentsPanel);
|
||||
Global.mainModule.getDb().dvmParameters.mountUI(dvmParametersPanel);
|
||||
//-
|
||||
Global.mainModule.getDb().compilationTasks.mountUI(compilationTasksPanel);
|
||||
Global.mainModule.getDb().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());
|
||||
}
|
||||
//--
|
||||
//--
|
||||
@Override
|
||||
@@ -58,13 +77,13 @@ public class DebugForm implements DebugWindow, FormWithSplitters {
|
||||
}
|
||||
@Override
|
||||
public void ShowCurrentRunTask() {
|
||||
// if (singleRunTaskMaster.isActive()) singleRunTaskMaster.ShowTask();
|
||||
// else singleRunTaskSlave.ShowTask();
|
||||
// if (singleRunTaskMaster.isActive()) singleRunTaskMaster.ShowTask();
|
||||
// else singleRunTaskSlave.ShowTask();
|
||||
}
|
||||
@Override
|
||||
public void ShowNoCurrentRunTask() {
|
||||
// if (singleRunTaskMaster.isActive()) singleRunTaskMaster.Clear();
|
||||
// else singleRunTaskSlave.Clear();
|
||||
// if (singleRunTaskMaster.isActive()) singleRunTaskMaster.Clear();
|
||||
// else singleRunTaskSlave.Clear();
|
||||
}
|
||||
//-
|
||||
@Override
|
||||
@@ -74,25 +93,4 @@ public class DebugForm implements DebugWindow, FormWithSplitters {
|
||||
Global.mainModule.getDb().compilationTasks.ShowUI(); //их видимость зависит от текущего проекта.
|
||||
Global.mainModule.getDb().runTasks.ShowUI();
|
||||
}
|
||||
public DebugForm(){
|
||||
LoadSplitters();
|
||||
//--
|
||||
Global.mainModule.getDb().makefiles.mountUI(makefilesPanel);
|
||||
Global.mainModule.getDb().modules.mountUI(modulesPanel);
|
||||
Global.mainModule.getDb().runConfigurations.mountUI(runConfigurationsPanel);
|
||||
Global.mainModule.getDb().environmentValues.mountUI(environmentsPanel);
|
||||
Global.mainModule.getDb().dvmParameters.mountUI(dvmParametersPanel);
|
||||
//-
|
||||
Global.mainModule.getDb().compilationTasks.mountUI(compilationTasksPanel);
|
||||
Global.mainModule.getDb().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