Skip to content

Commit

Permalink
Document confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed May 2, 2021
1 parent 934f0cc commit 1c8fcbb
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.in
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,21 @@ final var configuration =
.build();
```

#### Confirmation

The file chooser can optionally prompt for confirmation of the selection of
files when in `CREATE` mode.

```
final var configuration =
JWFileChooserConfiguration.builder()
.setAction(CREATE)
.setConfirmFileSelection(true)
.build();
```

![Confirmation](./src/site/resources/confirm.png?raw=true)

#### Recent Items

The file chooser can display a list of recently used items. It is the responsibility of
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,21 @@ final var configuration =
.build();
```

#### Confirmation

The file chooser can optionally prompt for confirmation of the selection of
files when in `CREATE` mode.

```
final var configuration =
JWFileChooserConfiguration.builder()
.setAction(CREATE)
.setConfirmFileSelection(true)
.build();
```

![Confirmation](./src/site/resources/confirm.png?raw=true)

#### Recent Items

The file chooser can display a list of recently used items. It is the responsibility of
Expand Down
Binary file added src/site/resources/confirm.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1c8fcbb

Please sign in to comment.