|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.importer.wizard.util.MockImporterPluginRegistryProvider
public class MockImporterPluginRegistryProvider
Importer plugin registry provider for test use only.
Constructor Summary | |
---|---|
MockImporterPluginRegistryProvider()
The default constructor. |
Method Summary | |
---|---|
String |
getConversionRuleDescription(String ruleId)
Retrieves description of conversion rule with a given extension identifier. |
List<ConversionRuleInfo> |
getConversionRuleInfos()
Returns the list of information about all available conversion rules. |
IConversionRule |
getConversionRuleInstance(String conversionRuleId)
Returns the conversion rule for model with given extension identifier. |
String |
getConversionRuleName(String ruleId)
Retrieves name of conversion rule with a given extension identifier. |
String |
getConverterDescription(String converterId)
Retrieves description of converter with a given extension identifier. |
List<ImportConverterInfo> |
getConverterInfos()
Returns the list of information about all available converters. |
IImportConverter |
getConverterInstance(String converterId)
Returns the converter for model with given extension identifier. |
List<DataTypeInfo> |
getDataTypeInfos()
Returns the list of information about all available data types. |
String |
getModelName(String modelId)
|
Map<String,String> |
getSupportedFileExtensions()
Retrieves all file extensions supported by all tokenizers, mapped to their tokenizer's identifiers. |
String |
getTokenizerDescription(String tokenizerId)
Retrieves description of tokenizer with a given extension identifier. |
List<TokenizerInfo> |
getTokenizerInfos()
Returns the list of information about all available tokenizers. |
IImportTokenizer |
getTokenizerInstance(String tokenizerId)
Returns the tokenizer for model with given extension identifier. |
String |
getTokenizerName(String tokenizerId)
Retrieves name of tokenizer with a given extension identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockImporterPluginRegistryProvider()
Method Detail |
---|
public String getConversionRuleDescription(String ruleId)
getConversionRuleDescription
in interface IImporterPluginRegistryProvider
ruleId
- The id of the conversion rule extension (defined in the plugin.xml file)
getConversionRuleDescription(java.lang.String)
public IConversionRule getConversionRuleInstance(String conversionRuleId) throws org.eclipse.core.runtime.CoreException
getConversionRuleInstance
in interface IImporterPluginRegistryProvider
conversionRuleId
- the id of the conversion rule extension (defined in the plugin.xml file)
org.eclipse.core.runtime.CoreException
getConversionRuleInstance(java.lang.String)
public String getConverterDescription(String converterId)
getConverterDescription
in interface IImporterPluginRegistryProvider
converterId
- The id of the converter extension (defined in the plugin.xml file)
IImporterPluginRegistryProvider.getConverterDescription(java.lang.String)
public IImportConverter getConverterInstance(String converterId) throws org.eclipse.core.runtime.CoreException
getConverterInstance
in interface IImporterPluginRegistryProvider
converterId
- the id of the converter extension (defined in the plugin.xml file)
org.eclipse.core.runtime.CoreException
IImporterPluginRegistryProvider.getConverterInstance(java.lang.String)
public String getModelName(String modelId) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
pl.edu.agh.cast.importer.base.util.IImporterPluginRegistryProvider#getModelName(java.lang.String)
public String getTokenizerDescription(String tokenizerId)
getTokenizerDescription
in interface IImporterPluginRegistryProvider
tokenizerId
- The id of the tokenizer extension (defined in the plugin.xml file)
IImporterPluginRegistryProvider.getTokenizerDescription(java.lang.String)
public List<TokenizerInfo> getTokenizerInfos() throws org.eclipse.core.runtime.CoreException
getTokenizerInfos
in interface IImporterPluginRegistryProvider
org.eclipse.core.runtime.CoreException
IImporterPluginRegistryProvider.getTokenizerInfos()
public IImportTokenizer getTokenizerInstance(String tokenizerId) throws org.eclipse.core.runtime.CoreException
getTokenizerInstance
in interface IImporterPluginRegistryProvider
tokenizerId
- the id of the tokenizer extension (defined in the plugin.xml file)
org.eclipse.core.runtime.CoreException
IImporterPluginRegistryProvider.getTokenizerInstance(java.lang.String)
public String getTokenizerName(String tokenizerId)
getTokenizerName
in interface IImporterPluginRegistryProvider
tokenizerId
- The id of the tokenizer extension (defined in the plugin.xml file)
IImporterPluginRegistryProvider.getTokenizerName(java.lang.String)
public List<ConversionRuleInfo> getConversionRuleInfos() throws org.eclipse.core.runtime.CoreException
getConversionRuleInfos
in interface IImporterPluginRegistryProvider
org.eclipse.core.runtime.CoreException
IImporterPluginRegistryProvider.getConversionRuleInfos()
public List<ImportConverterInfo> getConverterInfos() throws org.eclipse.core.runtime.CoreException
getConverterInfos
in interface IImporterPluginRegistryProvider
org.eclipse.core.runtime.CoreException
IImporterPluginRegistryProvider.getConverterInfos()
public String getConversionRuleName(String ruleId)
getConversionRuleName
in interface IImporterPluginRegistryProvider
ruleId
- The id of the conversion rule extension (defined in the plugin.xml file)
IImporterPluginRegistryProvider.getConversionRuleName(java.lang.String)
public Map<String,String> getSupportedFileExtensions()
getSupportedFileExtensions
in interface IImporterPluginRegistryProvider
IImporterPluginRegistryProvider.getSupportedFileExtensions()
public List<DataTypeInfo> getDataTypeInfos() throws org.eclipse.core.runtime.CoreException
getDataTypeInfos
in interface IImporterPluginRegistryProvider
org.eclipse.core.runtime.CoreException
IImporterPluginRegistryProvider.getDataTypeInfos()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |