упорядочил папки с кодом.
This commit is contained in:
@@ -16,15 +16,15 @@ import ProjectData.Files.DBProjectFile;
|
||||
import ProjectData.Project.db_project_info;
|
||||
import ProjectData.SapforData.Functions.FuncInfo;
|
||||
import ProjectData.SapforData.Regions.ParallelRegion;
|
||||
import Repository.BugReport.BugReport;
|
||||
import Repository.Subscribes.Subscriber;
|
||||
import TestingSystem.SAPFOR.SapforConfiguration.SapforConfiguration;
|
||||
import TestingSystem.DVM.Configuration.Configuration;
|
||||
import TestingSystem.DVM.Tasks.TestCompilationTask;
|
||||
import TestingSystem.DVM.Tasks.TestRunTask;
|
||||
import TestingSystem.DVM.TasksPackage.TasksPackage;
|
||||
import TestingSystem.Common.Test.Test;
|
||||
import Visual_DVM_2021.Passes.UI.PassForm;
|
||||
import Repository.ComponentsServer.Component.BugReport.BugReport;
|
||||
import Repository.ComponentsServer.Subscribes.Subscriber;
|
||||
import Repository.TestingSystem.SAPFOR.SapforConfiguration.SapforConfiguration;
|
||||
import Repository.TestingSystem.DVM.Configuration.Configuration;
|
||||
import Repository.TestingSystem.DVM.Tasks.TestCompilationTask;
|
||||
import Repository.TestingSystem.DVM.Tasks.TestRunTask;
|
||||
import Repository.TestingSystem.DVM.TasksPackage.TasksPackage;
|
||||
import Repository.TestingSystem.Common.Test.Test;
|
||||
import Common.Passes.UI.PassForm;
|
||||
|
||||
import javax.swing.tree.DefaultMutableTreeNode;
|
||||
import java.io.File;
|
||||
@@ -167,10 +167,10 @@ public enum Current {
|
||||
public static DBProjectFile getFile() {
|
||||
return (DBProjectFile) get(File);
|
||||
}
|
||||
public static Repository.Component.Component getComponent() {
|
||||
return (Repository.Component.Component) get(Component);
|
||||
public static Repository.ComponentsServer.Component.Component getComponent() {
|
||||
return (Repository.ComponentsServer.Component.Component) get(Component);
|
||||
}
|
||||
public static Repository.BugReport.BugReport getBugReport() {
|
||||
public static Repository.ComponentsServer.Component.BugReport.BugReport getBugReport() {
|
||||
return (BugReport) get(BugReport);
|
||||
}
|
||||
public static db_project_info getRoot() {
|
||||
@@ -188,7 +188,7 @@ public enum Current {
|
||||
public static boolean HasSubscriber() {
|
||||
return get(Current.Subscriber) != null;
|
||||
}
|
||||
public static Repository.Subscribes.Subscriber getSubscriber() {
|
||||
public static Repository.ComponentsServer.Subscribes.Subscriber getSubscriber() {
|
||||
return (Subscriber) get(Current.Subscriber);
|
||||
}
|
||||
public static Machine getMachine() {
|
||||
@@ -218,28 +218,28 @@ public enum Current {
|
||||
public static RunConfiguration getRunConfiguration() {
|
||||
return (RunConfiguration) get(Current.RunConfiguration);
|
||||
}
|
||||
public static Repository.Component.Sapfor.Sapfor getSapfor() {
|
||||
return (Repository.Component.Sapfor.Sapfor) get(Current.Sapfor);
|
||||
public static Repository.ComponentsServer.Component.Sapfor.Sapfor getSapfor() {
|
||||
return (Repository.ComponentsServer.Component.Sapfor.Sapfor) get(Current.Sapfor);
|
||||
}
|
||||
public static boolean HasGroup() {
|
||||
return get(Current.Group) != null;
|
||||
}
|
||||
public static TestingSystem.Common.Group.Group getGroup() {
|
||||
return (TestingSystem.Common.Group.Group) get(Current.Group);
|
||||
public static Repository.TestingSystem.Common.Group.Group getGroup() {
|
||||
return (Repository.TestingSystem.Common.Group.Group) get(Current.Group);
|
||||
}
|
||||
//--
|
||||
public static boolean HasConfiguration() {
|
||||
return get(Current.Configuration) != null;
|
||||
}
|
||||
public static TestingSystem.DVM.Configuration.Configuration getConfiguration() {
|
||||
public static Repository.TestingSystem.DVM.Configuration.Configuration getConfiguration() {
|
||||
return (Configuration) get(Current.Configuration);
|
||||
}
|
||||
public static SapforConfiguration getSapforConfiguration() {
|
||||
return (TestingSystem.SAPFOR.SapforConfiguration.SapforConfiguration) get(Current.SapforConfiguration);
|
||||
return (Repository.TestingSystem.SAPFOR.SapforConfiguration.SapforConfiguration) get(Current.SapforConfiguration);
|
||||
}
|
||||
//--
|
||||
public static Test getTest() {
|
||||
return (TestingSystem.Common.Test.Test) get(Current.Test);
|
||||
return (Repository.TestingSystem.Common.Test.Test) get(Current.Test);
|
||||
}
|
||||
public static boolean HasTest() {
|
||||
return get(Current.Test) != null;
|
||||
@@ -248,7 +248,7 @@ public enum Current {
|
||||
return get(Current.Version) != null;
|
||||
}
|
||||
public static TestCompilationTask getTestCompilationTask() {
|
||||
return (TestingSystem.DVM.Tasks.TestCompilationTask) get(Current.TestCompilationTask);
|
||||
return (Repository.TestingSystem.DVM.Tasks.TestCompilationTask) get(Current.TestCompilationTask);
|
||||
}
|
||||
public static boolean HasTestCompilationTask() {
|
||||
return get(Current.TestCompilationTask) != null;
|
||||
@@ -257,7 +257,7 @@ public enum Current {
|
||||
return get(Current.TestRunTask) != null;
|
||||
}
|
||||
public static TestRunTask getTestRunTask() {
|
||||
return (TestingSystem.DVM.Tasks.TestRunTask) get(Current.TestRunTask);
|
||||
return (Repository.TestingSystem.DVM.Tasks.TestRunTask) get(Current.TestRunTask);
|
||||
}
|
||||
public static RemoteFile getComponentServerBackup() {
|
||||
return (RemoteFile) get(Current.ComponentServerBackup);
|
||||
@@ -287,7 +287,7 @@ public enum Current {
|
||||
return get(Current.BugReport) != null;
|
||||
}
|
||||
public static PassForm getPassForm() {
|
||||
return (Visual_DVM_2021.Passes.UI.PassForm) get(Current.PassForm);
|
||||
return (Common.Passes.UI.PassForm) get(Current.PassForm);
|
||||
}
|
||||
public static VisualiserTheme getTheme() {
|
||||
return (VisualiserTheme) get(Current.Theme);
|
||||
@@ -332,8 +332,8 @@ public enum Current {
|
||||
public static boolean HasSapforTask() {
|
||||
return get(Current.SapforTask) != null;
|
||||
}
|
||||
public static TestingSystem.SAPFOR.SapforTask.SapforTask getSapforTask() {
|
||||
return (TestingSystem.SAPFOR.SapforTask.SapforTask) get(Current.SapforTask);
|
||||
public static Repository.TestingSystem.SAPFOR.SapforTask.SapforTask getSapforTask() {
|
||||
return (Repository.TestingSystem.SAPFOR.SapforTask.SapforTask) get(Current.SapforTask);
|
||||
}
|
||||
public static ProjectData.ProjectView getProjectView() {
|
||||
return (ProjectData.ProjectView) get(ProjectView);
|
||||
@@ -360,8 +360,8 @@ public enum Current {
|
||||
public static boolean CheckID(Current name, int id) {
|
||||
return (get(name) != null) && (((iDBObject) get(name)).id == id);
|
||||
}
|
||||
public static TestingSystem.SAPFOR.SapforConfigurationCommand.SapforConfigurationCommand getSapforConfigurationCommand() {
|
||||
return (TestingSystem.SAPFOR.SapforConfigurationCommand.SapforConfigurationCommand) get(Current.SapforConfigurationCommand);
|
||||
public static Repository.TestingSystem.SAPFOR.SapforConfigurationCommand.SapforConfigurationCommand getSapforConfigurationCommand() {
|
||||
return (Repository.TestingSystem.SAPFOR.SapforConfigurationCommand.SapforConfigurationCommand) get(Current.SapforConfigurationCommand);
|
||||
}
|
||||
public static boolean HasSapforProfile() {
|
||||
return get(Current.SapforProfile) != null;
|
||||
@@ -372,15 +372,15 @@ public enum Current {
|
||||
public static boolean HasSapforTasksPackage() {
|
||||
return get(Current.SapforTasksPackage) != null;
|
||||
}
|
||||
public static TestingSystem.SAPFOR.SapforTasksPackage.SapforTasksPackage getSapforTasksPackage() {
|
||||
return (TestingSystem.SAPFOR.SapforTasksPackage.SapforTasksPackage) get(Current.SapforTasksPackage);
|
||||
public static Repository.TestingSystem.SAPFOR.SapforTasksPackage.SapforTasksPackage getSapforTasksPackage() {
|
||||
return (Repository.TestingSystem.SAPFOR.SapforTasksPackage.SapforTasksPackage) get(Current.SapforTasksPackage);
|
||||
}
|
||||
//сапфоры установленные на тестовый сервер.
|
||||
public static boolean HasServerSapfor() {
|
||||
return get(Current.ServerSapfor) != null;
|
||||
}
|
||||
public static TestingSystem.SAPFOR.ServerSapfor.ServerSapfor getServerSapfor() {
|
||||
return (TestingSystem.SAPFOR.ServerSapfor.ServerSapfor) get(Current.ServerSapfor);
|
||||
public static Repository.TestingSystem.SAPFOR.ServerSapfor.ServerSapfor getServerSapfor() {
|
||||
return (Repository.TestingSystem.SAPFOR.ServerSapfor.ServerSapfor) get(Current.ServerSapfor);
|
||||
}
|
||||
//--------------------------------------------
|
||||
public String getDescription() {
|
||||
|
||||
Reference in New Issue
Block a user