public class ProvidersContentProvider extends TreeContentProvider<ECPProviderRegistry> implements ECPProvidersChangedObserver
TreeContentProvider.ErrorElement, TreeContentProvider.SlowElement, TreeContentProvider.SyntheticElement
Constructor and Description |
---|
ProvidersContentProvider() |
ProvidersContentProvider(boolean excludesProvidersThatCannotAddRepositories) |
Modifier and Type | Method and Description |
---|---|
protected void |
connectInput(ECPProviderRegistry input) |
protected void |
disconnectInput(ECPProviderRegistry input) |
boolean |
excludesProvidersThatCannotAddRepositories() |
protected void |
fillChildren(Object parent,
InternalChildrenList childrenList) |
void |
providersChanged(Collection<ECPProvider> oldProviders,
Collection<ECPProvider> newProviders)
This is called to indicate, that providers changed.
|
fillChildrenDetectError, getChildren, getChildrenList, getElements, getParent, getViewer, hasChildren, isSlow, refresh, refreshViewer, update
dispose, getInput, inputChanged, refreshViewer
public ProvidersContentProvider()
public ProvidersContentProvider(boolean excludesProvidersThatCannotAddRepositories)
public final boolean excludesProvidersThatCannotAddRepositories()
protected void fillChildren(Object parent, InternalChildrenList childrenList)
fillChildren
in class TreeContentProvider<ECPProviderRegistry>
public void providersChanged(Collection<ECPProvider> oldProviders, Collection<ECPProvider> newProviders)
ECPProvidersChangedObserver
providersChanged
in interface ECPProvidersChangedObserver
oldProviders
- provider before changenewProviders
- providers after changeprotected void connectInput(ECPProviderRegistry input)
connectInput
in class StructuredContentProvider<ECPProviderRegistry>
protected void disconnectInput(ECPProviderRegistry input)
disconnectInput
in class StructuredContentProvider<ECPProviderRegistry>
Copyright © 2016. All rights reserved.