File: refresh_code_action_set.py

package info (click to toggle)
python-envisageplugins 3.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,600 kB
  • sloc: python: 6,968; sh: 11; makefile: 8; lisp: 1
file content (23 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
""" The default action set for the refresh code plugin. """


# Enthought library imports.
from enthought.envisage.ui.action.api import Action, ActionSet


# This package
PKG = '.'.join(__name__.split('.')[:-1])


refresh_code = Action(
    class_name = PKG + '.actions.RefreshCode',
    path       = 'MenuBar/Tools', group='additions'
)


class RefreshCodeActionSet(ActionSet):
    """ The default action set for the refresh code plugin. """

    actions = [refresh_code]

#### EOF ######################################################################