Class RestorePopUpPresenter
- java.lang.Object
-
- org.uberfire.ext.editor.commons.client.file.popups.RestorePopUpPresenter
-
@Dependent public class RestorePopUpPresenter extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRestorePopUpPresenter.View
-
Constructor Summary
Constructors Constructor Description RestorePopUpPresenter(RestorePopUpPresenter.View view, org.uberfire.ext.widgets.common.client.common.BusyIndicatorView busyIndicatorView, org.jboss.errai.common.client.api.Caller<org.uberfire.ext.editor.commons.version.VersionService> versionService, javax.enterprise.event.Event<org.uberfire.ext.editor.commons.version.events.RestoreEvent> restoreEvent, RestoreUtil restoreUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()voidrestore()org.uberfire.mvp.ParameterizedCommand<String>restoreCommand(org.uberfire.backend.vfs.ObservablePath currentPath, String currentVersionRecordUri, String branchName)voidsetup()voidshow(org.uberfire.backend.vfs.ObservablePath currentPath, String currentVersionRecordUri, String branchName)
-
-
-
Field Detail
-
command
protected org.uberfire.mvp.ParameterizedCommand<String> command
-
-
Constructor Detail
-
RestorePopUpPresenter
@Inject public RestorePopUpPresenter(RestorePopUpPresenter.View view, org.uberfire.ext.widgets.common.client.common.BusyIndicatorView busyIndicatorView, org.jboss.errai.common.client.api.Caller<org.uberfire.ext.editor.commons.version.VersionService> versionService, javax.enterprise.event.Event<org.uberfire.ext.editor.commons.version.events.RestoreEvent> restoreEvent, RestoreUtil restoreUtil)
-
-
Method Detail
-
setup
@PostConstruct public void setup()
-
restore
public void restore()
-
show
public void show(org.uberfire.backend.vfs.ObservablePath currentPath, String currentVersionRecordUri, String branchName)
-
cancel
public void cancel()
-
-