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; 032import org.opencms.gwt.client.ui.css.I_CmsLayoutBundle.I_CmsButtonCss; 033 034import com.google.gwt.core.client.GWT; 035import com.google.gwt.resources.client.ClientBundle; 036import com.google.gwt.resources.client.CssResource; 037import com.google.gwt.resources.client.CssResource.Import; 038import com.google.gwt.resources.client.CssResource.Shared; 039 040/** 041 * Resource bundle to access CSS and image resources. 042 * 043 * @since 8.0.0 044 */ 045public interface I_CmsLayoutBundle extends ClientBundle { 046 047 /** Container-page CSS. */ 048 public interface I_CmsContainerpageCss extends I_CmsDirectEditCss, I_CmsDragDropCss { 049 050 /** Access method.<p> 051 * 052 * @return the CSS class name 053 */ 054 String clipboardList(); 055 056 /** 057 * Access method.<p> 058 * 059 * @return the CSS class name 060 */ 061 String emptyGroupContainer(); 062 063 /** Access method.<p> 064 * 065 * @return the CSS class name 066 */ 067 @ClassName("oc-enlarge-small-elements") 068 String enlargeSmallElements(); 069 070 /** 071 * Access method.<p> 072 * 073 * @return the CSS class name 074 */ 075 String expired(); 076 077 /** 078 * Access method.<p> 079 * 080 * @return the CSS class name 081 */ 082 String expiredOverlay(); 083 084 /** 085 * Access method.<p> 086 * 087 * @return the CSS class name 088 */ 089 String functionElement(); 090 091 /** Access method.<p> 092 * 093 * @return the CSS class name 094 */ 095 @ClassName("oc-groupcontainer") 096 String groupContainer(); 097 098 /** Access method.<p> 099 * 100 * @return the CSS class name 101 */ 102 String groupcontainerEditing(); 103 104 /** Access method.<p> 105 * 106 * @return the CSS class name 107 */ 108 String groupcontainerEditor(); 109 110 /** Access method.<p> 111 * 112 * @return the CSS class name 113 */ 114 String groupcontainerOverlay(); 115 116 /** Access method.<p> 117 * 118 * @return the CSS class name 119 */ 120 String groupcontainerPlaceholder(); 121 122 /** Access method.<p> 123 * 124 * @return the CSS class name 125 */ 126 String hiddenElement(); 127 128 /** Access method.<p> 129 * 130 * @return the CSS class name 131 */ 132 String hiddenElementOverlay(); 133 134 /** Access method.<p> 135 * 136 * @return the CSS class name 137 */ 138 String hideElements(); 139 140 /** Access method.<p> 141 * 142 * @return the CSS class name 143 */ 144 @ClassName("oc-ignore-small-elements") 145 String ignoreSmallElements(); 146 147 /** Access method.<p> 148 * 149 * @return the CSS class name 150 */ 151 String lockedElement(); 152 153 /** Access method.<p> 154 * 155 * @return the CSS class name 156 */ 157 String menuTabContainer(); 158 159 /** Access method.<p> 160 * 161 * @return the CSS class name 162 */ 163 @ClassName("oc-nondefault-view") 164 String nonDefaultView(); 165 166 /** Access method.<p> 167 * 168 * @return the CSS class name 169 */ 170 @ClassName("oc-reused-element") 171 String reusedElement(); 172 173 /** Access method.<p> 174 * 175 * @return the CSS class name 176 */ 177 @ClassName("oc-small-element") 178 String smallElement(); 179 180 /** Access method.<p> 181 * 182 * @return the CSS class name 183 */ 184 String toolbarToggle(); 185 } 186 187 /** The drag and drop CSS classes used also within the container-page CSS. */ 188 @Shared 189 public interface I_CmsDragDropCss extends org.opencms.gwt.client.ui.css.I_CmsLayoutBundle.I_CmsDragCss { 190 191 /** 192 * Access method.<p> 193 * 194 * @return the CSS class name 195 */ 196 @ClassName("oc-drag-element") 197 String dragElement(); 198 199 /** 200 * Access method.<p> 201 * 202 * @return the CSS class name 203 */ 204 String dragging(); 205 206 } 207 208 /** The drag and drop CSS classes. */ 209 public interface I_CmsDragDropExtendedCss extends I_CmsDragDropCss { 210 211 /** 212 * Access method.<p> 213 * 214 * @return the CSS class name 215 */ 216 String clearFix(); 217 218 /** 219 * Access method.<p> 220 * 221 * @return the CSS class name 222 */ 223 String currentTarget(); 224 225 /** 226 * Access method.<p> 227 * 228 * @return the CSS class name 229 */ 230 String dragElementBackground(); 231 232 /** 233 * Access method.<p> 234 * 235 * @return the CSS class name 236 */ 237 String dragElementBorder(); 238 239 /** 240 * Access method.<p> 241 * 242 * @return the CSS class name 243 */ 244 String dragGroupContainer(); 245 246 /** 247 * Access method.<p> 248 * 249 * @return the CSS class name 250 */ 251 String dragHandle(); 252 253 /** 254 * Access method.<p> 255 * 256 * @return the CSS class name 257 */ 258 String dragOverlay(); 259 260 /** 261 * Access method.<p> 262 * 263 * @return the CSS class name 264 */ 265 @ClassName("oc-drag-target") 266 String dragTarget(); 267 268 /** 269 * Access method.<p> 270 * 271 * @return the CSS class name 272 */ 273 String overlayShow(); 274 275 /** 276 * Access method.<p> 277 * 278 * @return the CSS class name 279 */ 280 String placeholderOverlay(); 281 282 } 283 284 /** Group container editor CSS. */ 285 public interface I_CmsGroupContainer extends CssResource { 286 287 /** Access method.<p> 288 * 289 * @return the CSS class name 290 */ 291 String containerMarker(); 292 293 /** Access method.<p> 294 * 295 * @return the CSS class name 296 */ 297 String inputBox(); 298 299 /** Access method.<p> 300 * 301 * @return the CSS class name 302 */ 303 String inputLabel(); 304 305 /** Access method.<p> 306 * 307 * @return the CSS class name 308 */ 309 String inputRow(); 310 } 311 312 /** The bundle instance. */ 313 I_CmsLayoutBundle INSTANCE = GWT.create(I_CmsLayoutBundle.class); 314 315 /** 316 * The accessor for the CSS constants bundle.<p> 317 * 318 * @return the constants bundle 319 */ 320 I_CmsConstantsBundle constants(); 321 322 /** 323 * Access method.<p> 324 * 325 * @return the container-page CSS 326 */ 327 @Source("containerpage.gss") 328 @Import(I_CmsButtonCss.class) 329 I_CmsContainerpageCss containerpageCss(); 330 331 /** 332 * Access method.<p> 333 * 334 * @return the drag and drop CSS 335 */ 336 @Source("dragdrop.gss") 337 I_CmsDragDropExtendedCss dragdropCss(); 338 339 /** 340 * Access method.<p> 341 * 342 * @return the container-page CSS 343 */ 344 @Source("groupcontainer.gss") 345 I_CmsGroupContainer groupcontainerCss(); 346}