Skip to content
Browse files

Allow users to define their own subclasses of Schema.

  • Loading branch information...
1 parent 28e8de3 commit 0d16e742a292ce2e6e07740f48b7421e7377d5ef @pberkes pberkes committed Nov 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 pyface/tasks/action/schema.py
View
3 pyface/tasks/action/schema.py
@@ -7,7 +7,8 @@
# Trait definitions.
SubSchema = Trait(None, Action, ActionItem, Group, MenuManager,
Instance('pyface.tasks.action.schema.GroupSchema'),
- Instance('pyface.tasks.action.schema.MenuSchema'))
+ Instance('pyface.tasks.action.schema.MenuSchema'),
+ Instance('pyface.tasks.action.schema.Schema'))
class Schema(HasTraits):

0 comments on commit 0d16e74

Please sign in to comment.
Something went wrong with that request. Please try again.