#------------------------------------------------------------------------------ # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions described in the aforementioned license. The license # is also available online at http://www.enthought.com/licenses/BSD.txt # Thanks for using Enthought open source! # # Author: Enthought, Inc. # Description: <Enthought pyface package component> #------------------------------------------------------------------------------ """ The implementation of a workbench window layout. """ # Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object WorkbenchWindowLayout = toolkit_object( 'workbench.workbench_window_layout:WorkbenchWindowLayout' ) ### EOF #######################################################################
#------------------------------------------------------------------------------ # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions described in the aforementioned license. The license # is also available online at http://www.enthought.com/licenses/BSD.txt # Thanks for using Enthought open source! # # Author: Enthought, Inc. # Description: <Enthought pyface package component> #------------------------------------------------------------------------------ """ A status bar manager realizes itself in a status bar control. """ # Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object StatusBarManager = toolkit_object('action.status_bar_manager:StatusBarManager') ### EOF #######################################################################
#------------------------------------------------------------------------------ # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions described in the aforementioned license. The license # is also available online at http://www.enthought.com/licenses/BSD.txt # Thanks for using Enthought open source! # # Author: Enthought, Inc. # Description: <Enthought pyface package component> #------------------------------------------------------------------------------ """ The implementation of a workbench editor. """ # Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object Editor = toolkit_object('workbench.editor:Editor') ### EOF #######################################################################
# Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object AdvancedEditorAreaPane = toolkit_object('tasks.advanced_editor_area_pane:' 'AdvancedEditorAreaPane')
#------------------------------------------------------------------------------ # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions described in the aforementioned license. The license # is also available online at http://www.enthought.com/licenses/BSD.txt # Thanks for using Enthought open source! # # Author: Enthought, Inc. # Description: <Enthought pyface package component> #------------------------------------------------------------------------------ """ The implementation of a workbench window layout. """ # Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object WorkbenchWindowLayout = toolkit_object( 'workbench.workbench_window_layout:WorkbenchWindowLayout') ### EOF #######################################################################
#------------------------------------------------------------------------------ # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions described in the aforementioned license. The license # is also available online at http://www.enthought.com/licenses/BSD.txt # Thanks for using Enthought open source! # # Author: Enthought, Inc. # Description: <Enthought pyface package component> #------------------------------------------------------------------------------ """ The implementation of a page in a wizard. """ # Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object WizardPage = toolkit_object('wizard.wizard_page:WizardPage') #### EOF ######################################################################
# Author: Enthought, Inc. # Description: <Enthought pyface package component> #------------------------------------------------------------------------------ """ An action manager item that represents an actual action. """ # Enthought library imports. from enthought.traits.api import Any, Instance, List, Property, Str # Local imports. from action import Action from action_manager_item import ActionManagerItem # Import the toolkit specific versions of the internal classes. from enthought.pyface.toolkit import toolkit_object _MenuItem = toolkit_object('action.action_item:_MenuItem') _Tool = toolkit_object('action.action_item:_Tool') _PaletteTool = toolkit_object('action.action_item:_PaletteTool') class ActionItem(ActionManagerItem): """ An action manager item that represents an actual action. """ #### 'ActionManagerItem' interface ######################################## # The item's unique identifier ('unique' in this case means unique within # its group). id = Property(Str) #### 'ActionItem' interface ###############################################
#------------------------------------------------------------------------------ # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions described in the aforementioned license. The license # is also available online at http://www.enthought.com/licenses/BSD.txt # Thanks for using Enthought open source! # # Author: Enthought, Inc. # Description: <Enthought pyface package component> #------------------------------------------------------------------------------ """ A menu manager realizes itself in a menu control. """ # Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object MenuManager = toolkit_object('action.menu_manager:MenuManager') ### EOF #######################################################################
# # Written by: David C. Morrill # # Date: 05/18/2005 # # (c) Copyright 2005 by Enthought, Inc. # #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- # Imports: #------------------------------------------------------------------------------- # Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object DoLaterTimer = toolkit_object('timer.do_later:DoLaterTimer') #------------------------------------------------------------------------------- # Does something 50 milliseconds from now: #------------------------------------------------------------------------------- def do_later(callable, *args, **kw_args): """ Does something 50 milliseconds from now. """ DoLaterTimer(50, callable, args, kw_args) #------------------------------------------------------------------------------- # Does something after some specified time interval: #-------------------------------------------------------------------------------
# # Written by: David C. Morrill # # Date: 05/18/2005 # # (c) Copyright 2005 by Enthought, Inc. # #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- # Imports: #------------------------------------------------------------------------------- # Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object DoLaterTimer = toolkit_object('timer.do_later:DoLaterTimer') #------------------------------------------------------------------------------- # Does something 50 milliseconds from now: #------------------------------------------------------------------------------- def do_later ( callable, *args, **kw_args ): """ Does something 50 milliseconds from now. """ DoLaterTimer( 50, callable, args, kw_args ) #------------------------------------------------------------------------------- # Does something after some specified time interval: #------------------------------------------------------------------------------- def do_after ( interval, callable, *args, **kw_args ):
#------------------------------------------------------------------------------ # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions described in the aforementioned license. The license # is also available online at http://www.enthought.com/licenses/BSD.txt # Thanks for using Enthought open source! # # Author: Enthought, Inc. # Description: <Enthought pyface package component> #------------------------------------------------------------------------------ """ The implementation of a workbench view. """ # Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object View = toolkit_object('workbench.view:View') ### EOF #######################################################################
# Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object TaskPane = toolkit_object('tasks.task_pane:TaskPane')
# Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object EditorAreaPane = toolkit_object('tasks.editor_area_pane:EditorAreaPane')
#------------------------------------------------------------------------------ # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions described in the aforementioned license. The license # is also available online at http://www.enthought.com/licenses/BSD.txt # Thanks for using Enthought open source! # # Author: Enthought, Inc. # Description: <Enthought pyface package component> #------------------------------------------------------------------------------ """ A tool bar manager realizes itself in a tool palette control. """ # Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object ToolPaletteManager = toolkit_object('action.tool_palette_manager:ToolPaletteManager') ### EOF #######################################################################
#------------------------------------------------------------------------------ # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions described in the aforementioned license. The license # is also available online at http://www.enthought.com/licenses/BSD.txt # Thanks for using Enthought open source! # # Author: Enthought, Inc. # Description: <Enthought pyface package component> #------------------------------------------------------------------------------ """ A menu bar manager realizes itself in errr, a menu bar control. """ # Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object MenuBarManager = toolkit_object('action.menu_bar_manager:MenuBarManager') #### EOF ######################################################################
# Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object Editor = toolkit_object('tasks.editor:Editor')
# Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object TaskWindowBackend = toolkit_object( 'tasks.task_window_backend:TaskWindowBackend')
"""A timer that invokes a specified callback periodically. """ # Author: Prabhu Ramachandran <*****@*****.**> # Copyright (c) 2006-2007, Enthought, Inc. # License: BSD Style. # Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object Timer = toolkit_object('timer.timer:Timer')
#------------------------------------------------------------------------------ # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions described in the aforementioned license. The license # is also available online at http://www.enthought.com/licenses/BSD.txt # Thanks for using Enthought open source! # # Author: Enthought, Inc. # Description: <Enthought pyface package component> #------------------------------------------------------------------------------ """ The implementation of a wizard. """ # Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object Wizard = toolkit_object('wizard.wizard:Wizard') #### EOF ######################################################################
# Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object DockPane = toolkit_object('tasks.dock_pane:DockPane')
#------------------------------------------------------------------------------ # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions described in the aforementioned license. The license # is also available online at http://www.enthought.com/licenses/BSD.txt # Thanks for using Enthought open source! # # Author: Enthought, Inc. # Description: <Enthought pyface package component> #------------------------------------------------------------------------------ """ A tool bar manager realizes itself in a tool bar control. """ # Import the toolkit specific version. from enthought.pyface.toolkit import toolkit_object ToolBarManager = toolkit_object('action.tool_bar_manager:ToolBarManager') ### EOF #######################################################################