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

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,29 +0,0 @@
package Visual_DVM_2021.Passes.All;
import Common.Current;
import Common.UI.UI;
import ProjectData.Files.DBProjectFile;
import ProjectData.Files.FileState;
import Visual_DVM_2021.Passes.Pass_2021;
public class IncludeFile extends Pass_2021<DBProjectFile> {
@Override
public String getIconPath() {
return "/icons/Include.png";
}
@Override
protected boolean canStart(Object... args) {
if (args.length > 0) {
target = (DBProjectFile) args[0];
return target.state.equals(FileState.Excluded);
}
return Current.Check(Log, Current.SelectedFile)
&& (target = Current.getSelectedFile()).state.equals(FileState.Excluded);
}
@Override
protected void body() throws Exception {
target.Include();
}
@Override
protected void showDone() throws Exception {
UI.getMainWindow().getProjectWindow().getFilesTreeForm().getTree().RefreshNode(target.node);
}
}