|
||||||||||
| 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 IImporterPluginRegistryProviderruleId - 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 IImporterPluginRegistryProviderconversionRuleId - the id of the conversion rule extension (defined in the plugin.xml file)
org.eclipse.core.runtime.CoreExceptiongetConversionRuleInstance(java.lang.String)public String getConverterDescription(String converterId)
getConverterDescription in interface IImporterPluginRegistryProviderconverterId - 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 IImporterPluginRegistryProviderconverterId - the id of the converter extension (defined in the plugin.xml file)
org.eclipse.core.runtime.CoreExceptionIImporterPluginRegistryProvider.getConverterInstance(java.lang.String)
public String getModelName(String modelId)
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionpl.edu.agh.cast.importer.base.util.IImporterPluginRegistryProvider#getModelName(java.lang.String)public String getTokenizerDescription(String tokenizerId)
getTokenizerDescription in interface IImporterPluginRegistryProvidertokenizerId - 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 IImporterPluginRegistryProviderorg.eclipse.core.runtime.CoreExceptionIImporterPluginRegistryProvider.getTokenizerInfos()
public IImportTokenizer getTokenizerInstance(String tokenizerId)
throws org.eclipse.core.runtime.CoreException
getTokenizerInstance in interface IImporterPluginRegistryProvidertokenizerId - the id of the tokenizer extension (defined in the plugin.xml file)
org.eclipse.core.runtime.CoreExceptionIImporterPluginRegistryProvider.getTokenizerInstance(java.lang.String)public String getTokenizerName(String tokenizerId)
getTokenizerName in interface IImporterPluginRegistryProvidertokenizerId - 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 IImporterPluginRegistryProviderorg.eclipse.core.runtime.CoreExceptionIImporterPluginRegistryProvider.getConversionRuleInfos()
public List<ImportConverterInfo> getConverterInfos()
throws org.eclipse.core.runtime.CoreException
getConverterInfos in interface IImporterPluginRegistryProviderorg.eclipse.core.runtime.CoreExceptionIImporterPluginRegistryProvider.getConverterInfos()public String getConversionRuleName(String ruleId)
getConversionRuleName in interface IImporterPluginRegistryProviderruleId - 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 IImporterPluginRegistryProviderIImporterPluginRegistryProvider.getSupportedFileExtensions()
public List<DataTypeInfo> getDataTypeInfos()
throws org.eclipse.core.runtime.CoreException
getDataTypeInfos in interface IImporterPluginRegistryProviderorg.eclipse.core.runtime.CoreExceptionIImporterPluginRegistryProvider.getDataTypeInfos()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||