@@ -22,23 +22,11 @@ Panes inherit from `AbstractPane` (in `ui/widgets/abstract_pane.py`) which provi
2222- Signal connections
2323- State persistence (dock position, visibility)
2424
25- ## Common Pane Types
26-
27- ### Navigation Panes
28- - ** Database browser** - Tree view of available databases
29- - ** Activity browser** - Search and browse activities
30- - ** Method browser** - Browse impact assessment methods
31- - ** Project browser** - List of Brightway projects
32-
33- ### Information Panes
34- - ** Details panel** - Show details of selected items
35- - ** Properties** - Display item properties and metadata
36- - ** History** - Recent actions or visited items
37-
38- ### Tool Panes
39- - ** Quick calculations** - Run simple calculations
40- - ** Search** - Global search interface
41- - ** Console** - Python console for advanced users
25+ ## Existing Panes
26+ - ** Databases Pane** - View of available databases
27+ - ** Database Products Pane** - Search and browse product-type nodes within a database
28+ - ** Impact Categories Pane** - Browse impact assessment methods
29+ - ** Calculation Setups Pane** - List of Calculation Setups
4230
4331## Pane Features
4432
@@ -65,50 +53,16 @@ from activity_browser.ui.widgets import AbstractPane
6553class MyPane (AbstractPane ):
6654 def __init__ (self , parent = None ):
6755 super ().__init__ (parent)
68- self .setup_ui()
69-
70- def setup_ui (self ):
71- # Build pane content
72- pass
73- ```
74-
75- ## Integration with Main Window
76-
77- Panes are added to the main window as dock widgets:
78-
79- ``` python
80- from activity_browser import app
81-
82- pane = MyPane()
83- app.main_window.addDockWidget(Qt.LeftDockWidgetArea, pane)
84- ```
85-
86- ## Signal Communication
87-
88- Panes communicate with other components via signals:
89-
90- ``` python
91- from activity_browser import app
92-
93- class MyPane (AbstractPane ):
94- def on_item_selected (self , item ):
95- # Emit signal for other components
96- app.signals.item_selected.emit(item)
9756```
9857
9958## Development Guidelines
10059
10160When creating new panes:
10261
103- 1 . ** Inherit from AbstractPane** - Use the base class for consistency
104- 2 . ** Set pane title** - Provide a clear, descriptive title
105- 3 . ** Keep focused** - Each pane should have a single, clear purpose
106- 4 . ** Connect signals** - Listen for and emit relevant signals
107- 5 . ** Handle updates** - Refresh when underlying data changes
108- 6 . ** Support search/filter** - Allow users to find items quickly
109- 7 . ** Provide context menus** - Right-click actions for items
110- 8 . ** Make it closeable** - Users should be able to hide panes
111- 9 . ** Support keyboard navigation** - Enable keyboard shortcuts
62+ - ** Inherit from AbstractPane** - Use the base class for consistency
63+ - ** Set pane title** - Use the standard ` PaneNamePane ` naming convention to set the title automatically
64+ - ** Base panes** - Add base panes to ` __init__.py ` in this directory so they are loaded by the main window on project change.
65+
11266
11367## Visibility Control
11468
0 commit comments