Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/nonpublic/external/PreventSelectionControllerStandard.java

Diff revisions: vs.
  @@ -19,16 +19,13 @@
19 19 import com.google.gwt.user.client.*;
20 20 import com.google.gwt.user.client.ui.*;
21 21
22 - public class PreventSelectionControllerStandard extends PreventSelectionController
23 - {
24 - public PreventSelectionControllerStandard()
25 - {
22 + public class PreventSelectionControllerStandard extends PreventSelectionController {
23 + public PreventSelectionControllerStandard() {
26 24 super( Event.ONMOUSEDOWN );
27 25 }
28 26
29 27 @Override
30 - public void onBrowserEvent( Widget widget, Event event )
31 - {
28 + public void onBrowserEvent( Widget widget, Event event ) {
32 29 // prevents text selection in Mozilla, Safari & Opera
33 30 DOM.eventPreventDefault( event );
34 31 }