| NewEntryAction | back to summary
|
|---|
| public NewEntryAction(boolean createImmediately, Supplier<LibraryTab> tabSupplier, DialogService dialogService, GuiPreferences preferences, StateManager stateManager) Launches a tool for creating new entries.
If createImmediately is true, a new entry will be immediately be created (using the last-selected entry type
from the tool dialog was last run with).
If createImmediately is false, a dialog will appear asking the user to specify inputs for the new entry.
|
| NewEntryAction | back to summary
|
|---|
| public NewEntryAction(NewEntryDialogTab approach, Supplier<LibraryTab> tabSupplier, DialogService dialogService, GuiPreferences preferences, StateManager stateManager) Launches a dialog asking the user for inputs for the new entry to create.
This dialog initially opens to the tab specified by approach. If approach is null, then the last-used tab
from previous use of the tool is restored.
|
| NewEntryAction | back to summary
|
|---|
| public NewEntryAction(EntryType immediateType, Supplier<LibraryTab> tabSupplier, DialogService dialogService, GuiPreferences preferences, StateManager stateManager) Directly creates a new empty entry of the type immediateType, without opening a dialog for the user to provide
inputs.
If immediateType is null, the last-selected immediate type from the previous use of the tool to create an empty
instance of a particular type is used (the Article standard entry type by default).
|