@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(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.PresenterScenarioPopup visible with OK/Cancel buttons.show in interface AbstractScenarioPopup.Presenterpublic void show(List<String> acceptedExtension, String mainTitleText, String okButtonText, org.uberfire.mvp.Command okCommand)
FileUploadPopup.Presentershow in interface FileUploadPopup.Presenterpublic void hide()
AbstractScenarioPopup.Presenterhide in interface AbstractScenarioPopup.Presenterpublic String getFileContents()
getFileContents in interface FileUploadPopup.Presenterpublic String getFileName()
getFileName in interface FileUploadPopup.PresenterCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.