Class RenamePopUpPresenter
- java.lang.Object
-
- org.uberfire.ext.editor.commons.client.file.popups.RenamePopUpPresenter
-
@Dependent public class RenamePopUpPresenter extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRenamePopUpPresenter.View
-
Constructor Summary
Constructors Constructor Description RenamePopUpPresenter(RenamePopUpPresenter.View view, ToggleCommentPresenter toggleCommentPresenter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()ToggleCommentPresentergetToggleCommentPresenter()RenamePopUpPresenter.ViewgetView()voidrename(String newName)voidsaveAndRename(String newName)voidsetup()voidshow(org.uberfire.backend.vfs.Path path, CommandWithFileNameAndCommitMessage renameCommand)voidshow(org.uberfire.backend.vfs.Path path, CommandWithFileNameAndCommitMessage renameCommand, String originalFileName)voidshow(org.uberfire.backend.vfs.Path path, Validator validator, boolean isDirty, CommandWithFileNameAndCommitMessage renameCommand, CommandWithFileNameAndCommitMessage saveAndRenameCommand)voidshow(org.uberfire.backend.vfs.Path path, Validator validator, CommandWithFileNameAndCommitMessage renameCommand)voidshow(org.uberfire.backend.vfs.Path path, Validator validator, CommandWithFileNameAndCommitMessage renameCommand, CommandWithFileNameAndCommitMessage saveAndRenameCommand, boolean isDirty, String originalFileName)
-
-
-
Constructor Detail
-
RenamePopUpPresenter
@Inject public RenamePopUpPresenter(RenamePopUpPresenter.View view, ToggleCommentPresenter toggleCommentPresenter)
-
-
Method Detail
-
show
public void show(org.uberfire.backend.vfs.Path path, Validator validator, CommandWithFileNameAndCommitMessage renameCommand, CommandWithFileNameAndCommitMessage saveAndRenameCommand, boolean isDirty, String originalFileName)
-
show
public void show(org.uberfire.backend.vfs.Path path, CommandWithFileNameAndCommitMessage renameCommand, String originalFileName)
-
show
public void show(org.uberfire.backend.vfs.Path path, Validator validator, CommandWithFileNameAndCommitMessage renameCommand)
-
show
public void show(org.uberfire.backend.vfs.Path path, Validator validator, boolean isDirty, CommandWithFileNameAndCommitMessage renameCommand, CommandWithFileNameAndCommitMessage saveAndRenameCommand)
-
show
public void show(org.uberfire.backend.vfs.Path path, CommandWithFileNameAndCommitMessage renameCommand)
-
setup
@PostConstruct public void setup()
-
rename
public void rename(String newName)
-
saveAndRename
public void saveAndRename(String newName)
-
cancel
public void cancel()
-
getView
public RenamePopUpPresenter.View getView()
-
getToggleCommentPresenter
public ToggleCommentPresenter getToggleCommentPresenter()
-
-