Package com.tll.client.mvc.view.account

Examples of com.tll.client.mvc.view.account.MerchantListingViewInitializer


    if(OP_ISPS.getText().equals(optionText)) {
      return new StaticViewInitializer(IspListingView.klas);
    }
    if(OP_MERCHANTS.getText().equals(optionText)) {
      assert crntUserAccountType == SmbizEntityType.ISP;
      return new MerchantListingViewInitializer(currentUser.getKey());
    }
    if(OP_CUSTOMERS.getText().equals(optionText)) {
      assert crntUserAccountType == SmbizEntityType.MERCHANT;
      return new CustomerListingViewInitializer(currentUser.getKey(), null);
    }
View Full Code Here


    @Override
    protected void handleRowOp(String optionText, int rowIndex) {
      if(mListing.getText().equals(optionText)) {
        ViewManager.get().dispatch(
            new ShowViewRequest(new MerchantListingViewInitializer(getRowKey(rowIndex))));
      }
      else if(App.OPTION_SET_CURRENT.getText().equals(optionText)) {
        SmbizAdmin.getAdminContextCmd().changeCurrentAccount(getRowKey(rowIndex));
      }
    }
View Full Code Here

TOP

Related Classes of com.tll.client.mvc.view.account.MerchantListingViewInitializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.