} else if (providesLayout) {
updateLayoutModel();
} else if (providesTheme) {
updateThemeModel();
} else if (providesURL) {
URLContentBuilder urlContent =
POLICY_FACTORY.createURLContentBuilder();
urlContent.setURL(urlText.getText());
String baseUrlString = baseURLText.getText();
if (baseUrlString != null && baseUrlString.length() > 0) {
PolicyReference baseURL =
POLICY_FACTORY.createPolicyReference(
baseUrlString, PolicyType.BASE_URL);
urlContent.setBaseURLPolicyReference(baseURL);
}
BaseLocation baseLocation =
(BaseLocation)composite.getProperty(PolicyModel.BASE_LOCATION);
urlContent.setBaseLocation(baseLocation);
setModelContent(urlContent);
}