xView,
new Callback<XView>(constants.couldNotCreateView()) {
public void onSuccess(XView xView) {
hideWaitCursor();
((Workbench) Registry.get(Workbench.ID)).showWaitCursor(constants.openingView());
XUser user = ((Workbench)Registry.get(Workbench.ID)).getUser();
DisplayFlags.setDisplayFlagsFor(xView, user, displayFlags, globalFlags);
xView.setExternalId(viewId);
Dispatcher.get().dispatch(WPaloEvent.EDIT_VIEWBROWSER_VIEW, xView);
String subobjId = "OK - 4";
refreshSubobjects(subobjId);