* ensures that syncinfo and csconfig is writeable
* @throws CoreException
*/
public void makeDesignConfigWriteable() throws CoreException {
if (getSyncInfo() != null && getSyncInfo().isReadOnly()) {
ResourceAttributes attributes = getSyncInfo().getResourceAttributes();
attributes.setReadOnly(false);
getSyncInfo().setResourceAttributes(attributes);
}
if (getCsConfig() != null && getCsConfig().isReadOnly()) {
ResourceAttributes attributes = getCsConfig().getResourceAttributes();
attributes.setReadOnly(false);
getCsConfig().setResourceAttributes(attributes);
}
if (getSchemaDefinition() != null && getSchemaDefinition().isReadOnly()) {
ResourceAttributes attributes = getSchemaDefinition().getResourceAttributes();
attributes.setReadOnly(false);
getSchemaDefinition().setResourceAttributes(attributes);
}
}