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

DockingEvent renamed to ViewEvent

parent 8c85fa69
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ import com.vldocking.swing.docking.event.DockingActionCloseEvent;
import com.vldocking.swing.docking.event.DockingActionEvent;
import com.vldocking.swing.docking.event.DockingActionListener;
import fr.soleil.docking.event.DockingEvent;
import fr.soleil.docking.event.ViewEvent;
import fr.soleil.docking.listener.IViewListener;
import fr.soleil.docking.listener.ViewListenerDelegate;
import fr.soleil.docking.view.IView;
......@@ -255,19 +255,19 @@ public class VlDockView implements IView, Dockable, DockingActionListener, Focus
if (e.getActionType() == DockingActionEvent.ACTION_CLOSE) {
Dockable closedDockable = ((DockingActionCloseEvent) e).getDockable();
if (getDockKey().getKey().equals(closedDockable.getDockKey().getKey())) {
delegate.warnListeners(new DockingEvent(this, DockingEvent.VIEW_CLOSED));
delegate.warnListeners(new ViewEvent(this, ViewEvent.VIEW_CLOSED));
}
}
}
@Override
public void focusGained(FocusEvent e) {
delegate.warnListeners(new DockingEvent(this, DockingEvent.FOCUS_GAINED));
delegate.warnListeners(new ViewEvent(this, ViewEvent.FOCUS_GAINED));
}
@Override
public void focusLost(FocusEvent e) {
delegate.warnListeners(new DockingEvent(this, DockingEvent.FOCUS_LOST));
delegate.warnListeners(new ViewEvent(this, ViewEvent.FOCUS_LOST));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment