1 package org.kuali.ole.service;
2
3 import org.kuali.rice.krad.uif.component.Component;
4 import org.kuali.rice.krad.uif.field.Field;
5 import org.kuali.rice.krad.uif.view.LookupView;
6 import org.kuali.rice.krad.uif.view.View;
7
8 import java.util.List;
9
10
11
12
13
14
15
16
17 public class OleLookupView extends LookupView {
18
19
20
21
22
23
24
25 @Override
26 public void performApplyModel(View view, Object model, Component parent) {
27
28 super.performApplyModel(view, model, parent);
29 if (!isSuppressActions() && isShowMaintenanceLinks()) {
30 ((List<Field>) getResultsGroup().getItems()).remove(getResultsActionsField());
31 }
32
33 }
34 }