@Override
public Image getColumnImage( final Object element, final int index )
{
if ( element instanceof RelationshipTypeControl )
{
RelationshipTypeControl control = (RelationshipTypeControl) element;
if ( index == 1 )
{
return control.isIn() ? CHECKED : UNCHECKED;
}
if ( index == 2 )
{
return control.isOut() ? CHECKED : UNCHECKED;
}
}
return null;
}