01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc;
05:
06: import com.tc.admin.AdminClientPanel;
07:
08: import java.util.prefs.Preferences;
09:
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 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: }
|