2024-05-18 23:31:45 +03:00
|
|
|
package Visual_DVM_2021.Passes.All;
|
2024-10-09 23:37:58 +03:00
|
|
|
import Common.Current_;
|
2024-10-09 22:01:19 +03:00
|
|
|
import _VisualDVM.Constants;
|
|
|
|
|
import _VisualDVM.Current;
|
2024-10-13 22:08:13 +03:00
|
|
|
import _VisualDVM.Global;
|
2024-10-09 22:21:57 +03:00
|
|
|
import _VisualDVM.GlobalData.RemoteFile.RemoteFile;
|
2024-05-18 23:31:45 +03:00
|
|
|
public class ShowSapforCompilationOut extends ShowTestingServerFile{
|
|
|
|
|
@Override
|
|
|
|
|
protected int getTimeout() {
|
|
|
|
|
return super.getTimeout();
|
|
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
public String getIconPath() {
|
|
|
|
|
return "/icons/CompilationOutput.png";
|
|
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
public String getButtonText() {
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
protected boolean canStart(Object... args) throws Exception {
|
2024-10-13 22:08:13 +03:00
|
|
|
if (!Global.mainModule.Check(Log,Current.ServerSapfor)){
|
2024-05-18 23:31:45 +03:00
|
|
|
return false;
|
|
|
|
|
}
|
2024-10-13 22:08:13 +03:00
|
|
|
return super.canStart("Поток вывода", new RemoteFile(Global.mainModule.getServerSapfor().home_path, Constants.out_file));
|
2024-05-18 23:31:45 +03:00
|
|
|
}
|
|
|
|
|
}
|