@Dependent public class FileUploadPopupPresenter extends Object implements FileUploadPopup.Presenter
Modifier and Type | Field and Description |
---|---|
protected FileUploadPopup |
fileUploadPopup |
protected ViewsProvider |
viewsProvider |
Constructor and Description |
---|
FileUploadPopupPresenter() |
Modifier and Type | Method and Description |
---|---|
String |
getFileContents() |
String |
getFileName() |
void |
hide()
Makes this popup container(and the main content along with it) invisible.
|
void |
show(List<String> acceptedExtension,
String mainTitleText,
String okButtonText,
org.uberfire.mvp.Command okCommand)
Same as default show method but with list of accepted extensions
|
void |
show(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 uploadWarningText
|
void |
show(String mainTitleText,
String okButtonText,
org.uberfire.mvp.Command okCommand)
Makes the
ScenarioPopup visible with OK/Cancel buttons. |
@Inject protected ViewsProvider viewsProvider
protected FileUploadPopup fileUploadPopup
public void show(String mainTitleText, String okButtonText, org.uberfire.mvp.Command okCommand)
AbstractScenarioPopup.Presenter
ScenarioPopup
visible with OK/Cancel buttons.show
in interface AbstractScenarioPopup.Presenter
public void show(List<String> acceptedExtension, String mainTitleText, String okButtonText, org.uberfire.mvp.Command okCommand)
FileUploadPopup.Presenter
show
in interface FileUploadPopup.Presenter
public void show(List<String> acceptedExtension, String mainTitleText, String uploadWarningText, String okButtonText, org.uberfire.mvp.Command okCommand)
FileUploadPopup.Presenter
show
in interface FileUploadPopup.Presenter
public void hide()
AbstractScenarioPopup.Presenter
hide
in interface AbstractScenarioPopup.Presenter
public String getFileContents()
getFileContents
in interface FileUploadPopup.Presenter
public String getFileName()
getFileName
in interface FileUploadPopup.Presenter
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.