### Eclipse Workspace Patch 1.0 #P org.guvnor.tools Index: src/org/guvnor/tools/properties/RepositoryElementPropsDialog.java =================================================================== --- src/org/guvnor/tools/properties/RepositoryElementPropsDialog.java (revision 32581) +++ src/org/guvnor/tools/properties/RepositoryElementPropsDialog.java (working copy) @@ -13,6 +13,7 @@ import org.eclipse.swt.layout.GridData; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; +import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.TabFolder; @@ -89,14 +90,17 @@ private void addSecurityProperties(Composite composite) { new Label(composite, SWT.NONE).setText(Messages.getString("user.name")); //$NON-NLS-1$ - unField = new Text(composite, SWT.SINGLE | SWT.BORDER); + unField = new Text(composite, SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY); unField.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); unField.setEditable(false); + unField.setBackground(Display.getDefault().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND)); new Label(composite, SWT.NONE).setText(Messages.getString("password")); //$NON-NLS-1$ - pwField = new Text(composite, SWT.SINGLE | SWT.BORDER | SWT.PASSWORD); + pwField = new Text(composite, SWT.SINGLE | SWT.BORDER | SWT.PASSWORD | SWT.READ_ONLY); pwField.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); pwField.setEditable(false); + pwField.setBackground(Display.getDefault().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND)); + populateSecuritySettings(); }