Browse Source
Merge in DESIGN/design from ~ABEL.CHEN/design:feature/x to feature/x * commit '5965c73d7dbdc22110f74cccb223e9d1d5b032f0': KERNEL-7640 填报预览新前端适配第一波代码合并 KERNEL-7640 填报预览新前端适配第一波代码合并research/11.0
abel.chen
3 years ago
2 changed files with 41 additions and 1 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