summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun/star/wizards/ui/event/UnoDataAware.java')
-rw-r--r--wizards/com/sun/star/wizards/ui/event/UnoDataAware.java37
1 files changed, 0 insertions, 37 deletions
diff --git a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java
index 310c83ec0a28..0ef03552b00b 100644
--- a/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java
+++ b/wizards/com/sun/star/wizards/ui/event/UnoDataAware.java
@@ -120,43 +120,6 @@ public class UnoDataAware extends DataAware
return Helper.getUnoPropertyValue(unoModel, unoPropName);
}
- private static UnoDataAware attachTextControl(Object data, String prop, Object unoText, final Listener listener, String unoProperty, boolean field, Object value)
- {
- XTextComponent text = UnoRuntime.queryInterface(XTextComponent.class, unoText);
- final UnoDataAware uda = new UnoDataAware(data,
- field
- ? DataAwareFields.getFieldValueFor(data, prop, value)
- : new DataAware.PropertyValue(prop, data),
- text, unoProperty);
- text.addTextListener(new XTextListener()
- {
-
- public void textChanged(TextEvent te)
- {
- uda.updateData();
- if (listener != null)
- {
- listener.eventPerformed(te);
- }
- }
-
- public void disposing(EventObject eo)
- {
- }
- });
- return uda;
- }
-
-
-
-
-
-
-
-
-
-
-
static XItemListener itemListener(final DataAware da, final Listener listener)
{
return new XItemListener()