de.jaret.util.ui.model
Interface IMutableContentProvider

All Superinterfaces:
org.eclipse.jface.viewers.IContentProvider, org.eclipse.jface.viewers.IStructuredContentProvider
All Known Implementing Classes:
MutableListContentProvider

public interface IMutableContentProvider
extends org.eclipse.jface.viewers.IStructuredContentProvider

Extension of the org.eclipse.jface.viewers.IStructuredContentProvider interface allowing modification of the provided content.

Version:
$Id: IMutableContentProvider.java 242 2007-02-11 21:05:07Z olk $
Author:
Peter Kliem

Method Summary
 void addToDest(Object o)
          Add an object to the content supplied by this ContentProvider
 void clear()
          removes all elements from the ContentProvider
 boolean contains(Object o)
          Return true when the object is in the content.
 void remFromDest(Object o)
          Remove an object from the content of the ContentProvider.
 
Methods inherited from interface org.eclipse.jface.viewers.IStructuredContentProvider
getElements
 
Methods inherited from interface org.eclipse.jface.viewers.IContentProvider
dispose, inputChanged
 

Method Detail

addToDest

void addToDest(Object o)
Add an object to the content supplied by this ContentProvider

Parameters:
o - object to be added

remFromDest

void remFromDest(Object o)
Remove an object from the content of the ContentProvider.

Parameters:
o - the object to be removed from the Content

contains

boolean contains(Object o)
Return true when the object is in the content.

Parameters:
o - Object to check
Returns:
boolean true if o is part of the content of the ContentProvider

clear

void clear()
removes all elements from the ContentProvider



Copyright © 2013. All Rights Reserved.