forked from fanruan/design
abel
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