Changeset 2fef46 in indico
- Timestamp:
- 04/19/11 15:49:58 (2 years ago)
- Branches:
- master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
- Children:
- 2afff5
- Parents:
- 9264b3
- Location:
- indico
- Files:
-
- 1 deleted
- 4 edited
-
MaKaC/plugins/InstantMessaging/XMPP/components.py (modified) (1 diff)
-
MaKaC/plugins/InstantMessaging/pages.py (modified) (1 diff)
-
core/extpoint/conference.py (deleted)
-
core/extpoint/events.py (modified) (2 diffs)
-
ext/importer/components.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/plugins/InstantMessaging/XMPP/components.py
r9264b3 r2fef46 38 38 39 39 from indico.core.extpoint import Component 40 from indico.core.extpoint. conferenceimport INavigationContributor40 from indico.core.extpoint.events import INavigationContributor 41 41 42 42 -
indico/MaKaC/plugins/InstantMessaging/pages.py
r9264b3 r2fef46 35 35 import zope.interface 36 36 from indico.core.extpoint import Component 37 from indico.core.extpoint. conferenceimport IEventDisplayContributor37 from indico.core.extpoint.events import IEventDisplayContributor 38 38 39 39 -
indico/core/extpoint/events.py
r6d8267 r2fef46 19 19 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 20 20 21 from indico.core.extpoint import IListener 21 from indico.core.extpoint import IListener, IContributor 22 22 23 23 … … 106 106 pass 107 107 108 109 class ITimetableContributor(IContributor): 110 """ 111 Encapsulates extension points concerning event timetable. 112 """ 113 114 def includeTimetableJSFiles(self, obj, params = {}): 115 """ 116 Includes additional JS files. 117 """ 118 119 def includeTimetableCSSFiles(self, obj, params = {}): 120 """ 121 Includes additional Css files. 122 """ 123 124 def customTimetableLinks(self, obj, params = {}): 125 """ 126 Inserts additional links inside the timetable's header. 127 """ 128 129 130 class INavigationContributor(IContributor): 131 """ 132 Events that fill the sidemenu of a conference with the activated plugins. 133 You may want a reference to know how to implement these methods. 134 You can check the components file for XMPP (MaKaC.plugins.InstantMessaging.XMPP) 135 """ 136 137 #Conference management related 138 def fillManagementSideMenu(self, obj, params): 139 """ 140 Inserts an element in the conference management's side menu 141 """ 142 143 #Conference display related 144 def confDisplaySMFillDict(self, obj, params): 145 """ 146 Conference Display Side Menu Fill Dictionary. 147 This dictionary is used to store all your new items on the side menu of the conference display. 148 In the core, there is a dictionary called self._linkData in which the elements to be showed 149 in the conference display side menu are inserted. 150 """ 151 152 #Conference display related 153 def confDisplaySMFillOrderedKeys(self, obj, list): 154 """ 155 Conference Display Side Menu Fill Ordered Keys. 156 Right next to the dictionary there is a list with the ordered keys, 157 we need to include them also 158 """ 159 160 #Conference display related 161 def confDisplaySMShow(self, obj, params): 162 """ 163 Adds our element to the list of elements to be showed in the side menu of the 164 conference main page 165 """ 166 167 #Meetings and lectures display related 168 def meetingAndLectureDisplay(self, obj, params): 169 """ 170 Adds our element to the list of elements to be showed in the main menu of a 171 meeting or a lecture 172 """ 173 174 #Event cloning related 175 def addCheckBox2CloneConf(self, obj, list): 176 """ 177 Adds a checkbox in the page to clone an event. When an event is cloned, 178 you may want to clone part of your plugin data. In this method you will 179 add a checkbox to the list in case it's necessary 180 """ 181 182 #Event cloning related 183 def fillCloneDict(self, obj, params): 184 """ 185 Fills a dictionary with the checkboxes to be checked when cloning an event 186 """ 187 188 #Event cloning related 189 def cloneEvent(self, confToClone, conf): 190 """ 191 Performs the operations needed while cloning an event 192 """ 193 194 def getActiveNavigationItem(self, obj, params): 195 pass 196 197 198 class IEventDisplayContributor(IContributor): 199 200 """ 201 Aggregates extension points that relate to event display pages 202 """ 203 204 def injectCSSFiles(self, obj): 205 """ 206 Observers should contribute with CSS files they wish to add to the 207 <head></head> block 208 """ -
indico/ext/importer/components.py
r9264b3 r2fef46 21 21 22 22 from indico.core.extpoint import Component 23 from indico.core.extpoint. conferenceimport ITimetableContributor23 from indico.core.extpoint.events import ITimetableContributor 24 24 from MaKaC.plugins.base import Observable 25 25 import zope.interface
Note: See TracChangeset
for help on using the changeset viewer.
