use of org.pentaho.di.ui.spoon.XulSpoonResourceBundle in project pentaho-kettle by pentaho.
the class AbstractRepositoryExplorerUISupport method apply.
public void apply(XulDomContainer container) throws XulException {
this.container = container;
container.registerClassLoader(getClass().getClassLoader());
for (XulEventHandler handler : handlers) {
container.addEventHandler(handler);
}
for (XulOverlay overlay : overlays) {
if (overlay instanceof RepositoryExplorerDefaultXulOverlay) {
container.loadOverlay(overlay.getOverlayUri(), new XulSpoonResourceBundle(((RepositoryExplorerDefaultXulOverlay) overlay).getPackageClass()));
} else {
container.loadOverlay(overlay.getOverlayUri(), overlay.getResourceBundleUri());
}
}
}
Aggregations