.getParentSlider(), ((IRBProvider) this.actionProvider)
.getRB(this.row), true);
rb.addHideWindowListener(this);
rb.show();
} else if (this.actionProvider instanceof IEditFormProvider) {
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));
formWindow.addHideWindowListener(this);
formWindow.show();
} else if (this.actionProvider instanceof IViewFormProvider) {
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);
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)
.getDeleteRowExecutor().deleteRow(this.row,
new DeleteCallback(this));
}
} else if (this.actionProvider instanceof IReportProvider) {
IReportBuilder report = ((IReportProvider) this.actionProvider)
.getReport();
if (report instanceof IParametersFormProvider) {
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);