summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/ui/event/CommonListener.py
diff options
context:
space:
mode:
authorJavier Fernandez <jfernandez@igalia.com>2013-05-03 14:21:23 +0000
committerJavier Fernandez <jfernandez@igalia.com>2013-05-08 09:36:39 +0000
commit8583086da2b982699e254126585a4d9abdf23766 (patch)
treeade4515d5ef8de303135a55ece3883a26b462542 /wizards/com/sun/star/wizards/ui/event/CommonListener.py
parent3fe37133401faef81b09c9bb59b6e57b61931fe9 (diff)
PyWebWizard: Fixing bugs and implementation of mising features.
Implementing the Iconset and Background selection dialogs. - Using the new ListModel interface. - Connected the ListModelListeners. - Implemented the Renderer capabilities. Change-Id: I7a4003db662dbae14b7e1a45d21685776a58d2c3
Diffstat (limited to 'wizards/com/sun/star/wizards/ui/event/CommonListener.py')
-rw-r--r--wizards/com/sun/star/wizards/ui/event/CommonListener.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/wizards/com/sun/star/wizards/ui/event/CommonListener.py b/wizards/com/sun/star/wizards/ui/event/CommonListener.py
index 4883a1617706..9c61db8b4924 100644
--- a/wizards/com/sun/star/wizards/ui/event/CommonListener.py
+++ b/wizards/com/sun/star/wizards/ui/event/CommonListener.py
@@ -93,3 +93,20 @@ class KeyListenerProcAdapter( unohelper.Base, XKeyListener ):
def keyPressed(self, KeyEvent):
if callable( self.oProcToCall ):
self.oProcToCall(KeyEvent)
+
+ def disposing(self, Event):
+ # TODO: Implement ?
+ pass
+
+from com.sun.star.awt import XMouseListener
+class OMouseListenerProcAdapter( unohelper.Base, XMouseListener ):
+ def __init__(self, oProcToCall):
+ self.oProcToCall = oProcToCall
+
+ def mousePressed(self, MouseEvent):
+ if callable( self.oProcToCall ):
+ self.oProcToCall(MouseEvent)
+
+ def disposing(self, Event):
+ # TODO: Implement ?
+ pass