| Modifier and Type | Field and Description |
|---|---|
| private final DialogService | |
| private static final Logger | |
| private final PreferencesService | |
| private final Supplier | |
| private Optional | type
The type of the entry to create. |
| Access | Constructor and Description |
|---|---|
| public | NewEntryAction(Supplier<LibraryTab> tabSupplier, DialogService dialogService, PreferencesService preferences, StateManager stateManager)
|
| public | NewEntryAction(Supplier<LibraryTab> tabSupplier, EntryType type, DialogService dialogService, PreferencesService preferences, StateManager stateManager)
|
| Modifier and Type | Method and Description |
|---|---|
| public void |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| preferences | back to summary |
|---|---|
| private final PreferencesService preferences | |
| tabSupplier | back to summary |
|---|---|
| private final Supplier<LibraryTab> tabSupplier | |
| type | back to summary |
|---|---|
| private Optional<EntryType> type The type of the entry to create. | |
| NewEntryAction | back to summary |
|---|---|
| public NewEntryAction(Supplier<LibraryTab> tabSupplier, DialogService dialogService, PreferencesService preferences, StateManager stateManager) | |
| NewEntryAction | back to summary |
|---|---|
| public NewEntryAction(Supplier<LibraryTab> tabSupplier, EntryType type, DialogService dialogService, PreferencesService preferences, StateManager stateManager) | |
| execute | back to summary |
|---|---|
public void execute()
| |