01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: package de.uka.ilkd.key.proof;
09:
10: public class SingleProof extends ProofAggregate {
11:
12: private Proof proof;
13:
14: public SingleProof(Proof p, String name) {
15: super (name);
16: this .proof = p;
17: }
18:
19: public void updateProofStatus() {
20: proof.mgt().updateProofStatus();
21: proofStatus = proof.mgt().getStatus();
22: }
23:
24: public Proof[] getProofs() {
25: return new Proof[] { proof };
26: }
27:
28: public int size() {
29: return 1;
30: }
31:
32: public ProofAggregate[] getChildren() {
33: return new ProofAggregate[0];
34: }
35: }
|