|
|
|
@ -3,7 +3,7 @@ package com.fr.design.style.background;
|
|
|
|
|
|
|
|
|
|
import com.fr.base.background.ColorBackground; |
|
|
|
|
import com.fr.base.background.GradientBackground; |
|
|
|
|
import com.fr.base.background.ImageBackground; |
|
|
|
|
import com.fr.base.background.ImageFileBackground; |
|
|
|
|
import com.fr.base.background.PatternBackground; |
|
|
|
|
import com.fr.base.background.TextureBackground; |
|
|
|
|
import com.fr.design.ExtraDesignClassManager; |
|
|
|
@ -104,19 +104,19 @@ public class BackgroundFactory {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static void registerImageBackground(Map<Class<? extends Background>, BackgroundUIWrapper> map) { |
|
|
|
|
map.put(ImageBackground.class, BackgroundUIWrapper.create() |
|
|
|
|
map.put(ImageFileBackground.class, BackgroundUIWrapper.create() |
|
|
|
|
.setType(ImageBackgroundPane.class).setTitle(Inter.getLocText("FR-Designer_Background_Image"))); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static void registerBrowserImageBackground(Map<Class<? extends Background>, BackgroundUIWrapper> map) { |
|
|
|
|
map.put(ImageBackground.class, BackgroundUIWrapper.create() |
|
|
|
|
map.put(ImageFileBackground.class, BackgroundUIWrapper.create() |
|
|
|
|
.setType(ImageBackgroundPane4Browser.class).setTitle(Inter.getLocText("FR-Designer_Background_Image"))); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static void registerButtonBackground(Map<Class<? extends Background>, BackgroundUIWrapper> map){ |
|
|
|
|
map.put(ColorBackground.class, BackgroundUIWrapper.create() |
|
|
|
|
.setType(ColorBackgroundPane.class).setTitle(Inter.getLocText("FR-Designer_Background_Color"))); |
|
|
|
|
map.put(ImageBackground.class, BackgroundUIWrapper.create() |
|
|
|
|
map.put(ImageFileBackground.class, BackgroundUIWrapper.create() |
|
|
|
|
.setType(ImageButtonBackgroundPane.class).setTitle(Inter.getLocText("FR-Designer_Background_Image"))); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|