add webbouqueteditor (dmm plugin contest winner plugin)
[enigma2-plugins.git] / webbouqueteditor / src / WebScreens / BouquetEditorWebScreens.py
1 from Plugins.Extensions.WebInterface.WebScreens import WebScreen
2
3 class BouquetEditorWebScreen(WebScreen):
4         def __init__(self, session, request):
5                 WebScreen.__init__(self, session, request)
6                 from Plugins.Extensions.WebBouquetEditor.WebComponents.Sources.BouquetEditor import BouquetEditor
7                 self["AddBouquet"] = BouquetEditor(session, func=BouquetEditor.ADD_BOUQUET)
8                 self["RemoveBouquet"] = BouquetEditor(session, func=BouquetEditor.REMOVE_BOUQUET)
9                 self["MoveBouquet"] = BouquetEditor(session, func=BouquetEditor.MOVE_BOUQUET)
10                 self["MoveService"] = BouquetEditor(session, func=BouquetEditor.MOVE_SERVICE)
11                 self["RemoveService"] = BouquetEditor(session, func=BouquetEditor.REMOVE_SERVICE)
12                 self["AddServiceToBouquet"] = BouquetEditor(session, func=BouquetEditor.ADD_SERVICE_TO_BOUQUET)
13                 self["AddProviderToBouquetlist"] = BouquetEditor(session, func=BouquetEditor.ADD_PROVIDER_TO_BOUQUETLIST)
14                 self["AddServiceToAlternative"] = BouquetEditor(session, func=BouquetEditor.ADD_SERVICE_TO_ALTERNATIVE)
15                 self["RemoveAlternativeServices"] = BouquetEditor(session, func=BouquetEditor.REMOVE_ALTERNATIVE_SERVICES)
16                 self["ToggleLock"] = BouquetEditor(session, func=BouquetEditor.TOGGLE_LOCK)
17                 self["Backup"] = BouquetEditor(session, func=BouquetEditor.BACKUP)
18                 self["Restore"] = BouquetEditor(session, func=BouquetEditor.RESTORE)
19                 self["RenameService"] = BouquetEditor(session, func=BouquetEditor.RENAME_SERVICE)
20                 self["AddMarkerToBouquet"] = BouquetEditor(session, func=BouquetEditor.ADD_MARKER_TO_BOUQUET)
21