Back to index

plone3  3.1.7
interfaces.py
Go to the documentation of this file.
00001 # Copyright (c) 2005-2007
00002 # Authors: KSS Project Contributors (see docs/CREDITS.txt)
00003 #
00004 # This program is free software; you can redistribute it and/or modify
00005 # it under the terms of the GNU General Public License version 2 as published
00006 # by the Free Software Foundation.
00007 #
00008 # This program is distributed in the hope that it will be useful,
00009 # but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011 # GNU General Public License for more details.
00012 #
00013 # You should have received a copy of the GNU General Public License
00014 # along with this program; if not, write to the Free Software
00015 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00016 # 02111-1307, USA.
00017 
00018 from zope.interface import Interface
00019 
00020 class IKSSPlugin(Interface):
00021     '''Base for KSS plugins
00022     
00023     this represents an entity implemented in a javascript file
00024     '''
00025 
00026 class ICommand(IKSSPlugin):
00027     '''Command plugin'''
00028 
00029 class IAction(IKSSPlugin):
00030     '''Action plugin'''
00031 
00032 class IEventType(IKSSPlugin):
00033     '''Event type plugin'''
00034 
00035 class ISelectorType(IKSSPlugin):
00036     '''Selector type plugin'''
00037 
00038 class ICommandSet(Interface):
00039     '''Command set plugin'''
00040 
00041 class IParamProvider(IKSSPlugin):
00042     '''Parameter provider plugin'''