Package net.pleso.framework.client.ui.custom

Examples of net.pleso.framework.client.ui.custom.CustomFormWindow.show()


    } else if (this.actionProvider instanceof IEditFormProvider) {
      CustomFormWindow formWindow = new CustomFormWindow(sliderDoAction,
          ((IEditFormProvider) this.actionProvider)
              .getEditForm(this.row));
      formWindow.addHideWindowListener(this);
      formWindow.show();
    } else if (this.actionProvider instanceof IAddFormProvider) {
      CustomFormWindow formWindow = new CustomFormWindow(sliderDoAction,
          ((IAddFormProvider) this.actionProvider)
              .getAddForm(this.row));
      formWindow.addHideWindowListener(this);
View Full Code Here


    } else if (this.actionProvider instanceof IAddFormProvider) {
      CustomFormWindow formWindow = new CustomFormWindow(sliderDoAction,
          ((IAddFormProvider) this.actionProvider)
              .getAddForm(this.row));
      formWindow.addHideWindowListener(this);
      formWindow.show();
    } else if (this.actionProvider instanceof IViewFormProvider) {
      sliderDoAction.setModalAfterOpen(false);
      CustomFormWindow formWindow = new CustomFormWindow(sliderDoAction,
          ((IViewFormProvider) this.actionProvider)
              .getViewForm(this.row));
View Full Code Here

      sliderDoAction.setModalAfterOpen(false);
      CustomFormWindow formWindow = new CustomFormWindow(sliderDoAction,
          ((IViewFormProvider) this.actionProvider)
              .getViewForm(this.row));
      formWindow.addHideWindowListener(this);
      formWindow.show();
    } else if (this.actionProvider instanceof ISearchFormProvider) {
      CustomFormWindow formWindow = new CustomFormWindow(sliderDoAction,
          ((ISearchFormProvider) this.actionProvider).getSearchForm());
      formWindow.addHideWindowListener(this);
      formWindow.show();
View Full Code Here

      formWindow.show();
    } else if (this.actionProvider instanceof ISearchFormProvider) {
      CustomFormWindow formWindow = new CustomFormWindow(sliderDoAction,
          ((ISearchFormProvider) this.actionProvider).getSearchForm());
      formWindow.addHideWindowListener(this);
      formWindow.show();
    } else if (this.actionProvider instanceof IDeleteRowProvider) {
      throw new IllegalArgumentException(
          "Slider can't use IDeleteRowProvider");
    } else if (this.actionProvider instanceof IReportProvider) {
      IReportBuilder report = ((IReportProvider) this.actionProvider)
View Full Code Here

        IParametersForm parametersForm = ((IParametersFormProvider) report)
            .getParametersForm(this.row);
        CustomFormWindow formWindow = new CustomFormWindow(
            this.parentWindow.getParentSlider(), parametersForm);
        formWindow.addHideWindowListener(this);
        formWindow.show();
      } else {
        // if report has no parameters form, then build without
        // parameters
        ((IReportProvider) this.actionProvider).getReport()
            .BuildReport(this.row);
View Full Code Here

      CustomFormWindow formWindow = new CustomFormWindow(
          this.parentWindow.getParentSlider(),
          ((IEditFormProvider) this.actionProvider)
              .getEditForm(this.row));
      formWindow.addHideWindowListener(this);
      formWindow.show();
    } else if (this.actionProvider instanceof IAddFormProvider) {
      CustomFormWindow formWindow = new CustomFormWindow(
          this.parentWindow.getParentSlider(),
          ((IAddFormProvider) this.actionProvider)
              .getAddForm(this.row));
View Full Code Here

      CustomFormWindow formWindow = new CustomFormWindow(
          this.parentWindow.getParentSlider(),
          ((IAddFormProvider) this.actionProvider)
              .getAddForm(this.row));
      formWindow.addHideWindowListener(this);
      formWindow.show();
    } else if (this.actionProvider instanceof IViewFormProvider) {
      CustomFormWindow formWindow = new CustomFormWindow(
          this.parentWindow.getParentSlider(),
          ((IViewFormProvider) this.actionProvider)
              .getViewForm(this.row));
View Full Code Here

      CustomFormWindow formWindow = new CustomFormWindow(
          this.parentWindow.getParentSlider(),
          ((IViewFormProvider) this.actionProvider)
              .getViewForm(this.row));
      formWindow.addHideWindowListener(this);
      formWindow.show();
    } else if (this.actionProvider instanceof ISearchFormProvider) {
      CustomFormWindow formWindow = new CustomFormWindow(
          this.parentWindow.getParentSlider(),
          ((ISearchFormProvider) this.actionProvider).getSearchForm());
      formWindow.addHideWindowListener(this);
View Full Code Here

    } else if (this.actionProvider instanceof ISearchFormProvider) {
      CustomFormWindow formWindow = new CustomFormWindow(
          this.parentWindow.getParentSlider(),
          ((ISearchFormProvider) this.actionProvider).getSearchForm());
      formWindow.addHideWindowListener(this);
      formWindow.show();
    } else if (this.actionProvider instanceof IDeleteRowProvider) {
      if (com.google.gwt.user.client.Window.confirm(FrameworkLocale
          .messages().delete_confirmation())) {
        this.btnDoAction.setEnabled(false);
        ((IDeleteRowProvider) this.actionProvider)
View Full Code Here

        IParametersForm parametersForm = ((IParametersFormProvider) report)
            .getParametersForm(this.row);
        CustomFormWindow formWindow = new CustomFormWindow(
            this.parentWindow.getParentSlider(), parametersForm);
        formWindow.addHideWindowListener(this);
        formWindow.show();
      } else {
        // if report has no parameters form, then build without
        // parameters
        ((IReportProvider) this.actionProvider).getReport()
            .BuildReport(this.row);
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.