упорядочил папки с кодом.

This commit is contained in:
2023-11-19 01:53:56 +03:00
parent 4883b4af51
commit 44c6daffa3
596 changed files with 2140 additions and 1569 deletions

View File

@@ -1,24 +0,0 @@
package Visual_DVM_2021.Passes.All;
import Common.Current;
import Common.UI.UI;
import Visual_DVM_2021.Passes.SSH.CurrentConnectionPass;
public class SelectRemoteFile extends CurrentConnectionPass {
boolean dialogOK;
boolean needs_directory = false;
@Override
protected boolean canStart(Object... args) {
if (Current.Check(Log, Current.Machine, Current.User)) {
needs_directory = (boolean) args[0];
Current.set(Current.RemoteFile, null);
return true;
}
return false;
}
protected void ServerAction() throws Exception {
dialogOK = (UI.getRemoteFileChooser().ShowDialog("Выбор " + (needs_directory ? "папки" : "файла"), this, needs_directory));
}
@Override
protected boolean validate() {
return dialogOK;
}
}