Skip to content
Snippets Groups Projects
Commit b840fa2e authored by Raphael GIRARDOT's avatar Raphael GIRARDOT
Browse files

DockingEvent renamed to ViewEvent

parent 0115406e
Branches
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