comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/custom/CCombo.d @ 6:f36c67707cb3

Removed import to tango.core.Exception
author Frank Benoit <benoit@tionex.de>
date Thu, 05 Mar 2009 00:18:47 +0100
parents 6dd524f61e62
children 2847134a5fc0
comparison
equal deleted inserted replaced
5:daf5407a1394 6:f36c67707cb3
47 import org.eclipse.swt.widgets.TypedListener; 47 import org.eclipse.swt.widgets.TypedListener;
48 import org.eclipse.swt.widgets.Widget; 48 import org.eclipse.swt.widgets.Widget;
49 49
50 static import tango.text.convert.Utf; 50 static import tango.text.convert.Utf;
51 static import tango.text.Unicode; 51 static import tango.text.Unicode;
52 static import tango.text.convert.Format;
53 import java.lang.all; 52 import java.lang.all;
54 import java.lang.Runnable; 53 import java.lang.Runnable;
55 54
56 /** 55 /**
57 * The CCombo class represents a selectable user interface object 56 * The CCombo class represents a selectable user interface object
921 if (label !is null) { 920 if (label !is null) {
922 String text = label.getText (); 921 String text = label.getText ();
923 if (text !is null) { 922 if (text !is null) {
924 dchar mnemonic = _findMnemonic (text); 923 dchar mnemonic = _findMnemonic (text);
925 if (mnemonic !is '\0') { 924 if (mnemonic !is '\0') {
926 shortcut = tango.text.convert.Format.Format( "Alt+{}", mnemonic ); //$NON-NLS-1$ 925 shortcut = Format( "Alt+{}", mnemonic ); //$NON-NLS-1$
927 } 926 }
928 } 927 }
929 } 928 }
930 e.result = shortcut; 929 e.result = shortcut;
931 } 930 }