Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -23,24 +23,20 @@
23 23 * the controller via deferred binding.
24 24 * <p>This controller prevents text selection within it's associated widget.
25 25 */
26 - public abstract class PreventSelectionController extends ControllerAdaptor
27 - {
26 + public abstract class PreventSelectionController extends ControllerAdaptor {
28 27 private static PreventSelectionController sInstance;
29 28
30 29 /**
31 30 * Gets a shared instance of the controller.
32 31 */
33 - public static PreventSelectionController getInstance()
34 - {
35 - if ( sInstance == null )
36 - {
32 + public static PreventSelectionController getInstance() {
33 + if ( sInstance == null ) {
37 34 sInstance = (PreventSelectionController) GWT.create( PreventSelectionController.class );
38 35 }
39 36 return sInstance;
40 37 }
41 38
42 - public PreventSelectionController( int eventBits )
43 - {
39 + public PreventSelectionController( int eventBits ) {
44 40 super( eventBits, PreventSelectionController.class );
45 41 }
46 42 }