diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-15 16:17:25 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-25 13:47:25 +0200 |
commit | 83636d2c09802aeeb1b30078022d228d04da21eb (patch) | |
tree | 8a0c619e16c1f6b5388939d5da2956f7ef758c19 /scripting/java/org/openoffice/netbeans/modules/office | |
parent | dbaccess: C2668: ambiguous call to overloaded function (diff) | |
download | core-83636d2c09802aeeb1b30078022d228d04da21eb.tar.gz core-83636d2c09802aeeb1b30078022d228d04da21eb.zip |
java: when rethrowing exceptions, store the original cause
so that we get a nice complete stacktrace when it hits the final
handler
Change-Id: Iec4fcc15a2a25c55f591b5e069dce3d010197a90
Diffstat (limited to 'scripting/java/org/openoffice/netbeans/modules/office')
3 files changed, 0 insertions, 42 deletions
diff --git a/scripting/java/org/openoffice/netbeans/modules/office/wizard/InstallationPathDescriptor.java b/scripting/java/org/openoffice/netbeans/modules/office/wizard/InstallationPathDescriptor.java index 137d1a21ca6f..46147272eb83 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/wizard/InstallationPathDescriptor.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/wizard/InstallationPathDescriptor.java @@ -50,26 +50,6 @@ public class InstallationPathDescriptor extends WizardDescriptor { putProperty("WizardPanel_autoWizardStyle", Boolean.TRUE); // NOI18N // Make the left pane show list of steps etc.: putProperty("WizardPanel_contentDisplayed", Boolean.TRUE); // NOI18N - // Number the steps. - // putProperty("WizardPanel_contentNumbered", Boolean.TRUE); // NOI18N - /* - // Optional: make nonmodal. - setModal(false); - // (If you make the wizard nonmodal, you will call it differently; - // see InstallationPathAction for instructions.) - // Optional: show a help tab with special info about the pane: - putProperty("WizardPanel_helpDisplayed", Boolean.TRUE); // NOI18N - // Optional: set the size of the left pane explicitly: - putProperty("WizardPanel_leftDimension", new Dimension(100, 400)); // NOI18N - // Optional: if you want a special background image for the left pane: - try { - putProperty("WizardPanel_image", // NOI18N - Toolkit.getDefaultToolkit().getImage - (new URL("nbresloc:/org/openoffice/netbeans/modules/office/wizard/InstallationPathImage.gif"))); // NOI18N - } catch (MalformedURLException mfue) { - throw new IllegalStateException(mfue.toString()); - } - */ } // Called when user moves forward or backward etc.: diff --git a/scripting/java/org/openoffice/netbeans/modules/office/wizard/ParcelPropertiesVisualPanel.java b/scripting/java/org/openoffice/netbeans/modules/office/wizard/ParcelPropertiesVisualPanel.java index f9f529e9763d..bdb25bd02fb3 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/wizard/ParcelPropertiesVisualPanel.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/wizard/ParcelPropertiesVisualPanel.java @@ -40,17 +40,6 @@ public class ParcelPropertiesVisualPanel extends javax.swing.JPanel { // Provide a name in the title bar. setName(NbBundle.getMessage(ParcelPropertiesVisualPanel.class, "TITLE_ParcelPropertiesVisualPanel")); - /* - // Optional: provide a special description for this pane. - // You must have turned on WizardDescriptor.WizardPanel_helpDisplayed - // (see descriptor in standard iterator template for an example of this). - try { - putClientProperty("WizardPanel_helpURL", // NOI18N - new URL("nbresloc:/org/openoffice/netbeans/modules/office/wizard/ParcelPropertiesVisualHelp.html")); // NOI18N - } catch (MalformedURLException mfue) { - throw new IllegalStateException(mfue.toString()); - } - */ } /** This method is called from within the constructor to diff --git a/scripting/java/org/openoffice/netbeans/modules/office/wizard/SelectPathVisualPanel.java b/scripting/java/org/openoffice/netbeans/modules/office/wizard/SelectPathVisualPanel.java index 9351760c77a0..3853944e72fe 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/wizard/SelectPathVisualPanel.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/wizard/SelectPathVisualPanel.java @@ -72,17 +72,6 @@ public class SelectPathVisualPanel extends javax.swing.JPanel { // Provide a name in the title bar. setName(NbBundle.getMessage(SelectPathVisualPanel.class, "TITLE_SelectPathVisualPanel")); - /* - // Optional: provide a special description for this pane. - // You must have turned on WizardDescriptor.WizardPanel_helpDisplayed - // (see descriptor in standard iterator template for an example of this). - try { - putClientProperty("WizardPanel_helpURL", // NOI18N - new URL("nbresloc:/org/openoffice/netbeans/modules/office/wizard/SelectPathVisualHelp.html")); // NOI18N - } catch (MalformedURLException mfue) { - throw new IllegalStateException(mfue.toString()); - } - */ } private void installationsComboBoxActionPerformed( |