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.
41 lines
1.0 KiB
41 lines
1.0 KiB
package com.fr.design.actions.community; |
|
|
|
import com.fr.design.login.AbstractDesignerSSO; |
|
import com.fr.design.menu.MenuKeySet; |
|
import com.fr.general.CloudCenter; |
|
|
|
import javax.swing.*; |
|
|
|
public class NeedAction extends AbstractDesignerSSO { |
|
|
|
public NeedAction() { |
|
this.setMenuKeySet(NEED); |
|
this.setName(getMenuKeySet().getMenuName()); |
|
this.setMnemonic(getMenuKeySet().getMnemonic()); |
|
this.setSmallIcon("/com/fr/design/images/bbs/need"); |
|
|
|
} |
|
|
|
@Override |
|
public String getJumpUrl() { |
|
return CloudCenter.getInstance().acquireUrlByKind("bbs.needs", "https://service.fanruan.com/PF/FR/feedback?type=1"); |
|
} |
|
|
|
public static final MenuKeySet NEED = new MenuKeySet() { |
|
@Override |
|
public char getMnemonic() { |
|
return 'N'; |
|
} |
|
|
|
@Override |
|
public String getMenuName() { |
|
return com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Commuinity_Need"); |
|
} |
|
|
|
@Override |
|
public KeyStroke getKeyStroke() { |
|
return null; |
|
} |
|
}; |
|
|
|
}
|
|
|