no message
This commit is contained in:
@@ -60,9 +60,6 @@ public class DataSet<K, D extends DBObject> extends DataSetAnchestor {
|
||||
protected DataSetControlForm createUI(JPanel mountPanel) {
|
||||
return null;
|
||||
}
|
||||
public boolean hasUI() {
|
||||
return ui != null;
|
||||
}
|
||||
public void SelectAll(boolean flag) {
|
||||
for (D object : Data.values()) {
|
||||
if (object.isVisible())
|
||||
@@ -224,7 +221,7 @@ public class DataSet<K, D extends DBObject> extends DataSetAnchestor {
|
||||
return res;
|
||||
}
|
||||
public void SaveLastSelections() {
|
||||
if (hasUI()) {
|
||||
if (ui!=null) {
|
||||
Object lastPk = null;
|
||||
if ((CurrentName() != null) && (getCurrent() != null))
|
||||
lastPk = getCurrent().getPK();
|
||||
@@ -234,7 +231,7 @@ public class DataSet<K, D extends DBObject> extends DataSetAnchestor {
|
||||
}
|
||||
}
|
||||
public void RestoreLastSelections() {
|
||||
if (hasUI()) {
|
||||
if (ui!=null) {
|
||||
Object lastPk = selections.get(getClass());
|
||||
if ((CurrentName() != null) && (lastPk != null)) {
|
||||
ui.Select(lastPk);
|
||||
|
||||
Reference in New Issue
Block a user