Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 268602 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/gmf/runtime/common/ui/services/properties/extended/MultiButtonCellEditor.java (+17 lines)
Lines 20-25 Link Here
20
import org.eclipse.swt.events.KeyEvent;
20
import org.eclipse.swt.events.KeyEvent;
21
import org.eclipse.swt.events.SelectionAdapter;
21
import org.eclipse.swt.events.SelectionAdapter;
22
import org.eclipse.swt.events.SelectionEvent;
22
import org.eclipse.swt.events.SelectionEvent;
23
import org.eclipse.swt.events.TraverseEvent;
24
import org.eclipse.swt.events.TraverseListener;
23
import org.eclipse.swt.graphics.Color;
25
import org.eclipse.swt.graphics.Color;
24
import org.eclipse.swt.graphics.Font;
26
import org.eclipse.swt.graphics.Font;
25
import org.eclipse.swt.graphics.Point;
27
import org.eclipse.swt.graphics.Point;
Lines 267-272 Link Here
267
				}
269
				}
268
			}
270
			}
269
		});
271
		});
272
		
273
        button.addTraverseListener(new TraverseListener() {
274
275
            public void keyTraversed(TraverseEvent e) {
276
                if (e.detail == SWT.TRAVERSE_TAB_PREVIOUS) {
277
                    e.doit = false;
278
                    getControl().traverse(SWT.TRAVERSE_TAB_PREVIOUS);
279
                }
280
281
                if (e.detail == SWT.TRAVERSE_TAB_NEXT) {
282
                    e.doit = false;
283
                    getControl().traverse(SWT.TRAVERSE_TAB_NEXT);
284
                }
285
            }
286
        });		
270
287
271
		buttonList.add(button);
288
		buttonList.add(button);
272
	}
289
	}
(-)src/org/eclipse/gmf/runtime/common/ui/services/properties/extended/ExtendedComboBoxCellEditor.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/******************************************************************************
1
/******************************************************************************
2
 * Copyright (c) 2002, 2007 IBM Corporation and others.
2
 * Copyright (c) 2002, 2009 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 200-206 Link Here
200
200
201
            public void widgetSelected(SelectionEvent e) {
201
            public void widgetSelected(SelectionEvent e) {
202
                // called when combo box selected
202
                // called when combo box selected
203
                widgetDefaultSelected(e);
203
            	selection = comboBox.getSelectionIndex();
204
            }
204
            }
205
        });
205
        });
206
206

Return to bug 268602