import org.objectstyle.wolips.eomodeler.core.model.EOJoin;
import org.objectstyle.wolips.eomodeler.core.model.EORelationship;
public class EOJoinsContentProvider implements IStructuredContentProvider {
public Object[] getElements(Object _inputElement) {
EORelationship relationship = (EORelationship) _inputElement;
List<EOJoin> joinsList = relationship.getJoins();
EOJoin[] joins = joinsList.toArray(new EOJoin[joinsList.size()]);
return joins;
}