com.ibm.ram.rich.ui.myrepositories
Class AbstractRepositoryItem

java.lang.Object
  extended by com.ibm.ram.rich.ui.myrepositories.AbstractRepositoryItem

public abstract class AbstractRepositoryItem
extends java.lang.Object

Repository item denotes a child under each repository connection.

Author:
srimanth

Constructor Summary
AbstractRepositoryItem()
           
 
Method Summary
 IStructuredContentProvider getContentProvider()
          Content provider for children to be shown under this repository item.
 ILabelProvider getLabelProvider()
          Label provider for this item and its children
 void initialize(IRepositoryIdentifier repository)
          Initializes this repository item for the provided connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRepositoryItem

public AbstractRepositoryItem()
Method Detail

initialize

public void initialize(IRepositoryIdentifier repository)
Initializes this repository item for the provided connection.

Parameters:
repository -

getContentProvider

public IStructuredContentProvider getContentProvider()
Content provider for children to be shown under this repository item. This cannot be null

Returns:

getLabelProvider

public ILabelProvider getLabelProvider()
Label provider for this item and its children

Returns: