Package org.eclipse.swt.browser

Examples of org.eclipse.swt.browser.StatusTextListener


        setPartName(event.title);
      }
    });

    /* Status Listener */
    fBrowser.getControl().addStatusTextListener(new StatusTextListener() {
      public void changed(StatusTextEvent event) {

        /* Don't show Status for the Handler Protocol */
        if (event.text != null && !event.text.contains(ILinkHandler.HANDLER_PROTOCOL))
          fEditorSite.getActionBars().getStatusLineManager().setMessage(event.text);
View Full Code Here


      }
    };
    fEditorSite.getPage().addPostSelectionListener(fSelectionListener);

    /* Send Browser-Status to Workbench-Status */
    ((Browser) fViewer.getControl()).addStatusTextListener(new StatusTextListener() {
      public void changed(StatusTextEvent event) {

        /* Don't show Status for the Handler Protocol */
        if (event.text != null && !event.text.contains(ILinkHandler.HANDLER_PROTOCOL) && !event.text.contains(LOCALHOST))
          fEditorSite.getActionBars().getStatusLineManager().setMessage(event.text);
View Full Code Here

        setPartName(event.title);
      }
    });

    /* Status Listener */
    fBrowser.getControl().addStatusTextListener(new StatusTextListener() {
      public void changed(StatusTextEvent event) {

        /* Don't show Status for the Handler Protocol */
        if (event.text != null && !event.text.contains(ILinkHandler.HANDLER_PROTOCOL))
          fEditorSite.getActionBars().getStatusLineManager().setMessage(event.text);
View Full Code Here

        OwlUI.updateWindowTitle(getPartName());
      }
    });

    /* Status Listener */
    fBrowser.getControl().addStatusTextListener(new StatusTextListener() {
      public void changed(StatusTextEvent event) {

        /* Don't show Status for the Handler Protocol */
        if (event.text != null && !event.text.contains(ILinkHandler.HANDLER_PROTOCOL) && !fBrowser.getControl().isDisposed() && fBrowser.getControl().isVisible())
          fEditorSite.getActionBars().getStatusLineManager().setMessage(event.text);
View Full Code Here

      }
    };
    fEditorSite.getPage().addSelectionListener(fSelectionListener);

    /* Send Browser-Status to Workbench-Status */
    ((Browser) fViewer.getControl()).addStatusTextListener(new StatusTextListener() {
      public void changed(StatusTextEvent event) {

        /* Don't show Status for the Handler Protocol */
        if (event.text != null && !event.text.contains(ILinkHandler.HANDLER_PROTOCOL) && !event.text.contains(LOCALHOST)) {

View Full Code Here

      }
    };
    fEditorSite.getPage().addPostSelectionListener(fSelectionListener);

    /* Send Browser-Status to Workbench-Status */
    ((Browser) fViewer.getControl()).addStatusTextListener(new StatusTextListener() {
      public void changed(StatusTextEvent event) {

        /* Don't show Status for the Handler Protocol */
        if (event.text != null && !event.text.contains(ILinkHandler.HANDLER_PROTOCOL) && !event.text.contains(LOCALHOST))
          fEditorSite.getActionBars().getStatusLineManager().setMessage(event.text);
View Full Code Here

          busy = false;
          index = 0;
          canvas.redraw();
        }
      });
      browser.addStatusTextListener(new StatusTextListener() {
        public void changed(StatusTextEvent event) {
          status.setText(event.text);
        }
      });
      if (parent instanceof Shell) {
View Full Code Here

        browser = new Browser(parent, SWT.NONE);
        }catch(Exception e){
            InfoPlugin.log( "Could not create browser", e); //$NON-NLS-1$
        }
       
        browser.addStatusTextListener(new StatusTextListener() {
            // IStatusLineManager status = toolbar.getStatusLineManager();
            public void changed(StatusTextEvent event) {
                /*
                if (DEBUG) {
                    System.out.println("status: " + event.text);
View Full Code Here

      }
    });

    // Tie the status label to the browser's status.
    //
    browser.addStatusTextListener(new StatusTextListener() {
      public void changed(StatusTextEvent evt) {
        // Add a little space so it doesn't look so crowded.
        statusBar.setText(" " + evt.text);
      }
    });
View Full Code Here

        }catch(Exception exp){        
        }          
      }
    });

    browser.addStatusTextListener( new StatusTextListener(){
      @SuppressWarnings("unused")
      public void changed(StatusTextEvent event){
        String url = browser.getUrl();
        if(url == null) return;
        if(url.indexOf('/') < 0) return;
View Full Code Here

TOP

Related Classes of org.eclipse.swt.browser.StatusTextListener

Copyright © 2018 www.massapicom. 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.