Class FileUploadPopupPresenter
- java.lang.Object
-
- org.drools.workbench.screens.scenariosimulation.client.popup.FileUploadPopupPresenter
-
- All Implemented Interfaces:
AbstractScenarioPopup.Presenter,FileUploadPopup.Presenter
@Dependent public class FileUploadPopupPresenter extends Object implements FileUploadPopup.Presenter
-
-
Field Summary
Fields Modifier and Type Field Description protected FileUploadPopupfileUploadPopupprotected ViewsProviderviewsProvider
-
Constructor Summary
Constructors Constructor Description FileUploadPopupPresenter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFileContents()StringgetFileName()voidhide()Makes this popup container(and the main content along with it) invisible.voidshow(String mainTitleText, String okButtonText, org.uberfire.mvp.Command okCommand)Makes theScenarioPopupvisible with OK/Cancel buttons.voidshow(List<String> acceptedExtension, String mainTitleText, String uploadWarningText, String okButtonText, org.uberfire.mvp.Command okCommand)Same as default show method but with list of accepted extensions and uploadWarningTextvoidshow(List<String> acceptedExtension, String mainTitleText, String okButtonText, org.uberfire.mvp.Command okCommand)Same as default show method but with list of accepted extensions
-
-
-
Field Detail
-
viewsProvider
@Inject protected ViewsProvider viewsProvider
-
fileUploadPopup
protected FileUploadPopup fileUploadPopup
-
-
Method Detail
-
show
public void show(String mainTitleText, String okButtonText, org.uberfire.mvp.Command okCommand)
Description copied from interface:AbstractScenarioPopup.PresenterMakes theScenarioPopupvisible with OK/Cancel buttons.- Specified by:
showin interfaceAbstractScenarioPopup.Presenter
-
show
public void show(List<String> acceptedExtension, String mainTitleText, String okButtonText, org.uberfire.mvp.Command okCommand)
Description copied from interface:FileUploadPopup.PresenterSame as default show method but with list of accepted extensions- Specified by:
showin interfaceFileUploadPopup.Presenter
-
show
public void show(List<String> acceptedExtension, String mainTitleText, String uploadWarningText, String okButtonText, org.uberfire.mvp.Command okCommand)
Description copied from interface:FileUploadPopup.PresenterSame as default show method but with list of accepted extensions and uploadWarningText- Specified by:
showin interfaceFileUploadPopup.Presenter
-
hide
public void hide()
Description copied from interface:AbstractScenarioPopup.PresenterMakes this popup container(and the main content along with it) invisible. Has no effect if the popup is not already showing.- Specified by:
hidein interfaceAbstractScenarioPopup.Presenter
-
getFileContents
public String getFileContents()
- Specified by:
getFileContentsin interfaceFileUploadPopup.Presenter
-
getFileName
public String getFileName()
- Specified by:
getFileNamein interfaceFileUploadPopup.Presenter
-
-