Examples of BrowserWindow


Examples of com.aelitis.azureus.ui.swt.shells.BrowserWindow

        }
        if (target == null) {
          if (UrlFilter.getInstance().urlCanRPC(realURL)) {
            realURL = cn.appendURLSuffix(realURL, false, true);
          }
          BrowserWindow window = new BrowserWindow(mainWindow.shell, realURL,
              w, h, allowResize, isModal);
          window.waitUntilClosed();
        } else {
          mainWindow.showURL(realURL, target);
        }
      }
    });
View Full Code Here

Examples of com.aelitis.azureus.ui.swt.shells.BrowserWindow

        }
        if (target == null) {
          if (UrlFilter.getInstance().urlCanRPC(realURL)) {
            realURL = cn.appendURLSuffix(realURL, false, true);
          }
          BrowserWindow window = new BrowserWindow(mainWindow.shell, realURL,
              w, h, allowResize, isModal);
          window.waitUntilClosed();
        } else {
          mainWindow.showURL(realURL, target);
        }
      }
    });
View Full Code Here

Examples of com.aelitis.azureus.ui.swt.shells.BrowserWindow

      AEThread2 thread = new AEThread2("show browser " + url, true) {
        public void run() {
          final Display display = Display.getDefault();
          display.asyncExec(new AERunnable() {
            public void runSupport() {
              BrowserWindow window = new BrowserWindow(
                  display.getActiveShell(), url, w, h, allowResize, false);
              window.waitUntilClosed();
              message.complete(false, true, null);
            }
          });
        }
      };
View Full Code Here

Examples of cx.fbn.nevernote.gui.BrowserWindow

       
        // Setup the browser window
        noteCache = new HashMap<String,String>();
        readOnlyCache = new HashMap<String, Boolean>();
        inkNoteCache = new HashMap<String, Boolean>();
        browserWindow = new BrowserWindow(conn);

        mainLeftRightSplitter.addWidget(leftSplitter1);
        mainLeftRightSplitter.addWidget(browserIndexSplitter);
       
        if (Global.getListView() == Global.View_List_Wide) {
View Full Code Here

Examples of cx.fbn.nevernote.gui.BrowserWindow

    comboLayout.addStretch(100);
   
    main.addLayout(comboLayout);
       
    conn = c;
    browser = new BrowserWindow(conn);
    main.addWidget(browser);
    browser.titleLabel.setVisible(false);
    browser.notebookBox.setVisible(false);
    browser.hideButtons();
    browser.tagEdit.setVisible(false);
View Full Code Here

Examples of cx.fbn.nevernote.gui.BrowserWindow

    comboLayout.addStretch(100);
   
    main.addLayout(comboLayout);
       
    conn = c;
    browser = new BrowserWindow(conn);
    main.addWidget(browser);
    browser.titleLabel.setVisible(false);
    browser.notebookBox.setVisible(false);
    browser.hideButtons();
    browser.tagEdit.setVisible(false);
View Full Code Here

Examples of org.lightfish.presentation.publication.BrowserWindow

    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        AsyncContext startAsync = request.startAsync();
        String channel = extractChannel(request.getRequestURI());
        events.fire(new BrowserWindow(startAsync, channel));
        LOG.fine("Event sent for channel " + channel);
    }
View Full Code Here

Examples of org.lightfish.presentation.publication.BrowserWindow

    }

    @Test
    public void singleChannelNofified() {
        final String escalationChannel = "duke";
        BrowserWindow window = mock(BrowserWindow.class);

        Writer writer = mock(Writer.class);
        when(window.getWriter()).thenReturn(writer);

        Escalation escalation = new Escalation();
        escalation.setChannel(escalationChannel);
        when(window.getChannel()).thenReturn(escalationChannel);

        this.cut.onEscalationBrowserRequest(window);
        this.cut.addEscalation(escalation);
        verify(window, never()).send();
        this.cut.notifyEscalationListeners();
View Full Code Here

Examples of org.lightfish.presentation.publication.BrowserWindow

     * channel, the "broadcast" channel should be notified.
     */
    @Test
    public void broadcastChannelNofified() {
        final String escalationChannel = "duke";
        BrowserWindow window = mock(BrowserWindow.class);
        when(window.getChannel()).thenReturn("");
        Escalation escalation = new Escalation();
        escalation.setChannel(escalationChannel);
        this.cut.onEscalationBrowserRequest(window);
        this.cut.addEscalation(escalation);
        verify(window, never()).send();
View Full Code Here

Examples of org.lightfish.presentation.publication.BrowserWindow

        verify(window).send();
    }

    @Test
    public void nothingToSay() {
        BrowserWindow window = mock(BrowserWindow.class);
        when(window.getChannel()).thenReturn("does-not-matter");
        this.cut.onEscalationBrowserRequest(window);
        verify(window, never()).send();
        this.cut.notifyEscalationListeners();
        verify(window).nothingToSay();
        verify(window, never()).send();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.