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

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,26 +0,0 @@
package Visual_DVM_2021.Passes;
import Common.Database.DBObject;
public abstract class EditObjectPass<D extends DBObject> extends ObjectPass<D> {
public EditObjectPass(Class<D> d_in) {
super(d_in);
}
@Override
public String getIconPath() {
return "/icons/Edit.png";
}
@Override
protected boolean canStart(Object... args) throws Exception {
target = (D) getTable().getCurrent();
return getTable().CheckCurrent(Log) && getTable().ShowEditObjectDialog(target);
}
@Override
protected void body() throws Exception {
getDb().Update(target);
}
@Override
protected void showFinish() throws Exception {
getTable().ShowUI(target.getPK());
for (Class dep : getTable().getFKDependencies().keySet())
getDb().tables.get(dep).RefreshUI();
}
}