Destiny.Lin
2 years ago
4 changed files with 39 additions and 4 deletions
@ -0,0 +1,29 @@ |
|||||||
|
package com.fr.design.mainframe.platform; |
||||||
|
|
||||||
|
import com.fr.design.actions.UpdateAction; |
||||||
|
import com.fr.design.i18n.Toolkit; |
||||||
|
import com.fr.general.CloudCenter; |
||||||
|
|
||||||
|
import java.awt.Desktop; |
||||||
|
import java.awt.event.ActionEvent; |
||||||
|
import java.net.URI; |
||||||
|
|
||||||
|
/** |
||||||
|
* @author Destiny.Lin |
||||||
|
* @version 11.0 |
||||||
|
* created by Destiny.Lin on 2022-12-14 |
||||||
|
*/ |
||||||
|
public class ServicePlatformAction extends UpdateAction { |
||||||
|
public ServicePlatformAction() { |
||||||
|
this.setName(Toolkit.i18nText("Fine-Design_Basic_Service_Platform")); |
||||||
|
this.setSmallIcon("/com/fr/design/images/platform/platform"); |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public void actionPerformed(ActionEvent e) { |
||||||
|
try { |
||||||
|
Desktop.getDesktop().browse(new URI(CloudCenter.getInstance().acquireUrlByKind("service.platform"))); |
||||||
|
} catch (Exception exp) { |
||||||
|
} |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue