Subversion Repository Public Repository

litesoft

Diff Revisions 23 vs 49 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/nonpublic/external/MouseDragHandler.java

Diff revisions: vs.
  @@ -1,19 +1,20 @@
1 + // This Source Code is Copyright & Licenced as indicated below
2 + package org.litesoft.GWT.client.widgets.nonpublic.external;
1 3 /*
2 4 * Copyright 2007 Mat Gessel <mat.gessel@gmail.com>
3 - *
5 + *
4 6 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 7 * use this file except in compliance with the License. You may obtain a copy of
6 8 * the License at
7 - *
9 + *
8 10 * http://www.apache.org/licenses/LICENSE-2.0
9 - *
11 + *
10 12 * Unless required by applicable law or agreed to in writing, software
11 13 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 14 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 15 * License for the specific language governing permissions and limitations under
14 16 * the License.
15 17 */
16 - package org.litesoft.GWT.client.widgets.nonpublic.external;
17 18
18 19 import com.google.gwt.core.client.*;
19 20 import com.google.gwt.user.client.*;
  @@ -122,14 +123,14 @@
122 123 {
123 124 @Override
124 125 public native void onMouseDown( Event event ) /*-{
125 - $doc.body.onselectstart = function() { return false; };
126 - $doc.body.ondragstart = function() { return false; };
127 - }-*/;
126 + $doc.body.onselectstart = function() { return false; };
127 + $doc.body.ondragstart = function() { return false; };
128 + }-*/;
128 129
129 130 @Override
130 131 public native void onMouseUp( Event event ) /*-{
131 - $doc.body.onselectstart = null;
132 - $doc.body.ondragstart = null;
133 - }-*/;
132 + $doc.body.onselectstart = null;
133 + $doc.body.ondragstart = null;
134 + }-*/;
134 135 }
135 136 }