}
@UiHandler("btnArtifacts")
public void setupMavenArtifacts(final ClickEvent e) {
final ArtifactDependenciesExplorerWidget widget =
new ArtifactDependenciesExplorerWidget(assetName, serviceArtifacts, config.getExcludedArtifacts());
final InternalPopup popup = new InternalPopup(widget.asWidget(), Constants.INSTANCE.ManageDependenciesEllipsis());
popup.addOkButtonClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
try {
widget.processExcludedArtifacts(new ArtifactDependenciesReadyCommand() {
public void onSuccess(Collection<MavenArtifact> excludedItems) {
config.setExcludedArtifacts(excludedItems);
}
public void onFailure(Throwable cause) {