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.gui.nodeviews;
09:
10: import java.awt.event.ActionListener;
11:
12: import de.uka.ilkd.key.rule.TacletApp;
13:
14: /**
15: * This interface is implemented by items to be displayed in
16: * the @link TacletMenu.
17: */
18: interface TacletMenuItem {
19:
20: void addActionListener(ActionListener listener);
21:
22: /** gets the Taclet that is attached to this item
23: * @return the attached Taclet
24: */
25: abstract TacletApp connectedTo();
26:
27: }
|