package com.svenjacobs.gwtbootstrap3.client.shared.event;

import com.google.gwt.event.shared.GwtEvent;
import com.google.gwt.user.client.Event;
import com.svenjacobs.gwtbootstrap3.client.ui.Tooltip;

/*
 * #%L
 * GwtBootstrap3
 * %%
 * Copyright (C) 2013 Sven Jacobs
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #Limport com.google.gwt.event.shared.GwtEvent;
 import com.google.gwt.user.client.Event;
 import com.svenjacobs.gwtbootstrap3.client.ui.Tooltip;
 oltip;

 /**
 * @author Pontus Enmark
 */
public class TooltipHiddenEvent extends GwtEvent<TooltipHiddenHandler> implements TooltipEvent {

	private static final Type<TooltipHiddenHandler> TYPE = new Type<TooltipHiddenHandler>();

	private final Tooltip tooltip;
	private final Event nativeEvent;

	public static Type<TooltipHiddenHandler> getType() {
		return TYPE;
	}

	public TooltipHiddenEvent(final Tooltip tooltip, final Event nativeEvent) {
		this.tooltip = tooltip;
		this.nativeEvent = nativeEvent;
	}

	@Override
	public Tooltip getTooltip() {
		return tooltip;
	}

	@Override
	public Event getNativeEvent() {
		return nativeEvent;
	}

	@Override
	public Type<TooltipHiddenHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(final TooltipHiddenHandler handler) {
		handler.onHidden(this);
	}
}

@@ -834,161 +834,15 @@
 * #L
-import com.google.gwt.event.shared.GwtEvent;%0A import com.google.gwt.user.client.Event;%0A import com.svenjacobs.gwtbootstrap3.client.ui.Tooltip;%0A oltip;%0A%0A 
+%25%0A */%0A%0A
 /**%0A
@@ -968,17 +968,20 @@
 vent %7B%0A%0A
-%09
+    
 private 
@@ -1062,17 +1062,20 @@
 er%3E();%0A%0A
-%09
+    
 private 
@@ -1097,17 +1097,20 @@
 ooltip;%0A
-%09
+    
 private 
@@ -1135,17 +1135,20 @@
 Event;%0A%0A
-%09
+    
 public s
@@ -1184,34 +1184,40 @@
 er%3E getType() %7B%0A
-%09%09
+        
 return TYPE;%0A%09%7D%0A
@@ -1213,21 +1213,27 @@
 n TYPE;%0A
-%09%7D%0A%0A%09
+    %7D%0A%0A    
 public T
@@ -1300,18 +1300,24 @@
 vent) %7B%0A
-%09%09
+        
 this.too
@@ -1332,18 +1332,24 @@
 ooltip;%0A
-%09%09
+        
 this.nat
@@ -1364,37 +1364,43 @@
  = nativeEvent;%0A
-%09%7D%0A%0A%09
+    %7D%0A%0A    
 @Override%0A%09publi
@@ -1385,33 +1385,36 @@
 %0A%0A    @Override%0A
-%09
+    
 public Tooltip g
@@ -1423,26 +1423,32 @@
 Tooltip() %7B%0A
-%09%09
+        
 return toolt
@@ -1451,21 +1451,27 @@
 ooltip;%0A
-%09%7D%0A%0A%09
+    %7D%0A%0A    
 @Overrid
@@ -1468,25 +1468,28 @@
   @Override%0A
-%09
+    
 public Event
@@ -1504,26 +1504,32 @@
 veEvent() %7B%0A
-%09%09
+        
 return nativ
@@ -1536,21 +1536,27 @@
 eEvent;%0A
-%09%7D%0A%0A%09
+    %7D%0A%0A    
 @Overrid
@@ -1557,17 +1557,20 @@
 verride%0A
-%09
+    
 public T
@@ -1617,18 +1617,24 @@
 ype() %7B%0A
-%09%09
+        
 return T
@@ -1642,13 +1642,19 @@
 PE;%0A
-%09%7D%0A%0A%09
+    %7D%0A%0A    
 @Ove
@@ -1659,17 +1659,20 @@
 verride%0A
-%09
+    
 protecte
@@ -1729,10 +1729,16 @@
 ) %7B%0A
-%09%09
+        
 hand
@@ -1761,9 +1761,12 @@
 s);%0A
-%09
+    
 %7D%0A%7D%0A

Fix license header