|
||||||||||
| 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.MockModelPluginRegistryProvider
public class MockModelPluginRegistryProvider
Model plugin registry provider for test use only.
| Constructor Summary | |
|---|---|
MockModelPluginRegistryProvider()
The default constructor. |
|
| Method Summary | |
|---|---|
ModelColumn[] |
getModelColumns(String modelExtensionId)
Returns table of ModelColumn for model with id = modelExtensionId. |
List<ModelInfo> |
getModelInfos()
Returns the list of information about all available domain models. |
String |
getModelName(String modelId)
Retrieves name of domain model 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 MockModelPluginRegistryProvider()
| Method Detail |
|---|
public ModelColumn[] getModelColumns(String modelExtensionId)
ModelColumn for model with id = modelExtensionId. Each model column is
placed at modelIndex index in result table.
getModelColumns in interface IModelPluginRegistryProvidermodelExtensionId - Id of model extension.
IModelPluginRegistryProvider.getModelColumns(java.lang.String)
public List<ModelInfo> getModelInfos()
throws org.eclipse.core.runtime.CoreException
getModelInfos in interface IModelPluginRegistryProviderorg.eclipse.core.runtime.CoreExceptionIModelPluginRegistryProvider.getModelInfos()
public String getModelName(String modelId)
throws org.eclipse.core.runtime.CoreException
getModelName in interface IModelPluginRegistryProvidermodelId - The id of the model extension (defined in the plugin.xml file)
org.eclipse.core.runtime.CoreExceptionIModelPluginRegistryProvider.getModelName(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||