Bug 80646 [Dialogs] ResourceInfoPage should set background on read-only text widgets
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceInfoPage.java
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;
import org.eclipse.jface.dialogs.ErrorDialog;
import org.eclipse.jface.preference.FieldEditor;
import org.eclipse.jface.util.IPropertyChangeListener;
import org.eclipse.jface.util.PropertyChangeEvent;
import org.eclipse.ui.dialogs.PropertyPage;
import org.eclipse.ui.help.WorkbenchHelp;
import org.eclipse.ui.ide.dialogs.ResourceEncodingFieldEditor;
import org.eclipse.ui.internal.ide.IDEWorkbenchMessages;
import org.eclipse.ui.internal.ide.IIDEHelpContextIds;
/**
 * This is a dummy page that is added to the property dialog when multiple
 * elements are selected. At the moment we don't handle multiple selection in a
 * meaningful way.
 */
public class ResourceInfoPage extends PropertyPage {
	private Button editableBox;
	private Button executableBox;
	private Button archiveBox;
	private Button derivedBox;
	private boolean previousReadOnlyValue;
	private boolean previousExecutableValue;
	private boolean previousArchiveValue;
	private boolean previousDerivedValue;