fsleyes.plugins.controls.atlaspanel.atlasmanagementpanel
This module provides the AtlasManagementPanel
, which is a sub-panel
that is used by the AtlasPanel
.
- class fsleyes.plugins.controls.atlaspanel.atlasmanagementpanel.AtlasManagementPanel(parent, overlayList, displayCtx, atlasPanel)[source]
Bases:
fsleyes.panel.FSLeyesPanel
The
AtlasManagementPanel
is a sub-panel used by theAtlasPanel
. It simply displays a list of all known atlases, and allows the user to add/remove atlases to/from the list.- __init__(parent, overlayList, displayCtx, atlasPanel)[source]
Create an
AtlasManagementPanel
.- Parameters
parent – the
wx
parent object.overlayList – The
OverlayList
instance.displayCtx – The
DisplayContext
instance.atlasPanel – The
AtlasPanel
instance that has created thisAtlasManagementPanel
.
- destroy()[source]
Must be called when this
AtlasManagementPanel
is no longer needed. Removes some property/notification listeners, and calls the base classdestroy
method.
- __atlasAdded(registry, topic, desc)
Called when an atlas is removed from the
AtlasRegistry
. Removes the corresponding atlas from the list.
- __atlasRemoved(registry, topic, desc)
Called when an atlas is removed from the
AtlasRegistry
. Removes the corresponding atlas from the list.
- __onListAdd(ev)
Called when the user clicks the Add button on the list. Calls the
loadatlas.loadAtlas()
function.
- __onListRemove(ev)
Called when the user clicks the Remove button on the list. Removes the corresponding atlas from the
AtlasRegistry
.
- __annotations__ = {}
- __module__ = 'fsleyes.plugins.controls.atlaspanel.atlasmanagementpanel'