moved some doc from the editor to the editorconfig
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/editor/EmfFormEditor.java b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/editor/EmfFormEditor.java
index a673821..1d8dfc7 100644
--- a/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/editor/EmfFormEditor.java
+++ b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/editor/EmfFormEditor.java
@@ -8,7 +8,7 @@
  * Contributors:
  *     Anyware Technologies - initial API and implementation
  *
- * $Id: EmfFormEditor.java,v 1.23 2009/09/11 21:18:00 bcabe Exp $
+ * $Id: EmfFormEditor.java,v 1.24 2009/09/12 12:57:54 bcabe Exp $
  */
 package org.eclipse.pde.emfforms.editor;
 
@@ -125,6 +125,10 @@
 
 	private boolean isSaving = false;
 
+	private EmfContentOutlinePage contentOutlinePage;
+
+	private ResourceDeltaVisitor _visitor;
+
 	public EmfFormEditor() {
 		this._editorConfig = getFormEditorConfig();
 		init();
@@ -186,9 +190,7 @@
 		// executed.
 		BasicCommandStack commandStack = new BasicCommandStack();
 
-		// Create the editing domain with a special command stack, and if it's
-		// asked a shared Clipboard
-		if (isUsingSharedClipboard())
+		if (_editorConfig.isUsingSharedClipboard())
 			return new SharedClipboardAdapterFactoryEditingDomain(_adapterFactory, commandStack, new HashMap<Resource, Boolean>());
 		// else
 		return new AdapterFactoryEditingDomain(_adapterFactory, commandStack, new HashMap<Resource, Boolean>());
@@ -312,7 +314,7 @@
 	 * @param monitor
 	 */
 	protected void internalDoValidate(IProgressMonitor monitor) {
-		VALIDATE_ON_SAVE validateOnSave = validateOnSave();
+		VALIDATE_ON_SAVE validateOnSave = _editorConfig.getValidateOnSave();
 
 		// result of the Validation
 		Diagnostic diagnostic = Diagnostic.OK_INSTANCE;
@@ -366,30 +368,6 @@
 	}
 
 	/**
-	 * Return a member of {@link VALIDATE_ON_SAVE}, in order to say if a
-	 * validation must be executed before saving resource
-	 * 
-	 * <ul>
-	 * <li>
-	 * {@link VALIDATE_ON_SAVE.NO_VALIDATION} no validation executed before
-	 * saving resource</li>
-	 * <li>{@link VALIDATE_ON_SAVE.VALIDATE_AND_WARN} a validation is executed,
-	 * and only warn the user if the validation is not OK</li>
-	 * <li>
-	 * {@link VALIDATE_ON_SAVE.VALIDATE_AND_ABORT} a validation is executed, and
-	 * the resource cannot be saved</li>
-	 * </ul>
-	 * 
-	 * Clients can override this method, by default return
-	 * {@link VALIDATE_ON_SAVE.NO_VALIDATION}
-	 * 
-	 * @return {@link VALIDATE_ON_SAVE}
-	 */
-	protected final VALIDATE_ON_SAVE validateOnSave() {
-		return _editorConfig.getValidateOnSave();
-	}
-
-	/**
 	 * This returns whether something has been persisted to the URI of the
 	 * specified resource. The implementation uses the URI converter from the
 	 * editor's resource set to try to open an input stream.
@@ -546,15 +524,6 @@
 	}
 
 	/**
-	 * @return <code>true</code> if this editor must use a shared clipboard,
-	 *         which will allow copy/paste actions between different instance of
-	 *         the same editor. The default return value is <code>false</code>
-	 */
-	public final boolean isUsingSharedClipboard() {
-		return this._editorConfig.isUsingSharedClipboard();
-	}
-
-	/**
 	 * @param event
 	 */
 	protected void handleCommandStackChanged(final EventObject event) {
@@ -677,13 +646,6 @@
 	}
 
 	/**
-	 * This is the content outline page.
-	 */
-	protected EmfContentOutlinePage contentOutlinePage;
-
-	private ResourceDeltaVisitor _visitor;
-
-	/**
 	 * This accesses a cached version of the content outliner.
 	 */
 	private IContentOutlinePage getContentOutlinePage() {
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/editor/IEmfFormEditorConfig.java b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/editor/IEmfFormEditorConfig.java
index c50d71f..5a44c1a 100644
--- a/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/editor/IEmfFormEditorConfig.java
+++ b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/editor/IEmfFormEditorConfig.java
@@ -8,7 +8,7 @@
  * Contributors:
  *     Anyware Technologies - initial API and implementation
  *
- * $Id: IEmfFormEditorConfig.java,v 1.2 2009/07/05 20:22:09 bcabe Exp $
+ * $Id: IEmfFormEditorConfig.java,v 1.3 2009/08/19 14:54:21 bcabe Exp $
  */
 package org.eclipse.pde.emfforms.editor;
 
@@ -20,21 +20,43 @@
 		NO_VALIDATION, VALIDATE_AND_WARN, VALIDATE_AND_ABORT
 	}
 
-	public abstract VALIDATE_ON_SAVE getValidateOnSave();
+	/**
+	 * Return a member of {@link VALIDATE_ON_SAVE}, in order to say if a
+	 * validation must be executed before saving resource
+	 * 
+	 * <ul>
+	 * <li>
+	 * {@link VALIDATE_ON_SAVE#NO_VALIDATION} no validation executed before
+	 * saving resource</li>
+	 * <li>{@link VALIDATE_ON_SAVE#VALIDATE_AND_WARN} a validation is executed,
+	 * and only warn the user if the validation is not OK</li>
+	 * <li>
+	 * {@link VALIDATE_ON_SAVE#VALIDATE_AND_ABORT} a validation is executed, and
+	 * the resource cannot be saved</li>
+	 * </ul>
+	 * 
+	 * @return {@link VALIDATE_ON_SAVE}
+	 */
+	VALIDATE_ON_SAVE getValidateOnSave();
 
-	public abstract boolean isSaveAsAllowed();
+	boolean isSaveAsAllowed();
 
-	public abstract boolean isUsingSharedClipboard();
+	/**
+	 * @return <code>true</code> if the associated editor must use a shared clipboard,
+	 *         which will allow copy/paste actions between different instance of
+	 *         the same editor.
+	 */
+	boolean isUsingSharedClipboard();
 
-	public abstract boolean isShowOutlinePage();
+	boolean isShowOutlinePage();
 
-	public abstract boolean isShowSourcePage();
+	boolean isShowSourcePage();
 
 	/**
 	 * 
 	 * @param display
 	 * @return customized toolkit if not null, otherwise default toolkit from display
 	 */
-	public abstract PDEFormToolkit createPDEFormToolkit(Display display);
+	PDEFormToolkit createPDEFormToolkit(Display display);
 
 }
\ No newline at end of file