Browse Source
Merge in DESIGN/design from ~VITO/c-design:newui to newui * commit '2936dc76b51cc313e9bd00635643e60149bd881b': 补充提交 REPORT-114888 feat: 图标管理器优化 1. 支持png注册 2. 支持查找旧版图标 3. 新图标配置文件注册方式 3. 优化调用性能newui
vito-刘恒霖
7 months ago
22 changed files with 858 additions and 621 deletions
@ -0,0 +1,109 @@ |
|||||||
|
package com.fine.theme.icon; |
||||||
|
|
||||||
|
import com.fine.theme.icon.img.ImageIconSource; |
||||||
|
import com.fine.theme.icon.svg.SvgIconSource; |
||||||
|
import com.formdev.flatlaf.json.Json; |
||||||
|
import com.formdev.flatlaf.json.ParseException; |
||||||
|
import com.fr.stable.StringUtils; |
||||||
|
|
||||||
|
import java.io.IOException; |
||||||
|
import java.io.InputStream; |
||||||
|
import java.io.InputStreamReader; |
||||||
|
import java.io.Reader; |
||||||
|
import java.nio.charset.StandardCharsets; |
||||||
|
import java.util.Map; |
||||||
|
import java.util.Objects; |
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* json 格式图标集 |
||||||
|
* |
||||||
|
* @author vito |
||||||
|
* @since 11.0 |
||||||
|
* Created on 2023/11/17 |
||||||
|
*/ |
||||||
|
public class JsonIconSet extends AbstractIconSet { |
||||||
|
|
||||||
|
private String base; |
||||||
|
|
||||||
|
public JsonIconSet(UrlIconResource resource) { |
||||||
|
addIcon(new SvgIconSource("default", "com/fine/theme/icon/default.svg")); |
||||||
|
Map<String, Object> json; |
||||||
|
try (InputStream in = resource.getInputStream()) { |
||||||
|
try (Reader reader = new InputStreamReader(in, StandardCharsets.UTF_8)) { |
||||||
|
json = (Map<String, Object>) Json.parse(reader); |
||||||
|
} |
||||||
|
} catch (ParseException | IOException ex) { |
||||||
|
throw new RuntimeException(ex.getMessage(), ex); |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
name = (String) json.get("name"); |
||||||
|
dark = Boolean.parseBoolean((String) json.get("dark")); |
||||||
|
base = (String) json.get("base"); |
||||||
|
if (base == null) { |
||||||
|
base = StringUtils.EMPTY; |
||||||
|
} |
||||||
|
|
||||||
|
Map<String, Object> icons = (Map<String, Object>) json.get("icons"); |
||||||
|
|
||||||
|
for (Map.Entry<String, Object> icon : icons.entrySet()) { |
||||||
|
applyIcon(icon.getKey(), icon.getValue()); |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
/** |
||||||
|
* 从配置文件中添加icon,只处理认识的格式和结构 |
||||||
|
*/ |
||||||
|
private void applyIcon(String key, Object value) { |
||||||
|
if (value instanceof String) { |
||||||
|
String path = (String) value; |
||||||
|
if (IconManager.isSvgIcon(path)) { |
||||||
|
addIcon(new SvgIconSource(key, base + path)); |
||||||
|
} else if (IconManager.isImageIcon(path)) { |
||||||
|
addIcon(new ImageIconSource(key, base + path)); |
||||||
|
} |
||||||
|
// 其他无法识别格式不处理
|
||||||
|
} else if (value instanceof Map) { |
||||||
|
Map<String, Object> iconObj = (Map<String, Object>) value; |
||||||
|
String normalPath = (String) iconObj.get(IconType.normal.name()); |
||||||
|
String disablePath = (String) iconObj.get(IconType.disable.name()); |
||||||
|
String whitePath = (String) iconObj.get(IconType.white.name()); |
||||||
|
// 暂不支持混合格式,每个id的格式需要保持一致
|
||||||
|
if (IconManager.isSvgIcon(normalPath)) { |
||||||
|
addIcon(new SvgIconSource(key, |
||||||
|
base + normalPath, |
||||||
|
base + disablePath, |
||||||
|
base + whitePath |
||||||
|
)); |
||||||
|
} else if (IconManager.isImageIcon(normalPath)) { |
||||||
|
addIcon(new ImageIconSource(key, |
||||||
|
base + normalPath, |
||||||
|
base + disablePath, |
||||||
|
base + whitePath |
||||||
|
)); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@Override |
||||||
|
public boolean equals(Object o) { |
||||||
|
if (this == o) { |
||||||
|
return true; |
||||||
|
} |
||||||
|
if (o == null || getClass() != o.getClass()) { |
||||||
|
return false; |
||||||
|
} |
||||||
|
JsonIconSet that = (JsonIconSet) o; |
||||||
|
return Objects.equals(name, that.name); |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public int hashCode() { |
||||||
|
return Objects.hashCode(name); |
||||||
|
} |
||||||
|
|
||||||
|
} |
@ -0,0 +1,58 @@ |
|||||||
|
package com.fine.theme.icon.img; |
||||||
|
|
||||||
|
import com.fine.theme.icon.AbstractIconSource; |
||||||
|
import com.fine.theme.icon.IconResource; |
||||||
|
import com.fine.theme.icon.IconType; |
||||||
|
import com.fine.theme.icon.UrlIconResource; |
||||||
|
import com.fr.clone.cloning.Immutable; |
||||||
|
import com.fr.general.FRLogger; |
||||||
|
import com.fr.general.IOUtils; |
||||||
|
import com.fr.stable.StringUtils; |
||||||
|
import org.jetbrains.annotations.NotNull; |
||||||
|
import org.jetbrains.annotations.Nullable; |
||||||
|
|
||||||
|
import javax.swing.ImageIcon; |
||||||
|
import java.awt.Dimension; |
||||||
|
import java.awt.image.BufferedImage; |
||||||
|
|
||||||
|
/** |
||||||
|
* 图片图标源 |
||||||
|
* |
||||||
|
* @author vito |
||||||
|
* @since 11.0 |
||||||
|
* Created on 2024/05/09 |
||||||
|
*/ |
||||||
|
@Immutable |
||||||
|
public class ImageIconSource extends AbstractIconSource<ImageIcon> { |
||||||
|
|
||||||
|
|
||||||
|
public ImageIconSource(@NotNull String id, @NotNull String resource) { |
||||||
|
super(id, new UrlIconResource(resource)); |
||||||
|
} |
||||||
|
|
||||||
|
public ImageIconSource(@NotNull String id, |
||||||
|
@NotNull String resource, |
||||||
|
@Nullable String grayResource, |
||||||
|
@Nullable String whiteResource) { |
||||||
|
super(id, new UrlIconResource(resource), |
||||||
|
StringUtils.isEmpty(grayResource) ? null : new UrlIconResource(grayResource), |
||||||
|
StringUtils.isEmpty(whiteResource) ? null : new UrlIconResource(whiteResource)); |
||||||
|
} |
||||||
|
|
||||||
|
@NotNull |
||||||
|
@Override |
||||||
|
protected ImageIcon loadIcon(@NotNull IconResource resource, Dimension dimension, IconType type) { |
||||||
|
byte[] bytes = IOUtils.inputStream2Bytes(resource.getInputStream()); |
||||||
|
if (bytes == null && resource instanceof UrlIconResource) { |
||||||
|
// 换readImageWithCache尝试读取
|
||||||
|
UrlIconResource iconResource = (UrlIconResource) resource; |
||||||
|
BufferedImage icon = IOUtils.readImageWithCache(iconResource.getPath()); |
||||||
|
if (icon == null) { |
||||||
|
FRLogger.getLogger().error(iconResource.getPath()); |
||||||
|
return new ImageIcon(); |
||||||
|
} |
||||||
|
return new ImageIcon(icon); |
||||||
|
} |
||||||
|
return new ImageIcon(bytes); |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,160 @@ |
|||||||
|
package com.fine.theme.icon.svg.batik; |
||||||
|
|
||||||
|
import com.fine.theme.icon.DisabledIcon; |
||||||
|
import com.fine.theme.icon.GraphicsFilter; |
||||||
|
import com.fine.theme.icon.IconResource; |
||||||
|
import com.fine.theme.icon.IconType; |
||||||
|
import com.fine.theme.icon.WhiteIcon; |
||||||
|
import com.formdev.flatlaf.FlatLaf; |
||||||
|
import com.formdev.flatlaf.util.GrayFilter; |
||||||
|
import com.fr.clone.cloning.Immutable; |
||||||
|
import com.fr.log.FineLoggerFactory; |
||||||
|
import org.apache.batik.transcoder.TranscoderException; |
||||||
|
import org.apache.batik.transcoder.TranscoderInput; |
||||||
|
import org.jetbrains.annotations.NotNull; |
||||||
|
|
||||||
|
import javax.swing.Icon; |
||||||
|
import javax.swing.UIManager; |
||||||
|
import java.awt.Component; |
||||||
|
import java.awt.Dimension; |
||||||
|
import java.awt.Graphics; |
||||||
|
import java.awt.Graphics2D; |
||||||
|
import java.awt.image.BufferedImage; |
||||||
|
import java.awt.image.RGBImageFilter; |
||||||
|
import java.util.StringJoiner; |
||||||
|
|
||||||
|
import static com.fine.theme.utils.FineUIScale.scale; |
||||||
|
import static com.fine.theme.utils.FineUIUtils.RETINA_SCALE_FACTOR; |
||||||
|
import static com.fine.theme.utils.FineUIUtils.getRetina; |
||||||
|
|
||||||
|
/** |
||||||
|
* svg图标 |
||||||
|
* 1.绘制长度会跟随DPI比率变化 |
||||||
|
* 1跟2的缩放原因不同,因此不能混淆,宽高测量等依旧 |
||||||
|
* 使用DPI缩放进行,只有绘制内容时使用Retina绘制(如果有) |
||||||
|
* Retina绘制不影响最终尺寸,注意区分 |
||||||
|
* |
||||||
|
* @author vito |
||||||
|
* @since 11.0 |
||||||
|
* Created on 2023/11/15 |
||||||
|
*/ |
||||||
|
@Immutable |
||||||
|
public class BatikSvgIcon implements DisabledIcon, WhiteIcon, Icon { |
||||||
|
|
||||||
|
private final Dimension size; |
||||||
|
private final Dimension scaleSize; |
||||||
|
private final IconResource resource; |
||||||
|
private final IconType type; |
||||||
|
|
||||||
|
|
||||||
|
public BatikSvgIcon(IconResource resource, Dimension size) { |
||||||
|
this(resource, size, IconType.normal); |
||||||
|
} |
||||||
|
|
||||||
|
public BatikSvgIcon(IconResource resource, Dimension size, IconType type) { |
||||||
|
this.resource = resource; |
||||||
|
this.size = size; |
||||||
|
// 根据dpi进行缩放
|
||||||
|
this.scaleSize = scale(size); |
||||||
|
this.type = type; |
||||||
|
} |
||||||
|
|
||||||
|
public BatikSvgIcon(IconResource resource, int side) { |
||||||
|
this(resource, new Dimension(side, side), IconType.normal); |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* 如果支持绘制Retina绘制,则进行Retina绘制, |
||||||
|
* 绘制结束不影响任何外部尺寸 |
||||||
|
*/ |
||||||
|
@Override |
||||||
|
public void paintIcon(Component c, Graphics g, int x, int y) { |
||||||
|
if (getRetina()) { |
||||||
|
BufferedImage image = toImage(scaleRetina(size)); |
||||||
|
// 高清绘制的原理:scale(1/2,1/2)的原理是坐标减半,底层是矩阵进行坐标变换,意思是坐标减半进行绘制,
|
||||||
|
// 这样就可以将两倍图绘制到一倍的大小,如果这时候设备支持Retina绘制(四个像素模拟一个像素),
|
||||||
|
// 正好就可以将4个像素利用起来,每个像素点都有不同的颜色,而不像之前只能是四个共用一个颜色。因此图像
|
||||||
|
// 可以更加细腻当然,绘图之后,需要将这个坐标变换给恢复。
|
||||||
|
((Graphics2D) g).scale(1.0 / RETINA_SCALE_FACTOR, 1.0 / RETINA_SCALE_FACTOR); |
||||||
|
g.drawImage(image, x * RETINA_SCALE_FACTOR, y * RETINA_SCALE_FACTOR, null); |
||||||
|
((Graphics2D) g).scale(RETINA_SCALE_FACTOR, RETINA_SCALE_FACTOR); |
||||||
|
} else { |
||||||
|
BufferedImage image = toImage(size); |
||||||
|
g.drawImage(image, x, y, null); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
private static Dimension scaleRetina(Dimension dimension) { |
||||||
|
return getRetina() |
||||||
|
? new Dimension(dimension.width * RETINA_SCALE_FACTOR, dimension.height * RETINA_SCALE_FACTOR) |
||||||
|
: dimension; |
||||||
|
} |
||||||
|
|
||||||
|
/** |
||||||
|
* 根据指定尺寸绘制图片,这里尺寸为结算后的尺寸, |
||||||
|
* 因此不必进行缩放 |
||||||
|
* |
||||||
|
* @param size 图像尺寸 |
||||||
|
* @return 图像 |
||||||
|
*/ |
||||||
|
private BufferedImage toImage(Dimension size) { |
||||||
|
SvgTranscoder transcoder = new SvgTranscoder(size); |
||||||
|
TranscoderInput transcoderInput = new TranscoderInput(resource.getInputStream()); |
||||||
|
try { |
||||||
|
transcoder.transcode(transcoderInput, null); |
||||||
|
return transcoder.getImage(); |
||||||
|
} catch (TranscoderException e) { |
||||||
|
FineLoggerFactory.getLogger().error("SvgIcon from url: " + resource + "can not paint.", e); |
||||||
|
} |
||||||
|
return transcoder.getImage(); |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
private Graphics2D grayGraphics(Graphics g) { |
||||||
|
Object grayFilterObj = UIManager.get("Component.grayFilter"); |
||||||
|
RGBImageFilter grayFilter = (grayFilterObj instanceof RGBImageFilter) |
||||||
|
? (RGBImageFilter) grayFilterObj |
||||||
|
: GrayFilter.createDisabledIconFilter(FlatLaf.isLafDark()); |
||||||
|
|
||||||
|
return new GraphicsFilter((Graphics2D) g.create(), grayFilter); |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public int getIconWidth() { |
||||||
|
return scaleSize.width; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public int getIconHeight() { |
||||||
|
return scaleSize.height; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
@Override |
||||||
|
public String toString() { |
||||||
|
return new StringJoiner(", ", BatikSvgIcon.class.getSimpleName() + "[", "]") |
||||||
|
.add("resource=" + resource) |
||||||
|
.add("type=" + type) |
||||||
|
.add("size=" + size) |
||||||
|
.add("scaleSize=" + scaleSize) |
||||||
|
.toString(); |
||||||
|
} |
||||||
|
|
||||||
|
/** |
||||||
|
* 默认提供一个简单的灰化处理 |
||||||
|
*/ |
||||||
|
@Override |
||||||
|
public @NotNull BatikSvgIcon white() { |
||||||
|
return new BatikSvgIcon(resource, size, IconType.white); |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* 默认提供一个简单的灰化处理 |
||||||
|
*/ |
||||||
|
@Override |
||||||
|
public @NotNull BatikSvgIcon disabled() { |
||||||
|
return new BatikSvgIcon(resource, size, IconType.disable); |
||||||
|
} |
||||||
|
} |
@ -1,345 +1,17 @@ |
|||||||
package com.fine.theme.light.ui; |
package com.fine.theme.light.ui; |
||||||
|
|
||||||
import com.fine.theme.icon.AbstractIconSet; |
import com.fine.theme.icon.JsonIconSet; |
||||||
import com.fine.theme.icon.svg.SvgIconSource; |
import com.fine.theme.icon.UrlIconResource; |
||||||
|
|
||||||
/** |
/** |
||||||
* Fine 亮主题图标集 |
* Fine 亮主题图标集 |
||||||
* |
* |
||||||
* @author vito |
* @author vito |
||||||
* @since 11.0 |
* @since 11.0 |
||||||
* Created on 2023/11/17 |
* Created on 2024/5/7 |
||||||
*/ |
*/ |
||||||
public class FineLightIconSet extends AbstractIconSet { |
public class FineLightIconSet extends JsonIconSet { |
||||||
|
public FineLightIconSet() { |
||||||
public FineLightIconSet(String id) { |
super(new UrlIconResource("com/fine/theme/light/ui/fine_light.icon.json")); |
||||||
super(id); |
|
||||||
load(); |
|
||||||
} |
|
||||||
|
|
||||||
private void load() { |
|
||||||
addIcon( |
|
||||||
new SvgIconSource("cut", "com/fine/theme/icon/cut.svg", true), |
|
||||||
new SvgIconSource("save", "com/fine/theme/icon/save.svg", true), |
|
||||||
new SvgIconSource("copy", "com/fine/theme/icon/copy.svg", true), |
|
||||||
new SvgIconSource("formatBrush", "com/fine/theme/icon/formatBrush.svg", true), |
|
||||||
new SvgIconSource("paste", "com/fine/theme/icon/paste.svg", true), |
|
||||||
new SvgIconSource("undo", "com/fine/theme/icon/undo.svg", true), |
|
||||||
new SvgIconSource("redo", "com/fine/theme/icon/redo.svg", true), |
|
||||||
new SvgIconSource("version_save", "com/fine/theme/icon/version_save.svg", true), |
|
||||||
new SvgIconSource("font_miss_check", "com/fine/theme/icon/font_miss_check.svg", true), |
|
||||||
new SvgIconSource("template_theme", "com/fine/theme/icon/template_theme.svg", true), |
|
||||||
new SvgIconSource("remove", "com/fine/theme/icon/remove.svg", true), |
|
||||||
new SvgIconSource("search", "com/fine/theme/icon/search.svg", true), |
|
||||||
new SvgIconSource("add", "com/fine/theme/icon/add.svg", true), |
|
||||||
new SvgIconSource("drag_left", "com/fine/theme/icon/drag_left.svg", true), |
|
||||||
new SvgIconSource("drag_right", "com/fine/theme/icon/drag_right.svg", true), |
|
||||||
new SvgIconSource("down_arrow", "com/fine/theme/icon/down_arrow.svg", true), |
|
||||||
new SvgIconSource("up_arrow", "com/fine/theme/icon/up_arrow.svg", true), |
|
||||||
new SvgIconSource("down_arrow_12", "com/fine/theme/icon/down_arrow.svg", true, 12), |
|
||||||
new SvgIconSource("up_arrow_12", "com/fine/theme/icon/up_arrow.svg", true, 12), |
|
||||||
new SvgIconSource("select", "com/fine/theme/icon/select.svg", true), |
|
||||||
new SvgIconSource("recycle", "com/fine/theme/icon/recycle.svg", true), |
|
||||||
|
|
||||||
// 数据集相关Icon
|
|
||||||
new SvgIconSource("database", "com/fine/theme/icon/dataset/database.svg", true), |
|
||||||
new SvgIconSource("preview", "com/fine/theme/icon/dataset/preview.svg", true), |
|
||||||
new SvgIconSource("connection", "com/fine/theme/icon/dataset/connection.svg"), |
|
||||||
new SvgIconSource("class_table_data", "com/fine/theme/icon/dataset/class_table_data.svg", true), |
|
||||||
new SvgIconSource("data_table", "com/fine/theme/icon/dataset/data_table.svg", true), |
|
||||||
new SvgIconSource("multi", "com/fine/theme/icon/dataset/multi.svg"), |
|
||||||
new SvgIconSource("file", "com/fine/theme/icon/dataset/file.svg"), |
|
||||||
new SvgIconSource("tree", "com/fine/theme/icon/dataset/tree.svg"), |
|
||||||
new SvgIconSource("store_procedure", "com/fine/theme/icon/dataset/store_procedure.svg", true), |
|
||||||
new SvgIconSource("batch_esd_on", "com/fine/theme/icon/dataset/batch_esd_on.svg", true), |
|
||||||
new SvgIconSource("batch_esd_off", "com/fine/theme/icon/dataset/batch_esd_off.svg", true), |
|
||||||
new SvgIconSource("edit", "com/fine/theme/icon/dataset/edit.svg", true), |
|
||||||
new SvgIconSource("server_database", "com/fine/theme/icon/dataset/server_database.svg", true), |
|
||||||
new SvgIconSource("field", "com/fine/theme/icon/dataset/field.svg", true), |
|
||||||
|
|
||||||
// 目录树相关Icon
|
|
||||||
new SvgIconSource("folder", "com/fine/theme/icon/filetree/folder.svg", true), |
|
||||||
new SvgIconSource("folder_open", "com/fine/theme/icon/filetree/folder_open.svg", true), |
|
||||||
new SvgIconSource("cpt_icon", "com/fine/theme/icon/filetree/cpt_icon.svg", true), |
|
||||||
new SvgIconSource("frm_icon", "com/fine/theme/icon/filetree/frm_icon.svg", true), |
|
||||||
new SvgIconSource("fvs_icon", "com/fine/theme/icon/filetree/fvs_icon.svg", true), |
|
||||||
new SvgIconSource("excel_icon", "com/fine/theme/icon/filetree/excel_icon.svg", true), |
|
||||||
new SvgIconSource("minus", "com/fine/theme/icon/filetree/minus.svg", true), |
|
||||||
new SvgIconSource("plus", "com/fine/theme/icon/filetree/plus.svg", true), |
|
||||||
new SvgIconSource("locate", "com/fine/theme/icon/filetree/locate.svg", true), |
|
||||||
new SvgIconSource("rename", "com/fine/theme/icon/filetree/rename.svg", true), |
|
||||||
new SvgIconSource("collapse_all", "com/fine/theme/icon/filetree/collapse_all.svg", true), |
|
||||||
new SvgIconSource("vcs_list", "com/fine/theme/icon/filetree/vcs_list.svg", true), |
|
||||||
new SvgIconSource("view_folder", "com/fine/theme/icon/filetree/view_folder.svg", true), |
|
||||||
new SvgIconSource("refresh", "com/fine/theme/icon/filetree/refresh.svg", true), |
|
||||||
new SvgIconSource("new_folder", "com/fine/theme/icon/filetree/new_folder.svg", true), |
|
||||||
|
|
||||||
// 文件类型
|
|
||||||
new SvgIconSource("add_report", "com/fine/theme/icon/filetree/filetype/add_report.svg", true), |
|
||||||
new SvgIconSource("add_word", "com/fine/theme/icon/filetree/filetype/add_word.svg", true), |
|
||||||
new SvgIconSource("bmpFile", "com/fine/theme/icon/filetree/filetype/bmpFile.svg", true), |
|
||||||
new SvgIconSource("chtFile", "com/fine/theme/icon/filetree/filetype/chtFile.svg", true), |
|
||||||
new SvgIconSource("classFile", "com/fine/theme/icon/filetree/filetype/classFile.svg", true), |
|
||||||
new SvgIconSource("cpt_locked", "com/fine/theme/icon/filetree/filetype/cpt_locked.svg", true), |
|
||||||
new SvgIconSource("excel_import", "com/fine/theme/icon/filetree/filetype/excel_import.svg", true), |
|
||||||
new SvgIconSource("excelFile", "com/fine/theme/icon/filetree/filetype/excelFile.svg", true), |
|
||||||
new SvgIconSource("flashFile", "com/fine/theme/icon/filetree/filetype/flashFile.svg", true), |
|
||||||
new SvgIconSource("frm_locked", "com/fine/theme/icon/filetree/filetype/frm_locked.svg", true), |
|
||||||
new SvgIconSource("gifFile", "com/fine/theme/icon/filetree/filetype/gifFile.svg", true), |
|
||||||
new SvgIconSource("htmlFile", "com/fine/theme/icon/filetree/filetype/htmlFile.svg", true), |
|
||||||
new SvgIconSource("jarFile", "com/fine/theme/icon/filetree/filetype/jarFile.svg", true), |
|
||||||
new SvgIconSource("javaFile", "com/fine/theme/icon/filetree/filetype/javaFile.svg", true), |
|
||||||
new SvgIconSource("jpgFile", "com/fine/theme/icon/filetree/filetype/jpgFile.svg", true), |
|
||||||
new SvgIconSource("jsFile", "com/fine/theme/icon/filetree/filetype/jsFile.svg", true), |
|
||||||
new SvgIconSource("jspFile", "com/fine/theme/icon/filetree/filetype/jspFile.svg", true), |
|
||||||
new SvgIconSource("pdfFile", "com/fine/theme/icon/filetree/filetype/pdfFile.svg", true), |
|
||||||
new SvgIconSource("pngFile", "com/fine/theme/icon/filetree/filetype/pngFile.svg", true), |
|
||||||
new SvgIconSource("sqlFile", "com/fine/theme/icon/filetree/filetype/sqlFile.svg", true), |
|
||||||
new SvgIconSource("wordFile", "com/fine/theme/icon/filetree/filetype/wordFile.svg", true), |
|
||||||
new SvgIconSource("xlsFile", "com/fine/theme/icon/filetree/filetype/xlsFile.svg", true), |
|
||||||
new SvgIconSource("xmlFile", "com/fine/theme/icon/filetree/filetype/xmlFile.svg", true), |
|
||||||
|
|
||||||
// 属性面板Icon
|
|
||||||
new SvgIconSource("cellattr", "com/fine/theme/icon/propertiestab/cellattr.svg", false, 18), |
|
||||||
new SvgIconSource("cellattr_disabled", "com/fine/theme/icon/propertiestab/cellattr_disabled.svg", false, 18), |
|
||||||
new SvgIconSource("cellattr_selected", "com/fine/theme/icon/propertiestab/cellattr_selected.svg", false, 18), |
|
||||||
new SvgIconSource("cellelement", "com/fine/theme/icon/propertiestab/cellelement.svg", false, 18), |
|
||||||
new SvgIconSource("cellelement_disabled", "com/fine/theme/icon/propertiestab/cellelement_disabled.svg", false, 18), |
|
||||||
new SvgIconSource("cellelement_selected", "com/fine/theme/icon/propertiestab/cellelement_selected.svg", false, 18), |
|
||||||
new SvgIconSource("conditionattr", "com/fine/theme/icon/propertiestab/conditionattr.svg", false, 18), |
|
||||||
new SvgIconSource("conditionattr_disabled", "com/fine/theme/icon/propertiestab/conditionattr_disabled.svg", false, 18), |
|
||||||
new SvgIconSource("conditionattr_selected", "com/fine/theme/icon/propertiestab/conditionattr_selected.svg", false, 18), |
|
||||||
new SvgIconSource("floatelement", "com/fine/theme/icon/propertiestab/floatelement.svg", false, 18), |
|
||||||
new SvgIconSource("floatelement_disabled", "com/fine/theme/icon/propertiestab/floatelement_disabled.svg", false, 18), |
|
||||||
new SvgIconSource("floatelement_selected", "com/fine/theme/icon/propertiestab/floatelement_selected.svg", false, 18), |
|
||||||
new SvgIconSource("hyperlink", "com/fine/theme/icon/propertiestab/hyperlink.svg", false, 18), |
|
||||||
new SvgIconSource("hyperlink_disabled", "com/fine/theme/icon/propertiestab/hyperlink_disabled.svg", false, 18), |
|
||||||
new SvgIconSource("hyperlink_selected", "com/fine/theme/icon/propertiestab/hyperlink_selected.svg", false, 18), |
|
||||||
new SvgIconSource("widgetlib", "com/fine/theme/icon/propertiestab/widgetlib.svg", false, 18), |
|
||||||
new SvgIconSource("widgetlib_disabled", "com/fine/theme/icon/propertiestab/widgetlib_disabled.svg", false, 18), |
|
||||||
new SvgIconSource("widgetlib_selected", "com/fine/theme/icon/propertiestab/widgetlib_selected.svg", false, 18), |
|
||||||
new SvgIconSource("widgetsettings", "com/fine/theme/icon/propertiestab/widgetsettings.svg", false, 18), |
|
||||||
new SvgIconSource("widgetsettings_disabled", "com/fine/theme/icon/propertiestab/widgetsettings_disabled.svg", false, 18), |
|
||||||
new SvgIconSource("widgetsettings_selected", "com/fine/theme/icon/propertiestab/widgetsettings_selected.svg", false, 18), |
|
||||||
new SvgIconSource("configuredroles", "com/fine/theme/icon/propertiestab/configuredroles.svg", false, 18), |
|
||||||
new SvgIconSource("configuredroles_selected", "com/fine/theme/icon/propertiestab/configuredroles_selected.svg", false, 18), |
|
||||||
new SvgIconSource("configuredroles_disabled", "com/fine/theme/icon/propertiestab/configuredroles_disabled.svg", false, 18), |
|
||||||
new SvgIconSource("authorityedit", "com/fine/theme/icon/propertiestab/authorityedit.svg", false, 18), |
|
||||||
new SvgIconSource("authorityedit_disabled", "com/fine/theme/icon/propertiestab/authorityedit_disabled.svg", false, 18), |
|
||||||
new SvgIconSource("authorityedit_selected", "com/fine/theme/icon/propertiestab/authorityedit_selected.svg", false, 18), |
|
||||||
|
|
||||||
|
|
||||||
// sheet标签栏相关icon
|
|
||||||
new SvgIconSource("add_worksheet", "com/fine/theme/icon/sheet/add_sheet.svg", true), |
|
||||||
// TODO: 待视觉提供后替换
|
|
||||||
new SvgIconSource("add_polysheet", "com/fine/theme/icon/sheet/add_frm.svg", true), |
|
||||||
|
|
||||||
// CheckBox相关Icon
|
|
||||||
new SvgIconSource("checkbox_checked", "com/fine/theme/icon/checkbox/checked.svg", true), |
|
||||||
new SvgIconSource("checkbox_unchecked", "com/fine/theme/icon/checkbox/unchecked.svg", true), |
|
||||||
new SvgIconSource("checkbox_part_checked", "com/fine/theme/icon/checkbox/part_checked.svg", true), |
|
||||||
new SvgIconSource("checkbox_hovered", "com/fine/theme/icon/checkbox/hovered.svg", true), |
|
||||||
|
|
||||||
// radioButton相关icon
|
|
||||||
new SvgIconSource("radio_selected", "com/fine/theme/icon/radio/radio_selected.svg", true), |
|
||||||
new SvgIconSource("radio_unselected", "com/fine/theme/icon/radio/radio_unselected.svg", true), |
|
||||||
|
|
||||||
// 菜单栏Icon
|
|
||||||
new SvgIconSource("bold", "com/fine/theme/icon/font/bold.svg"), |
|
||||||
new SvgIconSource("italic", "com/fine/theme/icon/font/italic.svg"), |
|
||||||
new SvgIconSource("underline", "com/fine/theme/icon/font/underline.svg"), |
|
||||||
new SvgIconSource("foreground", "com/fine/theme/icon/font/foreground.svg"), |
|
||||||
new SvgIconSource("background", "com/fine/theme/icon/font/background.svg"), |
|
||||||
new SvgIconSource("h_left", "com/fine/theme/icon/cellstyle/h_left.svg"), |
|
||||||
new SvgIconSource("h_center", "com/fine/theme/icon/cellstyle/h_center.svg"), |
|
||||||
new SvgIconSource("h_right", "com/fine/theme/icon/cellstyle/h_right.svg"), |
|
||||||
new SvgIconSource("h_justify", "com/fine/theme/icon/cellstyle/h_justify.svg"), |
|
||||||
new SvgIconSource("h_normal", "com/fine/theme/icon/cellstyle/h_normal.svg"), |
|
||||||
new SvgIconSource("v_top", "com/fine/theme/icon/cellstyle/v_top.svg"), |
|
||||||
new SvgIconSource("v_center", "com/fine/theme/icon/cellstyle/v_center.svg"), |
|
||||||
new SvgIconSource("v_bottom", "com/fine/theme/icon/cellstyle/v_bottom.svg"), |
|
||||||
new SvgIconSource("noboder", "com/fine/theme/icon/noboder.svg", true), |
|
||||||
new SvgIconSource("merge", "com/fine/theme/icon/merge/merge.svg", true), |
|
||||||
new SvgIconSource("unmerge", "com/fine/theme/icon/merge/unmerge.svg", true), |
|
||||||
new SvgIconSource("bind_column", "com/fine/theme/icon/bindcolumn/bind_column.svg", true), |
|
||||||
new SvgIconSource("text", "com/fine/theme/icon/insert/text.svg", true), |
|
||||||
new SvgIconSource("richtext", "com/fine/theme/icon/insert/richtext.svg", true), |
|
||||||
new SvgIconSource("formula", "com/fine/theme/icon/insert/formula.svg", true), |
|
||||||
new SvgIconSource("chart", "com/fine/theme/icon/insert/chart.svg", true), |
|
||||||
new SvgIconSource("image", "com/fine/theme/icon/insert/image.svg", true), |
|
||||||
new SvgIconSource("bias", "com/fine/theme/icon/insert/bias.svg", true), |
|
||||||
new SvgIconSource("sub_report", "com/fine/theme/icon/insert/sub_report.svg", true), |
|
||||||
new SvgIconSource("chart_line", "com/fine/theme/icon/chart/chart_line.svg", true), |
|
||||||
new SvgIconSource("popup", "com/fine/theme/icon/popup/popup.svg", true), |
|
||||||
new SvgIconSource("clear", "com/fine/theme/icon/clear.svg", true), |
|
||||||
new SvgIconSource("clear_hover", "com/fine/theme/icon/clear_hover.svg", true), |
|
||||||
|
|
||||||
// 工具栏
|
|
||||||
new SvgIconSource("tool_copy", "com/fine/theme/icon/toolbar/copy.svg", true), |
|
||||||
new SvgIconSource("move_down", "com/fine/theme/icon/toolbar/move_down.svg", true), |
|
||||||
new SvgIconSource("move_up", "com/fine/theme/icon/toolbar/move_up.svg", true), |
|
||||||
new SvgIconSource("move_left", "com/fine/theme/icon/toolbar/move_left.svg", true), |
|
||||||
new SvgIconSource("move_right", "com/fine/theme/icon/toolbar/move_right.svg", true), |
|
||||||
new SvgIconSource("to_top", "com/fine/theme/icon/toolbar/to_top.svg", true), |
|
||||||
new SvgIconSource("to_bottom", "com/fine/theme/icon/toolbar/to_bottom.svg", true), |
|
||||||
new SvgIconSource("tool_edit", "com/fine/theme/icon/toolbar/edit.svg", true), |
|
||||||
new SvgIconSource("tool_edit_white", "com/fine/theme/icon/toolbar/edit_white.svg", true), |
|
||||||
new SvgIconSource("tool_more", "com/fine/theme/icon/toolbar/more.svg", true), |
|
||||||
new SvgIconSource("tool_more_hover", "com/fine/theme/icon/toolbar/more_hover.svg"), |
|
||||||
new SvgIconSource("tool_config", "com/fine/theme/icon/toolbar/config.svg", true), |
|
||||||
new SvgIconSource("add_popup", "com/fine/theme/icon/toolbar/add_popup.svg", true), |
|
||||||
new SvgIconSource("bracket", "com/fine/theme/icon/toolbar/bracket.svg", true), |
|
||||||
new SvgIconSource("unBracket", "com/fine/theme/icon/toolbar/unBracket.svg", true), |
|
||||||
|
|
||||||
// 参数面板
|
|
||||||
new SvgIconSource("param_edit", "com/fine/theme/icon/param/edit.svg", true, 24), |
|
||||||
new SvgIconSource("param_edit_pressed", "com/fine/theme/icon/param/edit_pressed.svg", true, 24), |
|
||||||
new SvgIconSource("param_hide", "com/fine/theme/icon/param/hide.svg", true, 24), |
|
||||||
new SvgIconSource("param_hide_pressed", "com/fine/theme/icon/param/hide_pressed.svg", true, 24), |
|
||||||
new SvgIconSource("param_view", "com/fine/theme/icon/param/view.svg", true, 18), |
|
||||||
new SvgIconSource("param", "com/fine/theme/icon/param/param.svg", true), |
|
||||||
new SvgIconSource("locked", "com/fine/theme/icon/lock/locked.svg", true, 16), |
|
||||||
new SvgIconSource("unlocked", "com/fine/theme/icon/lock/unlocked.svg", true, 16), |
|
||||||
|
|
||||||
// 北区菜单栏
|
|
||||||
//文件
|
|
||||||
new SvgIconSource("notification", "com/fine/theme/icon/notification/notification.svg"), |
|
||||||
new SvgIconSource("notification_dot", "com/fine/theme/icon/notification/notification_dot.svg"), |
|
||||||
new SvgIconSource("createCpt", "com/fine/theme/icon/toolbar/createCpt.svg", true), |
|
||||||
new SvgIconSource("createOther", "com/fine/theme/icon/toolbar/createOther.svg", true), |
|
||||||
new SvgIconSource("openTemplate", "com/fine/theme/icon/toolbar/openTemplate.svg", true), |
|
||||||
new SvgIconSource("switchEnv", "com/fine/theme/icon/toolbar/switchEnv.svg", true), |
|
||||||
new SvgIconSource("export", "com/fine/theme/icon/toolbar/export.svg", true), |
|
||||||
new SvgIconSource("monochrome_undo", "com/fine/theme/icon/toolbar/monochrome_undo.svg", true), |
|
||||||
new SvgIconSource("monochrome_redo", "com/fine/theme/icon/toolbar/monochrome_redo.svg", true), |
|
||||||
new SvgIconSource("saveAs", "com/fine/theme/icon/toolbar/saveAs.svg", true), |
|
||||||
// 模板
|
|
||||||
new SvgIconSource("widgetThemeMenu", "com/fine/theme/icon/toolbar/widgetThemeMenu.svg", true), |
|
||||||
new SvgIconSource("datasource", "com/fine/theme/icon/toolbar/datasource.svg", true), |
|
||||||
new SvgIconSource("webReportAttribute", "com/fine/theme/icon/toolbar/webReportAttribute.svg", true), |
|
||||||
new SvgIconSource("reportParameter", "com/fine/theme/icon/toolbar/reportParameter.svg", true), |
|
||||||
new SvgIconSource("reportFit", "com/fine/theme/icon/toolbar/reportFit.svg", true), |
|
||||||
new SvgIconSource("mobileAttr", "com/fine/theme/icon/toolbar/mobileAttr.svg", true), |
|
||||||
new SvgIconSource("watermark", "com/fine/theme/icon/toolbar/watermark.svg", true), |
|
||||||
new SvgIconSource("print", "com/fine/theme/icon/toolbar/print.svg", true), |
|
||||||
new SvgIconSource("pageSetup", "com/fine/theme/icon/toolbar/pageSetup.svg", true), |
|
||||||
new SvgIconSource("reportHeader", "com/fine/theme/icon/toolbar/reportHeader.svg", true), |
|
||||||
new SvgIconSource("reportFooter", "com/fine/theme/icon/toolbar/reportFooter.svg", true), |
|
||||||
new SvgIconSource("reportBackground", "com/fine/theme/icon/toolbar/reportBackground.svg", true), |
|
||||||
new SvgIconSource("reportWriteAttr", "com/fine/theme/icon/toolbar/reportWriteAttr.svg", true), |
|
||||||
new SvgIconSource("linearAttr", "com/fine/theme/icon/toolbar/linearAttr.svg", true), |
|
||||||
new SvgIconSource("repeatAndFrozen", "com/fine/theme/icon/toolbar/repeatAndFrozen.svg", true), |
|
||||||
new SvgIconSource("reportEngineAttr", "com/fine/theme/icon/toolbar/reportEngineAttr.svg", true), |
|
||||||
new SvgIconSource("allowAuthorityEdit", "com/fine/theme/icon/toolbar/allowAuthorityEdit.svg", true), |
|
||||||
new SvgIconSource("replace", "com/fine/theme/icon/toolbar/replace.svg", true), |
|
||||||
// 服务器
|
|
||||||
new SvgIconSource("monochromeServerDatabase", "com/fine/theme/icon/toolbar/monochromeServerDatabase.svg", true), |
|
||||||
new SvgIconSource("platform", "com/fine/theme/icon/toolbar/platform.svg", true), |
|
||||||
new SvgIconSource("pluginManager", "com/fine/theme/icon/toolbar/pluginManager.svg", true), |
|
||||||
new SvgIconSource("functionManager", "com/fine/theme/icon/toolbar/functionManager.svg", true), |
|
||||||
new SvgIconSource("serverConfigManager", "com/fine/theme/icon/toolbar/serverConfigManager.svg", true), |
|
||||||
new SvgIconSource("widgetManager", "com/fine/theme/icon/toolbar/widgetManager.svg", true), |
|
||||||
new SvgIconSource("chartPreStyle", "com/fine/theme/icon/toolbar/chartPreStyle.svg", true), |
|
||||||
new SvgIconSource("chartEmptyDataStyle", "com/fine/theme/icon/toolbar/chartEmptyDataStyle.svg", true), |
|
||||||
new SvgIconSource("charMapData", "com/fine/theme/icon/toolbar/charMapData.svg", true), |
|
||||||
// 帮助
|
|
||||||
new SvgIconSource("demo", "com/fine/theme/icon/toolbar/demo.svg", true), |
|
||||||
new SvgIconSource("update", "com/fine/theme/icon/toolbar/update.svg", true), |
|
||||||
new SvgIconSource("envDetect", "com/fine/theme/icon/toolbar/envDetect.svg", true), |
|
||||||
new SvgIconSource("servicePlatform", "com/fine/theme/icon/toolbar/servicePlatform.svg", true), |
|
||||||
// 社区
|
|
||||||
new SvgIconSource("bbs", "com/fine/theme/icon/toolbar/bbs.svg", true), |
|
||||||
new SvgIconSource("video", "com/fine/theme/icon/toolbar/video.svg", true), |
|
||||||
new SvgIconSource("help", "com/fine/theme/icon/toolbar/help.svg", true), |
|
||||||
new SvgIconSource("studyPlan", "com/fine/theme/icon/toolbar/studyPlan.svg", true), |
|
||||||
new SvgIconSource("question", "com/fine/theme/icon/toolbar/question.svg", true), |
|
||||||
new SvgIconSource("solution", "com/fine/theme/icon/toolbar/solution.svg", true), |
|
||||||
new SvgIconSource("templateStore", "com/fine/theme/icon/toolbar/templateStore.svg", true), |
|
||||||
new SvgIconSource("bug", "com/fine/theme/icon/toolbar/bug.svg", true), |
|
||||||
new SvgIconSource("need", "com/fine/theme/icon/toolbar/need.svg", true), |
|
||||||
new SvgIconSource("workOrderCenter", "com/fine/theme/icon/toolbar/workOrderCenter.svg", true), |
|
||||||
new SvgIconSource("actCenter", "com/fine/theme/icon/toolbar/actCenter.svg", true), |
|
||||||
new SvgIconSource("sign", "com/fine/theme/icon/toolbar/sign.svg", true), |
|
||||||
|
|
||||||
//东区面板
|
|
||||||
new SvgIconSource("cellelement_small", "com/fine/theme/icon/cellelement.svg"), |
|
||||||
new SvgIconSource("forbid", "com/fine/theme/icon/expand/forbid.svg"), |
|
||||||
new SvgIconSource("horizontal_expand", "com/fine/theme/icon/expand/horizontal.svg"), |
|
||||||
new SvgIconSource("vertical_expand", "com/fine/theme/icon/expand/vertical.svg"), |
|
||||||
|
|
||||||
// 三角
|
|
||||||
new SvgIconSource("triangle_down", "com/fine/theme/icon/triangle/triangle_down.svg"), |
|
||||||
new SvgIconSource("triangle_down_small", "com/fine/theme/icon/triangle/triangle_down_small.svg"), |
|
||||||
new SvgIconSource("triangle_left", "com/fine/theme/icon/triangle/triangle_left.svg"), |
|
||||||
new SvgIconSource("triangle_left_small", "com/fine/theme/icon/triangle/triangle_left_small.svg"), |
|
||||||
new SvgIconSource("triangle_right", "com/fine/theme/icon/triangle/triangle_right.svg"), |
|
||||||
new SvgIconSource("triangle_right_small", "com/fine/theme/icon/triangle/triangle_right_small.svg"), |
|
||||||
|
|
||||||
// 滚动条
|
|
||||||
new SvgIconSource("zoomIn", "com/fine/theme/icon/zoom/zoomIn.svg", true), |
|
||||||
new SvgIconSource("zoomOut", "com/fine/theme/icon/zoom/zoomOut.svg", true), |
|
||||||
|
|
||||||
//排序
|
|
||||||
new SvgIconSource("sort_asc", "com/fine/theme/icon/sort/sort_asc.svg", true), |
|
||||||
new SvgIconSource("sort_desc", "com/fine/theme/icon/sort/sort_desc.svg", true), |
|
||||||
new SvgIconSource("nosort", "com/fine/theme/icon/sort/nosort.svg", true), |
|
||||||
|
|
||||||
// 关闭
|
|
||||||
new SvgIconSource("close", "com/fine/theme/icon/close/close.svg", true), |
|
||||||
new SvgIconSource("close_round", "com/fine/theme/icon/close/close_round.svg", true), |
|
||||||
|
|
||||||
// 文字样式
|
|
||||||
new SvgIconSource("add_parenthesis", "com/fine/theme/icon/font/add_parenthesis.svg", true), |
|
||||||
new SvgIconSource("remove_parenthesis", "com/fine/theme/icon/font/remove_parenthesis.svg", true), |
|
||||||
new SvgIconSource("shadow", "com/fine/theme/icon/font/shadow.svg", true), |
|
||||||
new SvgIconSource("strike", "com/fine/theme/icon/font/strike.svg", true), |
|
||||||
new SvgIconSource("sub", "com/fine/theme/icon/font/sub.svg", true), |
|
||||||
new SvgIconSource("super", "com/fine/theme/icon/font/super.svg", true), |
|
||||||
|
|
||||||
new SvgIconSource("dot", "com/fine/theme/icon/dot.svg", true), |
|
||||||
new SvgIconSource("expand_popup", "com/fine/theme/icon/popup/expand_popup.svg"), |
|
||||||
new SvgIconSource("collapse_popup", "com/fine/theme/icon/popup/collapse_popup.svg"), |
|
||||||
|
|
||||||
new SvgIconSource("logMsg", "com/fine/theme/icon/log/logMsg.svg", true), |
|
||||||
new SvgIconSource("logMsg_dot", "com/fine/theme/icon/log/logMsg_dot.svg", true), |
|
||||||
|
|
||||||
// 右键弹窗
|
|
||||||
new SvgIconSource("cellClear", "com/fine/theme/icon/cell/cellClear.svg", true), |
|
||||||
new SvgIconSource("cellExpandAttr", "com/fine/theme/icon/cell/cellExpandAttr.svg", true), |
|
||||||
new SvgIconSource("cellStyleAttr", "com/fine/theme/icon/cell/cellStyleAttr.svg", true), |
|
||||||
new SvgIconSource("cellOtherAttr", "com/fine/theme/icon/cell/cellOtherAttr.svg", true), |
|
||||||
new SvgIconSource("cellWidgetAttr", "com/fine/theme/icon/cell/cellWidgetAttr.svg", true), |
|
||||||
new SvgIconSource("cellConditionalAttr", "com/fine/theme/icon/cell/cellConditionalAttr.svg", true), |
|
||||||
new SvgIconSource("cellHyperLinkAttr", "com/fine/theme/icon/cell/cellHyperLinkAttr.svg", true), |
|
||||||
new SvgIconSource("cellPresentAttr", "com/fine/theme/icon/cell/cellPresentAttr.svg", true), |
|
||||||
new SvgIconSource("cellElementAttr", "com/fine/theme/icon/cell/cellElementAttr.svg", true), |
|
||||||
new SvgIconSource("move", "com/fine/theme/icon/filetree/move.svg", true), |
|
||||||
new SvgIconSource("monochrome_copy", "com/fine/theme/icon/filetree/monochrome_copy.svg", true), |
|
||||||
new SvgIconSource("monochrome_paste", "com/fine/theme/icon/filetree/monochrome_paste.svg", true), |
|
||||||
new SvgIconSource("monochrome_cut", "com/fine/theme/icon/filetree/monochrome_cut.svg", true), |
|
||||||
|
|
||||||
// 控件
|
|
||||||
new SvgIconSource("button", "com/fine/theme/icon/widget/button.svg", true), |
|
||||||
new SvgIconSource("button_group", "com/fine/theme/icon/widget/button_group.svg", true), |
|
||||||
new SvgIconSource("check_box", "com/fine/theme/icon/widget/checkbox.svg", true), |
|
||||||
new SvgIconSource("checkbox_group", "com/fine/theme/icon/widget/checkbox_group.svg", true), |
|
||||||
new SvgIconSource("combo_box", "com/fine/theme/icon/widget/combo_box.svg", true), |
|
||||||
new SvgIconSource("combo_check", "com/fine/theme/icon/widget/combo_check.svg", true), |
|
||||||
new SvgIconSource("comboboxtree", "com/fine/theme/icon/widget/comboboxtree.svg", true), |
|
||||||
new SvgIconSource("date", "com/fine/theme/icon/widget/date.svg", true), |
|
||||||
new SvgIconSource("files_up", "com/fine/theme/icon/widget/files_up.svg", true), |
|
||||||
new SvgIconSource("iframe", "com/fine/theme/icon/widget/iframe.svg", true), |
|
||||||
new SvgIconSource("label", "com/fine/theme/icon/widget/label.svg", true), |
|
||||||
new SvgIconSource("number_field", "com/fine/theme/icon/widget/number_field.svg", true), |
|
||||||
new SvgIconSource("password_field", "com/fine/theme/icon/widget/password_field.svg", true), |
|
||||||
new SvgIconSource("picture", "com/fine/theme/icon/widget/picture.svg", true), |
|
||||||
new SvgIconSource("widget_preview", "com/fine/theme/icon/widget/preview.svg", true), |
|
||||||
new SvgIconSource("prewidget", "com/fine/theme/icon/widget/prewidget.svg", true), |
|
||||||
new SvgIconSource("tab", "com/fine/theme/icon/widget/tab.svg", true), |
|
||||||
new SvgIconSource("text_area", "com/fine/theme/icon/widget/text_area.svg", true), |
|
||||||
new SvgIconSource("text_field", "com/fine/theme/icon/widget/text_field.svg", true), |
|
||||||
new SvgIconSource("widget_tree", "com/fine/theme/icon/widget/tree.svg", true) |
|
||||||
|
|
||||||
); |
|
||||||
} |
} |
||||||
} |
} |
||||||
|
After Width: | Height: | Size: 1.0 KiB |
@ -0,0 +1,279 @@ |
|||||||
|
{ |
||||||
|
"name": "Fine light", |
||||||
|
"dark": false, |
||||||
|
"author": "fine", |
||||||
|
"base": "com/fine/theme/icon/", |
||||||
|
"icons": { |
||||||
|
"cut": "cut.svg", |
||||||
|
"save": "save.svg", |
||||||
|
"copy": "copy.svg", |
||||||
|
"formatBrush": "formatBrush.svg", |
||||||
|
"paste": "paste.svg", |
||||||
|
"undo": "undo.svg", |
||||||
|
"redo": "redo.svg", |
||||||
|
"version_save": "version_save.svg", |
||||||
|
"font_miss_check": "font_miss_check.svg", |
||||||
|
"template_theme": "template_theme.svg", |
||||||
|
"remove": "remove.svg", |
||||||
|
"search": "search.svg", |
||||||
|
"add": "add.svg", |
||||||
|
"drag_left": "drag_left.svg", |
||||||
|
"drag_right": "drag_right.svg", |
||||||
|
"down_arrow": "down_arrow.svg", |
||||||
|
"up_arrow": "up_arrow.svg", |
||||||
|
"select": "select.svg", |
||||||
|
"recycle": "recycle.svg", |
||||||
|
"database": "dataset/database.svg", |
||||||
|
"preview": "dataset/preview.svg", |
||||||
|
"connection": "dataset/connection.svg", |
||||||
|
"class_table_data": "dataset/class_table_data.svg", |
||||||
|
"data_table": "dataset/data_table.svg", |
||||||
|
"multi": "dataset/multi.svg", |
||||||
|
"file": "dataset/file.svg", |
||||||
|
"tree": "dataset/tree.svg", |
||||||
|
"store_procedure": "dataset/store_procedure.svg", |
||||||
|
"batch_esd_on": "dataset/batch_esd_on.svg", |
||||||
|
"batch_esd_off": "dataset/batch_esd_off.svg", |
||||||
|
"edit": "dataset/edit.svg", |
||||||
|
"server_database": "dataset/server_database.svg", |
||||||
|
"field": "dataset/field.svg", |
||||||
|
"folder": "filetree/folder.svg", |
||||||
|
"folder_open": "filetree/folder_open.svg", |
||||||
|
"cpt_icon": "filetree/cpt_icon.svg", |
||||||
|
"frm_icon": "filetree/frm_icon.svg", |
||||||
|
"fvs_icon": "filetree/fvs_icon.svg", |
||||||
|
"excel_icon": "filetree/excel_icon.svg", |
||||||
|
"minus": "filetree/minus.svg", |
||||||
|
"plus": "filetree/plus.svg", |
||||||
|
"locate": "filetree/locate.svg", |
||||||
|
"rename": "filetree/rename.svg", |
||||||
|
"collapse_all": "filetree/collapse_all.svg", |
||||||
|
"vcs_list": "filetree/vcs_list.svg", |
||||||
|
"view_folder": "filetree/view_folder.svg", |
||||||
|
"refresh": "filetree/refresh.svg", |
||||||
|
"new_folder": "filetree/new_folder.svg", |
||||||
|
"add_report": "filetree/filetype/add_report.svg", |
||||||
|
"add_word": "filetree/filetype/add_word.svg", |
||||||
|
"bmpFile": "filetree/filetype/bmpFile.svg", |
||||||
|
"chtFile": "filetree/filetype/chtFile.svg", |
||||||
|
"classFile": "filetree/filetype/classFile.svg", |
||||||
|
"cpt_locked": "filetree/filetype/cpt_locked.svg", |
||||||
|
"excel_import": "filetree/filetype/excel_import.svg", |
||||||
|
"excelFile": "filetree/filetype/excelFile.svg", |
||||||
|
"flashFile": "filetree/filetype/flashFile.svg", |
||||||
|
"frm_locked": "filetree/filetype/frm_locked.svg", |
||||||
|
"gifFile": "filetree/filetype/gifFile.svg", |
||||||
|
"htmlFile": "filetree/filetype/htmlFile.svg", |
||||||
|
"jarFile": "filetree/filetype/jarFile.svg", |
||||||
|
"javaFile": "filetree/filetype/javaFile.svg", |
||||||
|
"jpgFile": "filetree/filetype/jpgFile.svg", |
||||||
|
"jsFile": "filetree/filetype/jsFile.svg", |
||||||
|
"jspFile": "filetree/filetype/jspFile.svg", |
||||||
|
"pdfFile": "filetree/filetype/pdfFile.svg", |
||||||
|
"pngFile": "filetree/filetype/pngFile.svg", |
||||||
|
"sqlFile": "filetree/filetype/sqlFile.svg", |
||||||
|
"wordFile": "filetree/filetype/wordFile.svg", |
||||||
|
"xlsFile": "filetree/filetype/xlsFile.svg", |
||||||
|
"xmlFile": "filetree/filetype/xmlFile.svg", |
||||||
|
"cellattr": "propertiestab/cellattr.svg", |
||||||
|
"cellattr_disabled": "propertiestab/cellattr_disabled.svg", |
||||||
|
"cellattr_selected": "propertiestab/cellattr_selected.svg", |
||||||
|
"cellelement": "propertiestab/cellelement.svg", |
||||||
|
"cellelement_disabled": "propertiestab/cellelement_disabled.svg", |
||||||
|
"cellelement_selected": "propertiestab/cellelement_selected.svg", |
||||||
|
"conditionattr": "propertiestab/conditionattr.svg", |
||||||
|
"conditionattr_disabled": "propertiestab/conditionattr_disabled.svg", |
||||||
|
"conditionattr_selected": "propertiestab/conditionattr_selected.svg", |
||||||
|
"floatelement": "propertiestab/floatelement.svg", |
||||||
|
"floatelement_disabled": "propertiestab/floatelement_disabled.svg", |
||||||
|
"floatelement_selected": "propertiestab/floatelement_selected.svg", |
||||||
|
"hyperlink": "propertiestab/hyperlink.svg", |
||||||
|
"hyperlink_disabled": "propertiestab/hyperlink_disabled.svg", |
||||||
|
"hyperlink_selected": "propertiestab/hyperlink_selected.svg", |
||||||
|
"widgetlib": "propertiestab/widgetlib.svg", |
||||||
|
"widgetlib_disabled": "propertiestab/widgetlib_disabled.svg", |
||||||
|
"widgetlib_selected": "propertiestab/widgetlib_selected.svg", |
||||||
|
"widgetsettings": "propertiestab/widgetsettings.svg", |
||||||
|
"widgetsettings_disabled": "propertiestab/widgetsettings_disabled.svg", |
||||||
|
"widgetsettings_selected": "propertiestab/widgetsettings_selected.svg", |
||||||
|
"configuredroles": "propertiestab/configuredroles.svg", |
||||||
|
"configuredroles_selected": "propertiestab/configuredroles_selected.svg", |
||||||
|
"configuredroles_disabled": "propertiestab/configuredroles_disabled.svg", |
||||||
|
"authorityedit": "propertiestab/authorityedit.svg", |
||||||
|
"authorityedit_disabled": "propertiestab/authorityedit_disabled.svg", |
||||||
|
"authorityedit_selected": "propertiestab/authorityedit_selected.svg", |
||||||
|
"add_worksheet": "sheet/add_sheet.svg", |
||||||
|
"add_polysheet": "sheet/add_frm.svg", |
||||||
|
"checkbox_checked": "checkbox/checked.svg", |
||||||
|
"checkbox_unchecked": "checkbox/unchecked.svg", |
||||||
|
"checkbox_part_checked": "checkbox/part_checked.svg", |
||||||
|
"checkbox_hovered": "checkbox/hovered.svg", |
||||||
|
"radio_selected": "radio/radio_selected.svg", |
||||||
|
"radio_unselected": "radio/radio_unselected.svg", |
||||||
|
"bold": "font/bold.svg", |
||||||
|
"italic": "font/italic.svg", |
||||||
|
"underline": "font/underline.svg", |
||||||
|
"foreground": "font/foreground.svg", |
||||||
|
"background": "font/background.svg", |
||||||
|
"h_left": "cellstyle/h_left.svg", |
||||||
|
"h_center": "cellstyle/h_center.svg", |
||||||
|
"h_right": "cellstyle/h_right.svg", |
||||||
|
"h_justify": "cellstyle/h_justify.svg", |
||||||
|
"h_normal": "cellstyle/h_normal.svg", |
||||||
|
"v_top": "cellstyle/v_top.svg", |
||||||
|
"v_center": "cellstyle/v_center.svg", |
||||||
|
"v_bottom": "cellstyle/v_bottom.svg", |
||||||
|
"noboder": "noboder.svg", |
||||||
|
"merge": "merge/merge.svg", |
||||||
|
"unmerge": "merge/unmerge.svg", |
||||||
|
"bind_column": "bindcolumn/bind_column.svg", |
||||||
|
"text": "insert/text.svg", |
||||||
|
"richtext": "insert/richtext.svg", |
||||||
|
"formula": "insert/formula.svg", |
||||||
|
"chart": "insert/chart.svg", |
||||||
|
"image": "insert/image.svg", |
||||||
|
"bias": "insert/bias.svg", |
||||||
|
"sub_report": "insert/sub_report.svg", |
||||||
|
"chart_line": "chart/chart_line.svg", |
||||||
|
"popup": "popup/popup.svg", |
||||||
|
"clear": "clear.svg", |
||||||
|
"clear_hover": "clear_hover.svg", |
||||||
|
"tool_copy": "toolbar/copy.svg", |
||||||
|
"move_down": "toolbar/move_down.svg", |
||||||
|
"move_up": "toolbar/move_up.svg", |
||||||
|
"move_left": "toolbar/move_left.svg", |
||||||
|
"move_right": "toolbar/move_right.svg", |
||||||
|
"to_top": "toolbar/to_top.svg", |
||||||
|
"to_bottom": "toolbar/to_bottom.svg", |
||||||
|
"tool_edit": "toolbar/edit.svg", |
||||||
|
"tool_edit_white": "toolbar/edit_white.svg", |
||||||
|
"tool_more": "toolbar/more.svg", |
||||||
|
"tool_more_hover": "toolbar/more_hover.svg", |
||||||
|
"tool_config": "toolbar/config.svg", |
||||||
|
"add_popup": "toolbar/add_popup.svg", |
||||||
|
"bracket": "toolbar/bracket.svg", |
||||||
|
"unBracket": "toolbar/unBracket.svg", |
||||||
|
"param_edit": "param/edit.svg", |
||||||
|
"param_edit_pressed": "param/edit_pressed.svg", |
||||||
|
"param_hide": "param/hide.svg", |
||||||
|
"param_hide_pressed": "param/hide_pressed.svg", |
||||||
|
"param_view": "param/view.svg", |
||||||
|
"param": "param/param.svg", |
||||||
|
"locked": "lock/locked.svg", |
||||||
|
"unlocked": "lock/unlocked.svg", |
||||||
|
"notification": "notification/notification.svg", |
||||||
|
"notification_dot": "notification/notification_dot.svg", |
||||||
|
"createCpt": "toolbar/createCpt.svg", |
||||||
|
"createOther": "toolbar/createOther.svg", |
||||||
|
"openTemplate": "toolbar/openTemplate.svg", |
||||||
|
"switchEnv": "toolbar/switchEnv.svg", |
||||||
|
"export": "toolbar/export.svg", |
||||||
|
"monochrome_undo": "toolbar/monochrome_undo.svg", |
||||||
|
"monochrome_redo": "toolbar/monochrome_redo.svg", |
||||||
|
"saveAs": "toolbar/saveAs.svg", |
||||||
|
"widgetThemeMenu": "toolbar/widgetThemeMenu.svg", |
||||||
|
"datasource": "toolbar/datasource.svg", |
||||||
|
"webReportAttribute": "toolbar/webReportAttribute.svg", |
||||||
|
"reportParameter": "toolbar/reportParameter.svg", |
||||||
|
"reportFit": "toolbar/reportFit.svg", |
||||||
|
"mobileAttr": "toolbar/mobileAttr.svg", |
||||||
|
"watermark": "toolbar/watermark.svg", |
||||||
|
"print": "toolbar/print.svg", |
||||||
|
"pageSetup": "toolbar/pageSetup.svg", |
||||||
|
"reportHeader": "toolbar/reportHeader.svg", |
||||||
|
"reportFooter": "toolbar/reportFooter.svg", |
||||||
|
"reportBackground": "toolbar/reportBackground.svg", |
||||||
|
"reportWriteAttr": "toolbar/reportWriteAttr.svg", |
||||||
|
"linearAttr": "toolbar/linearAttr.svg", |
||||||
|
"repeatAndFrozen": "toolbar/repeatAndFrozen.svg", |
||||||
|
"reportEngineAttr": "toolbar/reportEngineAttr.svg", |
||||||
|
"allowAuthorityEdit": "toolbar/allowAuthorityEdit.svg", |
||||||
|
"replace": "toolbar/replace.svg", |
||||||
|
"monochromeServerDatabase": "toolbar/monochromeServerDatabase.svg", |
||||||
|
"platform": "toolbar/platform.svg", |
||||||
|
"pluginManager": "toolbar/pluginManager.svg", |
||||||
|
"functionManager": "toolbar/functionManager.svg", |
||||||
|
"serverConfigManager": "toolbar/serverConfigManager.svg", |
||||||
|
"widgetManager": "toolbar/widgetManager.svg", |
||||||
|
"chartPreStyle": "toolbar/chartPreStyle.svg", |
||||||
|
"chartEmptyDataStyle": "toolbar/chartEmptyDataStyle.svg", |
||||||
|
"charMapData": "toolbar/charMapData.svg", |
||||||
|
"demo": "toolbar/demo.svg", |
||||||
|
"update": "toolbar/update.svg", |
||||||
|
"envDetect": "toolbar/envDetect.svg", |
||||||
|
"servicePlatform": "toolbar/servicePlatform.svg", |
||||||
|
"bbs": "toolbar/bbs.svg", |
||||||
|
"video": "toolbar/video.svg", |
||||||
|
"help": "toolbar/help.svg", |
||||||
|
"studyPlan": "toolbar/studyPlan.svg", |
||||||
|
"question": "toolbar/question.svg", |
||||||
|
"solution": "toolbar/solution.svg", |
||||||
|
"templateStore": "toolbar/templateStore.svg", |
||||||
|
"bug": "toolbar/bug.svg", |
||||||
|
"need": "toolbar/need.svg", |
||||||
|
"workOrderCenter": "toolbar/workOrderCenter.svg", |
||||||
|
"actCenter": "toolbar/actCenter.svg", |
||||||
|
"sign": "toolbar/sign.svg", |
||||||
|
"cellelement_small": "cellelement.svg", |
||||||
|
"forbid": "expand/forbid.svg", |
||||||
|
"horizontal_expand": "expand/horizontal.svg", |
||||||
|
"vertical_expand": "expand/vertical.svg", |
||||||
|
"triangle_down": "triangle/triangle_down.svg", |
||||||
|
"triangle_down_small": "triangle/triangle_down_small.svg", |
||||||
|
"triangle_left": "triangle/triangle_left.svg", |
||||||
|
"triangle_left_small": "triangle/triangle_left_small.svg", |
||||||
|
"triangle_right": "triangle/triangle_right.svg", |
||||||
|
"triangle_right_small": "triangle/triangle_right_small.svg", |
||||||
|
"zoomIn": "zoom/zoomIn.svg", |
||||||
|
"zoomOut": "zoom/zoomOut.svg", |
||||||
|
"sort_asc": "sort/sort_asc.svg", |
||||||
|
"sort_desc": "sort/sort_desc.svg", |
||||||
|
"nosort": "sort/nosort.svg", |
||||||
|
"close": "close/close.svg", |
||||||
|
"close_round": "close/close_round.svg", |
||||||
|
"add_parenthesis": "font/add_parenthesis.svg", |
||||||
|
"remove_parenthesis": "font/remove_parenthesis.svg", |
||||||
|
"shadow": "font/shadow.svg", |
||||||
|
"strike": "font/strike.svg", |
||||||
|
"sub": "font/sub.svg", |
||||||
|
"super": "font/super.svg", |
||||||
|
"dot": "dot.svg", |
||||||
|
"expand_popup": "popup/expand_popup.svg", |
||||||
|
"collapse_popup": "popup/collapse_popup.svg", |
||||||
|
"logMsg": "log/logMsg.svg", |
||||||
|
"logMsg_dot": "log/logMsg_dot.svg", |
||||||
|
"cellClear": "cell/cellClear.svg", |
||||||
|
"cellExpandAttr": "cell/cellExpandAttr.svg", |
||||||
|
"cellStyleAttr": "cell/cellStyleAttr.svg", |
||||||
|
"cellOtherAttr": "cell/cellOtherAttr.svg", |
||||||
|
"cellWidgetAttr": "cell/cellWidgetAttr.svg", |
||||||
|
"cellConditionalAttr": "cell/cellConditionalAttr.svg", |
||||||
|
"cellHyperLinkAttr": "cell/cellHyperLinkAttr.svg", |
||||||
|
"cellPresentAttr": "cell/cellPresentAttr.svg", |
||||||
|
"cellElementAttr": "cell/cellElementAttr.svg", |
||||||
|
"move": "filetree/move.svg", |
||||||
|
"monochrome_copy": "filetree/monochrome_copy.svg", |
||||||
|
"monochrome_paste": "filetree/monochrome_paste.svg", |
||||||
|
"monochrome_cut": "filetree/monochrome_cut.svg", |
||||||
|
"button": "widget/button.svg", |
||||||
|
"button_group": "widget/button_group.svg", |
||||||
|
"check_box": "widget/checkbox.svg", |
||||||
|
"checkbox_group": "widget/checkbox_group.svg", |
||||||
|
"combo_box": "widget/combo_box.svg", |
||||||
|
"combo_check": "widget/combo_check.svg", |
||||||
|
"comboboxtree": "widget/comboboxtree.svg", |
||||||
|
"date": "widget/date.svg", |
||||||
|
"files_up": "widget/files_up.svg", |
||||||
|
"iframe": "widget/iframe.svg", |
||||||
|
"label": "widget/label.svg", |
||||||
|
"number_field": "widget/number_field.svg", |
||||||
|
"password_field": "widget/password_field.svg", |
||||||
|
"picture": "widget/picture.svg", |
||||||
|
"widget_preview": "widget/preview.svg", |
||||||
|
"prewidget": "widget/prewidget.svg", |
||||||
|
"tab": "widget/tab.svg", |
||||||
|
"text_area": "widget/text_area.svg", |
||||||
|
"text_field": "widget/text_field.svg", |
||||||
|
"widget_tree": "widget/tree.svg" |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue