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.
42 lines
996 B
42 lines
996 B
package com.fr.plugin; |
|
|
|
import com.fr.decision.fun.impl.AbstractThemeVariousProvider; |
|
import com.fr.decision.web.MainComponent; |
|
import com.fr.intelli.record.Focus; |
|
import com.fr.intelli.record.Original; |
|
import com.fr.record.analyzer.EnableMetrics; |
|
import com.fr.stable.fun.Authorize; |
|
import com.fr.web.struct.Atom; |
|
|
|
@EnableMetrics |
|
@Authorize(callSignKey = "com.eco.plugin.xxxx.theme.simple" ) |
|
public class SimpleTheme extends AbstractThemeVariousProvider { |
|
|
|
|
|
@Override |
|
public Atom attach() { |
|
return MainComponent.KEY; |
|
} |
|
|
|
|
|
@Override |
|
@Focus(id = "com.eco.plugin.xxxx.theme.simple", text = "Simple", source = Original.PLUGIN) |
|
public Atom client() { |
|
return SimpleComponent.KEY; |
|
} |
|
@Override |
|
public String name() { |
|
return "定制主题"; |
|
} |
|
|
|
@Override |
|
public String text() { |
|
return "定制主题"; |
|
} |
|
|
|
@Override |
|
public String coverPath() { |
|
return "com/fr/plugin/theme/simple-only/web/icon.png"; |
|
} |
|
|
|
}
|
|
|