@Plugin(name="Optional Page Service Plugin", id="opt-page", description="Support for optional pages utility.") public class LsstOptionalPageService extends ConsolePlugin implements ConsoleService
| Modifier and Type | Class and Description |
|---|---|
static class |
LsstOptionalPageService.Descriptor |
| Constructor and Description |
|---|
LsstOptionalPageService() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(OptionalPage descriptor)
Registers an optional page descriptor with the console.
|
void |
remove(OptionalPage descriptor)
Removes a previously registered optional page.
|
boolean |
restore(ComponentDescriptor storageBean,
boolean lastRound)
Called by the framework to restore this plugin configuration.
|
void |
restore(OptionalPage descriptor,
HashMap<String,DataPanelDescriptor> storageBean) |
ComponentDescriptor |
save()
Called by the framework when this plugin configuration needs to be saved.
|
HashMap<String,DataPanelDescriptor> |
save(OptionalPage descriptor) |
void |
setOpen(OptionalPage descriptor,
org.lsst.ccs.bus.data.AgentInfo agent,
boolean isOpen) |
getConsole, getServices, initialize, propertiesChanged, setServicesProvider, shutdown, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstartService, stopServicepublic void add(OptionalPage descriptor)
OptionalPage documentation for details.
The demo subsystem GUI provides an example of use: org.lsst.ccs.subsystem.demo.gui.plugins.OptionalPagePlugin.descriptor - Page descriptor.public void remove(OptionalPage descriptor)
add(OptionalPage).descriptor - Descriptor of the page to be removedpublic void setOpen(OptionalPage descriptor, org.lsst.ccs.bus.data.AgentInfo agent, boolean isOpen)
public HashMap<String,DataPanelDescriptor> save(OptionalPage descriptor)
public void restore(OptionalPage descriptor, HashMap<String,DataPanelDescriptor> storageBean)
public ComponentDescriptor save()
ConsolePluginsave in class ConsolePluginpublic boolean restore(ComponentDescriptor storageBean, boolean lastRound)
ConsolePluginrestore in class 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.Copyright © 2023 LSST. All rights reserved.