kerry
4 years ago
14 changed files with 87 additions and 18 deletions
@ -0,0 +1,26 @@ |
|||||||
|
package com.fr.design.actions.community; |
||||||
|
|
||||||
|
|
||||||
|
import com.fr.design.i18n.Toolkit; |
||||||
|
import com.fr.design.utils.BrowseUtils; |
||||||
|
import com.fr.general.CloudCenter; |
||||||
|
|
||||||
|
import java.awt.event.ActionEvent; |
||||||
|
|
||||||
|
/** |
||||||
|
* @Description 工单中心 |
||||||
|
* @Author Henry.Wang |
||||||
|
* @Date 2021/3/8 14:02 |
||||||
|
**/ |
||||||
|
public class WorkOrderCenterAction extends UpAction { |
||||||
|
public WorkOrderCenterAction() { |
||||||
|
this.setSmallIcon("/com/fr/design/images/bbs/workOrderCenter"); |
||||||
|
this.setName(Toolkit.i18nText("Fine-Design_Basic_Commuinity_Work_Order_Center")); |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public void actionPerformed(ActionEvent arg0) { |
||||||
|
String url = CloudCenter.getInstance().acquireUrlByKind("bbs.work.order.center"); |
||||||
|
BrowseUtils.browser(url); |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,21 @@ |
|||||||
|
package com.fr.design.plugin; |
||||||
|
|
||||||
|
import com.fr.design.dialog.UIDialog; |
||||||
|
|
||||||
|
/** |
||||||
|
* @author hades |
||||||
|
* @version 10.0 |
||||||
|
* Created by hades on 2021/3/8 |
||||||
|
*/ |
||||||
|
public class DesignerPluginContext { |
||||||
|
|
||||||
|
private static UIDialog DIALOG; |
||||||
|
|
||||||
|
public static UIDialog getPluginDialog() { |
||||||
|
return DIALOG; |
||||||
|
} |
||||||
|
|
||||||
|
public static void setPluginDialog(UIDialog pluginDialog) { |
||||||
|
DesignerPluginContext.DIALOG = pluginDialog; |
||||||
|
} |
||||||
|
} |
After Width: | Height: | Size: 207 B |
After Width: | Height: | Size: 696 B |
Loading…
Reference in new issue