Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Commit

Permalink
Added base class module
Browse files Browse the repository at this point in the history
  • Loading branch information
trollfot committed Feb 26, 2010
1 parent d50b740 commit 1e49906
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/grokui/base/info.py
@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-

import grokcore.component as grok
from zope.schema.fieldproperty import FieldProperty
from grokui.base.interfaces import IGrokUIPluginInfo


class BasePluginInfo(grok.GlobalUtility):
grok.baseclass()
grok.implements(IGrokUIPluginInfo)

title = FieldProperty(IGrokUIPluginInfo['title'])
description = FieldProperty(IGrokUIPluginInfo['description'])
version = FieldProperty(IGrokUIPluginInfo['version'])

0 comments on commit 1e49906

Please sign in to comment.