mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
help ids fixed
This commit is contained in:
@@ -169,7 +169,7 @@ public class AdvancedSettingsUI implements Configurable {
|
||||
}
|
||||
|
||||
public String getHelpTopic() {
|
||||
return null;
|
||||
return "reference.settings.injection.advanced";
|
||||
}
|
||||
|
||||
private static class BrowseClassListener implements ActionListener {
|
||||
|
||||
+1
-1
@@ -150,7 +150,7 @@ public class JavaLanguageInjectionSupport extends AbstractLanguageInjectionSuppo
|
||||
final AbstractInjectionPanel panel = new MethodParameterPanel(methodParameterInjection, project);
|
||||
panel.reset();
|
||||
final DialogBuilder builder = new DialogBuilder(project);
|
||||
builder.setHelpId("reference.settings.injection.language.injection.settings");
|
||||
builder.setHelpId("reference.settings.injection.language.injection.settings.java.parameter");
|
||||
builder.addOkAction();
|
||||
builder.addCancelAction();
|
||||
builder.setCenterPanel(panel.getComponent());
|
||||
|
||||
+3
-2
@@ -138,17 +138,18 @@ public class XmlLanguageInjectionSupport extends AbstractLanguageInjectionSuppor
|
||||
|
||||
@Nullable
|
||||
private AbstractTagInjection showInjectionUI(final Project project, final BaseInjection xmlInjection) {
|
||||
final DialogBuilder builder = new DialogBuilder(project);
|
||||
final AbstractInjectionPanel panel;
|
||||
if (xmlInjection instanceof XmlTagInjection) {
|
||||
panel = new XmlTagPanel((XmlTagInjection)xmlInjection, project);
|
||||
builder.setHelpId("reference.settings.injection.language.injection.settings.xml.tag");
|
||||
}
|
||||
else if (xmlInjection instanceof XmlAttributeInjection) {
|
||||
panel = new XmlAttributePanel((XmlAttributeInjection)xmlInjection, project);
|
||||
builder.setHelpId("reference.settings.injection.language.injection.settings.xml.attribute");
|
||||
}
|
||||
else throw new AssertionError();
|
||||
panel.reset();
|
||||
final DialogBuilder builder = new DialogBuilder(project);
|
||||
builder.setHelpId("reference.settings.injection.language.injection.settings");
|
||||
builder.addOkAction();
|
||||
builder.addCancelAction();
|
||||
builder.setCenterPanel(panel.getComponent());
|
||||
|
||||
Reference in New Issue
Block a user