Bug 17598 Source->Generate Getter and Setter enabled for read only file
F1 This action is enabled for read-only files. Executing it shows a dialog saying that the file is read-only. The action should be disabled since all other source actions are disabled as well.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
private final NameProposer fNameProposer;
		private static final Image IMAGE= new JavaElementImageProvider().getImageLabel(new JavaElementImageDescriptor(JavaPluginImages.DESC_MISC_PUBLIC, 0, JavaElementImageProvider.BIG_SIZE));
		
		AddGetterSetterLabelProvider(NameProposer nameProposer){
			fNameProposer= nameProposer;
		}
		/*
		 * @see ILabelProvider#getText(Object)
		 */
		public String getText(Object element) {
			try {
				if (! (element instanceof GetterSetterEntry))
					return super.getText(element);
				GetterSetterEntry entry= (GetterSetterEntry)element;
				if (entry.isGetterEntry)
					return fNameProposer.proposeGetterSignature(entry.field);
				else
					return fNameProposer.proposeSetterSignature(entry.field);
			} catch (JavaModelException e) {
				return ""; 
			}
		}
		/*
		 * @see ILabelProvider#getImage(Object)
		 */
		public Image getImage(Object element) {
			if (element instanceof GetterSetterEntry)