KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > SessionIntegratorAdminPanel


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc;
5
6 import com.tc.admin.AdminClientPanel;
7
8 import java.util.prefs.Preferences JavaDoc;
9
10 public class SessionIntegratorAdminPanel extends AdminClientPanel {
11   public SessionIntegratorAdminPanel() {
12     super();
13   }
14   
15   protected boolean shouldAddAboutItem() {
16     return false;
17   }
18
19   protected Preferences JavaDoc getPreferences() {
20     SessionIntegratorContext cntx = SessionIntegrator.getContext();
21     return cntx.prefs.node("AdminPanel");
22   }
23
24   protected void storePreferences() {
25     SessionIntegratorContext cntx = SessionIntegrator.getContext();
26     cntx.client.storePrefs();
27   }
28 }
29
Popular Tags