API Reference for Enthought Tool Suite 2.7.1
Unit System UI Plugin
The plugin's globally unique identifier (also used as the prefix for all identifiers defined in this module).
BASE = 'enthought.units.plugin'
cookies = CookieImplementations(implementations = [ CookieImplementation(resource_type = QUANTITY_RESOURCE_TYPE, cookie_interface = ('enthought.envisage.project.action' + '.open_cookie.OpenCookie'), cookie_implementation = (BASE + '.quantity_resource_open_cookie.QuantityResourceOpenCookie')) ])
ID = (BASE + '.units_ui')
## Resource Wizards ##########################################################
resource_wizards = ResourceWizards(resource_wizards = [ ResourceWizard(category = 'Data Resources', name = 'Quantity', class_name = (BASE + '.new_quantity_wizard.NewQuantityWizard')), ResourceWizard(category = 'Data Resources', name = 'Scalar', class_name = (BASE + '.new_scalar_wizard.NewScalarWizard')) ])
### Menus/Actions ############################################################
set_unit_system = Action(id = 'action.SetUnitSystem', class_name = (BASE + '.action.set_unit_system_action.SetUnitSystem'), name = 'Set Unit System...', description = 'Set the system-wide default unit system', image = '', tooltip = 'Set the system-wide default unit system', menu_bar_path = 'ToolsMenu/', tool_bar_path = '')
ui_actions = UIActions(actions = [ set_unit_system ])
| Local name | Refers to |
|---|---|
| Action | enthought.envisage.ui.ui_plugin_definition.Action |
| CookieImplementation | enthought.envisage.resource.resource_ui_plugin_definition.CookieImplementation |
| CookieImplementations | enthought.envisage.resource.resource_ui_plugin_definition.CookieImplementations |
| PluginDefinition | enthought.envisage.core.plugin_definition.PluginDefinition |
| Preferences | enthought.envisage.core.core_plugin_definition.Preferences |
| QUANTITY_RESOURCE_TYPE | enthought.units.plugin.units_resource_plugin_definition.QUANTITY_RESOURCE_TYPE |
| ResourceWizard | enthought.envisage.resource.resource_ui_plugin_definition.ResourceWizard |
| ResourceWizards | enthought.envisage.resource.resource_ui_plugin_definition.ResourceWizards |
| UIActions | enthought.envisage.ui.ui_plugin_definition.UIActions |
Copyright © 2002-2008 Enthought, Inc.