Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #67 from enthought/schema-subclasses

Allow users to define their own subclasses of Schema.
  • Loading branch information...
commit 1f25334b99d53184adbcf761c300f4fc3799c4c5 2 parents 28e8de3 + 0d16e74
Pietro Berkes pberkes authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  pyface/tasks/action/schema.py
3  pyface/tasks/action/schema.py
View
@@ -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):
Please sign in to comment.
Something went wrong with that request. Please try again.