public void onClick() {
CoverageInfo coverageInfo = (CoverageInfo) model.getObject();
try {
CoverageStoreInfo store = coverageInfo.getStore();
WorkspaceInfo workspace = store.getWorkspace();
setResponsePage(new CoverageViewEditPage(workspace.getName(), store.getName(), coverageInfo.getName(), coverageInfo,((ResourceConfigurationPage) this.getPage())));
} catch(Exception e) {
LOGGER.log(Level.SEVERE, "Failure opening the Virtual Coverage edit page", e);
error(e.toString());
}
}