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: //
09: //
10:
11: /* Generated by Together */
12:
13: package de.uka.ilkd.key.casetool.together.scripts.menuextension;
14:
15: import com.togethersoft.openapi.ide.window.IdeDialogType;
16: import com.togethersoft.openapi.ide.window.IdeWindowManager;
17:
18: import de.uka.ilkd.key.casetool.FunctionalityOnModel;
19: import de.uka.ilkd.key.casetool.together.TogetherReprModel;
20:
21: public class GlobalMenuPoint1_1 implements GlobalMenu {
22: public String getMenuEntry() {
23: return "TransformXMI";
24: }
25:
26: public void run(IdeWindowManager winMan) {
27: String result = FunctionalityOnModel
28: .transformXMIFile(new TogetherReprModel());
29: if (!result.equals("")) {
30: winMan.showMessageDialog("Results",
31: IdeDialogType.INFORMATION, result);
32: }
33: }
34: }
|