01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: ParticipantCursors.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.rep.participants;
09:
10: import com.uwyn.rife.rep.BlockingParticipant;
11: import com.uwyn.rife.swing.Cursors;
12:
13: public class ParticipantCursors extends BlockingParticipant {
14: protected Cursors mCursors = null;
15:
16: public ParticipantCursors() {
17: setInitializationMessage("Creating the application cursors ...");
18: setCleanupMessage("Cleaning up the application cursors ...");
19: }
20:
21: protected void initialize() {
22: mCursors = new Cursors(getParameter());
23: }
24:
25: protected Object _getObject(Object key) {
26: return mCursors;
27: }
28: }
|