Browse Source
* commit 'da16b83633e55ea5d093b6350cf4ce39953ed5b7': CHART-19555 注释掉暂时不用的属性 KERNEL-7640 填报预览新前端适配第一波代码合并 KERNEL-7640 填报预览新前端适配第一波代码合并fix-lag
superman
3 years ago
4 changed files with 45 additions and 5 deletions
@ -0,0 +1,39 @@ |
|||||||
|
package com.fr.design.preview; |
||||||
|
|
||||||
|
import com.fr.design.fun.impl.AbstractPreviewProvider; |
||||||
|
|
||||||
|
import java.util.HashMap; |
||||||
|
import java.util.Map; |
||||||
|
|
||||||
|
/** |
||||||
|
* 新前端填报预览 |
||||||
|
* by abel 2021/07/08 |
||||||
|
*/ |
||||||
|
public class NewWritePreview extends AbstractPreviewProvider { |
||||||
|
@Override |
||||||
|
public String nameForPopupItem() { |
||||||
|
return com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Write_New_Preview"); |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public String iconPathForPopupItem() { |
||||||
|
return "com/fr/design/images/buttonicon/writes.png"; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public String iconPathForLarge() { |
||||||
|
return "com/fr/design/images/buttonicon/writeb24.png"; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public int previewTypeCode() { |
||||||
|
return 99; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public Map<String, Object> parametersForPreview() { |
||||||
|
Map<String, Object> map = new HashMap<String, Object>(); |
||||||
|
map.put("op", "write_new"); |
||||||
|
return map; |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue