001    /**
002     * Copyright 2010 The Kuali Foundation Licensed under the
003     * Educational Community License, Version 2.0 (the "License"); you may
004     * not use this file except in compliance with the License. You may
005     * obtain a copy of the License at
006     *
007     * http://www.osedu.org/licenses/ECL-2.0
008     *
009     * Unless required by applicable law or agreed to in writing,
010     * software distributed under the License is distributed on an "AS IS"
011     * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
012     * or implied. See the License for the specific language governing
013     * permissions and limitations under the License.
014     */
015    
016    package org.kuali.student.common.ui.theme.standard.client;
017    
018    import org.kuali.student.common.ui.client.theme.CommonCss;
019    import org.kuali.student.common.ui.client.theme.CommonImages;
020    import org.kuali.student.common.ui.client.theme.CommonWidgets;
021    import org.kuali.student.common.ui.client.theme.RichTextEditorImages;
022    import org.kuali.student.common.ui.client.theme.Theme;
023    
024    import com.google.gwt.core.client.GWT;
025    
026    public class ThemeImpl implements Theme{
027    
028            private final CommonImages commonImages = GWT.create(CommonImagesImpl.class);
029            private final CommonCss commonCss = GWT.create(CommonCssImpl.class);
030            private final CommonWidgets commonWidgets = GWT.create(CommonWidgetsImpl.class);
031            private final RichTextEditorImages richText = GWT.create(RichTextEditorImagesImpl.class);
032            
033            @Override
034            public CommonImages getCommonImages() {
035                    return commonImages;
036            }
037    
038            @Override
039            public CommonCss getCommonCss() {
040                    return commonCss;
041            }
042    
043            @Override
044            public RichTextEditorImages getRichTextEditorImages() {
045                    return richText;
046            }
047    
048            @Override
049            public CommonWidgets getCommonWidgets() {
050                    return commonWidgets;
051            }
052    
053    }