1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
""" Abstract base class for all workbench actions. """
# Enthought library imports.
from pyface.workbench.api import WorkbenchWindow
from pyface.action.api import Action
from traits.api import Instance
class WorkbenchAction(Action):
""" Abstract base class for all workbench actions. """
#### 'WorkbenchAction' interface ##########################################
# The workbench window that the action is in.
#
# This is set by the framework.
window = Instance(WorkbenchWindow)
#### EOF ######################################################################
|