org.eclipse.emf.edit.provider
Interface IWrapperItemProvider

All Superinterfaces:
IDisposable
All Known Implementing Classes:
WrapperItemProvider

public interface IWrapperItemProvider
extends IDisposable

The base interface for a value wrapper that can implement item provider interfaces.


Method Summary
 int getIndex()
          Returns the index within a feature at which the value is located, or CommandParameter.NO_INDEX if the index isn't known to the wrapper.
 Object getValue()
          Returns the wrapped value.
 void setIndex(int index)
          Sets the index.
 
Methods inherited from interface org.eclipse.emf.edit.provider.IDisposable
dispose
 

Method Detail

getValue

public Object getValue()
Returns the wrapped value.


getIndex

public int getIndex()
Returns the index within a feature at which the value is located, or CommandParameter.NO_INDEX if the index isn't known to the wrapper.


setIndex

public void setIndex(int index)
Sets the index. Has no effect if the index isn't known to the wrapper.


Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.