Changes between Version 36 and Version 37 of TracDev/PluginDevelopment
- Timestamp:
- May 6, 2010, 9:33:35 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/PluginDevelopment
v36 v37 26 26 This is so, that future extensions or changes to the API can be introduced, by for example adding new or removing existing parameters without causing breakage of existing components implementing the interface. 27 27 28 == Implementing Extension Points==28 === Implementing Extension Points === 29 29 30 30 In order to implement an extension point, your class must be derived from [source:trunk/trac/core.py trac.core.Component] and it must implement the extension point interface. … … 47 47 More detailed information on this can be found below under [wiki:TracDev/PluginDevelopment#Writingtheplugincode]. 48 48 49 == Using Extension Points==49 === Using Extension Points === 50 50 51 51 In order for your custom component making use of plugins that implement all or one custom extension point interface provided by you, you will have to again derive your component from trac.core.Component, and then use [source:trunk/trac/core.py trac.core.ExtensionPoint] to get the instances that implement your custom extension point interface. … … 63 63 }}} 64 64 65 === AvailableExtension Points ===65 === Trac Extension Points === 66 66 67 67 ||='''Extension Point Interface'''=||='''Source'''=||='''Description'''=||