pl.edu.agh.cast.model
Interface IModelPluginRegistryProvider

All Known Implementing Classes:
MockModelPluginRegistryProvider

public interface IModelPluginRegistryProvider

Author:
AGH CAST Team

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.
 

Method Detail

getModelColumns

ModelColumn[] getModelColumns(String modelExtensionId)
Returns table of ModelColumn for model with id = modelExtensionId. Each model column is placed at modelIndex index in result table.

Parameters:
modelExtensionId - Id of model extension.
Returns:
Table of model columns for model with input id.

getModelInfos

List<ModelInfo> getModelInfos()
                              throws org.eclipse.core.runtime.CoreException
Returns the list of information about all available domain models.

Returns:
list of model information
Throws:
org.eclipse.core.runtime.CoreException

getModelName

String getModelName(String modelId)
                    throws org.eclipse.core.runtime.CoreException
Retrieves name of domain model with a given extension identifier.

Parameters:
modelId - The id of the model extension (defined in the plugin.xml file)
Returns:
the name of the model
Throws:
org.eclipse.core.runtime.CoreException


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.