Package com.tll.client

Examples of com.tll.client.AdminContext


   * Constructor
   */
  public IspMain() {
    super();

    final AdminContext ac = SmbizAdmin.getAdminContextCmd().getAdminContext();
    assert ac != null;
    final ModelKey userAccountRef = ac.getUserAccount().getKey();
    assert userAccountRef != null && userAccountRef.isSet();
    addWidget(links);
  }
View Full Code Here


    @Override
    public void onOptionEvent(OptionEvent event) {
      final String optionText = event.getOptionText();
      if(event.getOptionEventType() == OptionEvent.EventType.SELECTED) {
        final AdminContext ac = SmbizAdmin.getAdminContextCmd().getAdminContext();
        final IViewInitializer vi =
          OpsManager.resolveViewInitializer(optionText, ac.getUser(), ac.getAccount());
        if(vi == null) {
          Window.alert("The view: '" + optionText + "' is currently not implemented.");
          return;
        }
        ViewManager.get().dispatch(new ShowViewRequest(vi));
View Full Code Here

TOP

Related Classes of com.tll.client.AdminContext

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.