2024-10-14 12:14:01 +03:00
|
|
|
package _VisualDVM.Passes.All;
|
2024-10-09 22:01:19 +03:00
|
|
|
import _VisualDVM.Constants;
|
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-10-14 15:19:13 +03:00
|
|
|
public class ShowSapforCompilationOut extends ShowTestingServerFile {
|
2024-05-18 23:31:45 +03:00
|
|
|
@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-25 00:50:19 +03:00
|
|
|
if (!Global.testingServer.db.serverSapfors.getUI().CheckCurrent(Log)) {
|
2024-05-18 23:31:45 +03:00
|
|
|
return false;
|
|
|
|
|
}
|
2024-10-24 23:40:24 +03:00
|
|
|
return super.canStart("Поток вывода", new RemoteFile(
|
|
|
|
|
Global.testingServer.db.serverSapfors.getUI().getCurrent().home_path, Constants.out_file));
|
2024-05-18 23:31:45 +03:00
|
|
|
}
|
|
|
|
|
}
|