textType.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { imageType.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) {
comboDimension.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) { doSelectDimension();
wInput.addSelectionListener( lsDef ); wOutput.addSelectionListener( lsDef ); wParentFolder.addSelectionListener( lsDef );
comboCube.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) { doSelectCube();
comboDimension.addSelectionListener( new SelectionAdapter() { @Override public void widgetSelected( SelectionEvent e ) {
comboCube.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) { doSelectCube();
wLogFile.addSelectionListener( lsDef ); wFieldSeparator.addSelectionListener( lsDef );
wSourceStep.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent arg0 ) { getSteps(); wSourceField.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent arg0 ) { getFields();
zoomLabel.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent arg0 ) { readMagnification();
fdProtocol.right = new FormAttachment( 100, 0 ); wProtocol.setLayoutData( fdProtocol ); wProtocol.addSelectionListener( new SelectionAdapter() { public void widgetSelected( SelectionEvent e ) { activeFTPProtocol();
zoomLabel.addSelectionListener( new SelectionAdapter() { @Override public void widgetSelected( SelectionEvent arg0 ) {
private ComboPreference(Combo combo, String label, String key, String[] values) { super(combo, label, key, FilteredPreferenceTree.COMBO_VALUE_MATCHER); fValues= Arrays.asList(values); combo.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { updateValue(); } }); }
public void addSelectionListener(SelectionListener listener) { if (combo instanceof Combo) ((Combo) combo).addSelectionListener(listener); else ((CCombo) combo).addSelectionListener(listener); }
public void addListeners(Object control, EventAdapter adapter) { if(control instanceof Combo) { ((Combo)control).addFocusListener(adapter); ((Combo)control).addModifyListener(adapter); ((Combo)control).addSelectionListener(adapter); } else throw new IllegalArgumentException("unsupported control type: "+control.getClass().getName()); }
protected void createApplicationSection(Composite parent) { fApplicationButton = new Button(parent, SWT.RADIO); fApplicationButton.setText(PDEUIMessages.ProgramBlock_runApplication); fApplicationCombo = SWTFactory.createCombo(parent, SWT.READ_ONLY | SWT.DROP_DOWN, 1, getApplicationNames()); fApplicationCombo.addSelectionListener(fListener); }
public void initialize() { fSwitchCombo.addSelectionListener(this); fJavaElementComponent.initialize(); fSyntaxComponent.initialize(); restoreSelection(); }
public ProfileComboController() { fSortedProfiles= fProfileManager.getSortedProfiles(); fProfileCombo.addSelectionListener(this); fProfileManager.addObserver(this); updateProfiles(); updateSelection(); }
public ProfileComboController() { fSortedProfiles= fProfileManager.getSortedProfiles(); fProfileCombo.addSelectionListener(this); fProfileManager.addObserver(this); updateProfiles(); updateSelection(); }
public ProfileComboController() { fSortedProfiles= fProfileManager.getSortedProfiles(); fProfileCombo.addSelectionListener(this); fProfileManager.addObserver(this); updateProfiles(); updateSelection(); }
protected void createProductSection(Composite parent) { fProductButton = new Button(parent, SWT.RADIO); fProductButton.setText(PDEUIMessages.ProgramBlock_runProduct); fProductButton.addSelectionListener(fListener); fProductCombo = SWTFactory.createCombo(parent, SWT.DROP_DOWN, 1, TargetPlatform.getProducts()); fProductCombo.addSelectionListener(fListener); fProductCombo.addModifyListener(fListener); fProductComboDecoration = new ControlDecoration(fProductCombo, SWT.TOP | SWT.LEFT); FieldDecoration warningDecoration = FieldDecorationRegistry.getDefault().getFieldDecoration(FieldDecorationRegistry.DEC_WARNING); fProductComboDecoration.setDescriptionText(PDEUIMessages.ProgramBlock_productDecorationWarning0); fProductComboDecoration.setImage(warningDecoration.getImage()); }