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