Package flumotion :: Package component :: Package base :: Module admin_text :: Class BaseAdminText
[hide private]

Class BaseAdminText

source code

common.log.Loggable --+
                      |
                     BaseAdminText
Known Subclasses:

I am a base class for all Text-based Admin views. I am a view on one component's properties.

Instance Methods [hide private]
 
__init__(self, state, admin) source code
 
propertyErrback(self, failure, window) source code
 
setElementProperty(self, elementName, propertyName, value)
Set the given property on the element with the given name.
source code
 
getElementProperty(self, elementName, propertyName)
Get the value of the given property of the element with the given name.
source code
 
callRemote(self, methodName, *args, **kwargs) source code
 
propertyChanged(self, name, value)
Override this method to be notified of component's properties that have changed.
source code
 
setup(self)
Set up the admin view so it can display nodes.
source code
 
uiStateChanged(self, stateObject) source code
 
stateSet(self, object, key, value) source code
 
stateAppend(self, object, key, value) source code
 
stateRemove(self, object, key, value) source code
 
getCompletions(self, input) source code
 
runCommand(self, command) source code

Inherited from common.log.Loggable: __providedBy__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Class Variables [hide private]
  logCategory = 'admintext'
Implementors can provide a category to log their messages under.
  admin = 'hello pychecker'
  state = 'hello pychecker'
  __implemented__ = <implementedBy flumotion.component.base.admi...
  __provides__ = <zope.interface.declarations.ClassProvides obje...
Method Details [hide private]

__init__(self, state, admin)
(Constructor)

source code 
Parameters:

getElementProperty(self, elementName, propertyName)

source code 

Get the value of the given property of the element with the given name.

Returns: twisted.internet.defer.Deferred returning the value.

propertyChanged(self, name, value)

source code 

Override this method to be notified of component's properties that have changed.

I am meant to be overridden.


Class Variable Details [hide private]

__implemented__

Value:
<implementedBy flumotion.component.base.admin_text.BaseAdminText>

__provides__

Value:
<zope.interface.declarations.ClassProvides object at 0x90b888c>