no message
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
package _VisualDVM;
|
||||
import Common.CurrentAnchestor;
|
||||
import Common.Current_;
|
||||
import _VisualDVM.GlobalData.Account.Account;
|
||||
import _VisualDVM.GlobalData.Compiler.Compiler;
|
||||
import _VisualDVM.GlobalData.Machine.Machine;
|
||||
@@ -24,7 +24,7 @@ import Visual_DVM_2021.Passes.UI.PassForm;
|
||||
|
||||
import javax.swing.tree.DefaultMutableTreeNode;
|
||||
import java.io.File;
|
||||
public enum Current implements CurrentAnchestor {
|
||||
public enum Current implements Current_ {
|
||||
//--
|
||||
DVMPackage,
|
||||
SapforPackage,
|
||||
@@ -205,145 +205,145 @@ public enum Current implements CurrentAnchestor {
|
||||
}
|
||||
//------------------------------------------------------------------------------------->>
|
||||
public static boolean HasProject() {
|
||||
return CurrentAnchestor.get(Project) != null;
|
||||
return Current_.get(Project) != null;
|
||||
}
|
||||
public static boolean HasFile() {
|
||||
return CurrentAnchestor.get(File) != null;
|
||||
return Current_.get(File) != null;
|
||||
}
|
||||
public static boolean HasSelectedFile() {
|
||||
return CurrentAnchestor.get(SelectedFile) != null;
|
||||
return Current_.get(SelectedFile) != null;
|
||||
}
|
||||
public static boolean HasAccount() {
|
||||
return CurrentAnchestor.get(Account) != null;
|
||||
return Current_.get(Account) != null;
|
||||
}
|
||||
public static boolean HasMachine() {
|
||||
return CurrentAnchestor.get(Machine) != null;
|
||||
return Current_.get(Machine) != null;
|
||||
}
|
||||
public static boolean HasUser() {
|
||||
return CurrentAnchestor.get(User) != null;
|
||||
return Current_.get(User) != null;
|
||||
}
|
||||
public static boolean HasCompiler() {
|
||||
return CurrentAnchestor.get(Compiler) != null;
|
||||
return Current_.get(Compiler) != null;
|
||||
}
|
||||
public static boolean HasRemoteFile() {
|
||||
return CurrentAnchestor.get(RemoteFile) != null;
|
||||
return Current_.get(RemoteFile) != null;
|
||||
}
|
||||
public static boolean HasMakefile() {
|
||||
return CurrentAnchestor.get(Makefile) != null;
|
||||
return Current_.get(Makefile) != null;
|
||||
}
|
||||
public static boolean HasRunConfiguration() {
|
||||
return CurrentAnchestor.get(RunConfiguration) != null;
|
||||
return Current_.get(RunConfiguration) != null;
|
||||
}
|
||||
public static boolean HasCompilationTask() {
|
||||
return CurrentAnchestor.get(CompilationTask) != null;
|
||||
return Current_.get(CompilationTask) != null;
|
||||
}
|
||||
public static boolean HasRunTask() {
|
||||
return CurrentAnchestor.get(RunTask) != null;
|
||||
return Current_.get(RunTask) != null;
|
||||
}
|
||||
public static boolean HasPassForm() {
|
||||
return CurrentAnchestor.get(PassForm) != null;
|
||||
return Current_.get(PassForm) != null;
|
||||
}
|
||||
public static boolean HasProjectView() {
|
||||
return CurrentAnchestor.get(ProjectView) != null;
|
||||
return Current_.get(ProjectView) != null;
|
||||
}
|
||||
public static SapforSettings getSapforSettings() {
|
||||
return (SapforSettings) CurrentAnchestor.get(SapforSettings);
|
||||
return (SapforSettings) Current_.get(SapforSettings);
|
||||
}
|
||||
public static boolean HasSapforSettings() {
|
||||
return CurrentAnchestor.get(SapforSettings) != null;
|
||||
return Current_.get(SapforSettings) != null;
|
||||
}
|
||||
public static db_project_info getProject() {
|
||||
return (db_project_info) CurrentAnchestor.get(Project);
|
||||
return (db_project_info) Current_.get(Project);
|
||||
}
|
||||
public static DBProjectFile getFile() {
|
||||
return (DBProjectFile) CurrentAnchestor.get(File);
|
||||
return (DBProjectFile) Current_.get(File);
|
||||
}
|
||||
public static _VisualDVM.Repository.Component.Component getComponent() {
|
||||
return (_VisualDVM.Repository.Component.Component) CurrentAnchestor.get(Component);
|
||||
return (_VisualDVM.Repository.Component.Component) Current_.get(Component);
|
||||
}
|
||||
public static _VisualDVM.Repository.BugReport.BugReport getBugReport() {
|
||||
return (BugReport) CurrentAnchestor.get(BugReport);
|
||||
return (BugReport) Current_.get(BugReport);
|
||||
}
|
||||
public static db_project_info getRoot() {
|
||||
return (db_project_info) CurrentAnchestor.get(Root);
|
||||
return (db_project_info) Current_.get(Root);
|
||||
}
|
||||
public static boolean HasRoot() {
|
||||
return CurrentAnchestor.get(Root) != null;
|
||||
return Current_.get(Root) != null;
|
||||
}
|
||||
public static db_project_info getVersion() {
|
||||
return (db_project_info) CurrentAnchestor.get(Version);
|
||||
return (db_project_info) Current_.get(Version);
|
||||
}
|
||||
public static Account getAccount() {
|
||||
return (Account) CurrentAnchestor.get(Account);
|
||||
return (Account) Current_.get(Account);
|
||||
}
|
||||
public static boolean HasSubscriber() {
|
||||
return CurrentAnchestor.get(Current.Subscriber) != null;
|
||||
return Current_.get(Current.Subscriber) != null;
|
||||
}
|
||||
public static _VisualDVM.Repository.Subscribes.Subscriber getSubscriber() {
|
||||
return (Subscriber) CurrentAnchestor.get(Current.Subscriber);
|
||||
return (Subscriber) Current_.get(Current.Subscriber);
|
||||
}
|
||||
public static Machine getMachine() {
|
||||
return (Machine) CurrentAnchestor.get(Current.Machine);
|
||||
return (Machine) Current_.get(Current.Machine);
|
||||
}
|
||||
public static User getUser() {
|
||||
return (User) CurrentAnchestor.get(Current.User);
|
||||
return (User) Current_.get(Current.User);
|
||||
}
|
||||
public static Compiler getCompiler() {
|
||||
return (Compiler) CurrentAnchestor.get(Current.Compiler);
|
||||
return (Compiler) Current_.get(Current.Compiler);
|
||||
}
|
||||
public static CompilationTask getCompilationTask() {
|
||||
return (CompilationTask) CurrentAnchestor.get(Current.CompilationTask);
|
||||
return (CompilationTask) Current_.get(Current.CompilationTask);
|
||||
}
|
||||
public static RunTask getRunTask() {
|
||||
return (RunTask) CurrentAnchestor.get(Current.RunTask);
|
||||
return (RunTask) Current_.get(Current.RunTask);
|
||||
}
|
||||
public static RemoteFile getRemoteFile() {
|
||||
return (RemoteFile) CurrentAnchestor.get(Current.RemoteFile);
|
||||
return (RemoteFile) Current_.get(Current.RemoteFile);
|
||||
}
|
||||
public static Makefile getMakefile() {
|
||||
return (Makefile) CurrentAnchestor.get(Current.Makefile);
|
||||
return (Makefile) Current_.get(Current.Makefile);
|
||||
}
|
||||
public static Module getModule() {
|
||||
return (Module) CurrentAnchestor.get(Current.Module);
|
||||
return (Module) Current_.get(Current.Module);
|
||||
}
|
||||
public static RunConfiguration getRunConfiguration() {
|
||||
return (RunConfiguration) CurrentAnchestor.get(Current.RunConfiguration);
|
||||
return (RunConfiguration) Current_.get(Current.RunConfiguration);
|
||||
}
|
||||
public static _VisualDVM.Repository.Component.Sapfor.Sapfor getSapfor() {
|
||||
return (_VisualDVM.Repository.Component.Sapfor.Sapfor) CurrentAnchestor.get(Current.Sapfor);
|
||||
return (_VisualDVM.Repository.Component.Sapfor.Sapfor) Current_.get(Current.Sapfor);
|
||||
}
|
||||
public static boolean HasGroup() {
|
||||
return CurrentAnchestor.get(Current.Group) != null;
|
||||
return Current_.get(Current.Group) != null;
|
||||
}
|
||||
public static _VisualDVM.TestingSystem.Common.Group.Group getGroup() {
|
||||
return (_VisualDVM.TestingSystem.Common.Group.Group) CurrentAnchestor.get(Current.Group);
|
||||
return (_VisualDVM.TestingSystem.Common.Group.Group) Current_.get(Current.Group);
|
||||
}
|
||||
public static boolean HasConfiguration() {
|
||||
return CurrentAnchestor.get(Current.DVMConfiguration) != null;
|
||||
return Current_.get(Current.DVMConfiguration) != null;
|
||||
}
|
||||
public static DVMConfiguration getDVMConfiguration() {
|
||||
return (DVMConfiguration) CurrentAnchestor.get(Current.DVMConfiguration);
|
||||
return (DVMConfiguration) Current_.get(Current.DVMConfiguration);
|
||||
}
|
||||
public static SapforConfiguration getSapforConfiguration() {
|
||||
return (_VisualDVM.TestingSystem.SAPFOR.SapforConfiguration.SapforConfiguration) CurrentAnchestor.get(Current.SapforConfiguration);
|
||||
return (_VisualDVM.TestingSystem.SAPFOR.SapforConfiguration.SapforConfiguration) Current_.get(Current.SapforConfiguration);
|
||||
}
|
||||
public static Test getTest() {
|
||||
return (_VisualDVM.TestingSystem.Common.Test.Test) CurrentAnchestor.get(Current.Test);
|
||||
return (_VisualDVM.TestingSystem.Common.Test.Test) Current_.get(Current.Test);
|
||||
}
|
||||
public static boolean HasTest() {
|
||||
return CurrentAnchestor.get(Current.Test) != null;
|
||||
return Current_.get(Current.Test) != null;
|
||||
}
|
||||
public static boolean HasVersion() {
|
||||
return CurrentAnchestor.get(Current.Version) != null;
|
||||
return Current_.get(Current.Version) != null;
|
||||
}
|
||||
public static RemoteFile getComponentServerBackup() {
|
||||
return (RemoteFile) CurrentAnchestor.get(Current.ComponentServerBackup);
|
||||
return (RemoteFile) Current_.get(Current.ComponentServerBackup);
|
||||
}
|
||||
public static boolean HasComponentServerBackup() {
|
||||
return CurrentAnchestor.get(Current.ComponentServerBackup) != null;
|
||||
return Current_.get(Current.ComponentServerBackup) != null;
|
||||
}
|
||||
public static DefaultMutableTreeNode getProjectNode() {
|
||||
return (DefaultMutableTreeNode) CurrentAnchestor.get(Current.ProjectNode);
|
||||
return (DefaultMutableTreeNode) Current_.get(Current.ProjectNode);
|
||||
}
|
||||
public static DefaultMutableTreeNode getProjectCurrentParentNode() {
|
||||
DefaultMutableTreeNode node = Current.getProjectNode();
|
||||
@@ -353,84 +353,84 @@ public enum Current implements CurrentAnchestor {
|
||||
return (node.getUserObject() instanceof DBProjectFile) ? (DefaultMutableTreeNode) node.getParent() : node;
|
||||
}
|
||||
public static File getSelectedDirectory() {
|
||||
return (File) CurrentAnchestor.get(Current.SelectedDirectory);
|
||||
return (File) Current_.get(Current.SelectedDirectory);
|
||||
}
|
||||
public static DBProjectFile getSelectedFile() {
|
||||
return (DBProjectFile) CurrentAnchestor.get(Current.SelectedFile);
|
||||
return (DBProjectFile) Current_.get(Current.SelectedFile);
|
||||
}
|
||||
public static boolean HasBugReport() {
|
||||
return CurrentAnchestor.get(Current.BugReport) != null;
|
||||
return Current_.get(Current.BugReport) != null;
|
||||
}
|
||||
public static PassForm getPassForm() {
|
||||
return (Visual_DVM_2021.Passes.UI.PassForm) CurrentAnchestor.get(Current.PassForm);
|
||||
return (Visual_DVM_2021.Passes.UI.PassForm) Current_.get(Current.PassForm);
|
||||
}
|
||||
public static ParallelRegion getParallelRegion() {
|
||||
return (ParallelRegion) CurrentAnchestor.get(Current.ParallelRegion);
|
||||
return (ParallelRegion) Current_.get(Current.ParallelRegion);
|
||||
}
|
||||
public static boolean HasParallelRegion() {
|
||||
return CurrentAnchestor.get(Current.ParallelRegion) != null;
|
||||
return Current_.get(Current.ParallelRegion) != null;
|
||||
}
|
||||
public static boolean HasFunction() {
|
||||
return CurrentAnchestor.get(Current.Function) != null;
|
||||
return Current_.get(Current.Function) != null;
|
||||
}
|
||||
public static boolean HasSelectedFunction() {
|
||||
return CurrentAnchestor.get(Current.SelectedFunction) != null;
|
||||
return Current_.get(Current.SelectedFunction) != null;
|
||||
}
|
||||
public static FuncInfo getFunction() {
|
||||
return (FuncInfo) CurrentAnchestor.get(Current.Function);
|
||||
return (FuncInfo) Current_.get(Current.Function);
|
||||
}
|
||||
public static FuncInfo getSelectionFunction() {
|
||||
return (FuncInfo) CurrentAnchestor.get(Current.SelectedFunction);
|
||||
return (FuncInfo) Current_.get(Current.SelectedFunction);
|
||||
}
|
||||
public static boolean HasScenario() {
|
||||
return CurrentAnchestor.get(Current.Scenario) != null;
|
||||
return Current_.get(Current.Scenario) != null;
|
||||
}
|
||||
public static db_project_info getPackageVersion() {
|
||||
return (db_project_info) CurrentAnchestor.get(Current.PackageVersion);
|
||||
return (db_project_info) Current_.get(Current.PackageVersion);
|
||||
}
|
||||
public static boolean HasPackageVersion() {
|
||||
return CurrentAnchestor.get(Current.PackageVersion) != null;
|
||||
return Current_.get(Current.PackageVersion) != null;
|
||||
}
|
||||
public static boolean HasSapforConfiguration() {
|
||||
return CurrentAnchestor.get(Current.SapforConfiguration) != null;
|
||||
return Current_.get(Current.SapforConfiguration) != null;
|
||||
}
|
||||
public static _VisualDVM.ProjectData.ProjectView getProjectView() {
|
||||
return (_VisualDVM.ProjectData.ProjectView) CurrentAnchestor.get(ProjectView);
|
||||
return (_VisualDVM.ProjectData.ProjectView) Current_.get(ProjectView);
|
||||
}
|
||||
public static boolean HasSapforProfile() {
|
||||
return CurrentAnchestor.get(Current.SapforProfile) != null;
|
||||
return Current_.get(Current.SapforProfile) != null;
|
||||
}
|
||||
public static _VisualDVM.GlobalData.SapforProfile.SapforProfile getSapforProfile() {
|
||||
return (_VisualDVM.GlobalData.SapforProfile.SapforProfile) CurrentAnchestor.get(Current.SapforProfile);
|
||||
return (_VisualDVM.GlobalData.SapforProfile.SapforProfile) Current_.get(Current.SapforProfile);
|
||||
}
|
||||
public static boolean HasServerSapfor() {
|
||||
return CurrentAnchestor.get(Current.ServerSapfor) != null;
|
||||
return Current_.get(Current.ServerSapfor) != null;
|
||||
}
|
||||
public static _VisualDVM.TestingSystem.SAPFOR.ServerSapfor.ServerSapfor getServerSapfor() {
|
||||
return (_VisualDVM.TestingSystem.SAPFOR.ServerSapfor.ServerSapfor) CurrentAnchestor.get(Current.ServerSapfor);
|
||||
return (_VisualDVM.TestingSystem.SAPFOR.ServerSapfor.ServerSapfor) Current_.get(Current.ServerSapfor);
|
||||
}
|
||||
public static boolean HasSubscriberWorkspace() {
|
||||
return CurrentAnchestor.get(Current.SubscriberWorkspace) != null;
|
||||
return Current_.get(Current.SubscriberWorkspace) != null;
|
||||
}
|
||||
public static _VisualDVM.Repository.SubscriberWorkspace.SubscriberWorkspace getSubscriberWorkspace() {
|
||||
return (_VisualDVM.Repository.SubscriberWorkspace.SubscriberWorkspace) CurrentAnchestor.get(Current.SubscriberWorkspace);
|
||||
return (_VisualDVM.Repository.SubscriberWorkspace.SubscriberWorkspace) Current_.get(Current.SubscriberWorkspace);
|
||||
}
|
||||
public static boolean HasDVMPackage() {
|
||||
return CurrentAnchestor.get(Current.DVMPackage) != null;
|
||||
return Current_.get(Current.DVMPackage) != null;
|
||||
}
|
||||
public static _VisualDVM.TestingSystem.DVM.DVMPackage.DVMPackage getDVMPackage() {
|
||||
return (_VisualDVM.TestingSystem.DVM.DVMPackage.DVMPackage) CurrentAnchestor.get(Current.DVMPackage);
|
||||
return (_VisualDVM.TestingSystem.DVM.DVMPackage.DVMPackage) Current_.get(Current.DVMPackage);
|
||||
}
|
||||
public static boolean HasSapforPackage() {
|
||||
return CurrentAnchestor.get(Current.SapforPackage) != null;
|
||||
return Current_.get(Current.SapforPackage) != null;
|
||||
}
|
||||
public static _VisualDVM.TestingSystem.SAPFOR.SapforPackage.SapforPackage getSapforPackage() {
|
||||
return (_VisualDVM.TestingSystem.SAPFOR.SapforPackage.SapforPackage) CurrentAnchestor.get(Current.SapforPackage);
|
||||
return (_VisualDVM.TestingSystem.SAPFOR.SapforPackage.SapforPackage) Current_.get(Current.SapforPackage);
|
||||
}
|
||||
public static boolean HasDVMRunTask() {
|
||||
return CurrentAnchestor.get(Current.DVMRunTask) != null;
|
||||
return Current_.get(Current.DVMRunTask) != null;
|
||||
}
|
||||
public static _VisualDVM.TestingSystem.DVM.DVMTasks.DVMRunTask getDVMRunTask() {
|
||||
return (_VisualDVM.TestingSystem.DVM.DVMTasks.DVMRunTask) CurrentAnchestor.get(Current.DVMRunTask);
|
||||
return (_VisualDVM.TestingSystem.DVM.DVMTasks.DVMRunTask) Current_.get(Current.DVMRunTask);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user