@Override
protected void doOnRemove(FileInfo fileInfo) {
if (mediator.getProject() != null
/*&& fileInfo.getFile().equals(mediator.getProject().getMainFile()) */ ) {
FileDeletedDialog dialog = new FileDeletedDialog(Application.getFrame());
dialog.show();
if (dialog.shouldSave()) {
Application
.getInstance()
.getAction(SaveAction.getActionName())