-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dbeaver/dbeaver#20602 load controls for extra pages #22616
base: devel
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -28,4 +28,17 @@ public interface IDialogPageProvider { | |||||
@Nullable | ||||||
IDialogPage[] getDialogPages(boolean extrasOnly, boolean forceCreate); | ||||||
|
||||||
/** | ||||||
* Pages what should be saved during creation, even if they were | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
* never opened | ||||||
* | ||||||
* @return array of IDialogPage[] to create at the initialisation, | ||||||
* null if no additional pages should be created. | ||||||
*/ | ||||||
@Nullable | ||||||
default IDialogPage[] getRequiredDialogPages() { | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Method name is not descriptive enough. I couldn't understand what does it mean, until I read the comment. I'd propose something like |
||||||
return null; | ||||||
} | ||||||
|
||||||
|
||||||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I doubt about calling this method
create..
. I would rather expact to call it likeload..
or smth like that. Yes, you call createControl method, but the control is not visible and so on..