Skip to content
Snippets Groups Projects
Commit c31fbba9 authored by GIRARDOT Raphael's avatar GIRARDOT Raphael Committed by MADELA Patrick
Browse files

DockingEvent renamed to ViewEvent

parent a38c49ac
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ import fr.soleil.docking.view.IView; ...@@ -9,7 +9,7 @@ import fr.soleil.docking.view.IView;
* *
* @author GIRARDOT * @author GIRARDOT
*/ */
public class DockingEvent extends EventObject { public class ViewEvent extends EventObject {
private static final long serialVersionUID = -9107231208702875097L; private static final long serialVersionUID = -9107231208702875097L;
...@@ -28,7 +28,7 @@ public class DockingEvent extends EventObject { ...@@ -28,7 +28,7 @@ public class DockingEvent extends EventObject {
protected final int reason; protected final int reason;
public DockingEvent(IView source, int reason) { public ViewEvent(IView source, int reason) {
super(source); super(source);
this.reason = reason; this.reason = reason;
} }
......
...@@ -2,7 +2,7 @@ package fr.soleil.docking.listener; ...@@ -2,7 +2,7 @@ package fr.soleil.docking.listener;
import java.util.EventListener; import java.util.EventListener;
import fr.soleil.docking.event.DockingEvent; import fr.soleil.docking.event.ViewEvent;
import fr.soleil.docking.view.IView; import fr.soleil.docking.view.IView;
/** /**
...@@ -15,8 +15,8 @@ public interface IViewListener extends EventListener { ...@@ -15,8 +15,8 @@ public interface IViewListener extends EventListener {
/** /**
* Notifies this {@link IViewListener} for some changes in an {@link IView} * Notifies this {@link IViewListener} for some changes in an {@link IView}
* *
* @param event The {@link DockingEvent} that describes the concerned {@link IView} and changes * @param event The {@link ViewEvent} that describes the concerned {@link IView} and changes
*/ */
public void dockingChanged(DockingEvent event); public void dockingChanged(ViewEvent event);
} }
...@@ -6,7 +6,7 @@ import java.util.Collections; ...@@ -6,7 +6,7 @@ import java.util.Collections;
import java.util.List; import java.util.List;
import java.util.WeakHashMap; import java.util.WeakHashMap;
import fr.soleil.docking.event.DockingEvent; import fr.soleil.docking.event.ViewEvent;
/** /**
* A class delegated to {@link IViewListener}s management * A class delegated to {@link IViewListener}s management
...@@ -24,9 +24,9 @@ public class ViewListenerDelegate { ...@@ -24,9 +24,9 @@ public class ViewListenerDelegate {
/** /**
* Warns all {@link IViewListener}s for some changes * Warns all {@link IViewListener}s for some changes
* *
* @param event The {@link DockingEvent} that describes the changes * @param event The {@link ViewEvent} that describes the changes
*/ */
public void warnListeners(DockingEvent event) { public void warnListeners(ViewEvent event) {
List<IViewListener> copy; List<IViewListener> copy;
synchronized (listeners) { synchronized (listeners) {
copy = new ArrayList<IViewListener>(listeners.size()); copy = new ArrayList<IViewListener>(listeners.size());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment