use of org.pentaho.di.ui.repo.dialog.RepositoryDialog in project pentaho-kettle by pentaho.
the class RepositoryConnectMenu method renderConnectButton.
private void renderConnectButton() {
connectButton = new ToolItem(toolBar, toolBar.getItems().length);
connectButton.setText(BaseMessages.getString(PKG, "RepositoryConnectMenu.Connect"));
connectButton.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent selectionEvent) {
new RepositoryDialog(spoon.getShell(), repoConnectController).openCreation();
renderAndUpdate();
}
});
}
Aggregations