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.casetool.together.scripts.menuextension;
09:
10: import de.uka.ilkd.key.casetool.FunctionalityOnModel;
11: import de.uka.ilkd.key.casetool.ModelMethod;
12:
13: public class OpMenuPoint5 extends OpMenu {
14: public String getMenuEntry() {
15: return "StrongOperationContract";
16: }
17:
18: public String getSubMenuName() {
19: return "horizontal";
20: }
21:
22: protected String runCore(ModelMethod modelMethod) {
23: return FunctionalityOnModel
24: .proveStrongOperationContract(modelMethod);
25: }
26: }
|