summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-01-26 16:22:18 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-01-26 16:22:18 +0000
commit2b2ce2ee59c6f4f0bffd370546c785311d0e56b4 (patch)
tree1226f075883e083c827144d5b3ea312ad4bf9c5b /wizards
parent45547a38f53054dd7fee2a1a7861f768c8596e84 (diff)
INTEGRATION: CWS qwizardspp2 (1.11.24); FILE MERGED
2006/01/12 16:15:31 bc 1.11.24.1: #i59756# new Itemlistener added to WWD_Startup.java
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/ui/UnoDialog.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/ui/UnoDialog.java b/wizards/com/sun/star/wizards/ui/UnoDialog.java
index de38b8bec010..66b811f0613f 100644
--- a/wizards/com/sun/star/wizards/ui/UnoDialog.java
+++ b/wizards/com/sun/star/wizards/ui/UnoDialog.java
@@ -4,9 +4,9 @@
*
* $RCSfile: UnoDialog.java,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 09:48:56 $
+ * last change: $Author: hr $ $Date: 2006-01-26 17:22:18 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -240,6 +240,11 @@ public class UnoDialog implements EventNames {
return ipos[0];
}
+ public static boolean isListBoxSelected(XListBox _xListBox){
+ short ipos[] = (short[]) Helper.getUnoPropertyValue(getModel(_xListBox), "SelectedItems");
+ return ipos.length > 0;
+ }
+
public void addSingleItemtoListbox(XListBox xListBox, String ListItem, short iSelIndex) {
xListBox.addItem(ListItem, xListBox.getItemCount());