Examples of PinPopViewRequest


Examples of com.tll.client.mvc.view.PinPopViewRequest

    return request instanceof PinPopViewRequest;
  }

  @Override
  public void handle(IViewRequest request) {
    final PinPopViewRequest r = (PinPopViewRequest) request;
    if(r.isPop()) {
      // pop the view...
      ViewManager.get().popCurrentView();
    }
    else {
      // pin the view (deferring it to ensure we are clear of the history "pump" since we subsequently fire a view change event)...
      ViewManager.get().pinPoppedView(r.getViewKey());
    }
  }
View Full Code Here

Examples of com.tll.client.mvc.view.PinPopViewRequest

    final Object sender = event.getSource();

    // pop the view
    if(sender == toolbar.btnPop) {
      final boolean popped = isPopped();
      ViewManager.get().dispatch(new PinPopViewRequest(key, !popped));
    }

    // close the view
    else if(sender == toolbar.btnClose) {
      ViewManager.get().dispatch(new UnloadViewRequest(key, true, false));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.