@Override
public void syncFromMetadata() {
// Start with a clean, empty metadata file.
// In the event of a parse error from the raw XML, display this empty element
apexPageMetadata = new ApexPage();
try {
apexPageMetadata = unmarshall(getTextFromMetadataEditor(), ApexPage.class);
} catch (Exception e) {
logger.debug("Error trying to sync from Metadata tab for Apex property sheet: ", e);