public class CellGraphContentProvider
extends org.eclipse.jface.viewers.ArrayContentProvider
implements org.eclipse.zest.core.viewers.IGraphContentProvider
Alignment
, a Cell
or an Iterable
of Cell
s as
input.Constructor and Description |
---|
CellGraphContentProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
addEdges(Cell cell,
List<Edge> edges)
Adds the edges for the given cell to the given list.
|
Object |
getDestination(Object rel) |
protected Object[] |
getEdges(Iterable<?> cells)
Get all edges for the given cells.
|
Object[] |
getElements(Object input) |
Object |
getSource(Object rel) |
dispose, getInstance, inputChanged
public Object getSource(Object rel)
getSource
in interface org.eclipse.zest.core.viewers.IGraphContentProvider
IGraphContentProvider.getSource(Object)
public Object getDestination(Object rel)
getDestination
in interface org.eclipse.zest.core.viewers.IGraphContentProvider
IGraphContentProvider.getDestination(Object)
public Object[] getElements(Object input)
getElements
in interface org.eclipse.jface.viewers.IStructuredContentProvider
getElements
in interface org.eclipse.zest.core.viewers.IGraphContentProvider
getElements
in class org.eclipse.jface.viewers.ArrayContentProvider
IGraphContentProvider.getElements(Object)
protected Object[] getEdges(Iterable<?> cells)
cells
- an iterable of Cell
s, other objects will be ignoredBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a