Package org.eclipse.swt.widgets

Examples of org.eclipse.swt.widgets.Link.addMouseListener()


    texte = new Text(composite, SWT.BORDER | SWT.WRAP | SWT.V_SCROLL | SWT.MULTI);

    texte.setBounds(10, 23, 292, 58);

    Link link = new Link(composite, SWT.NONE);
    link.addMouseListener(new MouseAdapter() {
      @Override
      public void mouseUp(MouseEvent e) {
        FileBrowser fb = new FileBrowser();

        String path = fb.init(getParent().getShell());
View Full Code Here


      public void widgetSelected(SelectionEvent e) {
        onInfoBarClicked();
      }
    });

    textLink.addMouseListener(new MouseAdapter() {
      @Override
      public void mouseUp(MouseEvent e) {
        onInfoBarClicked();
      }
    });
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.