public abstract class SchemaIO extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_LOAD_SOURCE_SCHEMA
ID of the action to load a source schema.
|
static String |
ACTION_LOAD_TARGET_SCHEMA
ID of the action to load a target schema.
|
Constructor and Description |
---|
SchemaIO() |
Modifier and Type | Method and Description |
---|---|
static SchemaReader |
createSchemaReader(org.eclipse.core.runtime.content.IContentType contentType,
String providerId)
Creates a schema reader instance
|
static String |
getMappingRelevantTypesParameterName(SchemaSpaceID spaceID)
Get the name of the project settings parameter specifying the mappable
types.
|
static void |
loadMappingRelevantTypesConfig(TypeIndex types,
SchemaSpaceID spaceID,
de.fhg.igd.osgi.util.configuration.IConfigurationService configurationService)
Load the configuration of mapping relevant types.
|
static void |
loadMappingRelevantTypesConfig(TypeIndex types,
SchemaSpaceID spaceID,
Project project)
Load the configuration of mapping relevant types.
|
public static final String ACTION_LOAD_SOURCE_SCHEMA
public static final String ACTION_LOAD_TARGET_SCHEMA
public static SchemaReader createSchemaReader(org.eclipse.core.runtime.content.IContentType contentType, String providerId)
contentType
- the content type the provider must match, may be
null
if providerId is setproviderId
- the id of the provider to use, may be null
if contentType is setnull
if no matching I/O provider is foundpublic static void loadMappingRelevantTypesConfig(TypeIndex types, SchemaSpaceID spaceID, de.fhg.igd.osgi.util.configuration.IConfigurationService configurationService)
types
- the typesspaceID
- the schema space identifierconfigurationService
- the configuration servicepublic static String getMappingRelevantTypesParameterName(SchemaSpaceID spaceID)
spaceID
- the schemas spacepublic static void loadMappingRelevantTypesConfig(TypeIndex types, SchemaSpaceID spaceID, Project project)
types
- the typesspaceID
- the schema space identifierproject
- the project holding the configuration informationBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a