@Dependent public class RenamePopUpPresenter extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
RenamePopUpPresenter.View |
Constructor and Description |
---|
RenamePopUpPresenter(RenamePopUpPresenter.View view,
ToggleCommentPresenter toggleCommentPresenter) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
ToggleCommentPresenter |
getToggleCommentPresenter() |
RenamePopUpPresenter.View |
getView() |
void |
rename(String newName) |
void |
saveAndRename(String newName) |
void |
setup() |
void |
show(Path path,
CommandWithFileNameAndCommitMessage renameCommand) |
void |
show(Path path,
CommandWithFileNameAndCommitMessage renameCommand,
String originalFileName) |
void |
show(Path path,
Validator validator,
boolean isDirty,
CommandWithFileNameAndCommitMessage renameCommand,
CommandWithFileNameAndCommitMessage saveAndRenameCommand) |
void |
show(Path path,
Validator validator,
CommandWithFileNameAndCommitMessage renameCommand) |
void |
show(Path path,
Validator validator,
CommandWithFileNameAndCommitMessage renameCommand,
CommandWithFileNameAndCommitMessage saveAndRenameCommand,
boolean isDirty,
String originalFileName) |
@Inject public RenamePopUpPresenter(RenamePopUpPresenter.View view, ToggleCommentPresenter toggleCommentPresenter)
public void show(Path path, Validator validator, CommandWithFileNameAndCommitMessage renameCommand, CommandWithFileNameAndCommitMessage saveAndRenameCommand, boolean isDirty, String originalFileName)
public void show(Path path, CommandWithFileNameAndCommitMessage renameCommand, String originalFileName)
public void show(Path path, Validator validator, CommandWithFileNameAndCommitMessage renameCommand)
public void show(Path path, Validator validator, boolean isDirty, CommandWithFileNameAndCommitMessage renameCommand, CommandWithFileNameAndCommitMessage saveAndRenameCommand)
public void show(Path path, CommandWithFileNameAndCommitMessage renameCommand)
@PostConstruct public void setup()
public void rename(String newName)
public void saveAndRename(String newName)
public void cancel()
public RenamePopUpPresenter.View getView()
public ToggleCommentPresenter getToggleCommentPresenter()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.