pl.edu.agh.cast.data.ui.template
Class ModelInfo

java.lang.Object
  extended by pl.edu.agh.cast.data.ui.template.ModelInfo

public class ModelInfo
extends Object

Holds and maintains the information about a specific model. It is used in the template creation wizard in order to display the data format column details.

Author:
AGH CAST Team

Constructor Summary
ModelInfo(String modelId)
          The default constructor.
 
Method Summary
 void fillModelInfoComposite(org.eclipse.swt.widgets.Composite modelInfoComposite, ModelColumn[] modelCols)
          Fills in the specified composite, with the information about the model.
 int getRequiredColumnsCount()
          Returns the number of columns that are required.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelInfo

public ModelInfo(String modelId)
The default constructor.

Parameters:
modelId - the model identifier
Method Detail

fillModelInfoComposite

public void fillModelInfoComposite(org.eclipse.swt.widgets.Composite modelInfoComposite,
                                   ModelColumn[] modelCols)
Fills in the specified composite, with the information about the model.

Parameters:
modelInfoComposite - the model information composite
modelCols - the model columns

getRequiredColumnsCount

public int getRequiredColumnsCount()
Returns the number of columns that are required.

Returns:
the number of required columns


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