mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-61836 map help IDs to dialog boxes
This commit is contained in:
@@ -208,6 +208,11 @@ class ApkStep extends ExportSignedPackageWizardStep {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getHelpId() {
|
||||
return "reference.android.reference.extract.signed.package.specify.apk.location";
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void commitForNext() throws CommitStepException {
|
||||
final String apkPath = myApkPathField.getText().trim();
|
||||
|
||||
@@ -64,6 +64,11 @@ class ChooseModuleStep extends ExportSignedPackageWizardStep {
|
||||
return (AndroidFacet)myModuleCombo.getSelectedItem();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getHelpId() {
|
||||
return "reference.android.reference.extract.signed.package.choose.module";
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void commitForNext() throws CommitStepException {
|
||||
if (myCheckModulePanel.hasError()) {
|
||||
|
||||
+4
@@ -130,6 +130,10 @@ public class ExportSignedPackageWizard extends AbstractWizard<ExportSignedPackag
|
||||
|
||||
@Override
|
||||
protected String getHelpID() {
|
||||
ExportSignedPackageWizardStep step = getCurrentStepObject();
|
||||
if (step != null) {
|
||||
return step.getHelpId();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
+2
@@ -41,6 +41,8 @@ public abstract class ExportSignedPackageWizardStep extends StepAdapter {
|
||||
return false;
|
||||
}
|
||||
|
||||
public abstract String getHelpId();
|
||||
|
||||
protected static void checkNewPassword(JPasswordField passwordField, JPasswordField confirmedPasswordField) throws CommitStepException {
|
||||
char[] password = passwordField.getPassword();
|
||||
char[] confirmedPassword = confirmedPasswordField.getPassword();
|
||||
|
||||
@@ -118,6 +118,11 @@ class InitialKeyStep extends ExportSignedPackageWizardStep {
|
||||
myWizard.setCertificate((X509Certificate)certificate);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getHelpId() {
|
||||
return "reference.android.reference.extract.signed.package.specify.key";
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void commitForNext() throws CommitStepException {
|
||||
myWizard.setKeyAliasList(myAliasList);
|
||||
|
||||
@@ -148,6 +148,11 @@ class KeystoreStep extends ExportSignedPackageWizardStep {
|
||||
return myContentPanel;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getHelpId() {
|
||||
return "reference.android.reference.extract.signed.package.specify.keystore";
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void commitForNext() throws CommitStepException {
|
||||
String keyStoreLocation = myKeystoreLocationField.getText().trim();
|
||||
|
||||
@@ -91,6 +91,11 @@ public class NewKeyStep extends ExportSignedPackageWizardStep {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getHelpId() {
|
||||
return "reference.android.reference.extract.signed.package.create.key";
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void commitForNext() throws CommitStepException {
|
||||
if (myAliasField.getText().trim().length() == 0) {
|
||||
|
||||
Reference in New Issue
Block a user