diff -r b0b83267e407 xml.multiview/apichanges.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xml.multiview/apichanges.xml Wed Nov 19 13:32:01 2008 +0100 @@ -0,0 +1,129 @@ + + + + + + + + + + + + + XML Multiview UI API + + + + + + + + Support for labels with mnemonics defined via & escape characters. + + + + + +

+ New constructor added to SimpleDialogPanel class to support + labels with mnemonics defined via & escape characters + (e.g. "T&est label"). +

+
+ + +
+
+ + + + + + + XML Multiview Editor changes by date + + + + + + +

Introduction

+ +

This document lists changes made to the XML Multiview Editor APIs. Please ask on the +dev@java.netbeans.org or nbdev@netbeans.org +mailing list if you have any questions about the details of a +change, or are wondering how to convert existing code to be compatible.

+ +
+ +

@FOOTER@

+ + +
+
diff -r b0b83267e407 xml.multiview/nbproject/project.properties --- a/xml.multiview/nbproject/project.properties Wed Nov 19 16:23:09 2008 +0530 +++ b/xml.multiview/nbproject/project.properties Wed Nov 19 13:32:01 2008 +0100 @@ -38,7 +38,7 @@ # made subject to such option by the copyright holder. javadoc.arch=${basedir}/arch.xml -spec.version.base=1.9.0 +spec.version.base=1.10.0 is.autoload=true test.unit.cp.extra= diff -r b0b83267e407 xml.multiview/src/org/netbeans/modules/xml/multiview/ui/SimpleDialogPanel.java --- a/xml.multiview/src/org/netbeans/modules/xml/multiview/ui/SimpleDialogPanel.java Wed Nov 19 16:23:09 2008 +0530 +++ b/xml.multiview/src/org/netbeans/modules/xml/multiview/ui/SimpleDialogPanel.java Wed Nov 19 13:32:01 2008 +0100 @@ -70,7 +70,7 @@ */ public SimpleDialogPanel(DialogDescriptor desc) { super(); - initComponents(desc.getLabels(), desc.isTextField(), desc.getSize(), desc.getButtons(), desc.getMnemonics(), desc.getA11yDesc()); + initComponents(desc.getLabels(), desc.isTextField(), desc.getSize(), desc.getButtons(), desc.getMnemonics(), desc.getA11yDesc(), desc.includesMnemonics); String[] initValues = desc.getInitValues(); if (initValues!=null) for (int i=0;i *
  • labels = text array for text fields @@ -200,11 +213,16 @@ char[] mnem; String[] a11yDesc; int size; + boolean includesMnemonics; /** the constructor for DialogDescriptor object * @param labels labels names */ public DialogDescriptor(String[] labels) { + this(labels, false); + } + + public DialogDescriptor(String[] labels, boolean includesMnemonics) { this.labels=labels; size=25; adding=true; @@ -212,6 +230,7 @@ for (int i=0;i