1
""" (Pyface) Action for running a help demo.
3
:Copyright: 2009, Enthought Inc.
5
:Author: Vibha Srinivasan
7
# This software is provided without warranty under the terms of the BSD
8
# license included in AppTools/trunk/LICENSE.txt and may be redistributed only
9
# under the conditions described in the aforementioned license. The license
10
# is also available online at http://www.enthought.com/licenses/BSD.txt
11
# Thanks for using Enthought open source!
13
# Enthought library imports.
14
from doc_action import DocAction
16
# This module's parent package.
17
PARENT = '.'.join(__name__.split('.')[:-2])
19
class LoadURLAction(DocAction):
20
""" Workbench Action for displaying a url in a web browser.
23
def _my_help_doc_default(self):
24
exns = self.extension_registry.get_extensions(PARENT +
27
if hc.label == self.name:
b'\\ No newline at end of file'