source: trunk/quest-core-events-patrick/src/main/java/de/ugoe/cs/quest/eventcore/userinteraction/UserInteractionProvider.java @ 449

Last change on this file since 449 was 449, checked in by pharms, 12 years ago

Initial import.

  • Property svn:executable set to *
File size: 1.4 KB
Line 
1//-------------------------------------------------------------------------------------------------
2// Module    : $RCSfile: UserInteractionObserver.java,v $
3// Version   : $Revision: 0.0 $  $Author: Patrick $  $Date: 06.11.2011 10:16:33 $
4// Project   : TaskTreePerformanceTest
5// Creation  : 2011 by Patrick
6// Copyright : Patrick Harms, 2011
7//-------------------------------------------------------------------------------------------------
8
9package de.ugoe.cs.quest.eventcore.userinteraction;
10
11import java.util.Observable;
12
13import de.ugoe.cs.quest.eventcore.guimodel.GUIElement;
14
15//-------------------------------------------------------------------------------------------------
16/**
17 * TODO comment
18 *
19 * @version $Revision: $ $Date: $
20 * @author  2011, last modified by $Author: $
21 */
22//-------------------------------------------------------------------------------------------------
23public class UserInteractionProvider extends Observable
24{
25  /** */
26  private static final UserInteractionProvider mInstance = new UserInteractionProvider();
27 
28  /**
29   *
30   */
31  public static UserInteractionProvider getInstance()
32  {
33    return mInstance;
34  }
35 
36  /**
37   *
38   */
39  public void notifyUserInteraction(GUIElement guiElement, Interaction interaction)
40  {
41    super.setChanged();
42    super.notifyObservers(new InteractionEvent(guiElement, interaction));
43  }
44}
Note: See TracBrowser for help on using the repository browser.