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

                    setEditorDirty();
                }
            };

            //  The Selection Listener
            SelectionListener selectionListener = new SelectionAdapter()
            {
                public void widgetSelected( SelectionEvent e )
                {
                    setEditorDirty();
                }
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

                @Override
                public void expansionStateChanged(ExpansionEvent e) {
                    getManagedForm().reflow(true);
                }
            });
            SelectionListener radioListener = new SelectionAdapter() {
                @Override
                public void widgetSelected(SelectionEvent e) {
                    showAsText = btnText.getSelection();
                    encodingCombo.setEnabled(showAsText);
                    loadContent();
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

            txtLocation = new Text(container, SWT.BORDER | SWT.READ_ONLY);
            txtLocation.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
            if (operation != null && operation.getLocation() != null)
                txtLocation.setText(operation.getLocation().toString());

            SelectionListener selectionListener = new SelectionAdapter() {
                @Override
                public void widgetSelected(SelectionEvent e) {
                    if (!suppressEvents) {
                        try {
                            suppressEvents = true;
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

                @Override
                public void expansionStateChanged(ExpansionEvent e) {
                    getManagedForm().reflow(true);
                }
            });
            SelectionListener radioListener = new SelectionAdapter() {
                @Override
                public void widgetSelected(SelectionEvent e) {
                    showAsText = btnText.getSelection();
                    encodingCombo.setEnabled(showAsText);
                    loadContent();
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

                }

            });
            tableViewer.setInput(model);
            wCreate.addSelectionListener(new SelectionListener() {

                public void widgetDefaultSelected(SelectionEvent e) {
                    System.out.println("defw selected");
                }
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

            container.setLayoutData(gridData);

            new Label(container, SWT.NONE).setText("Repository: ");

            repositoryCombo = new SlingLaunchpadCombo(container, syncStartPoint.getProject());
            repositoryCombo.getWidget().addSelectionListener(new SelectionListener() {

                @Override
                public void widgetSelected(SelectionEvent e) {
                    determinePageCompletion();
                    updateWidgetEnablements();
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

        container.setLayoutData(gridData);

            new Label(container, SWT.NONE).setText("Repository: ");

            repositoryCombo = new SlingLaunchpadCombo(container, project);
            repositoryCombo.getWidget().addSelectionListener(new SelectionListener() {
         
          @Override
          public void widgetSelected(SelectionEvent e) {
                  determinePageCompletion();
                  updateWidgetEnablements();
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

            reloadCmiButton = BaseWidgetUtils.createButton( cmiComposite, "", 1 ); //$NON-NLS-1$
            GridData gd = new GridData();
            gd.verticalAlignment = SWT.BOTTOM;
            gd.horizontalAlignment = SWT.RIGHT;
            reloadCmiButton.setLayoutData( gd );
            reloadCmiButton.addSelectionListener( new SelectionListener()
            {
                public void widgetSelected( SelectionEvent e )
                {
                    reloadOperationalAttributes();
                }


                public void widgetDefaultSelected( SelectionEvent e )
                {
                }
            } );

            Group sizingGroup = BaseWidgetUtils.createGroup( BaseWidgetUtils.createColumnContainer( composite, 1, 1 ),
                Messages.getString( "EntryPropertyPage.SizingInformation" ), 1 ); //$NON-NLS-1$
            Composite sizingComposite = BaseWidgetUtils.createColumnContainer( sizingGroup, 3, 1 );

            BaseWidgetUtils.createLabel( sizingComposite, Messages.getString( "EntryPropertyPage.EntrySize" ), 1 ); //$NON-NLS-1$
            sizeText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 ); //$NON-NLS-1$
            GridData sizeTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
            sizeTextGridData.widthHint = 300;
            sizeText.setLayoutData( sizeTextGridData );

            BaseWidgetUtils.createLabel( sizingComposite, Messages.getString( "EntryPropertyPage.NumberOfChildren" ), 1 ); //$NON-NLS-1$
            childrenText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 ); //$NON-NLS-1$
            GridData childrenTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
            childrenTextGridData.widthHint = 300;
            childrenText.setLayoutData( childrenTextGridData );

            BaseWidgetUtils.createLabel( sizingComposite, Messages.getString( "EntryPropertyPage.NumberOfAttributes" ), 1 ); //$NON-NLS-1$
            attributesText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 ); //$NON-NLS-1$
            GridData attributesTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
            attributesTextGridData.widthHint = 300;
            attributesText.setLayoutData( attributesTextGridData );

            BaseWidgetUtils.createLabel( sizingComposite, Messages.getString( "EntryPropertyPage.NumberOfValues" ), 1 ); //$NON-NLS-1$
            valuesText = BaseWidgetUtils.createLabeledText( sizingComposite, "", 2 ); //$NON-NLS-1$
            GridData valuesTextGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
            valuesTextGridData.widthHint = 300;
            valuesText.setLayoutData( valuesTextGridData );

            includeOperationalAttributesButton = BaseWidgetUtils.createCheckbox( sizingComposite, Messages
                .getString( "EntryPropertyPage.IncludeoperationalAttributes" ), 2 ); //$NON-NLS-1$
            includeOperationalAttributesButton.addSelectionListener( new SelectionListener()
            {
                public void widgetSelected( SelectionEvent e )
                {
                    entryUpdated( getEntry( getElement() ) );
                }


                public void widgetDefaultSelected( SelectionEvent e )
                {
                }
            } );

            reloadEntryButton = BaseWidgetUtils.createButton( sizingComposite, "", 1 ); //$NON-NLS-1$
            gd = new GridData();
            gd.verticalAlignment = SWT.BOTTOM;
            gd.horizontalAlignment = SWT.RIGHT;
            reloadEntryButton.setLayoutData( gd );
            reloadEntryButton.addSelectionListener( new SelectionListener()
            {
                public void widgetSelected( SelectionEvent e )
                {
                    reloadEntry();
                }
    View Full Code Here

    Examples of org.eclipse.swt.events.SelectionListener

        public Control createControl(Composite parent) {
            Group group = new Group(parent, SWT.NONE);
            group.setText(groupTitle);
            group.setLayout(new GridLayout(Math.max(4, ProjectLayout.values().length), true));

            SelectionListener radioListener = new SelectionAdapter() {
                @Override
                public void widgetSelected(SelectionEvent e) {
                    for (Button button : layoutChoices) {
                        if (button.getSelection()) {
                            assert (button.getData() instanceof ProjectLayout);
    View Full Code Here

    Examples of org.jitterbit.ui.selection.SelectionListener

                @Override
                public void actionPerformed(ActionEvent e) {
                    fireActionEvent();
                }
            });
            list.addSelectionListener(new SelectionListener() {

                @Override
                public void selectionChanged(SelectionChangedEvent evt) {
                    fireInputChanged();
                }
    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.