use of org.pentaho.di.ui.repo.menu.RepositoryConnectMenu in project pentaho-kettle by pentaho.
the class RepositorySpoonPlugin method applyToContainer.
@Override
public void applyToContainer(String category, XulDomContainer container) throws XulException {
if (category.equals(SPOON_CATEGORY)) {
XulToolbar toolbar = (XulToolbar) container.getDocumentRoot().getElementById("main-toolbar");
RepositoryConnectMenu repoConnectMenu = new RepositoryConnectMenu(Spoon.getInstance(), (ToolBar) toolbar.getManagedObject(), repositoryConnectController);
repoConnectMenu.render();
}
}
Aggregations