final FeedServiceAsync feedService = Registry.get(RSSReaderConstants.FEED_SERVICE);
feedService.createFeed(new AsyncCallback<Feed>() {
@Override
public void onSuccess(Feed feed) {
final Window newFeedWindow = new FeedWindow(feed);
newFeedWindow.show();
}
@Override
public void onFailure(Throwable caught) {
Info.display("RSSReader", "Unable to create a new feed because of:\n" + caught.getMessage());