1 /* 2 * VisualModeDialogsResources.java 3 * 4 * Copyright (C) 2021 by RStudio, PBC 5 * 6 * Unless you have received this program directly from RStudio pursuant 7 * to the terms of a commercial license agreement with RStudio, then 8 * this program is licensed to you under the terms of version 3 of the 9 * GNU Affero General Public License. This program is distributed WITHOUT 10 * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, 11 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the 12 * AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details. 13 * 14 */ 15 16 17 18 package org.rstudio.studio.client.workbench.views.source.editors.text.visualmode.dialogs; 19 20 21 import com.google.gwt.resources.client.CssResource; 22 23 24 import com.google.gwt.core.client.GWT; 25 import com.google.gwt.resources.client.ClientBundle; 26 27 public interface VisualModeDialogsResources extends ClientBundle 28 { 29 interface Styles extends CssResource 30 { confirmDialog()31 String confirmDialog(); confirmLineWrappingDialog()32 String confirmLineWrappingDialog(); lineWrappingRadio()33 String lineWrappingRadio(); lineWrappingHelp()34 String lineWrappingHelp(); wrapAtColumn()35 String wrapAtColumn(); 36 } 37 38 @Source("VisualModeDialogs.css") styles()39 Styles styles(); 40 41 static VisualModeDialogsResources INSTANCE = GWT.create(VisualModeDialogsResources.class); 42 ensureStylesInjected()43 public static void ensureStylesInjected() 44 { 45 INSTANCE.styles().ensureInjected(); 46 } 47 48 } 49