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.
27 lines
781 B
27 lines
781 B
|
|
package com.tptj.demo.hg.icon.provider; |
|
|
|
import com.fr.intelli.record.Focus; |
|
import com.fr.record.analyzer.EnableMetrics; |
|
import com.fr.stable.fun.impl.AbstractIconProvider; |
|
|
|
import java.util.HashMap; |
|
import java.util.Map; |
|
|
|
/** |
|
* @author 秃破天际 |
|
* @version 10.0 |
|
* Created by 秃破天际 on 2021/7/19 |
|
**/ |
|
@EnableMetrics |
|
public class Demo extends AbstractIconProvider { |
|
private final static Map<String, String> STORE = new HashMap<String, String>(2); |
|
static{ |
|
STORE.put("submit", "/com/tptj/demo/hg/icon/provider/demo.png"); |
|
STORE.put("submit_x", "/com/tptj/demo/hg/icon/provider/demo.png"); |
|
} |
|
@Focus(id = "com.tptj.demo.hg.icon.provider.v10",text = "IconProvider") |
|
public Map<String, String> map4Icons() { |
|
return STORE; |
|
} |
|
}
|
|
|