перенос метода получающего поле объекта для отображения

This commit is contained in:
2024-10-20 13:34:38 +03:00
parent dc53ecd6c8
commit f13a9cda2e
76 changed files with 721 additions and 612 deletions

View File

@@ -200,4 +200,18 @@ public class Makefile extends ModuleAnchestor {
}
}
}
@Override
public Object getFieldAt(int columnIndex) {
switch (columnIndex) {
case 2:
return getCompilerDescription();
case 3:
return command;
case 4:
return flags;
default:
return null;
}
}
}

View File

@@ -75,19 +75,6 @@ public class MakefilesDBTable extends iDBTable<Makefile> {
};
}
@Override
public Object getFieldAt(Makefile object, int columnIndex) {
switch (columnIndex) {
case 2:
return object.getCompilerDescription();
case 3:
return object.command;
case 4:
return object.flags;
default:
return null;
}
}
@Override
public Current CurrentName() {
return Current.Makefile;
}