Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow users to define their own subclasses of Schema.
  • Loading branch information
pberkes committed Nov 14, 2012
1 parent 28e8de3 commit 0d16e74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyface/tasks/action/schema.py
Expand Up @@ -7,7 +7,8 @@
# Trait definitions. # Trait definitions.
SubSchema = Trait(None, Action, ActionItem, Group, MenuManager, SubSchema = Trait(None, Action, ActionItem, Group, MenuManager,
Instance('pyface.tasks.action.schema.GroupSchema'), 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): class Schema(HasTraits):
Expand Down

0 comments on commit 0d16e74

Please sign in to comment.