org.gla.bisb.structure
Class ModelsCategory

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.gla.bisb.structure.Category
          extended by org.gla.bisb.structure.ModelsCategory
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable

public class ModelsCategory
extends Category

Project hierarchy representation of the models category. This is named "models", and lists all the SBML files in the project.

Author:
Vladislav Vyshemirsky

Constructor Summary
ModelsCategory(org.eclipse.core.resources.IProject project)
          The constructor.
 
Method Summary
 java.lang.Object[] getChildren()
          Returns the list of available model files.
 java.lang.String getName()
          Returns the name of the category.
 java.lang.Object getParent()
          Returns the project this category belongs to.
 
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelsCategory

public ModelsCategory(org.eclipse.core.resources.IProject project)
The constructor. Creates the models category.

Parameters:
project - A reference to the parent project.
Method Detail

getChildren

public java.lang.Object[] getChildren()
Returns the list of available model files.

Specified by:
getChildren in class Category
Returns:
An array of children.
See Also:
Category.getChildren()

getName

public java.lang.String getName()
Returns the name of the category. "models" is the name.

Specified by:
getName in class Category
Returns:
the name
See Also:
Category.getName()

getParent

public java.lang.Object getParent()
Returns the project this category belongs to.

Specified by:
getParent in class Category
Returns:
The parent node.
See Also:
Category.getParent()