for (IConfigurationElement def : pageDefinitions) {
String uri = def.getAttribute(FormPagesExtensionPointConstants.ATTR_NAMESPACE_URI);
if (containsNamespaceUri(uri)) {
String prefix = def.getAttribute(FormPagesExtensionPointConstants.ATTR_NAMESPACE_PREFIX);
if (getFormPageForUri(uri) == null) {
IConfigEditorPage page = createConfigEditorPage(def, FormPagesExtensionPointConstants.ATTR_CLASS);
addConfigEditorPage(page, prefix);
}
if (gefEnabled) {
if (getGraphicalEditorForUri(uri) == null) {
String graph = def.getAttribute(FormPagesExtensionPointConstants.ATTR_GRAPH);
if (graph != null && graph.trim().length() > 0) {
String graphPrefix = prefix.concat("-graph"); //$NON-NLS-1$
IConfigEditorPage gEditor = createConfigEditorPage(def,
FormPagesExtensionPointConstants.ATTR_GRAPH);
addConfigEditorPage(gEditor, graphPrefix);
}
}
}