private boolean saveIfDirty(WebServiceCall wsCall) {
Editor page = view.getEditorForDisplayedObject(wsCall);
if (page != null && page.isDirty()) {
view.getEditorService().openEditor(page);
EditorSaverResult result = view.getEditorSaver().saveEditor(page);
return result.wasSaved(page);
}
return true;
}
protected abstract void performActionOn(WebServiceCall wsCall);