Пример #1
0
  /** 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"));
  }
Пример #2
0
 public void execute(DataProvider dataProvider) {
   controller.setActionForwardToChild(ActionForward.FORWARD_TO_CREATE_NEW_WALLET);
 }