Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.emf.ecp.internal.ui.model
Class RepositoriesContentProvider

    java.lang.Object
      org.eclipse.emf.ecp.internal.ui.model.StructuredContentProvider<INPUT>
          org.eclipse.emf.ecp.internal.ui.model.TreeContentProvider<INPUT>
              org.eclipse.emf.ecp.internal.ui.model.ECPContentProvider<ECPRepositoryManager>
                  org.eclipse.emf.ecp.internal.ui.model.RepositoriesContentProvider

All Implemented Interfaces:
  ECPModelContextProvider, ECPObserver, ECPRepositoriesChangedObserver, ECPRepositoryContentChangedObserver, org.eclipse.emf.edit.provider.INotifyChangedListener, org.eclipse.jface.viewers.IContentProvider, org.eclipse.jface.viewers.IStructuredContentProvider, org.eclipse.jface.viewers.ITreeContentProvider

    public class RepositoriesContentProvider

extends ECPContentProvider<ECPRepositoryManager>
implements ECPRepositoriesChangedObserver, ECPRepositoryContentChangedObserver

Author:
  Eike Stepper, Eugen Neufeld

Nested Class Summary

Nested classes/interfaces inherited from class org.eclipse.emf.ecp.internal.ui.model.TreeContentProvider
`TreeContentProvider.ErrorElement, TreeContentProvider.SlowElement, TreeContentProvider.SyntheticElement`

Constructor Summary
`RepositoriesContentProvider()`
`RepositoriesContentProvider(ECPProvider allowedProvider)`

Method Summary
`void` | `contentChanged(ECPRepository repository, Collection<Object> objects)` This is called to indicate, that objects inside the repository changed.
`void` | `repositoriesChanged(Collection<ECPRepository> oldRepositories, Collection<ECPRepository> newRepositories)` This is called to indicate, that repositories changed.

Methods inherited from class org.eclipse.emf.ecp.internal.ui.model.ECPContentProvider
`dispose, getModelContext, notifyChanged`

Methods inherited from class org.eclipse.emf.ecp.internal.ui.model.TreeContentProvider
`getChildren, getElements, getParent, getViewer, hasChildren, refresh, refreshViewer, update`

Methods inherited from class org.eclipse.emf.ecp.internal.ui.model.StructuredContentProvider
`getInput, inputChanged, refreshViewer`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.eclipse.jface.viewers.IContentProvider
`inputChanged`

Constructor Detail

### RepositoriesContentProvider

    public RepositoriesContentProvider()

### RepositoriesContentProvider

    public RepositoriesContentProvider(ECPProvider allowedProvider)

Method Detail

### repositoriesChanged

    public void repositoriesChanged(Collection<ECPRepository> oldRepositories,
                                    Collection<ECPRepository> newRepositories)

  This is called to indicate, that repositories changed.

  Specified by:
    `repositoriesChanged` in interface `ECPRepositoriesChangedObserver`
  Parameters:
    `oldRepositories` - repositories before change
    `newRepositories` - repositories after change

### contentChanged

    public void contentChanged(ECPRepository repository,
                               Collection<Object> objects)

  This is called to indicate, that objects inside the repository changed.

  Specified by:
    `contentChanged` in interface `ECPRepositoryContentChangedObserver`
  Parameters:
    `repository` - the repository the changes occurred
    `objects` - the objects that changed

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.