001/*
002 * This library is part of OpenCms -
003 * the Open Source Content Management System
004 *
005 * Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com)
006 *
007 * This library is free software; you can redistribute it and/or
008 * modify it under the terms of the GNU Lesser General Public
009 * License as published by the Free Software Foundation; either
010 * version 2.1 of the License, or (at your option) any later version.
011 *
012 * This library is distributed in the hope that it will be useful,
013 * but WITHOUT ANY WARRANTY; without even the implied warranty of
014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015 * Lesser General Public License for more details.
016 *
017 * For further information about Alkacon Software, please see the
018 * company website: http://www.alkacon.com
019 *
020 * For further information about OpenCms, please see the
021 * project website: http://www.opencms.org
022 *
023 * You should have received a copy of the GNU Lesser General Public
024 * License along with this library; if not, write to the Free Software
025 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
026 */
027
028package org.opencms.ade.containerpage.client.ui.css;
029
030import org.opencms.gwt.client.ui.css.I_CmsConstantsBundle;
031import org.opencms.gwt.client.ui.css.I_CmsDirectEditCss;
032
033import com.google.gwt.core.client.GWT;
034import com.google.gwt.resources.client.ClientBundle;
035import com.google.gwt.resources.client.CssResource;
036import com.google.gwt.resources.client.CssResource.Shared;
037
038/**
039 * Resource bundle to access CSS and image resources.
040 *
041 * @since 8.0.0
042 */
043public interface I_CmsLayoutBundle extends ClientBundle {
044
045    /** Container-page CSS. */
046    public interface I_CmsContainerpageCss extends I_CmsDirectEditCss, I_CmsDragDropCss {
047
048        /** Access method.<p>
049         *
050         * @return the CSS class name
051         */
052        String clipboardList();
053
054        /**
055         * Access method.<p>
056         *
057         * @return the CSS class name
058         */
059        String emptyGroupContainer();
060
061        /** Access method.<p>
062         *
063         * @return the CSS class name
064         */
065        @ClassName("oc-enlarge-small-elements")
066        String enlargeSmallElements();
067
068        /**
069         * Access method.<p>
070         *
071         * @return the CSS class name
072         */
073        String expired();
074
075        /**
076         * Access method.<p>
077         *
078         * @return the CSS class name
079         */
080        String expiredOverlay();
081
082        /**
083         * Access method.<p>
084         *
085         * @return the CSS class name
086         */
087        String functionElement();
088
089        /** Access method.<p>
090         *
091         * @return the CSS class name
092         */
093        @ClassName("oc-groupcontainer")
094        String groupContainer();
095
096        /** Access method.<p>
097         *
098         * @return the CSS class name
099         */
100        String groupcontainerEditing();
101
102        /** Access method.<p>
103         *
104         * @return the CSS class name
105         */
106        String groupcontainerEditor();
107
108        /** Access method.<p>
109         *
110         * @return the CSS class name
111         */
112        String groupcontainerOverlay();
113
114        /** Access method.<p>
115         *
116         * @return the CSS class name
117         */
118        String groupcontainerPlaceholder();
119
120        /** Access method.<p>
121         *
122         * @return the CSS class name
123         */
124        String hiddenElement();
125
126        /** Access method.<p>
127         *
128         * @return the CSS class name
129         */
130        String hiddenElementOverlay();
131
132        /** Access method.<p>
133         *
134         * @return the CSS class name
135         */
136        String hideElements();
137
138        /** Access method.<p>
139         *
140         * @return the CSS class name
141         */
142        @ClassName("oc-ignore-small-elements")
143        String ignoreSmallElements();
144
145        /** Access method.<p>
146        *
147        * @return the CSS class name
148        */
149        String lockedElement();
150
151        /** Access method.<p>
152         *
153         * @return the CSS class name
154         */
155        String menuTabContainer();
156
157        /** Access method.<p>
158        *
159        * @return the CSS class name
160        */
161        @ClassName("oc-nondefault-view")
162        String nonDefaultView();
163
164        /** Access method.<p>
165         *
166         * @return the CSS class name
167         */
168        @ClassName("oc-small-element")
169        String smallElement();
170
171        /** Access method.<p>
172         *
173         * @return the CSS class name
174         */
175        String toolbarToggle();
176    }
177
178    /** The drag and drop CSS classes used also within the container-page CSS. */
179    @Shared
180    public interface I_CmsDragDropCss extends org.opencms.gwt.client.ui.css.I_CmsLayoutBundle.I_CmsDragCss {
181
182        /**
183         * Access method.<p>
184         *
185         * @return the CSS class name
186         */
187        @ClassName("oc-drag-element")
188        String dragElement();
189
190        /**
191         * Access method.<p>
192         *
193         * @return the CSS class name
194         */
195        String dragging();
196
197    }
198
199    /** The drag and drop CSS classes. */
200    public interface I_CmsDragDropExtendedCss extends I_CmsDragDropCss {
201
202        /**
203         * Access method.<p>
204         *
205         * @return the CSS class name
206         */
207        String clearFix();
208
209        /**
210         * Access method.<p>
211         *
212         * @return the CSS class name
213         */
214        String currentTarget();
215
216        /**
217         * Access method.<p>
218         *
219         * @return the CSS class name
220         */
221        String dragElementBackground();
222
223        /**
224         * Access method.<p>
225         *
226         * @return the CSS class name
227         */
228        String dragElementBorder();
229
230        /**
231         * Access method.<p>
232         *
233         * @return the CSS class name
234         */
235        String dragGroupContainer();
236
237        /**
238         * Access method.<p>
239         *
240         * @return the CSS class name
241         */
242        String dragHandle();
243
244        /**
245         * Access method.<p>
246         *
247         * @return the CSS class name
248         */
249        String dragOverlay();
250
251        /**
252         * Access method.<p>
253         *
254         * @return the CSS class name
255         */
256        @ClassName("oc-drag-target")
257        String dragTarget();
258
259        /**
260         * Access method.<p>
261         *
262         * @return the CSS class name
263         */
264        String overlayShow();
265
266        /**
267         * Access method.<p>
268         *
269         * @return the CSS class name
270         */
271        String placeholderOverlay();
272
273    }
274
275    /** Group container editor CSS. */
276    public interface I_CmsGroupContainer extends CssResource {
277
278        /** Access method.<p>
279         *
280         * @return the CSS class name
281         */
282        String containerMarker();
283
284        /** Access method.<p>
285         *
286         * @return the CSS class name
287         */
288        String inputBox();
289
290        /** Access method.<p>
291         *
292         * @return the CSS class name
293         */
294        String inputLabel();
295
296        /** Access method.<p>
297         *
298         * @return the CSS class name
299         */
300        String inputRow();
301    }
302
303    /** The bundle instance. */
304    I_CmsLayoutBundle INSTANCE = GWT.create(I_CmsLayoutBundle.class);
305
306    /**
307     * The accessor for the CSS constants bundle.<p>
308     *
309     * @return the constants bundle
310     */
311    I_CmsConstantsBundle constants();
312
313    /**
314     * Access method.<p>
315     *
316     * @return the container-page CSS
317     */
318    @Source("containerpage.gss")
319    I_CmsContainerpageCss containerpageCss();
320
321    /**
322     * Access method.<p>
323     *
324     * @return the drag and drop CSS
325     */
326    @Source("dragdrop.gss")
327    I_CmsDragDropExtendedCss dragdropCss();
328
329    /**
330     * Access method.<p>
331     *
332     * @return the container-page CSS
333     */
334    @Source("groupcontainer.gss")
335    I_CmsGroupContainer groupcontainerCss();
336}