org.gla.bisb.structure
Class Category

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.gla.bisb.structure.Category
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
Direct Known Subclasses:
ModelsCategory, ProjectScope, WorkspaceScope

public abstract class Category
extends org.eclipse.core.runtime.PlatformObject

This is an abstract class for the project structure. It provides the basic methods for structural representation in, for example, a tree viewer.

Author:
Vladislav Vyshemirsky

Constructor Summary
Category()
           
 
Method Summary
abstract  java.lang.Object[] getChildren()
          Returns an array of node's children.
abstract  java.lang.String getName()
          The name of the current hierarchy node.
abstract  java.lang.Object getParent()
          Returns the parent node in the projects hierarchy.
 
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

Category

public Category()
Method Detail

getName

public abstract java.lang.String getName()
The name of the current hierarchy node.

Returns:
the name

getChildren

public abstract java.lang.Object[] getChildren()
Returns an array of node's children.

Returns:
An array of children.

getParent

public abstract java.lang.Object getParent()
Returns the parent node in the projects hierarchy.

Returns:
The parent node.