Browse Source

REPORT-10263 远程设计权限验收问题10

research/10.0
yaoh.wu 6 years ago
parent
commit
17c81aba0b
  1. 13
      designer-base/src/main/java/com/fr/design/gui/itree/filetree/FileTreeIcon.java
  2. BIN
      designer-base/src/main/resources/com/fr/design/images/gui/modern_style_cht_file_icon_16x16.png
  3. BIN
      designer-base/src/main/resources/com/fr/design/images/gui/modern_style_cpt_file_icon_16x16.png
  4. BIN
      designer-base/src/main/resources/com/fr/design/images/gui/modern_style_frm_file_icon_16x16.png

13
designer-base/src/main/java/com/fr/design/gui/itree/filetree/FileTreeIcon.java

@ -37,6 +37,13 @@ public class FileTreeIcon {
public static final Icon FRM_FILE_IMAGE_ICON = BaseUtils.readIcon("/com/fr/design/images/gui/frm.png");
public static final Icon CHT_FILE_IMAGE_ICON = BaseUtils.readIcon("/com/fr/design/images/gui/cht.png");
public static final Icon MODERN_CPT_FILE_IMAGE_ICON =
BaseUtils.readIcon("/com/fr/design/images/gui/modern_style_cpt_file_icon_16x16.png");
public static final Icon MODERN_FRM_FILE_IMAGE_ICON =
BaseUtils.readIcon("/com/fr/design/images/gui/modern_style_frm_file_icon_16x16.png");
public static final Icon MODERN_CHT_FILE_IMAGE_ICON =
BaseUtils.readIcon("/com/fr/design/images/gui/modern_style_cht_file_icon_16x16.png");
public static final LockIcon FOLDER_LOCK_ICON =
new LockIcon(BaseUtils.readImage("/com/fr/design/images/gui/fold.png"));
public static final LockIcon FILE_LOCK_ICON =
@ -205,19 +212,19 @@ public class FileTreeIcon {
if (isLocked) {
return FileTreeIcon.CPT_FILE_LOCK_ICON;
} else {
return FileTreeIcon.CPT_FILE_IMAGE_ICON;
return FileTreeIcon.MODERN_CPT_FILE_IMAGE_ICON;
}
} else if (fileType == FRM_FILE) { //form frm
if (isLocked) {
return FileTreeIcon.FRM_FILE_LOCK_ICON;
} else {
return FileTreeIcon.FRM_FILE_IMAGE_ICON;
return FileTreeIcon.MODERN_FRM_FILE_IMAGE_ICON;
}
} else if (fileType == CHT_FILE) { //chart cht
if (isLocked) {
return FileTreeIcon.CHT_FILE_LOCK_ICON;
} else {
return FileTreeIcon.CHT_FILE_IMAGE_ICON;
return FileTreeIcon.MODERN_CHT_FILE_IMAGE_ICON;
}
} else {
if (isLocked) {

BIN
designer-base/src/main/resources/com/fr/design/images/gui/modern_style_cht_file_icon_16x16.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 609 B

BIN
designer-base/src/main/resources/com/fr/design/images/gui/modern_style_cpt_file_icon_16x16.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

BIN
designer-base/src/main/resources/com/fr/design/images/gui/modern_style_frm_file_icon_16x16.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

Loading…
Cancel
Save