2009/05/20 - Apache Shale has been retired.
For more information, please explore the Attic.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.shale.dialog.base;
19
20 import org.apache.shale.dialog.DialogContext;
21 import org.apache.shale.dialog.DialogContextManager;
22 import org.apache.shale.dialog.DialogContextManagerListener;
23
24 /***
25 * <p>Convenience abstract base class for {@link DialogContextManagerListener}
26 * instances. The default event handling methods do nothing.
27 * Subclasses are expected to be serializable.</p>
28 *
29 * @since 1.0.4
30 */
31 public abstract class AbstractDialogContextManagerListener
32 implements DialogContextManagerListener {
33
34
35
36
37
38 /***
39 * <p>The {@link DialogContextManager} instance we are associated with.</p>
40 */
41 private DialogContextManager instance = null;
42
43
44
45
46
47 /*** {@inheritDoc} */
48 public void onCreate(DialogContext context) {
49
50 ;
51
52 }
53
54
55 /*** {@inheritDoc} */
56 public void onRemove(DialogContext context) {
57
58 ;
59
60 }
61
62
63
64
65
66 /*** {@inheritDoc} */
67 public DialogContextManager getDialogContextManager() {
68 return this.instance;
69 }
70
71
72 /*** {@inheritDoc} */
73 public void setDialogContextManager(DialogContextManager instance) {
74 this.instance = instance;
75 }
76
77
78 }