Edgewall Software

Changes between Version 3 and Version 4 of TracDev/PluginDevelopment/ExtensionPoints/trac.prefs.api.IPreferencePanelProvider


Ignore:
Timestamp:
Dec 13, 2014, 12:56:19 PM (5 years ago)
Author:
Peter Suter
Comment:

Child / parent panels (#11853)

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/PluginDevelopment/ExtensionPoints/trac.prefs.api.IPreferencePanelProvider

    v3 v4  
    1111
    1212When a user browses to the preferences dialog, all implementations are called to provide any implemented panels, which are shown as tabs. When the user activates a tab the respective implementation is called to render the page corresponding to that tab.
     13
     14Since Trac 1.1.3 implementations can also provide ''child panels'' that show up as a section in the parent panel. A modular ecosystem of thematically related plugins can use child panels to populate a shared preferences page.
    1315
    1416== Usage ==
     
    9597 * #9162: Ticket with a patch to split the core {{{IPreferencePanelProviders}}} from the {{{PreferencesModule}}}
    9698 * #9313: Ticket about documenting preference session saving
     99
     100=== API History
     101* [wiki:TracDev/ApiChanges/0.11#IPreferencePanelProvider 0.11] introduced the interface.
     102* [wiki:TracDev/ApiChanges/1.1.3#IPreferencePanelProvider 1.1.3] added possibility to return tuples with a third item `parent_panel` for [wiki:TracDev/Proposals/AdvancedNotification#Modularpreferencepages modular preference pages]. (#11853)