Changeset 2fef46 in indico


Ignore:
Timestamp:
04/19/11 15:49:58 (2 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
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
Message:

[REF] Moved indico.core.api.conference into events

Location:
indico
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/plugins/InstantMessaging/XMPP/components.py

    r9264b3 r2fef46  
    3838 
    3939from indico.core.extpoint import Component 
    40 from indico.core.extpoint.conference import INavigationContributor 
     40from indico.core.extpoint.events import INavigationContributor 
    4141 
    4242 
  • indico/MaKaC/plugins/InstantMessaging/pages.py

    r9264b3 r2fef46  
    3535import zope.interface 
    3636from indico.core.extpoint import Component 
    37 from indico.core.extpoint.conference import IEventDisplayContributor 
     37from indico.core.extpoint.events import IEventDisplayContributor 
    3838 
    3939 
  • indico/core/extpoint/events.py

    r6d8267 r2fef46  
    1919## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
    2020 
    21 from indico.core.extpoint import IListener 
     21from indico.core.extpoint import IListener, IContributor 
    2222 
    2323 
     
    106106        pass 
    107107 
     108 
     109class 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 
     130class 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 
     198class 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  
    2121 
    2222from indico.core.extpoint import Component 
    23 from indico.core.extpoint.conference import ITimetableContributor 
     23from indico.core.extpoint.events import ITimetableContributor 
    2424from MaKaC.plugins.base import Observable 
    2525import zope.interface 
Note: See TracChangeset for help on using the changeset viewer.