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.gui;
12:
13: /** An event that indicates that the users focused node or proof has
14: * changed */
15:
16: public class KeYSelectionEvent {
17:
18: /** the source of this event */
19: private KeYSelectionModel source;
20:
21: /** creates a new SelectedNodeEvent
22: * @param source the SelectedNodeModel where the event had its
23: * origin
24: */
25: public KeYSelectionEvent(KeYSelectionModel source) {
26: this .source = source;
27: }
28:
29: /** returns the KeYSelectionModel that caused this event
30: * @return the KeYSelectionModel that caused this event
31: */
32: public KeYSelectionModel getSource() {
33: return source;
34: }
35:
36: }
|