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: package de.uka.ilkd.key.casetool.patternimplementor;
12:
13: public interface AbstractPatternImplementor {
14:
15: /**
16: * creates the parameter-structure
17: */
18:
19: //public abstract void createParameters();
20: /**
21: * returns the sourcecode of the pattern given the parameters
22: */
23: public abstract SourceCode getImplementation();
24:
25: /**
26: * returns the parameters so the gui could be built <code>
27: * JDialog jd = new JDialog();
28: * jd.setContentPane(new PIParameterGUIGroup(patternImplementor.getParameters()));
29: * jd.pack();
30: * jd.setVisible(true);
31: * </code>
32: */
33: public abstract PIParameterGroup getParameters();
34:
35: public abstract String getName();
36: }
|