Package flumotion :: Package admin :: Package gtk :: Module client :: Class Window
[hide private]

Class Window

source code

common.log.Loggable --+
                      |
    gobject.GObject --+
                      |
                     Window

Creates the GtkWindow for the user interface. Also connects to the manager on the given host and port.

Instance Methods [hide private]
 
__init__(self, model) source code
 
_setAdminModel(self, model)
set the model to which we are a view/controller
source code
 
_defaultErrback(self, failure) source code
 
_create_ui(self) source code
 
on_open_connection(self, connectionInfo) source code
 
on_recent_activate(self, widget, connectionInfo) source code
 
_append_recent_connections(self) source code
 
show_error_dialog(self, message, parent=None, close_on_response=True) source code
 
show_component(self, state, entryPath, fileName, methodName, data)
Show the user interface for this component.
source code
 
_instanceSetup(self, instance, klass, name) source code
 
_setupCallback(self, result, name, instance) source code
 
_setupErrback(self, failure, name) source code
 
_nodeRenderCallback(self, widget, nodeName, nodeWidgets, mid) source code
 
_nodeRenderErrback(self, failure, nodeName) source code
 
_setCurrentComponentCallback(self, _, instance) source code
 
componentCallRemoteStatus(self, state, pre, post, fail, methodName, *args, **kwargs) source code
 
componentCallRemote(self, state, methodName, *args, **kwargs) source code
 
setPlanetState(self, planetState) source code
 
stateSet(self, state, key, value) source code
 
whsAppend(self, state, key, value) source code
 
whsRemove(self, state, key, value) source code
 
_remove_component(self, state) source code
 
admin_connected_cb(self, admin) source code
 
admin_disconnected_cb(self, admin) source code
 
_dialog_disconnected_response_cb(self, dialog, id) source code
 
admin_connection_refused_later(self, admin) source code
 
admin_connection_refused_cb(self, admin) source code
 
admin_connection_failed_later(self, admin, reason) source code
 
admin_connection_failed_cb(self, admin, reason) source code
 
property_changed_cb(self, admin, componentName, propertyName, value) source code
 
start_stop_notify_cb(self, *args) source code
 
admin_update_cb(self, admin) source code
 
update_components(self) source code
 
_set_stop_start_component_sensitive(self) source code
 
_component_view_clear(self) source code
 
_component_view_set_widget(self, widget) source code
 
_components_view_has_selection_cb(self, view, state) source code
 
_components_view_activated_cb(self, view, state, action) source code
 
close(self, *args) source code
 
_logConfig(self, configation) source code
 
runWizard(self) source code
 
_component_modify(self, state) source code
 
_component_reload(self, state) source code
 
_component_stop(self, state)
Returns: a twisted.internet.defer.Deferred
source code
 
_component_start(self, state)
Returns: a twisted.internet.defer.Deferred
source code
 
_component_restart(self, state)
Returns: a twisted.internet.defer.Deferred
source code
 
_component_do(self, state, action, doing, done) source code
 
on_have_connection(self, d, connectionInfo) source code
 
file_open_cb(self, button) source code
 
on_import_response(self, d, response) source code
 
file_import_configuration_cb(self, button) source code
 
getConfiguration_cb(self, conf_xml, name, chooser) source code
 
on_export_response(self, d, response) source code
 
file_export_configuration_cb(self, button) source code
 
file_quit_cb(self, button) source code
 
manage_start_component_cb(self, button) source code
 
manage_stop_component_cb(self, button) source code
 
manage_start_all_cb(self, button) source code
 
manage_stop_all_cb(self, button) source code
 
manage_clear_all_cb(self, button) source code
 
manage_run_wizard_cb(self, x) source code
 
debug_reload_manager_cb(self, button) source code
 
debug_reload_admin_cb(self, button) source code
 
debug_reload_all_cb(self, button) source code
 
debug_start_shell_cb(self, button) source code
 
help_about_cb(self, button) source code
 
show(self) source code

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

Class Variables [hide private]
  logCategory = 'adminview'
Implementors can provide a category to log their messages under.

Inherited from common.log.Loggable: __implemented__, __provides__

Method Details [hide private]

show_component(self, state, entryPath, fileName, methodName, data)

source code 

Show the user interface for this component. Searches data for the given methodName global, then instantiates an object from that class, and calls the render() method.

Parameters:

_component_stop(self, state)

source code 
Returns:
a twisted.internet.defer.Deferred

_component_start(self, state)

source code 
Returns:
a twisted.internet.defer.Deferred

_component_restart(self, state)

source code 
Returns:
a twisted.internet.defer.Deferred