PluginConfigurationPage pluginConfig = new PluginConfigurationPage(this);
pluginConfig.setModel(_model);
addPage(pluginConfig);
if (_model.isFeatureSupported(WGASchemaDefinitionModel.FEATURE_SCHEMADEFINITION) && _model instanceof WGASchemaDefinitionModel) {
SchemaConfigurationPage schemaPage = new SchemaConfigurationPage(this);
schemaPage.setModel((WGASchemaDefinitionModel)_model);
addPage(SCHEMADEFINITION_PAGE_INDEX, schemaPage);
}
} catch (PartInitException e) {
Plugin.getDefault().logError("Unable to init design editor pages.", e);
}