Browse Source
Merge in DESIGN/design from ~ABEL.CHEN/design:feature/x to feature/x * commit '99e7c4cf1a6cec4093ff7dcc28a96c2a622b3857': REPORT-47114 新填报剥离成插件research/11.0
abel.chen
4 years ago
2 changed files with 1 additions and 42 deletions
@ -1,40 +0,0 @@ |
|||||||
package com.fr.design.preview; |
|
||||||
|
|
||||||
import com.fr.base.io.IOFile; |
|
||||||
import com.fr.design.fun.impl.AbstractPreviewProvider; |
|
||||||
|
|
||||||
|
|
||||||
import java.util.HashMap; |
|
||||||
import java.util.Map; |
|
||||||
|
|
||||||
/** |
|
||||||
* Created by loy on 2017/7/7. |
|
||||||
*/ |
|
||||||
public class WriteEnhancePreview extends AbstractPreviewProvider { |
|
||||||
@Override |
|
||||||
public String nameForPopupItem() { |
|
||||||
return com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Write_Enhance_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 IOFile.WRITE_ENHANCE_PREVIEW_TYPE; |
|
||||||
} |
|
||||||
|
|
||||||
@Override |
|
||||||
public Map<String, Object> parametersForPreview() { |
|
||||||
Map<String, Object> map = new HashMap<String, Object>(); |
|
||||||
map.put("op", "write_plus"); |
|
||||||
return map; |
|
||||||
} |
|
||||||
} |
|
Loading…
Reference in new issue