summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Fernandez <jfernandez@igalia.com>2013-05-03 14:31:43 +0000
committerJavier Fernandez <jfernandez@igalia.com>2013-05-08 09:36:39 +0000
commit6ea3813ce9956605d1240d070403818d35f47e58 (patch)
tree84c2a034f359e7ae39299b395eb36e9374a01d72
parentd6f1c31e8aa2b84f11a6b96fd2ca69136908cfd9 (diff)
PyWebWizard: Fixing bugs and implementation of mising features.
Added dummy methods to some of the Listeners because of exceptions. Change-Id: Ida7c27c266228c8fd9d569daf326163a90f31e2b
-rw-r--r--wizards/com/sun/star/wizards/ui/event/CommonListener.py40
1 files changed, 40 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 9c61db8b4924..78c4f2a5bbfa 100644
--- a/wizards/com/sun/star/wizards/ui/event/CommonListener.py
+++ b/wizards/com/sun/star/wizards/ui/event/CommonListener.py
@@ -26,6 +26,10 @@ class ActionListenerProcAdapter( unohelper.Base, XActionListener ):
if callable( self.oProcToCall ):
self.oProcToCall()
+ def disposing(self, Event):
+ # TODO: Implement ?
+ pass
+
from com.sun.star.awt import XItemListener
class ItemListenerProcAdapter( unohelper.Base, XItemListener ):
def __init__(self, oProcToCall):
@@ -38,6 +42,10 @@ class ItemListenerProcAdapter( unohelper.Base, XItemListener ):
except:
self.oProcToCall(oItemEvent)
+ def disposing(self, Event):
+ # TODO: Implement ?
+ pass
+
from com.sun.star.awt import XTextListener
class TextListenerProcAdapter( unohelper.Base, XTextListener ):
def __init__(self, oProcToCall):
@@ -47,6 +55,10 @@ class TextListenerProcAdapter( unohelper.Base, XTextListener ):
if callable( self.oProcToCall ):
self.oProcToCall()
+ def disposing(self, Event):
+ # TODO: Implement ?
+ pass
+
from com.sun.star.frame import XTerminateListener
class TerminateListenerProcAdapter( unohelper.Base, XTerminateListener ):
def __init__(self, oProcToCall):
@@ -67,6 +79,22 @@ class WindowListenerProcAdapter( unohelper.Base, XWindowListener ):
if callable( self.oProcToCall ):
self.oProcToCall()
+ def windowHidden(self, Event):
+ # TODO: Implement ?
+ pass
+
+ def windowResized(self, Event):
+ # TODO: Implement ?
+ pass
+
+ def windowMoved(self, Event):
+ # TODO: Implement ?
+ pass
+
+ def disposing(self, Event):
+ # TODO: Implement ?
+ pass
+
from com.sun.star.awt import XAdjustmentListener
class AdjustmentListenerProcAdapter( unohelper.Base, XAdjustmentListener ):
def __init__(self, oProcToCall):
@@ -107,6 +135,18 @@ class OMouseListenerProcAdapter( unohelper.Base, XMouseListener ):
if callable( self.oProcToCall ):
self.oProcToCall(MouseEvent)
+ def mouseEntered(self, MouseEvent):
+ # TODO: Implement ?
+ pass
+
+ def mouseExited(self, MouseEvent):
+ # TODO: Implement ?
+ pass
+
+ def mouseReleased(self, MouseEvent):
+ # TODO: Implement ?
+ pass
+
def disposing(self, Event):
# TODO: Implement ?
pass