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: * Created on 18.03.2005
10: */
11: package de.uka.ilkd.key.gui.notification.actions;
12:
13: import java.net.URL;
14:
15: import de.uka.ilkd.key.gui.notification.NotificationTask;
16: import de.uka.ilkd.key.util.KeYResourceManager;
17:
18: /**
19: * @author bubel
20: */
21: public class AbandonTaskSoundPlay extends PlaySound {
22:
23: /**
24: * creates an instance of this notification action
25: */
26: public AbandonTaskSoundPlay() {
27: URL internalSoundFile = KeYResourceManager.getManager()
28: .getResourceFile(NotificationTask.class,
29: "sounds/abandon.wav");
30: if (internalSoundFile != null) {
31: setSoundURL(internalSoundFile);
32: }
33: }
34:
35: }
|