diff --git a/designer/src/com/fr/design/mainframe/alphafine/cell/model/AlphaCellModel.java b/designer/src/com/fr/design/mainframe/alphafine/cell/model/AlphaCellModel.java index 1ba4e1a24..ee9a9f55c 100644 --- a/designer/src/com/fr/design/mainframe/alphafine/cell/model/AlphaCellModel.java +++ b/designer/src/com/fr/design/mainframe/alphafine/cell/model/AlphaCellModel.java @@ -109,4 +109,11 @@ public abstract class AlphaCellModel implements Comparable { } return this.getName().compareTo(cellModel.getName()); } + + /** + * 恢复正常状态 + */ + public void resetState() { + + } } diff --git a/designer/src/com/fr/design/mainframe/alphafine/cell/model/MoreModel.java b/designer/src/com/fr/design/mainframe/alphafine/cell/model/MoreModel.java index 5da7be486..2b808a0f8 100644 --- a/designer/src/com/fr/design/mainframe/alphafine/cell/model/MoreModel.java +++ b/designer/src/com/fr/design/mainframe/alphafine/cell/model/MoreModel.java @@ -16,11 +16,11 @@ public class MoreModel extends AlphaCellModel { super(name, content, CellType.MORE); this.needMore = needMore; this.contentType = type; + setLoading(true); } public MoreModel(String name) { - super(name, null, CellType.MORE); - this.needMore = false; + this(name, true); } public MoreModel(String name, boolean isLoading) { @@ -51,6 +51,11 @@ public class MoreModel extends AlphaCellModel { } + @Override + public void resetState() { + setLoading(false); + } + public boolean isLoading() { return isLoading; }