mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Use help id from ServerType when there is no any other ServerTypes.
RUBY-18227 Map help button of the Heroku settings dialog
This commit is contained in:
+8
-1
@@ -190,7 +190,14 @@ public class RemoteServerListConfigurable extends MasterDetailsComponent impleme
|
||||
|
||||
@Override
|
||||
public String getHelpTopic() {
|
||||
return ObjectUtils.notNull(super.getHelpTopic(), "reference.settings.clouds");
|
||||
String result = super.getHelpTopic();
|
||||
if (result == null) {
|
||||
ServerType<?> singleServerType = getSingleServerType();
|
||||
if (singleServerType != null) {
|
||||
return singleServerType.getHelpTopic();
|
||||
}
|
||||
}
|
||||
return "reference.settings.clouds";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user