Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/event/logical/shared/BeforeShowEvent.java

Diff revisions: vs.
  @@ -1,48 +1,48 @@
1 - /*
2 - * Copyright 2008 Google Inc.
3 - *
4 - * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 - * use this file except in compliance with the License. You may obtain a copy of
6 - * the License at
7 - *
8 - * http://www.apache.org/licenses/LICENSE-2.0
9 - *
10 - * Unless required by applicable law or agreed to in writing, software
11 - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 - * License for the specific language governing permissions and limitations under
14 - * the License.
15 - */
16 - package com.google.gwt.gen2.event.logical.shared;
17 -
18 - import com.google.gwt.gen2.event.shared.*;
19 -
20 - /**
21 - * Fired directly before an event source's contents are shown.
22 - *
23 - * @deprecated use the com.google.gwt.event.logical.shared classes instead
24 - */
25 - @Deprecated
26 - public class BeforeShowEvent extends AbstractEvent {
27 -
28 - /**
29 - * Event type for {@link BeforeShowEvent}.
30 - */
31 - public static final Type<BeforeShowEvent, BeforeShowHandler> TYPE = new Type<BeforeShowEvent, BeforeShowHandler>() {
32 - @Override
33 - protected void fire( BeforeShowHandler handler, BeforeShowEvent event ) {
34 - handler.onBeforeShow( event );
35 - }
36 - };
37 -
38 - /**
39 - * Constructor.
40 - */
41 - public BeforeShowEvent() {
42 - }
43 -
44 - @Override
45 - protected Type getType() {
46 - return TYPE;
47 - }
48 - }
1 + /*
2 + * Copyright 2008 Google Inc.
3 + *
4 + * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 + * use this file except in compliance with the License. You may obtain a copy of
6 + * the License at
7 + *
8 + * http://www.apache.org/licenses/LICENSE-2.0
9 + *
10 + * Unless required by applicable law or agreed to in writing, software
11 + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 + * License for the specific language governing permissions and limitations under
14 + * the License.
15 + */
16 + package com.google.gwt.gen2.event.logical.shared;
17 +
18 + import com.google.gwt.gen2.event.shared.*;
19 +
20 + /**
21 + * Fired directly before an event source's contents are shown.
22 + *
23 + * @deprecated use the com.google.gwt.event.logical.shared classes instead
24 + */
25 + @Deprecated
26 + public class BeforeShowEvent extends AbstractEvent {
27 +
28 + /**
29 + * Event type for {@link BeforeShowEvent}.
30 + */
31 + public static final Type<BeforeShowEvent, BeforeShowHandler> TYPE = new Type<BeforeShowEvent, BeforeShowHandler>() {
32 + @Override
33 + protected void fire( BeforeShowHandler handler, BeforeShowEvent event ) {
34 + handler.onBeforeShow( event );
35 + }
36 + };
37 +
38 + /**
39 + * Constructor.
40 + */
41 + public BeforeShowEvent() {
42 + }
43 +
44 + @Override
45 + protected Type getType() {
46 + return TYPE;
47 + }
48 + }