Package org.eclipse.emf.cdo.transfer.ui
Class TransferContentProvider
java.lang.Object
org.eclipse.emf.cdo.transfer.ui.TransferContentProvider
- All Implemented Interfaces:
EventListener
,IContentProvider
,IStructuredContentProvider
,ITreeContentProvider
,org.eclipse.net4j.util.event.IListener
public class TransferContentProvider
extends Object
implements ITreeContentProvider, org.eclipse.net4j.util.event.IListener
A reusable
tree content provider
for the mappings
of a transfer
.
The input
must be an instance of CDOTransferMapping
, e.g., the return value of CDOTransfer.getRootMapping()
.
- Since:
- 4.2
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.IListener
org.eclipse.net4j.util.event.IListener.NotifierAware
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Object[]
getChildren
(Object element) Object[]
getElements
(Object element) boolean
hasChildren
(Object element) void
inputChanged
(Viewer viewer, Object oldInput, Object newInput) void
notifyEvent
(org.eclipse.net4j.util.event.IEvent event)
-
Constructor Details
-
TransferContentProvider
public TransferContentProvider()
-
-
Method Details
-
notifyEvent
public void notifyEvent(org.eclipse.net4j.util.event.IEvent event) - Specified by:
notifyEvent
in interfaceorg.eclipse.net4j.util.event.IListener
-
inputChanged
- Specified by:
inputChanged
in interfaceIContentProvider
-
dispose
public void dispose()- Specified by:
dispose
in interfaceIContentProvider
-
hasChildren
- Specified by:
hasChildren
in interfaceITreeContentProvider
-
getChildren
- Specified by:
getChildren
in interfaceITreeContentProvider
-
getElements
- Specified by:
getElements
in interfaceIStructuredContentProvider
- Specified by:
getElements
in interfaceITreeContentProvider
-
getParent
- Specified by:
getParent
in interfaceITreeContentProvider
-