@Plugin(name="Session Saver Demo Plugin",
id="session-save-demo",
description="Demo for saving and restoring sessions.",
loadAtStart=false)
public class SessionSaverDemoPlugin
extends org.lsst.ccs.gconsole.base.ConsolePlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
SessionSaverDemoPlugin.Descriptor
Bean that holds plugin configuration information.
|
| Constructor and Description |
|---|
SessionSaverDemoPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Called by the framework when the console starts, to initialize this plugin..
|
boolean |
restore(org.lsst.ccs.gconsole.base.ComponentDescriptor storageBean,
boolean lastRound)
Called by the framework to restore this plugin configuration.
|
org.lsst.ccs.gconsole.base.ComponentDescriptor |
save()
Called by the framework when this plugin configuration needs to be saved.
|
void |
start()
Called by the framework when the console starts, after all plugins have been initialized.
|
public void initialize()
initialize in class org.lsst.ccs.gconsole.base.ConsolePluginpublic void start()
start in class org.lsst.ccs.gconsole.base.ConsolePluginpublic boolean restore(org.lsst.ccs.gconsole.base.ComponentDescriptor storageBean,
boolean lastRound)
restore in class org.lsst.ccs.gconsole.base.ConsolePluginstorageBean - JavaBean that holds configuration information.lastRound - True if this is the last call to this method, regardless of the return value.False if this method should be called again in the next round.public org.lsst.ccs.gconsole.base.ComponentDescriptor save()
save in class org.lsst.ccs.gconsole.base.ConsolePluginCopyright © 2019 LSST. All rights reserved.