no message
This commit is contained in:
@@ -1,9 +1,26 @@
|
||||
package _VisualDVM.Visual;
|
||||
import Common.Visual.Tables.ConfigurationAutoRenderer;
|
||||
import Common.Visual.Tables.ConfigurationAutoSwitcher;
|
||||
import Common.Visual.Tables.VectorEditor;
|
||||
import Common.Visual.Trees.GraphTreeCellRenderer;
|
||||
import Common.Visual.UIModule_;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.GlobalData.CompilerEnvironment.UI.CompilerEnvironmentValueEditor;
|
||||
import _VisualDVM.GlobalData.CompilerEnvironment.UI.CompilerEnvironmentValueRenderer;
|
||||
import _VisualDVM.GlobalData.CompilerOption.UI.CompilerOptionParameterNameRenderer;
|
||||
import _VisualDVM.GlobalData.CompilerOption.UI.CompilerOptionParameterValueEditor;
|
||||
import _VisualDVM.GlobalData.CompilerOption.UI.CompilerOptionParameterValueRenderer;
|
||||
import _VisualDVM.GlobalData.RemoteFile.UI.RemoteFileChooser;
|
||||
import _VisualDVM.GlobalData.RemoteFile.UI.RemoteFileRenderer;
|
||||
import _VisualDVM.ProjectData.Files.UI.FilesTreeCellRenderer;
|
||||
import _VisualDVM.ProjectData.Project.UI.VersionsTreeCellRenderer;
|
||||
import _VisualDVM.ProjectData.SapforData.Arrays.UI.DimensionRenderer;
|
||||
import _VisualDVM.ProjectData.SapforData.Arrays.UI.DimensionStateChanger;
|
||||
import _VisualDVM.ProjectData.SapforData.Arrays.UI.RulesTreeCellRenderer;
|
||||
import _VisualDVM.ProjectData.SapforData.Variants.UI.VariantRankRenderer;
|
||||
import _VisualDVM.Repository.Component.UI.ComponentsForm;
|
||||
import _VisualDVM.TestingSystem.Common.TestingMenuBar;
|
||||
import _VisualDVM.TestingSystem.SAPFOR.SapforTasksPackage.UI.SapforVersionsTreeCellRenderer;
|
||||
import _VisualDVM.Visual.Interface.DebugWindow;
|
||||
import _VisualDVM.Visual.Interface.VersionsWindow;
|
||||
import _VisualDVM.Visual.Menus.CredentialsBar.CredentialsMenuBar;
|
||||
@@ -11,19 +28,47 @@ import _VisualDVM.Visual.Menus.MainMenuBar.MainWindow;
|
||||
import _VisualDVM.Visual.Menus.VersionsMenuBar.VersionsMenuBar;
|
||||
import _VisualDVM.Visual.Syntax.LightSPFEditorTheme;
|
||||
import _VisualDVM.Visual.Windows.*;
|
||||
|
||||
import static Common.Visual.Tables.TableEditors.*;
|
||||
import static Common.Visual.Tables.TableRenderers.*;
|
||||
import static Common.Visual.Trees.TreeRenderers.*;
|
||||
public class MainUI extends UIModule_ {
|
||||
public MainWindow mainWindow = null;
|
||||
ComponentsForm componentsWindow = null;
|
||||
public SearchReplaceForm searchReplaceWindow = null;
|
||||
public ProfilesForm profilesWindow = null;
|
||||
public VersionsWindow versionsWindow = null;
|
||||
public DebugWindow debugWindow = null;
|
||||
public RemoteFileChooser remoteFileChooser = null;
|
||||
ComponentsForm componentsWindow = null;
|
||||
//-
|
||||
TestingMenuBar testingMenuBar = null;
|
||||
CredentialsMenuBar credentialsMenuBar = null;
|
||||
VersionsMenuBar versionsMenuBar = null;
|
||||
//-
|
||||
//-
|
||||
public MainUI() {
|
||||
setTheme(new LightSPFEditorTheme());
|
||||
tableRenderers.put(RendererDimension, new DimensionRenderer());
|
||||
tableRenderers.put(RendererVariantRank, new VariantRankRenderer());
|
||||
tableRenderers.put(RendererCompilerOptionParameterValue, new CompilerOptionParameterValueRenderer());
|
||||
tableRenderers.put(RendererCompilerOptionParameterName, new CompilerOptionParameterNameRenderer());
|
||||
tableRenderers.put(RendererCompilerEnvironmentValue, new CompilerEnvironmentValueRenderer());
|
||||
tableRenderers.put(RendererAutoConfiguration, new ConfigurationAutoRenderer());
|
||||
//--
|
||||
tableEditors.put(EditorHyperlinks, new VectorEditor());
|
||||
tableEditors.put(EditorDimension, new DimensionStateChanger());
|
||||
tableEditors.put(EditorCompilerOptionParameterValue, new CompilerOptionParameterValueEditor());
|
||||
tableEditors.put(EditorCompilerEnvironmentValue, new CompilerEnvironmentValueEditor());
|
||||
tableEditors.put(EditorAutoConfiguration, new ConfigurationAutoSwitcher());
|
||||
//--
|
||||
treeRenderers.put(RendererGraph, new GraphTreeCellRenderer());
|
||||
treeRenderers.put(RendererRemoteFile, new RemoteFileRenderer());
|
||||
treeRenderers.put(RendererFile, new FilesTreeCellRenderer());
|
||||
treeRenderers.put(RendererVersion, new VersionsTreeCellRenderer());
|
||||
treeRenderers.put(RendererSapforVersion, new SapforVersionsTreeCellRenderer());
|
||||
treeRenderers.put(RendererRule, new RulesTreeCellRenderer());
|
||||
}
|
||||
//-
|
||||
public TestingMenuBar getTestingMenuBar() {
|
||||
if (testingMenuBar == null)
|
||||
testingMenuBar = new TestingMenuBar();
|
||||
@@ -39,11 +84,6 @@ public class MainUI extends UIModule_ {
|
||||
credentialsMenuBar = new CredentialsMenuBar();
|
||||
return credentialsMenuBar;
|
||||
}
|
||||
//-
|
||||
//-
|
||||
public MainUI() {
|
||||
setTheme(new LightSPFEditorTheme());
|
||||
}
|
||||
public MainWindow getMainWindow() {
|
||||
if (mainWindow == null)
|
||||
mainWindow = new MainForm();
|
||||
|
||||
Reference in New Issue
Block a user