1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.lum.ui.theme.standard.client;
17
18 import org.kuali.student.lum.lu.ui.main.client.theme.LumCss;
19
20 import com.google.gwt.resources.client.CssResource;
21 import com.google.gwt.resources.client.ResourcePrototype;
22
23 public class LumCssImpl implements LumCss{
24
25 @Override
26 public String getCssString() {
27 StringBuilder injectString = new StringBuilder("");
28 for(ResourcePrototype r: LumClientBundle.INSTANCE.getResources()){
29 if(r instanceof CssResource){
30 if(((CssResource)r).getText() != null){
31 injectString.append("\n" + (((CssResource)r).getText()));
32 }
33 }
34 }
35 return injectString.toString();
36 }
37
38 }