Hi all,
in Vaadin 6 it was possible to add an ShortcutAction to the main window which open a new Browser Window …
private class OpenDebugWindowAction extends ShortcutAction implements Action.Listener {
final DebugWindow debugWindow = new DebugWindow();
public OpenDebugWindowAction() {
super(null, ShortcutAction.KeyCode.D, new int[]{
ShortcutAction.ModifierKey.ALT,
ShortcutAction.ModifierKey.CTRL,
});
}
@Override
public void handleAction(final Object sender, final Object target) {
if (debugWindow.getParent() != null || debugWindow.getApplication() != null) {
return;
}
addWindow(debugWindow);
getMainWindow().open(new ExternalResource(debugWindow.getURL()), "__console__", 200, 200, 2);
LOGGER.debug("Opened Managementconsole in TAB");
}
}
in Vaadin 7 I found (until now) no way to do this
Kind Regards
Andreas