forked from fanruan/design
loy
7 years ago
2 changed files with 42 additions and 1 deletions
@ -0,0 +1,40 @@
|
||||
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() { |
||||
//TODO 国际化
|
||||
return "新填报预览"; |
||||
} |
||||
|
||||
@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_PREVIEW_TYPE; |
||||
} |
||||
|
||||
@Override |
||||
public Map<String, Object> parametersForPreview() { |
||||
Map<String, Object> map = new HashMap<String, Object>(); |
||||
map.put("op", "write_ex"); |
||||
return map; |
||||
} |
||||
} |
Loading…
Reference in new issue