You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
674 B
34 lines
674 B
package com.fr.plugin.lazy.sheet; |
|
|
|
import com.fr.design.preview.ViewPreview; |
|
|
|
import java.util.HashMap; |
|
import java.util.Map; |
|
|
|
/** |
|
* Created by richie on 15/7/17. |
|
*/ |
|
public class LazySheetPreview extends ViewPreview { |
|
|
|
@Override |
|
public int currentAPILevel() { |
|
return CURRENT_LEVEL; |
|
} |
|
|
|
@Override |
|
public String nameForPopupItem() { |
|
return "懒加载多sheet"; |
|
} |
|
|
|
@Override |
|
public int previewTypeCode() { |
|
return 18; |
|
} |
|
|
|
@Override |
|
public Map<String, Object> parametersForPreview() { |
|
Map<String, Object> map = super.parametersForPreview(); |
|
map.put("__lazy__", true); |
|
return map; |
|
} |
|
} |