Bug 17709 Convert Line Delimiters should disable on read-only files
20020521 1. Make a CU read-only, open it in the editor 2. Source->Convert Line Delimiters actions are enabled, should be disabled
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
if (fRegisteredSelectionListeners == null)
			fRegisteredSelectionListeners= new ArrayList(12);
		provider.addSelectionChangedListener(listener);
		fRegisteredSelectionListeners.add(listener);
	}
	
	/**
	 * The state of the editor owning this action group has changed. 
	 * This method does nothing if the group's owner isn't an
	 * editor.
	 * <p>
	 * Note: This method is for internal use only. Clients should not call this method.
	 * </p>
	 */
	public void editorStateChanged() {
		Assert.isTrue(fEditorIsOwner);
		fAddImport.update();
		fExternalizeStrings.editorStateChanged();
		fOrganizeImports.editorStateChanged();
		fOverrideMethods.editorStateChanged();
		fAddUnimplementedConstructors.editorStateChanged();
		fAddJavaDocStub.editorStateChanged();
		fSurroundWithTryCatch.editorStateChanged();
		fAddGetterSetter.editorStateChanged();
	}
	/* (non-Javadoc)
	 * Method declared in ActionGroup
	 */
	public void fillActionBars(IActionBars actionBar) {
		super.fillActionBars(actionBar);