Examples of SelectionListener

@author Portet to jme3 by user starcom "Paul Kashofer Austria" @see ImageGraphics
  • com.sun.dtv.lwuit.events.SelectionListener
    Invoked to indicate a selection change in the list model @author Chen Fishbein
  • diva.canvas.interactor.SelectionListener
    A model for graph selections which can be listened to. @author Michael Shilman @version $Id: SelectionListener.java,v 1.9 2005/07/08 19:54:56 cxh Exp $
  • edu.stanford.bmir.protege.web.client.ui.selection.SelectionListener
    Listener interface for the generic {@link Selectable} interface.
  • edu.stanford.smi.protege.util.SelectionListener
  • org.eclipse.swt.events.SelectionListener
    Classes which implement this interface provide methods that deal with the events that are generated when selection occurs in a control.

    After creating an instance of a class that implements this interface it can be added to a control using the addSelectionListener method and removed using the removeSelectionListener method. When selection occurs in a control the appropriate method will be invoked.

    @see SelectionAdapter @see SelectionEvent
  • org.jitterbit.ui.selection.SelectionListener
    Listens to selection changes. @author Torgil @since 1.2
  • org.restlet.util.SelectionListener
    Callback interface when a NIO selection occurs on the selectable object. @author Jerome Louvel
  • org.woped.qualanalysis.paraphrasing.action.SelectionListener

  • Examples of org.eclipse.swt.events.SelectionListener

            }
        }

        protected void createServerWidgets(Composite comp) {
            fLaunchServerButton = new Button(comp, SWT.CHECK);
            fLaunchServerButton.addSelectionListener(new SelectionListener() {
                public void widgetSelected(SelectionEvent e) {
                    updateLaunchConfigurationDialog();
                }
                public void widgetDefaultSelected(SelectionEvent e) {
                }
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

          linkButton.setText("<a href=\"" + link + "\">" + link + "</a>");
          data = new GridData();
          data.horizontalAlignment = GridData.CENTER;
          data.grabExcessHorizontalSpace = true;
          linkButton.setLayoutData(data);
          linkButton.addSelectionListener(new SelectionListener() {
            public void widgetDefaultSelected(SelectionEvent e) { 
            }

            public void widgetSelected(SelectionEvent e) { 
              try {
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

        // Create the menu
        popupMenu = new Menu(shell, SWT.POP_UP);

        MenuItem open = new MenuItem(popupMenu, SWT.PUSH);
        open.setText(Messages.getString("GUI.menu.openBrowser")); //$NON-NLS-1$
        open.addSelectionListener(new SelectionListener() {
          public void widgetDefaultSelected(SelectionEvent e) {
          }

          public void widgetSelected(SelectionEvent e) {
            openBrowser(null);
          }
        });

        // #ifdef DEBUG
        MenuItem console = new MenuItem(popupMenu, SWT.PUSH);
        console.setText(Messages.getString("GUI.menu.debugConsole")); //$NON-NLS-1$
        console.addSelectionListener(new SelectionListener() {
          public void widgetDefaultSelected(SelectionEvent e) {
          }

          public void widgetSelected(SelectionEvent e) {
            getConsole().show();
          }
        });
        // #endif
        MenuItem ports = new MenuItem(popupMenu, SWT.PUSH);
        ports.setText(Messages.getString("GUI.menu.tunnelMonitor")); //$NON-NLS-1$
        ports.addSelectionListener(new SelectionListener() {
          public void widgetDefaultSelected(SelectionEvent e) {
          }

          public void widgetSelected(SelectionEvent e) {
            getPortMonitor().setVisible(!getPortMonitor().isVisible());
          }
        });
        MenuItem about = new MenuItem(popupMenu, SWT.PUSH);
        about.setText(Messages.getString("GUI.menu.about")); //$NON-NLS-1$
        about.addSelectionListener(new SelectionListener() {
          public void widgetDefaultSelected(SelectionEvent e) {
          }

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

        // Create the menu items
        new MenuItem(popupMenu, SWT.SEPARATOR);
        MenuItem exit = new MenuItem(popupMenu, SWT.PUSH);
        exit.setText(Messages.getString("GUI.menu.exit")); //$NON-NLS-1$
        exit.addSelectionListener(new SelectionListener() {
          public void widgetDefaultSelected(SelectionEvent e) {
          }

          public void widgetSelected(SelectionEvent e) {
            exit();
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

        display.syncExec(new Runnable() {
          public void run() {
            MenuItem item = new MenuItem(parentMenu, SWT.PUSH);
            item.setText(action.getAction());
            item.addSelectionListener(new SelectionListener() {
              public void widgetDefaultSelected(SelectionEvent e) {
              }

              public void widgetSelected(SelectionEvent e) {
                action.actionPerformed();
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

          }

          if (Options.getDefault("editor.language").equals(val))
            defaultItem = item;

          item.addSelectionListener(new SelectionListener() {
            public void widgetSelected(SelectionEvent e) {
              MenuItem item = (MenuItem) e.widget;
              if (item.getSelection()) {
                String lang = (String) item.getData();
                Options.setLanguage(lang);
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

        folder.setSize(new Point(690, 478));
       
        folder.setLayout(new FillLayout());

        // on tab selection
        folder.addSelectionListener(new SelectionListener() {
          public void widgetSelected(SelectionEvent e) {       
            setWindowTitle();
            MainWindow.setMenuStatus();
            MainWindow.shellActivated_();
          }
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

            // MonthSelectorStyle.PREVIOUSMONTHBUTTON);

            monthSelector = new CCombo(this, SWT.READ_ONLY | SWT.FLAT);
            monthSelector.setLayoutData(monthData);
            monthSelector.setItems(style.getMonthNames());
            monthSelector.addSelectionListener(new SelectionListener() {
                public void widgetDefaultSelected(SelectionEvent e) {
                }


                public void widgetSelected(SelectionEvent e) {
                    Event event = new Event();
                    event.widget = MonthSelector.this;
                    event.detail = DateChooserAction.monthSelected;
                    SelectionEvent selectionEvent = new SelectionEvent(event);
                    sendSelectionEvent(selectionEvent);
                }
            });

            yearSelector = new Spinner(this, SWT.FLAT);
            yearSelector.setLayoutData(yearData);
            yearSelector.setMaximum(9999);
            yearSelector.setMinimum(1970);
            yearSelector.addSelectionListener(new SelectionListener() {
                public void widgetDefaultSelected(SelectionEvent e) {
                }


                public void widgetSelected(SelectionEvent e) {
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

                event.display = display;
                event.widget = this;
                selectionEvent = new SelectionEvent(event);
            }
            for (int i = 0; i < selectionListeners.size(); i++) {
                SelectionListener listener = (SelectionListener) selectionListeners.elementAt(i);
                if (listener != null)
                    listener.widgetSelected(selectionEvent);
            }
        }
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

                event.display = display;
                event.widget = datePane;
                selectionEvent = new SelectionEvent(event);
            }
            for (int i = 0; i < selectionListeners.size(); i++) {
                SelectionListener listener = (SelectionListener) selectionListeners.elementAt(i);
                if (listener != null)
                    listener.widgetSelected(selectionEvent);
            }
        }
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

                    setEditorDirty();
                }
            };

            //  The Selection Listener
            SelectionListener selectionListener = new SelectionAdapter()
            {
                public void widgetSelected( SelectionEvent e )
                {
                    setEditorDirty();
                }
    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.