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.
|
|
|
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;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author richie
|
|
|
|
* @date 2015-03-19
|
|
|
|
* @since 8.0
|
|
|
|
*/
|
|
|
|
public class ViewPreview extends AbstractPreviewProvider {
|
|
|
|
@Override
|
|
|
|
public String nameForPopupItem() {
|
|
|
|
return com.fr.design.i18n.Toolkit.i18nText("Fine_Design_Basic_M_Data_Analysis");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String iconPathForPopupItem() {
|
|
|
|
return "/com/fr/design/standard/preview/anas.svg";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String iconPathForLarge() {
|
|
|
|
return "/com/fr/design/standard/preview/anab24.svg";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int previewTypeCode() {
|
|
|
|
return IOFile.ANA_PREVIEW_TYPE;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Map<String, Object> parametersForPreview() {
|
|
|
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
|
|
map.put("op", "view");
|
|
|
|
return map;
|
|
|
|
}
|
|
|
|
}
|