mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
WI-17281 Allow to provide help by project generators
This commit is contained in:
@@ -46,6 +46,11 @@ public abstract class WebProjectGenerator<T> implements DirectoryProjectGenerato
|
||||
|
||||
public abstract String getDescription();
|
||||
|
||||
@Nullable
|
||||
public String getHelpId() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public final T showGenerationSettings(VirtualFile baseDir) throws ProcessCanceledException {
|
||||
@@ -124,6 +129,12 @@ public abstract class WebProjectGenerator<T> implements DirectoryProjectGenerato
|
||||
init();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
protected String getHelpId() {
|
||||
return WebProjectGenerator.this.getHelpId();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean postponeValidation() {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user