Changeset 16031

Show
Ignore:
Timestamp:
02/07/08 16:30:07 (6 months ago)
Author:
watkins
Message:

Fixed setView

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/intermine/web/main/src/org/intermine/webservice/widget/WidgetsService.java

    r15990 r16031  
    2929import org.intermine.objectstore.query.ConstraintOp; 
    3030import org.intermine.path.Path; 
     31import org.intermine.pathquery.Constraint; 
     32import org.intermine.pathquery.PathQuery; 
    3133import org.intermine.util.StringUtil; 
    3234import org.intermine.util.TypeUtil; 
     
    3840import org.intermine.web.logic.pathqueryresult.PathQueryResultHelper; 
    3941import org.intermine.web.logic.profile.Profile; 
    40 import org.intermine.web.logic.query.Constraint; 
    41 import org.intermine.web.logic.query.PathQuery; 
    4242import org.intermine.web.logic.results.WebResults; 
    4343import org.intermine.web.logic.widget.config.EnrichmentWidgetConfig; 
     
    135135            null, true); 
    136136 
    137         pathQuery.setView(view); 
     137        pathQuery.setViewPaths(view); 
    138138        String label = null, id = null, code = pathQuery.getUnusedConstraintCode(); 
    139139        StringBuffer sb = new StringBuffer();