}-*/;
private void handleKeyDown(NativeEvent e)
{
// get the event
NativeKeyDownEvent evt = new NativeKeyDownEvent(e);
// if there is a zoom panel then ignore other shortcuts
// (only handle Esc)
if (activeZoomPanel_ != null)
{
if (e.getKeyCode() == KeyCodes.KEY_ESCAPE)
{
e.preventDefault();
e.stopPropagation();
activeZoomPanel_.close();
}
}
else
{
ShortcutManager.INSTANCE.onKeyDown(evt);
if (evt.isCanceled())
{
e.preventDefault();
e.stopPropagation();
// since this is a shortcut handled by the main window