Changes

Jump to: navigation, search

Big Blue Button Polling Module

3,600 bytes added, 14:44, 14 October 2011
Created page with '#summary Creating a polling module for BigBlueButton = Polling Module Prototype = == Polling Module Progress Map == === bbb-client part === '''0.001''' Created Polling…'
#summary Creating a polling module for BigBlueButton

= Polling Module Prototype =




== Polling Module Progress Map ==


=== bbb-client part ===

'''0.001''' Created Polling Module Architecture (folders: events, managers, maps, views) <br /> <br />
'''0.002''' Created PollingInstructionsWindow.mxml - window designed following the Polling Mockup which consist of: <br />
Title : text box for title
Questions: text area for questions
Responses: text are for responses
Checkbox with label: Allow users to check ,more than one response
Two Buttons: Create New Poll and Cancel that does not invoke any methods so far


Here is the screen-shot of the design:
http://myprogrammingblog.files.wordpress.com/2011/10/pollinginstructions.png

'''0.003''' PollingInstructionsWindow.mxml receives new method:
getPrefferedPosition() -> states how the window should appear in the interface (set to POPUP)

'''0.004''' Created PollingManager.as that is responsible for all communication processes between EventMap and Views<br /> <br />
'''0.005''' Created PollingEventMap <br /> <br />
'''0.006''' Created ToolBar icon and ToolBarButtonManager.as that is responsible for all ToolBarButton actions <br /> <br />
'''0.007''' ToolBarButton Manager receives method addToolbarButton() that enables ToolBarButton to show on MainToolBar <br /> <br />
'''0.008''' Created ToolbarButton.mxml that states alignment of Button <br /> <br />

'''0.009''' ToolBar icon is Integrated into interface <br /> <br />
[[File:http://myprogrammingblog.files.wordpress.com/2011/10/toolbarbutton.png]]
'''0.010''' ToolBar icon became clickable <br /> <br />
'''0.011''' Created maps/PollingEventMap.mxml <br /> <br />
'''0.012''' 2 events created inside events: <br /> <br />
1. '''OpenInstructionsEvent''' -> opens instructions window (window for Presenter to create a new poll)
2. '''CloseInstructionsEvent''' -> event that closes Instrucitons window <br /><br />
'''0.013''' ToolBar button on click invokes PollingInstructionsWindow.mxml <br />
'''Problem Encountered:''' _When ToolBarButton invokes Window, toolbarbutton becomes stays, when trying to solve this problem, window does not close.<br />
'''0.014''' PollingInstructionsWindow.mxml receives 2 new methods:<br />
1.overloaded '''close''' function that uses custom method to Close Instructions Window
2. '''closeInstructionsWindow()''' method that uses CloseInstructionsEvent to dispatch parameters to EventMap <br/><br/>
'''0.015''' _Problem Solved_ by adding two separate invokes into CloseInstructionsEvent one invokes method from manager other from PollingEventmap.<br /><br />

'''0.016''' ToolBarButton.mxml received new method:<br />
** '''openPollingInstructions()''' -> opens PollingInstructionsWindow.mxml<br />
'''0.017''' ToolBarButton becomes active when window closes<br /> <br />
'''0.018''' ToolBarButtonManager receives removeToolBarButton method that hides toolbarButton<br /> <br />
'''0.019''' ToolBarButtonManager receives enableToolbarButton method that enables ToolBarButton in MainToolbar<br /> <br />
'''0.02''' Two Event added to PollingEventMap:<br />
** '''MadePresenterEvent.SWITCH_TO_PRESENTER_MODE''' - shows toolbarbutton only to Presenter<br />
** '''MadePresenterEvent.SWITCH_TO_VIEWER_MODE''' - hides toolbarbutton from Viewers<br />
<br />
'''0.021''' New Events integrated in the System - ToolBarButton appears only to presenter, disappears when Presenter changes to Viewer.<br />

<wiki:video url="http://www.youtube.com/watch?v=1QU1mY6qhr4"/>
1
edit

Navigation menu