Examples of AcceuilEcran


Examples of com.structis.fichesst.client.ecran.AcceuilEcran

        @Override
        public void onSuccess(Void arg0) {
            Window.Location.reload();

            GuiUtil.gotoEcran(new AcceuilEcran());
        }
          });
      } else {
          userStore.removeAll();
          userStore.add(listUserBefore);
          userStore.commitChanges();
          storeRole.removeAll();
          storeRole.add(listUserInChantierBefore);
          storeRole.commitChanges();
          cbbChantier.removeListener(Events.OnClick, addListener);
      }
        }
    };
    createConfirmBox(callback, messages.deleteConfirmTitle(), messages.confirmSupprimer());
      }
  });
  btnAnnuler.addListener(Events.OnClick, new Listener<DomEvent>() {
      @Override
      public void handleEvent(DomEvent be) {
    Listener<MessageBoxEvent> callback = new Listener<MessageBoxEvent>() {
        @Override
        public void handleEvent(MessageBoxEvent be) {
      Button btt = be.getButtonClicked();
      if (Dialog.OK.equals(btt.getItemId())) {
          GuiUtil.gotoEcran(new AcceuilEcran());
      }
        }
    };
    createConfirmBox(callback, messages.deleteConfirmTitle(), messages.annuler());
      }
View Full Code Here

Examples of com.structis.fichesst.client.ecran.AcceuilEcran

  public List<FicheStDto> getListFicheSt() {
    return listFicheSt;
  }
 
  private void gotoAcceuilEcran() {
    GuiUtil.gotoEcran(new AcceuilEcran());
  }
View Full Code Here

Examples of com.structis.fichesst.client.ecran.AcceuilEcran

  linksPanel.setLayout(tl_linksPanel);

  acceuilLink.addListener(Events.OnClick, new Listener<BaseEvent>() {
      @Override
      public void handleEvent(BaseEvent be) {
    GuiUtil.gotoEcran(new AcceuilEcran());
      }
  });
  linksPanel.add(acceuilLink, new TableData(HorizontalAlignment.RIGHT, VerticalAlignment.BOTTOM));

  adminLink.addListener(Events.OnClick, new Listener<BaseEvent>() {
      @Override
      public void handleEvent(BaseEvent be) {
    GuiUtil.gotoEcran(new AdminEcran());
      }
  });
  linksPanel.add(adminLink, new TableData(HorizontalAlignment.RIGHT, VerticalAlignment.BOTTOM));

  version = new HTML("", false);
  version.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_LEFT);
  version.setWordWrap(false);
  ClientPropertiesServiceAsync.Util.getInstance().getVersionInfo(new AsyncCallbackWithErrorResolution<String>() {
      @Override
      public void onSuccess(String result) {
    version.setHTML("<font size='1'>" + result + "</font>");
      }
  });

  // linksPanel.add(version);
  rightPanel.add(linksPanel);
  LayoutContainer layoutBanner = new LayoutContainer();
  LayoutContainer layoutVersion = new LayoutContainer();
  layoutVersion.setLayout(new RowLayout(Orientation.HORIZONTAL));
  layoutVersion.add(version, new RowData());
  layoutVersion.setHeight(20);
  layoutVersion.setWidth(50);
  layoutVersion.setStyleAttribute("padding-bottom", "25px");
  layoutBanner.setLayout(new TableLayout(2));
  banner = new HTML("<img src='./images/banner-first.png'/>");
  banner.setStyleName("actionHTML");
  banner.addClickHandler(new ClickHandler() {
      @Override
      public void onClick(ClickEvent event) {
    GuiUtil.gotoEcran(new AcceuilEcran());
      }
  });
  layoutBanner.add(banner, new TableData());
  layoutBanner.add(layoutVersion, new TableData(HorizontalAlignment.LEFT, VerticalAlignment.BOTTOM));
  mainPanel.add(layoutBanner, new BorderLayoutData(LayoutRegion.CENTER));
View Full Code Here

Examples of com.structis.fichesst.client.ecran.AcceuilEcran

  /*  droits.add(Droits.ANONYMOUS);*/
  /*  Droits.add(Droits.ANONYMOUS);*/
    droits.add(Droits.anonymous);
    // Init la navigation
    // Navigation par d�faut
    mapNavigation.put(ACTION_ACCEUIL, new Ecran(new AcceuilEcran()));
//    mapNavigation.put(ACTION_ADMIN,new Ecran(new AdminEcran()));
    mapNavigation.put(Action.ACTION_ERROR,new Ecran(new ErrorEcran()));
  /*  mapNavigation.put(Action.ACTION_SYNTHESE, new Ecran(new SyntheseEcran()));*/
    /*mapNavigation.put(ACTION_ADMIN, new Ecran(new AdminEcran()));  */   
    /*mapNavigation.put(Action.ACTION_CREATE_RISK, new Ecran(new CreateRiskEcran()));
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.