Search in sources :

Example 1 with IUISupportController

use of org.pentaho.di.ui.repository.repositoryexplorer.IUISupportController in project pentaho-kettle by pentaho.

the class AbstractRepositoryExplorerUISupport method initControllers.

public void initControllers(Repository rep) throws ControllerInitializationException {
    for (String name : controllerNames) {
        try {
            IUISupportController controller = (IUISupportController) container.getEventHandler(name);
            controller.init(rep);
        } catch (XulException e) {
            throw new ControllerInitializationException(e);
        }
    }
}
Also used : ControllerInitializationException(org.pentaho.di.ui.repository.repositoryexplorer.ControllerInitializationException) XulException(org.pentaho.ui.xul.XulException) IUISupportController(org.pentaho.di.ui.repository.repositoryexplorer.IUISupportController)

Aggregations

ControllerInitializationException (org.pentaho.di.ui.repository.repositoryexplorer.ControllerInitializationException)1 IUISupportController (org.pentaho.di.ui.repository.repositoryexplorer.IUISupportController)1 XulException (org.pentaho.ui.xul.XulException)1