diff options
author | Javier Fernandez <jfernandez@igalia.com> | 2013-05-03 14:21:23 +0000 |
---|---|---|
committer | Javier Fernandez <jfernandez@igalia.com> | 2013-05-08 09:36:39 +0000 |
commit | 8583086da2b982699e254126585a4d9abdf23766 (patch) | |
tree | ade4515d5ef8de303135a55ece3883a26b462542 /wizards/com/sun/star/wizards/ui/event/CommonListener.py | |
parent | 3fe37133401faef81b09c9bb59b6e57b61931fe9 (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.py | 17 |
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 |