1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 22:35:43 +02:00

Copy keylock image from cvs

This commit is contained in:
Martin Oberhuber 2006-12-07 17:36:46 +00:00
parent f7e9a85365
commit 86a3c819ff
4 changed files with 6 additions and 2 deletions

View file

@ -17,3 +17,4 @@ bin.includes = META-INF/,\
source.. = src/ source.. = src/
output.. = bin/ output.. = bin/
javacWarnings.. = -discouraged javacWarnings.. = -discouraged
src.includes = about.html

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -39,4 +39,7 @@ public interface ISshConstants {
public static final String HELP_USER_VALIDATION_DIALOG = CVSUIPREFIX + "user_validation_dialog_context"; //$NON-NLS-1$ public static final String HELP_USER_VALIDATION_DIALOG = CVSUIPREFIX + "user_validation_dialog_context"; //$NON-NLS-1$
public static final String HELP_KEYBOARD_INTERACTIVE_DIALOG = CVSUIPREFIX + "keyboard_interactive_dialog_context"; //$NON-NLS-1$ public static final String HELP_KEYBOARD_INTERACTIVE_DIALOG = CVSUIPREFIX + "keyboard_interactive_dialog_context"; //$NON-NLS-1$
// These are from TeamUIImages
public final String IMG_KEY_LOCK = "icons/full/wizban/keylock.gif"; //$NON-NLS-1$
} }

View file

@ -115,8 +115,8 @@ public class UserValidationDialog extends TrayDialog {
main.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); main.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
Label imageLabel = new Label(imageComposite, SWT.NONE); Label imageLabel = new Label(imageComposite, SWT.NONE);
//keyLockImage = TeamImages.getImageDescriptor(ITeamUIImages.IMG_KEY_LOCK).createImage(); keyLockImage = Activator.getImageDescriptor(ISshConstants.IMG_KEY_LOCK).createImage();
//imageLabel.setImage(keyLockImage); imageLabel.setImage(keyLockImage);
GridData data = new GridData(GridData.FILL_HORIZONTAL | GridData.GRAB_HORIZONTAL); GridData data = new GridData(GridData.FILL_HORIZONTAL | GridData.GRAB_HORIZONTAL);
imageLabel.setLayoutData(data); imageLabel.setLayoutData(data);