/** Creates a new {@link CopySendAddressAction}. */ public CopySendAddressAction( MultiBitController controller, DataProvider dataProvider, ImageIcon icon) { super("", icon); this.dataProvider = dataProvider; MnemonicUtil mnemonicUtil = new MnemonicUtil(controller.getLocaliser()); putValue(SHORT_DESCRIPTION, controller.getLocaliser().getString("copyAddressAction.tooltip")); putValue(MNEMONIC_KEY, mnemonicUtil.getMnemonic("copyAddressAction.mnemonicKey")); }
public void execute(DataProvider dataProvider) { controller.setActionForwardToChild(ActionForward.FORWARD_TO_CREATE_NEW_WALLET); }