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
1.0 KiB
42 lines
1.0 KiB
/* |
|
* Copyright (C), 2015-2019 |
|
* FileName: ImportCSVToolbarItem |
|
* Author: |
|
* Date: 2019/8/29 16:15 |
|
* Description: ImportCSVToolbarItem |
|
* History: |
|
* <author> <time> <version> <desc> |
|
*/ |
|
package com.fr.plugin.ajhig.toolbar; |
|
|
|
import com.fanruan.api.i18n.I18nKit; |
|
import com.fr.base.IconManager; |
|
import com.fr.design.fun.impl.AbstractToolbarItem; |
|
import com.fr.form.ui.Widget; |
|
import com.fr.plugin.ajhig.provider.LocaleFinder; |
|
import com.fr.stable.fun.Authorize; |
|
|
|
/** |
|
* 〈Function Description〉<br> |
|
* 〈ImportCSVToolbarItem〉 |
|
* |
|
* @author |
|
* @since 1.0.0 |
|
*/ |
|
@Authorize(callSignKey = LocaleFinder.PLUGIN_ID) |
|
public class ImportCSVToolbarItem extends AbstractToolbarItem { |
|
@Override |
|
public Class<? extends Widget> classForWidget() { |
|
return ImportCSVButton.class; |
|
} |
|
|
|
@Override |
|
public String iconPathForWidget() { |
|
return IconManager.EXCEL.getPath(); |
|
} |
|
|
|
@Override |
|
public String nameForWidget() { |
|
return I18nKit.getLocText("Plugin-ajhig_Import_CSV"); |
|
} |
|
} |