com.google.gwt.resources.client.TextResource Java Examples

The following examples show how to use com.google.gwt.resources.client.TextResource. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MaterialDesignBase.java    From gwt-material with Apache License 2.0 5 votes vote down vote up
public static void injectJs(TextResource resource, boolean removeTag, boolean sourceUrl) {
    if (!resource.getName().equals("jQuery") && !resource.getName().equals("jQueryDebug") && !checkJQuery(sourceUrl)) {
        // We need to wait for jQuery to load
        if (futureResources == null) {
            futureResources = new ArrayList<>();
        }
        futureResources.add(new FutureResource(resource, removeTag, sourceUrl));
    } else {
        directInjectJs(resource, removeTag, sourceUrl);
    }
}
 
Example #2
Source File: MaterialWaterfallClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/css/waterfall.min.css")
TextResource waterfallCss();
 
Example #3
Source File: TagDebugClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/css/tag-dark.css")
TextResource tagDarkCss();
 
Example #4
Source File: AddinsWidgetDarkTheme.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
public AddinsWidgetDarkTheme(TextResource resource) {
    super(resource, false);
}
 
Example #5
Source File: MaterialPathAnimatorClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/js/cta.min.js")
TextResource pathanimatorJs();
 
Example #6
Source File: MaterialTreeClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/css/tree-dark.min.css")
TextResource treeDarkCss();
 
Example #7
Source File: MaterialSubHeaderClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/js/subheader.min.js")
TextResource subheaderJs();
 
Example #8
Source File: Assets.java    From actor-platform with GNU Affero General Public License v3.0 4 votes vote down vote up
@Source("AppText_Zn.json")
TextResource AppText_Zn_json();
 
Example #9
Source File: JsonTableClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/css/jquery.jsontotable.min.css")
TextResource jsonTableCss();
 
Example #10
Source File: KanbanClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/js/jkanban.min.js")
TextResource jkanbanJs();
 
Example #11
Source File: TagDebugClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/css/tag.css")
TextResource tagDebugCss();
 
Example #12
Source File: MaterialDesignBase.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
public FutureResource(TextResource resource, boolean removeTag, boolean sourceUrl) {
    this.resource = resource;
    this.removeTag = removeTag;
    this.sourceUrl = sourceUrl;
}
 
Example #13
Source File: MaterialDebugResources.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
@Source("js/app-installer.js")
TextResource appInstallerJsDebug();
 
Example #14
Source File: MaterialWindowClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/css/window.min.css")
TextResource windowCss();
 
Example #15
Source File: MaterialDebugResources.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
@Source("js/materialize-0.97.5.js")
TextResource materializeJsDebug();
 
Example #16
Source File: MaterialDesignBase.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
public static void injectJs(TextResource resource) {
    injectJs(resource, true, false);
}
 
Example #17
Source File: MaterialSwipeableDebugClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/css/swipeable.css")
TextResource swipeableCssDebug();
 
Example #18
Source File: MaterialDatePickerClientBundle.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
@Source("js/datepicker/vi_VN.js")
TextResource vi();
 
Example #19
Source File: MaterialFileUploaderClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/css/dropzone-dark.min.css")
TextResource dropzoneDarkCss();
 
Example #20
Source File: MaterialDatePickerClientBundle.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
@Source("js/datepicker/tr_TR.js")
TextResource tr();
 
Example #21
Source File: MaterialRichEditorClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/css/material-note.min.css")
TextResource richEditorCss();
 
Example #22
Source File: MaterialDatePickerClientBundle.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
@Source("js/datepicker/sv_SE.js")
TextResource sv();
 
Example #23
Source File: MaterialDatePickerClientBundle.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
@Source("js/datepicker/sl_SI.js")
TextResource sl();
 
Example #24
Source File: MaterialSplitPanelClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/css/touchsplitter-dark.min.css")
TextResource splitPanelDarkCss();
 
Example #25
Source File: InfiniteScrollClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/css/infinite-scroll.min.css")
TextResource infiniteScrollCss();
 
Example #26
Source File: CheckMarkClientDebugBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/css/checkmark-dark.css")
TextResource checkMarkDarkCss();
 
Example #27
Source File: MaterialSubHeaderDebugClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/js/subheader.js")
TextResource subheaderJsDebug();
 
Example #28
Source File: MaterialDatePickerClientBundle.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
@Source("js/datepicker/pt_BR.js")
TextResource pt_BR();
 
Example #29
Source File: PlaceholderDebugClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/css/content-placeholder.css")
TextResource contentPlaceholder();
 
Example #30
Source File: CheckMarkClientBundle.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@Source("resources/css/checkmark-dark.min.css")
TextResource checkMarkDarkCss();