bug 264783: [modeling] Initial check-in org.eclipse.pde.emfforms
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/.classpath b/modeling/plugins/org.eclipse.pde.emfforms/.classpath
new file mode 100644
index 0000000..64c5e31
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/.project b/modeling/plugins/org.eclipse.pde.emfforms/.project
new file mode 100644
index 0000000..248c27d
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.eclipse.pde.emfforms</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/.settings/org.eclipse.core.resources.prefs b/modeling/plugins/org.eclipse.pde.emfforms/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..d273e88
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Thu Feb 12 18:01:12 CET 2009
+eclipse.preferences.version=1
+encoding/<project>=ISO-8859-1
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/.settings/org.eclipse.jdt.core.prefs b/modeling/plugins/org.eclipse.pde.emfforms/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..32792aa
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,357 @@
+#Thu Feb 12 22:49:34 CET 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.builder.cleanOutputFolder=clean
+org.eclipse.jdt.core.builder.duplicateResourceTask=warning
+org.eclipse.jdt.core.builder.invalidClasspath=abort
+org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=ignore
+org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch
+org.eclipse.jdt.core.circularClasspath=error
+org.eclipse.jdt.core.classpath.exclusionPatterns=enabled
+org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.doc.comment.support=enabled
+org.eclipse.jdt.core.compiler.maxProblemPerUnit=1000
+org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
+org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
+org.eclipse.jdt.core.compiler.problem.deadCode=warning
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
+org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
+org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
+org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
+org.eclipse.jdt.core.compiler.problem.fieldHiding=warning
+org.eclipse.jdt.core.compiler.problem.finalParameterBound=ignore
+org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
+org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
+org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
+org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
+org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning
+org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=disabled
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=private
+org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
+org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
+org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore
+org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=enabled
+org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag
+org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=enabled
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
+org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
+org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
+org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning
+org.eclipse.jdt.core.compiler.problem.nullReference=warning
+org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
+org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning
+org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
+org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
+org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
+org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
+org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
+org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
+org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
+org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
+org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
+org.eclipse.jdt.core.compiler.problem.unsafeTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedImport=error
+org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
+org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
+org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=enabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=enabled
+org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=error
+org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
+org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
+org.eclipse.jdt.core.formatter.blank_lines_before_field=0
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
+org.eclipse.jdt.core.formatter.comment.format_block_comments=false
+org.eclipse.jdt.core.formatter.comment.format_header=false
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=false
+org.eclipse.jdt.core.formatter.comment.format_line_comments=false
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=false
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=false
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert
+org.eclipse.jdt.core.formatter.comment.line_length=80
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true
+org.eclipse.jdt.core.formatter.indentation.size=4
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.join_lines_in_comments=true
+org.eclipse.jdt.core.formatter.join_wrapped_lines=true
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.lineSplit=800
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=true
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=false
+org.eclipse.jdt.core.formatter.tabulation.char=tab
+org.eclipse.jdt.core.formatter.tabulation.size=4
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
+org.eclipse.jdt.core.incompatibleJDKLevel=ignore
+org.eclipse.jdt.core.incompleteClasspath=error
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/.settings/org.eclipse.jdt.ui.prefs b/modeling/plugins/org.eclipse.pde.emfforms/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 0000000..ce14527
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,59 @@
+#Thu Feb 12 22:49:01 CET 2009
+eclipse.preferences.version=1
+editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
+formatter_profile=_core
+formatter_settings_version=11
+org.eclipse.jdt.ui.ignorelowercasenames=true
+org.eclipse.jdt.ui.importorder=;
+org.eclipse.jdt.ui.ondemandthreshold=3
+org.eclipse.jdt.ui.staticondemandthreshold=99
+sp_cleanup.add_default_serial_version_id=true
+sp_cleanup.add_generated_serial_version_id=false
+sp_cleanup.add_missing_annotations=true
+sp_cleanup.add_missing_deprecated_annotations=true
+sp_cleanup.add_missing_methods=false
+sp_cleanup.add_missing_nls_tags=false
+sp_cleanup.add_missing_override_annotations=true
+sp_cleanup.add_serial_version_id=false
+sp_cleanup.always_use_blocks=true
+sp_cleanup.always_use_parentheses_in_expressions=false
+sp_cleanup.always_use_this_for_non_static_field_access=false
+sp_cleanup.always_use_this_for_non_static_method_access=false
+sp_cleanup.convert_to_enhanced_for_loop=false
+sp_cleanup.correct_indentation=false
+sp_cleanup.format_source_code=true
+sp_cleanup.format_source_code_changes_only=false
+sp_cleanup.make_local_variable_final=false
+sp_cleanup.make_parameters_final=false
+sp_cleanup.make_private_fields_final=true
+sp_cleanup.make_variable_declarations_final=true
+sp_cleanup.never_use_blocks=false
+sp_cleanup.never_use_parentheses_in_expressions=true
+sp_cleanup.on_save_use_additional_actions=false
+sp_cleanup.organize_imports=true
+sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
+sp_cleanup.remove_private_constructors=true
+sp_cleanup.remove_trailing_whitespaces=false
+sp_cleanup.remove_trailing_whitespaces_all=true
+sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
+sp_cleanup.remove_unnecessary_casts=true
+sp_cleanup.remove_unnecessary_nls_tags=false
+sp_cleanup.remove_unused_imports=false
+sp_cleanup.remove_unused_local_variables=false
+sp_cleanup.remove_unused_private_fields=true
+sp_cleanup.remove_unused_private_members=false
+sp_cleanup.remove_unused_private_methods=true
+sp_cleanup.remove_unused_private_types=true
+sp_cleanup.sort_members=false
+sp_cleanup.sort_members_all=false
+sp_cleanup.use_blocks=false
+sp_cleanup.use_blocks_only_for_return_and_throw=false
+sp_cleanup.use_parentheses_in_expressions=false
+sp_cleanup.use_this_for_non_static_field_access=false
+sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+sp_cleanup.use_this_for_non_static_method_access=false
+sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/.settings/org.eclipse.pde.prefs b/modeling/plugins/org.eclipse.pde.emfforms/.settings/org.eclipse.pde.prefs
new file mode 100644
index 0000000..3a83987
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/.settings/org.eclipse.pde.prefs
@@ -0,0 +1,13 @@
+#Wed Mar 29 03:57:21 EST 2006
+compilers.p.build=1
+compilers.p.deprecated=1
+compilers.p.no-required-att=0
+compilers.p.not-externalized-att=1
+compilers.p.unknown-attribute=1
+compilers.p.unknown-class=1
+compilers.p.unknown-element=1
+compilers.p.unknown-resource=1
+compilers.p.unresolved-ex-points=0
+compilers.p.unresolved-import=0
+compilers.use-project=true
+eclipse.preferences.version=1
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/META-INF/MANIFEST.MF b/modeling/plugins/org.eclipse.pde.emfforms/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..9b51788
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/META-INF/MANIFEST.MF
@@ -0,0 +1,22 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.pde.emfforms
+Bundle-Version: 0.1.0
+Bundle-Activator: org.eclipse.pde.emfforms.internal.Activator
+Bundle-Vendor: %providerName
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.ui.forms;bundle-version="3.3.100",
+ org.eclipse.emf.databinding.edit;bundle-version="1.0.0",
+ org.eclipse.emf.ecore.xmi;bundle-version="2.4.0",
+ org.eclipse.emf.edit.ui;bundle-version="2.4.0",
+ org.eclipse.ui.ide;bundle-version="3.4.0",
+ org.eclipse.jface.databinding;bundle-version="1.2.0"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-Localization: plugin
+Bundle-ActivationPolicy: lazy
+Export-Package: org.eclipse.pde.emfforms.databinding,
+ org.eclipse.pde.emfforms.editor,
+ org.eclipse.pde.emfforms.internal;x-internal:=true,
+ org.eclipse.pde.emfforms.internal.editor;x-internal:=true
+Import-Package: org.eclipse.core.resources
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/build.properties b/modeling/plugins/org.eclipse.pde.emfforms/build.properties
new file mode 100644
index 0000000..ff904e8
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/build.properties
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+               .,\
+               plugin.properties
+               
\ No newline at end of file
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/plugin.properties b/modeling/plugins/org.eclipse.pde.emfforms/plugin.properties
new file mode 100644
index 0000000..dc137f7
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/plugin.properties
Binary files differ
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/databinding/EMFValidatingUpdateValueStrategy.java b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/databinding/EMFValidatingUpdateValueStrategy.java
new file mode 100644
index 0000000..320fd2b
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/databinding/EMFValidatingUpdateValueStrategy.java
@@ -0,0 +1,73 @@
+/**
+ * Copyright (c) 2009 Anyware Technologies and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * 
+ * Contributors:
+ *     Anyware Technologies - initial API and implementation
+ *
+ * $Id$
+ */
+package org.eclipse.pde.emfforms.databinding;
+
+import org.eclipse.core.databinding.UpdateValueStrategy;
+import org.eclipse.core.databinding.observable.value.IObservableValue;
+import org.eclipse.core.runtime.*;
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.common.util.Diagnostic;
+import org.eclipse.emf.databinding.EMFUpdateValueStrategy;
+import org.eclipse.emf.databinding.EObjectObservableValue;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.util.Diagnostician;
+
+/**
+ * {@link UpdateValueStrategy} derived from {@link EMFUpdateValueStrategy}
+ * that performs validation as soon as a new value is set
+ * 
+ */
+public class EMFValidatingUpdateValueStrategy extends EMFUpdateValueStrategy {
+
+	@Override
+	protected IStatus doSet(IObservableValue observableValue, Object value) {
+		EStructuralFeature eStructuralFeature = null;
+		EObject eobject = null;
+
+		IStatus currentstatus = super.doSet(observableValue, value);
+
+		if (observableValue instanceof EObjectObservableValue) {
+
+			EObjectObservableValue eObjectObservableValue = (EObjectObservableValue) observableValue;
+			eobject = (EObject) eObjectObservableValue.getObserved();
+			eStructuralFeature = (EStructuralFeature) eObjectObservableValue.getValueType();
+
+			BasicDiagnostic dc = new BasicDiagnostic();
+			Diagnostician.INSTANCE.validate(eobject, dc);
+			IStatus ret = getMultiStatusForFeature(dc, eStructuralFeature, currentstatus);
+			return ret;
+		}
+		// else
+		return currentstatus;
+	}
+
+	private IStatus getMultiStatusForFeature(BasicDiagnostic dc, EStructuralFeature eStructuralFeature, IStatus currentstatus) {
+		MultiStatus multiStatus = new MultiStatus(currentstatus.getPlugin(), currentstatus.getCode(), currentstatus.getMessage(), currentstatus.getException());
+		for (Diagnostic d : dc.getChildren()) {
+			/**
+			 * according to
+			 * <code>org.eclipse.emf.common.util.Diagnostic.getData()</code>,
+			 * the second element of the array is typically the problematic
+			 * feature
+			 */
+			if (d.getData().size() >= 2) {
+				if (d.getData().get(1) == eStructuralFeature) {
+					multiStatus.add(new Status(d.getSeverity(), currentstatus.getPlugin(), d.getCode(), d.getMessage(), d.getException()));
+				}
+			}
+		}
+
+		return multiStatus;
+	}
+}
\ No newline at end of file
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/editor/AbstractEmfFormPage.java b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/editor/AbstractEmfFormPage.java
new file mode 100644
index 0000000..06e6499
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/editor/AbstractEmfFormPage.java
@@ -0,0 +1,110 @@
+/**
+ * Copyright (c) 2009 Anyware Technologies and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * 
+ * Contributors:
+ *     Anyware Technologies - initial API and implementation
+ *
+ * $Id$
+ */
+package org.eclipse.pde.emfforms.editor;
+
+import org.eclipse.core.databinding.DataBindingContext;
+import org.eclipse.emf.databinding.EMFDataBindingContext;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.jface.layout.GridDataFactory;
+import org.eclipse.jface.viewers.Viewer;
+import org.eclipse.pde.emfforms.internal.editor.MessageManagerListener;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.ui.forms.IManagedForm;
+import org.eclipse.ui.forms.editor.FormEditor;
+import org.eclipse.ui.forms.editor.FormPage;
+import org.eclipse.ui.forms.widgets.Form;
+
+/**
+ * Generic page for {@link EObject} edition
+ * 
+ */
+public abstract class AbstractEmfFormPage extends FormPage {
+	public static String ID;
+
+	protected DataBindingContext _bindingContext;
+
+	/**
+	 * Constructor that creates the page and initializes it with the editor.
+	 * 
+	 * @param editor
+	 *            the parent editor
+	 */
+	public AbstractEmfFormPage(FormEditor editor) {
+		super(editor, "", ""); //$NON-NLS-1$ //$NON-NLS-2$
+
+		this.setPartName(getPageName());
+	}
+
+	@Override
+	protected void createFormContent(IManagedForm managedForm) {
+		super.createFormContent(managedForm);
+		Composite body = managedForm.getForm().getBody();
+
+		GridLayout gl = new GridLayout(getNumColumns(), true);
+		gl.verticalSpacing = 20;
+
+		createHeader();
+
+		Composite actualContent = null;
+
+		if (!isMasterDetail()) {
+			actualContent = this.getEditor().getToolkit().createComposite(body, SWT.NONE);
+			GridDataFactory.swtDefaults().span(getNumColumns(), 1).align(SWT.FILL, SWT.FILL).grab(true, true).applyTo(actualContent);
+			actualContent.setLayout(gl);
+		}
+
+		createContents(actualContent);
+
+		body.setLayout(gl);
+
+		adaptComposites();
+
+		// TODO probably not the best way to do (i.e. having one DBC per page)
+		_bindingContext = new EMFDataBindingContext();
+		_bindingContext.getValidationStatusProviders().addListChangeListener(new MessageManagerListener(managedForm.getMessageManager()));
+		bind(_bindingContext);
+	}
+
+	private void createHeader() {
+		Form f = this.getManagedForm().getForm().getForm();
+		f.setText(this.getPageName());
+		this.getEditor().getToolkit().decorateFormHeading(f);
+	}
+
+	/**
+	 * @return the editor form toolkit
+	 */
+	protected PDEFormToolkit getFormToolkit() {
+		return (PDEFormToolkit) getEditor().getToolkit();
+	}
+
+	@Override
+	public abstract String getId();
+
+	protected abstract int getNumColumns();
+
+	protected abstract String getPageName();
+
+	protected abstract void createContents(Composite parent);
+
+	protected abstract void adaptComposites();
+
+	protected abstract void bind(DataBindingContext bindingContext);
+
+	protected abstract boolean isMasterDetail();
+
+	protected abstract Viewer getViewer();
+
+}
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
new file mode 100644
index 0000000..178911e
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/editor/EmfFormEditor.java
@@ -0,0 +1,543 @@
+/**
+ * Copyright (c) 2009 Anyware Technologies and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * 
+ * Contributors:
+ *     Anyware Technologies - initial API and implementation
+ *
+ * $Id$
+ */
+package org.eclipse.pde.emfforms.editor;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.*;
+import java.util.List;
+import org.eclipse.core.databinding.observable.value.IObservableValue;
+import org.eclipse.core.databinding.observable.value.WritableValue;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.*;
+import org.eclipse.emf.common.command.*;
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.ui.dialogs.DiagnosticDialog;
+import org.eclipse.emf.common.ui.viewer.IViewerProvider;
+import org.eclipse.emf.common.util.Diagnostic;
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.util.Diagnostician;
+import org.eclipse.emf.edit.command.CreateChildCommand;
+import org.eclipse.emf.edit.domain.*;
+import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
+import org.eclipse.emf.edit.provider.ReflectiveItemProviderAdapterFactory;
+import org.eclipse.emf.edit.provider.resource.ResourceItemProviderAdapterFactory;
+import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
+import org.eclipse.emf.edit.ui.util.EditUIUtil;
+import org.eclipse.jface.dialogs.*;
+import org.eclipse.jface.viewers.*;
+import org.eclipse.jface.window.Window;
+import org.eclipse.pde.emfforms.internal.Activator;
+import org.eclipse.pde.emfforms.internal.editor.Messages;
+import org.eclipse.swt.graphics.Image;
+import org.eclipse.swt.widgets.*;
+import org.eclipse.ui.*;
+import org.eclipse.ui.actions.WorkspaceModifyOperation;
+import org.eclipse.ui.dialogs.SaveAsDialog;
+import org.eclipse.ui.forms.editor.FormEditor;
+import org.eclipse.ui.forms.editor.IFormPage;
+import org.eclipse.ui.part.FileEditorInput;
+
+/**
+ * A {@link FormEditor} allowing to edit an EMF {@link EObject} in a convenient
+ * way
+ * 
+ * @param <T>
+ *            The type of the {@link EObject} to edit.
+ */
+public abstract class EmfFormEditor<T extends EObject> extends FormEditor implements IEditingDomainProvider, ISelectionProvider, IViewerProvider {
+
+	/**
+	 * This keeps track of the editing domain that is used to track all changes
+	 * to the model.
+	 */
+	private EditingDomain _editingDomain;
+
+	/**
+	 * This is the one adapter factory used for providing views of the model.
+	 */
+	private ComposedAdapterFactory _adapterFactory;
+
+	private final IObservableValue _observableValue = new WritableValue();
+
+	private T _currentEObject;
+
+	/**
+	 * This keeps track of all the
+	 * {@link org.eclipse.jface.viewers.ISelectionChangedListener}s that are
+	 * listening to this editor.
+	 */
+	protected Collection<ISelectionChangedListener> selectionChangedListeners = new ArrayList<ISelectionChangedListener>();
+
+	protected ISelection editorSelection = StructuredSelection.EMPTY;
+
+	private CommandStackListener _commandStackListener = new CommandStackListener() {
+		public void commandStackChanged(final EventObject event) {
+			getContainer().getDisplay().asyncExec(new Runnable() {
+				public void run() {
+					handleCommandStackChanged(event);
+				}
+			});
+		}
+	};
+
+	public EmfFormEditor() {
+		_editingDomain = createEditingDomain();
+
+		// Add a listener to set the most recent command's affected objects to
+		// be the selection of the viewer with focus.
+		//
+		getEditingDomain().getCommandStack().addCommandStackListener(_commandStackListener);
+	}
+
+	/**
+	 * This is called during startup.
+	 */
+	@Override
+	public void init(IEditorSite site, IEditorInput editorInput) {
+		setSite(site);
+		setInputWithNotify(editorInput);
+
+		setPartName(getPartName());
+		// -- To manage Copy/Cut/Paste
+		site.setSelectionProvider(this);
+	}
+
+	@Override
+	public abstract String getPartName();
+
+	@Override
+	public void dispose() {
+		getEditingDomain().getCommandStack().removeCommandStackListener(_commandStackListener);
+		if (_adapterFactory != null) {
+			_adapterFactory.dispose();
+		}
+
+		super.dispose();
+	}
+
+	/**
+	 * This sets up the editing domain for the model editor.
+	 */
+	protected EditingDomain createEditingDomain() {
+		_adapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE);
+
+		_adapterFactory.addAdapterFactory(new ResourceItemProviderAdapterFactory());
+		_adapterFactory.addAdapterFactory(new ReflectiveItemProviderAdapterFactory());
+		_adapterFactory.addAdapterFactory(getSpecificAdapterFactory());
+
+		// Create the command stack that will notify this editor as commands are
+		// executed.
+		BasicCommandStack commandStack = new BasicCommandStack();
+
+		// Create the editing domain with a special command stack, and if it's
+		// asked a shared Clipboard
+		if (isUsingSharedClipboard())
+			return new SharedClipboardAdapterFactoryEditingDomain(_adapterFactory, commandStack, new HashMap<Resource, Boolean>());
+		// else
+		return new AdapterFactoryEditingDomain(_adapterFactory, commandStack, new HashMap<Resource, Boolean>());
+	}
+
+	/**
+	 * 
+	 * @return
+	 */
+	protected abstract AdapterFactory getSpecificAdapterFactory();
+
+	@Override
+	protected void addPages() {
+		// Creates the model from the editor input
+		createModel();
+
+		try {
+			for (AbstractEmfFormPage page : getPagesToAdd())
+				addPage(page);
+
+			int i = 0;
+			for (Image img : getPagesImages())
+				setPageImage(i++, img);
+
+		} catch (PartInitException e) {
+			org.eclipse.pde.emfforms.internal.Activator.logException(e, Messages.EmfFormEditor_InitError);
+		}
+	}
+
+	/**
+	 * @throws PartInitException
+	 */
+	protected abstract List<? extends AbstractEmfFormPage> getPagesToAdd() throws PartInitException;
+
+	protected abstract List<Image> getPagesImages();
+
+	@Override
+	public void doSave(IProgressMonitor monitor) {
+		try {
+			internalDoValidate(monitor);
+
+			// Do the work within an operation because this is a long running
+			// activity that modifies the workbench.
+			WorkspaceModifyOperation operation = new WorkspaceModifyOperation() {
+				// This is the method that gets invoked when the operation runs.
+				@Override
+				public void execute(IProgressMonitor monitor) throws CoreException {
+					try {
+						internalDoSave(monitor);
+					} catch (IOException ioe) {
+						throw new CoreException(new Status(IStatus.ERROR, Activator.PLUGIN_ID, 0, Messages.EmfFormEditor_SaveError, ioe));
+					}
+				}
+			};
+
+			try {
+				// This runs the options, and shows progress.
+				new ProgressMonitorDialog(getSite().getShell()).run(true, false, operation);
+
+				// Refresh the necessary state.
+				((BasicCommandStack) getEditingDomain().getCommandStack()).saveIsDone();
+				firePropertyChange(IEditorPart.PROP_DIRTY);
+				getEditingDomain().getCommandStack().flush();
+
+			} catch (Exception exception) {
+				// Something went wrong that shouldn't.
+				MessageDialog.openError(getSite().getShell(), Messages.EmfFormEditor_SaveError_Title, Messages.EmfFormEditor_SaveError_Msg);
+				Activator.logException(exception, Messages.EmfFormEditor_SaveError_Exception);
+			}
+
+		} catch (OperationCanceledException oce) {
+			// Do nothing
+		}
+
+	}
+
+	/**
+	 * @param monitor
+	 * @throws IOException
+	 */
+	protected void internalDoSave(IProgressMonitor monitor) throws IOException {
+		// Save only resources that have actually changed.
+		final Map<Object, Object> saveOptions = new HashMap<Object, Object>();
+		saveOptions.put(Resource.OPTION_SAVE_ONLY_IF_CHANGED, Resource.OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER);
+		// Save the resources to the file system.
+		boolean first = true;
+		for (Resource resource : getEditingDomain().getResourceSet().getResources()) {
+			if ((first || !resource.getContents().isEmpty() || isPersisted(resource)) && !getEditingDomain().isReadOnly(resource)) {
+				resource.save(saveOptions);
+
+				first = false;
+			}
+		}
+	}
+
+	/**
+	 * @param monitor
+	 */
+	protected void internalDoValidate(IProgressMonitor monitor) {
+		VALIDATE_ON_SAVE validateOnSave = validateOnSave();
+
+		// result of the Validation
+		Diagnostic diagnostic = Diagnostic.OK_INSTANCE;
+
+		// if the validation is asked by the user
+		if (validateOnSave != VALIDATE_ON_SAVE.NO_VALIDATION)
+			diagnostic = Diagnostician.INSTANCE.validate(getCurrentEObject());
+
+		if (diagnostic.getSeverity() != Diagnostic.OK) {
+			switch (validateOnSave) {
+				case VALIDATE_AND_WARN :
+					int dialogResult = new DiagnosticDialog(getSite().getShell(), Messages.EmfFormEditor_DiaDialog_InvalidModel_Title, null, diagnostic, Diagnostic.ERROR | Diagnostic.WARNING) {
+						@Override
+						protected Control createMessageArea(Composite composite) {
+							message = Messages.EmfFormEditor_ValidationWarn_Msg;
+							return super.createMessageArea(composite);
+						}
+
+						@Override
+						protected void createButtonsForButtonBar(Composite parent) {
+							// create OK and Details buttons
+							createButton(parent, IDialogConstants.OK_ID, IDialogConstants.YES_LABEL, true);
+							createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.NO_LABEL, true);
+							createDetailsButton(parent);
+						}
+					}.open();
+
+					if (dialogResult != Window.OK) {
+						if (monitor != null)
+							monitor.setCanceled(true);
+						throw new OperationCanceledException();
+					}
+					break;
+				case VALIDATE_AND_ABORT :
+					new DiagnosticDialog(getSite().getShell(), Messages.EmfFormEditor_DiaDialog_InvalidModel_Title, null, diagnostic, Diagnostic.ERROR | Diagnostic.WARNING) {
+						@Override
+						protected Control createMessageArea(Composite composite) {
+							message = Messages.EmfFormEditor_ValidationError_Msg;
+							return super.createMessageArea(composite);
+						}
+					}.open();
+
+					monitor.setCanceled(true);
+
+					throw new OperationCanceledException();
+				default :
+					// fall through
+			}
+
+		}
+	}
+
+	/**
+	 * 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 VALIDATE_ON_SAVE validateOnSave() {
+		return VALIDATE_ON_SAVE.NO_VALIDATION;
+	}
+
+	public enum VALIDATE_ON_SAVE {
+		NO_VALIDATION, VALIDATE_AND_WARN, VALIDATE_AND_ABORT
+	}
+
+	/**
+	 * 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.
+	 */
+	protected boolean isPersisted(Resource resource) {
+		boolean result = false;
+		try {
+			InputStream stream = getEditingDomain().getResourceSet().getURIConverter().createInputStream(resource.getURI());
+			if (stream != null) {
+				result = true;
+				stream.close();
+			}
+		} catch (IOException e) {
+			// Ignore
+		}
+		return result;
+	}
+
+	/**
+	 * This also changes the editor's input.
+	 */
+	@Override
+	public void doSaveAs() {
+		SaveAsDialog saveAsDialog = new SaveAsDialog(getSite().getShell());
+		saveAsDialog.open();
+		IPath path = saveAsDialog.getResult();
+		if (path != null) {
+			IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(path);
+			if (file != null) {
+				doSaveAs(URI.createPlatformResourceURI(file.getFullPath().toString(), true), new FileEditorInput(file));
+			}
+		}
+	}
+
+	protected void doSaveAs(URI uri, IEditorInput editorInput) {
+		(getEditingDomain().getResourceSet().getResources().get(0)).setURI(uri);
+		setInputWithNotify(editorInput);
+		setPartName(editorInput.getName());
+		IProgressMonitor progressMonitor = getActionBars().getStatusLineManager() != null ? getActionBars().getStatusLineManager().getProgressMonitor() : new NullProgressMonitor();
+		doSave(progressMonitor);
+	}
+
+	/**
+	 * This is for implementing {@link IEditorPart} and simply tests the command
+	 * stack.
+	 */
+	@Override
+	public boolean isDirty() {
+		return ((BasicCommandStack) getEditingDomain().getCommandStack()).isSaveNeeded();
+	}
+
+	@Override
+	public boolean isSaveAsAllowed() {
+		return true;
+	}
+
+	@Override
+	protected PDEFormToolkit createToolkit(Display display) {
+		return new PDEFormToolkit(display);
+	}
+
+	/**
+	 * This is the method called to load a resource into the editing domain's
+	 * resource set based on the editor's input.
+	 */
+	public void createModel() {
+		URI resourceURI = EditUIUtil.getURI(getEditorInput());
+		Resource resource;
+		try {
+			// Load the resource through the editing domain.
+			resource = getEditingDomain().getResourceSet().getResource(resourceURI, true);
+		} catch (Exception e) {
+			resource = getEditingDomain().getResourceSet().getResource(resourceURI, false);
+		}
+
+		setMainResource(resource);
+	}
+
+	protected void setMainResource(Resource resource) {
+		_currentEObject = (T) resource.getContents().get(0);
+		_observableValue.setValue(_currentEObject);
+	}
+
+	/**
+	 * This returns the editing domain as required by the
+	 * {@link IEditingDomainProvider} interface. This is important for
+	 * implementing the static methods of {@link AdapterFactoryEditingDomain}
+	 * and for supporting {@link org.eclipse.emf.edit.ui.action.CommandAction}.
+	 */
+	public EditingDomain getEditingDomain() {
+		return _editingDomain;
+	}
+
+	public EditingDomainActionBarContributor getActionBarContributor() {
+		return (EditingDomainActionBarContributor) getEditorSite().getActionBarContributor();
+	}
+
+	public IActionBars getActionBars() {
+		return getActionBarContributor().getActionBars();
+	}
+
+	/**
+	 * @return The {@link T} currently edited
+	 */
+	protected T getCurrentEObject() {
+		return _currentEObject;
+	}
+
+	public IObservableValue getInputObservable() {
+		return _observableValue;
+	}
+
+	// -------------------------------------------//
+	// -- Context Menu on EMF objects ------------//
+	// -------------------------------------------//
+
+	/**
+	 * @param viewer
+	 */
+	public void addViewerToListenTo(StructuredViewer viewer) {
+		// This listener is used to manage copy/paste...
+		viewer.addSelectionChangedListener(new ISelectionChangedListener() {
+			public void selectionChanged(SelectionChangedEvent selectionChangedEvent) {
+				setSelection(selectionChangedEvent.getSelection());
+			}
+		});
+	}
+
+	public void addSelectionChangedListener(ISelectionChangedListener listener) {
+		selectionChangedListeners.add(listener);
+	}
+
+	public ISelection getSelection() {
+		return editorSelection;
+	}
+
+	public void removeSelectionChangedListener(ISelectionChangedListener listener) {
+		selectionChangedListeners.remove(listener);
+	}
+
+	public void setSelection(ISelection selection) {
+		editorSelection = selection;
+
+		for (ISelectionChangedListener listener : selectionChangedListeners) {
+			listener.selectionChanged(new SelectionChangedEvent(this, selection));
+		}
+	}
+
+	public Viewer getViewer() {
+		AbstractEmfFormPage page = (AbstractEmfFormPage) pages.get(getActivePage());
+		return page.getViewer();
+	}
+
+	/**
+	 * @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 boolean isUsingSharedClipboard() {
+		return false;
+	}
+
+	/**
+	 * @param event
+	 */
+	protected void handleCommandStackChanged(final EventObject event) {
+		// the edited object has been changed
+		firePropertyChange(IWorkbenchPartConstants.PROP_DIRTY);
+		// since the title of the editor is, most of the time,
+		// computed using some object attribute, ask the editor
+		// to refresh it!
+		firePropertyChange(IWorkbenchPartConstants.PROP_TITLE);
+
+		IFormPage activePage = getActivePageInstance();
+		if (activePage != null) {
+			if (((AbstractEmfFormPage) activePage).getViewer() != null) {
+				// Select the affected objects in the viewer
+				Command mostRecentCommand = ((CommandStack) event.getSource()).getMostRecentCommand();
+				if (mostRecentCommand != null) {
+					if (mostRecentCommand instanceof CreateChildCommand) {
+						Collection<?> objects = mostRecentCommand.getAffectedObjects();
+						if (objects != null && !objects.isEmpty())
+							((AbstractEmfFormPage) activePage).getViewer().setSelection(new StructuredSelection(objects.toArray()[objects.size() - 1]), true);
+					}
+				}
+			}
+		}
+	}
+
+	private static class SharedClipboardAdapterFactoryEditingDomain extends AdapterFactoryEditingDomain {
+		private static Collection<Object> clipboard;
+
+		/**
+		 * @param adapterFactory
+		 * @param commandStack
+		 * @param resourceToReadOnlyMap
+		 */
+		public SharedClipboardAdapterFactoryEditingDomain(AdapterFactory adapterFactory, CommandStack commandStack, Map<Resource, Boolean> resourceToReadOnlyMap) {
+			super(adapterFactory, commandStack, resourceToReadOnlyMap);
+
+		}
+
+		@Override
+		public Collection<Object> getClipboard() {
+			return SharedClipboardAdapterFactoryEditingDomain.clipboard;
+		}
+
+		@Override
+		public void setClipboard(Collection<Object> clipboard) {
+			SharedClipboardAdapterFactoryEditingDomain.clipboard = clipboard;
+		}
+	}
+
+}
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/editor/PDEFormToolkit.java b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/editor/PDEFormToolkit.java
new file mode 100644
index 0000000..710cd40
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/editor/PDEFormToolkit.java
@@ -0,0 +1,405 @@
+/**
+ * Copyright (c) 2009 Anyware Technologies and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * 
+ * Contributors:
+ *     Anyware Technologies - initial API and implementation
+ *
+ * $Id$
+ */
+package org.eclipse.pde.emfforms.editor;
+
+import org.eclipse.jface.action.ToolBarManager;
+import org.eclipse.jface.layout.GridDataFactory;
+import org.eclipse.jface.layout.GridLayoutFactory;
+import org.eclipse.jface.viewers.*;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.custom.StyledText;
+import org.eclipse.swt.events.*;
+import org.eclipse.swt.graphics.Color;
+import org.eclipse.swt.graphics.Cursor;
+import org.eclipse.swt.widgets.*;
+import org.eclipse.ui.forms.ManagedForm;
+import org.eclipse.ui.forms.widgets.*;
+
+public class PDEFormToolkit extends FormToolkit {
+	public static class Pair<U, V> {
+		public U left;
+
+		public V right;
+
+		public Pair(U u, V v) {
+			left = u;
+			right = v;
+		}
+	}
+
+	private static final String KEEP_CONTROL_FOREGROUND = "KEEPFOREGROUND"; //$NON-NLS-1$
+
+	private static final String KEEP_CONTROL_BACKGROUND = "KEEPBACKGROUND"; //$NON-NLS-1$
+
+	public PDEFormToolkit(Display display) {
+		super(display);
+	}
+
+	private void super$adapt(Composite composite) {
+		composite.setBackground(getColors().getBackground());
+		composite.addMouseListener(new MouseAdapter() {
+			public void mouseDown(MouseEvent e) {
+				((Control) e.widget).setFocus();
+			}
+		});
+		// composite.setMenu(composite.getParent().getMenu());
+	}
+
+	public void adapt(Composite composite) {
+		// adapt every subcomposite & subcontrol
+		if (composite == null)
+			return;
+
+		super$adapt(composite);
+
+		// Recursively set the enabled state of all children
+		Control[] children = composite.getChildren();
+		for (int i = 0; i < children.length; i++) {
+			if (children[i] instanceof Composite) {
+				adapt((Composite) children[i]);
+			} else {
+				Boolean keepForeground = (Boolean) children[i].getData(KEEP_CONTROL_FOREGROUND);
+				Boolean keepBackground = (Boolean) children[i].getData(KEEP_CONTROL_BACKGROUND);
+
+				Color c = null;
+				if (keepForeground != null && keepForeground.booleanValue()) {
+					c = children[i].getForeground();
+				}
+
+				Color c2 = null;
+				if (keepBackground != null && keepBackground.booleanValue()) {
+					c2 = children[i].getBackground();
+				}
+
+				super.adapt(children[i], true, true);
+
+				if (c != null)
+					children[i].setForeground(c);
+
+				if (c2 != null)
+					children[i].setBackground(c2);
+			}
+		}
+	}
+
+	public Combo createCombo(Composite parent, int style) {
+		Combo combo = new Combo(parent, style | SWT.FLAT);
+		adapt(combo, false, false);
+		// hookDeleteListener(table);
+		return combo;
+	}
+
+	public List createList(Composite parent, int style) {
+		List list = new List(parent, style | SWT.FLAT);
+		adapt(list, false, false);
+		// hookDeleteListener(table);
+		return list;
+	}
+
+	public ManagedForm createManagedForm(FormToolkit toolkit, ScrolledForm sForm) {
+		return new ManagedForm(toolkit, sForm);
+	}
+
+	public ManagedForm createManagedForm(Composite parent) {
+		return new ManagedForm(parent);
+	}
+
+	public StyledText createStyledText(Composite parent, int style) {
+		StyledText styledText = new StyledText(parent, style);
+		adapt(styledText, false, false);
+		return styledText;
+	}
+
+	public Group createGroup(Composite parent, String text) {
+		Group group = new Group(parent, SWT.NONE);
+		group.setText(text);
+		adapt(group, false, false);
+		return group;
+	}
+
+	public ComboViewer createComboViewer(Composite parent, int style) {
+		ComboViewer cviewer = new ComboViewer(parent, style);
+		adapt(cviewer.getCombo(), false, false);
+
+		return cviewer;
+	}
+
+	public TableViewer createTableViewer(Composite parent, int style) {
+		TableViewer tviewer = new TableViewer(parent, style);
+		adapt(tviewer.getTable(), false, false);
+
+		return tviewer;
+	}
+
+	public DateTime createDateTime(Composite parent, int style) {
+		DateTime dateTime = new DateTime(parent, style);
+		adapt(dateTime, false, false);
+		return dateTime;
+	}
+
+	public static Pair<Text, Button> createLabelAndBrowseText(String label, Composite composite) {
+		GridLayoutFactory.fillDefaults().numColumns(2).applyTo(composite);
+
+		Label labelName = new Label(composite, SWT.NONE);
+		labelName.setText(label);
+		GridDataFactory.fillDefaults().align(SWT.FILL, SWT.CENTER).applyTo(labelName);
+		labelName.setAlignment(SWT.LEFT);
+
+		Composite browseComposite = new Composite(composite, SWT.NONE);
+		GridLayoutFactory.fillDefaults().numColumns(2).applyTo(browseComposite);
+		Text text = new Text(browseComposite, SWT.BORDER | SWT.READ_ONLY);
+		text.setEditable(false);
+		text.setEnabled(false);
+		GridDataFactory.fillDefaults().grab(true, false).applyTo(text);
+		Button browseButton = new Button(browseComposite, SWT.FLAT | SWT.PUSH);
+		browseButton.setText("..."); //$NON-NLS-1$
+		GridDataFactory.fillDefaults().grab(true, false).applyTo(browseComposite);
+		return new Pair<Text, Button>(text, browseButton);
+	}
+
+	public static Pair<ListViewer, Pair<Button, Button>> createLabelAndListAddRemove(String label, Composite composite) {
+		GridLayoutFactory.fillDefaults().numColumns(2).applyTo(composite);
+
+		Label labelName = new Label(composite, SWT.NONE);
+		labelName.setText(label);
+		GridDataFactory.fillDefaults().align(SWT.FILL, SWT.BEGINNING).applyTo(labelName);
+		labelName.setAlignment(SWT.LEFT);
+
+		Composite browseComposite = new Composite(composite, SWT.NONE);
+		GridLayoutFactory.fillDefaults().numColumns(2).applyTo(browseComposite);
+		ListViewer listViewer = new ListViewer(browseComposite, SWT.BORDER);
+		GridDataFactory.fillDefaults().grab(true, false).span(1, 2).hint(SWT.DEFAULT, 80).applyTo(listViewer.getList());
+		Button addButton = new Button(browseComposite, SWT.FLAT | SWT.PUSH);
+		GridDataFactory.fillDefaults().align(SWT.FILL, SWT.BEGINNING).applyTo(addButton);
+		addButton.setText("+"); //$NON-NLS-1$
+		Button removeButton = new Button(browseComposite, SWT.FLAT | SWT.PUSH);
+		GridDataFactory.fillDefaults().align(SWT.FILL, SWT.BEGINNING).applyTo(removeButton);
+		removeButton.setText("-"); //$NON-NLS-1$
+		GridDataFactory.fillDefaults().grab(true, false).applyTo(browseComposite);
+		return new Pair<ListViewer, Pair<Button, Button>>(listViewer, new Pair<Button, Button>(addButton, removeButton));
+	}
+
+	/**
+	 * @param label
+	 * @param generalInfoComposite
+	 * @return
+	 */
+	public static Text createLabelAndText(String label, Composite composite) {
+		GridLayoutFactory.fillDefaults().numColumns(2).applyTo(composite);
+
+		Label labelName = new Label(composite, SWT.NONE);
+		labelName.setText(label);
+		GridDataFactory.fillDefaults().align(SWT.FILL, SWT.CENTER).applyTo(labelName);
+		labelName.setAlignment(SWT.LEFT);
+
+		Text text = new Text(composite, SWT.BORDER);
+		GridDataFactory.fillDefaults().grab(true, false).applyTo(text);
+		return text;
+	}
+
+	/**
+	 * @param label
+	 * @param generalInfoComposite
+	 * @return
+	 */
+	public static Text createLabelAndTextArea(String label, Composite composite) {
+		return createLabelAndTextArea(label, composite, false);
+	}
+
+	/**
+	 * @param label
+	 * @param generalInfoComposite
+	 * @return
+	 */
+	public static Text createLabelAndTextArea(String label, Composite composite, boolean scrollable) {
+		GridLayoutFactory.fillDefaults().numColumns(2).applyTo(composite);
+
+		Label labelName = new Label(composite, SWT.NONE);
+		labelName.setText(label);
+		GridDataFactory.fillDefaults().align(SWT.FILL, SWT.TOP).applyTo(labelName);
+		labelName.setAlignment(SWT.LEFT);
+
+		int sytle = SWT.BORDER | SWT.MULTI;
+		if (scrollable) {
+			sytle = sytle | SWT.WRAP | SWT.V_SCROLL;
+		}
+		Text text = new Text(composite, sytle);
+		GridDataFactory.fillDefaults().grab(true, false).hint(SWT.DEFAULT, 120).applyTo(text);
+		return text;
+	}
+
+	/**
+	 * @param label
+	 * @param generalInfoComposite
+	 * @return
+	 */
+	public static ComboViewer createLabelAndComboViewer(String label, Composite composite) {
+		GridLayoutFactory.fillDefaults().numColumns(2).applyTo(composite);
+
+		Label labelName = new Label(composite, SWT.NONE);
+		labelName.setText(label);
+		GridDataFactory.fillDefaults().align(SWT.FILL, SWT.CENTER).applyTo(labelName);
+		labelName.setAlignment(SWT.LEFT);
+
+		ComboViewer comboViewer = new ComboViewer(composite, SWT.READ_ONLY);
+		comboViewer.setContentProvider(new ArrayContentProvider());
+		comboViewer.setLabelProvider(new LabelProvider());
+		// sort the viewer using labels
+		comboViewer.setSorter(new ViewerSorter());
+		GridDataFactory.fillDefaults().grab(true, false).applyTo(comboViewer.getControl());
+		return comboViewer;
+	}
+
+	/**
+	 * @param label
+	 * @param composite
+	 * @param comboStyle
+	 * @return
+	 */
+	public static ComboViewer createLabelAndNonReadOnlyComboViewer(String label, Composite composite) {
+		GridLayoutFactory.fillDefaults().numColumns(2).applyTo(composite);
+
+		Label labelName = new Label(composite, SWT.NONE);
+		labelName.setText(label);
+		GridDataFactory.fillDefaults().align(SWT.FILL, SWT.CENTER).applyTo(labelName);
+		labelName.setAlignment(SWT.LEFT);
+		ComboViewer comboViewer;
+		comboViewer = new ComboViewer(composite, SWT.BORDER);
+		comboViewer.setContentProvider(new ArrayContentProvider());
+		comboViewer.setLabelProvider(new LabelProvider());
+		// sort the viewer using labels
+		comboViewer.setSorter(new ViewerSorter());
+		GridDataFactory.fillDefaults().grab(true, false).applyTo(comboViewer.getControl());
+		return comboViewer;
+	}
+
+	/**
+	 * @param string
+	 * @param composite
+	 * @return a checkBox
+	 */
+	public static Button createLabelAndCheckBox(String label, Composite composite) {
+		return createLabelAndButton(label, composite, SWT.CHECK);
+	}
+
+	/**
+	 * @param string
+	 * @param composite
+	 * @return a checkBox
+	 */
+	public static Button createCheckBoxAndLabel(String label, Composite composite) {
+		return createButtonAndLabel(label, composite, SWT.CHECK);
+	}
+
+	/**
+	 * 
+	 * @param label
+	 * @param composite
+	 * @return a radio button
+	 */
+	public static Button createRadioAndLabel(String label, Composite composite) {
+		return createButtonAndLabel(label, composite, SWT.RADIO);
+	}
+
+	/**
+	 * @param label
+	 * @param composite
+	 * @param type
+	 * @return a button of type "type"
+	 */
+	private static Button createButtonAndLabel(String label, Composite composite, int type) {
+		GridLayoutFactory.fillDefaults().numColumns(2).applyTo(composite);
+
+		Button button = new Button(composite, type | SWT.FLAT);
+		button.setText(label);
+		GridDataFactory.fillDefaults().align(SWT.LEFT, SWT.CENTER).span(2, 1).applyTo(button);
+		return button;
+	}
+
+	/**
+	 * @param label
+	 * @param composite
+	 * @param type
+	 * @return a button of type "type"
+	 */
+	private static Button createLabelAndButton(String label, Composite parent, int type) {
+		GridLayoutFactory.fillDefaults().numColumns(2).applyTo(parent);
+
+		Label labelName = new Label(parent, SWT.NONE);
+		labelName.setText(label);
+		GridDataFactory.fillDefaults().align(SWT.FILL, SWT.CENTER).applyTo(labelName);
+		labelName.setAlignment(SWT.LEFT);
+
+		Button button = new Button(parent, type | SWT.FLAT);
+		GridDataFactory.fillDefaults().align(SWT.LEFT, SWT.CENTER).applyTo(button);
+		return button;
+	}
+
+	/**
+	 * @param label
+	 * @param generalInfoComposite
+	 * @return
+	 */
+	public static Spinner createLabelAndSpinner(String label, Composite parent) {
+		GridLayoutFactory.fillDefaults().numColumns(2).applyTo(parent);
+
+		Label labelName = new Label(parent, SWT.NONE);
+		labelName.setText(label);
+		GridDataFactory.fillDefaults().align(SWT.FILL, SWT.CENTER).applyTo(labelName);
+		labelName.setAlignment(SWT.LEFT);
+
+		Spinner spinner = new Spinner(parent, SWT.WRAP);
+		GridDataFactory.fillDefaults().align(SWT.LEFT, SWT.CENTER).applyTo(spinner);
+		return spinner;
+	}
+
+	/**
+	 * For readonly
+	 * 
+	 * @param label
+	 * @param generalInfoComposite
+	 * @return
+	 */
+	public static Label createLabelAndLabel(String label, Composite parent) {
+		GridLayoutFactory.fillDefaults().numColumns(2).applyTo(parent);
+
+		Label labelName = new Label(parent, SWT.NONE);
+		labelName.setText(label);
+		GridDataFactory.fillDefaults().align(SWT.FILL, SWT.CENTER).applyTo(labelName);
+		labelName.setAlignment(SWT.LEFT);
+
+		Label labelValue = new Label(parent, SWT.NONE);
+		GridDataFactory.fillDefaults().align(SWT.FILL, SWT.CENTER).applyTo(labelValue);
+		return labelValue;
+	}
+
+	/**
+	 * @param section
+	 * @return a toolbar manager for a given {@link Section} with a sexy cursor
+	 */
+	public static ToolBarManager createSectionToolBarManager(Composite section) {
+		ToolBarManager toolBarManager = new ToolBarManager(SWT.FLAT);
+		ToolBar toolbar = toolBarManager.createControl(section);
+		final Cursor handCursor = new Cursor(Display.getCurrent(), SWT.CURSOR_HAND);
+		toolbar.setCursor(handCursor);
+		// Cursor needs to be explicitly disposed
+		toolbar.addDisposeListener(new DisposeListener() {
+			public void widgetDisposed(DisposeEvent e) {
+				if ((handCursor != null) && (handCursor.isDisposed() == false)) {
+					handCursor.dispose();
+				}
+			}
+		});
+		return toolBarManager;
+	}
+}
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/internal/Activator.java b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/internal/Activator.java
new file mode 100644
index 0000000..2936c6b
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/internal/Activator.java
@@ -0,0 +1,110 @@
+/**
+ * Copyright (c) 2009 Anyware Technologies and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * 
+ * Contributors:
+ *     Anyware Technologies - initial API and implementation
+ *
+ * $Id$
+ */
+package org.eclipse.pde.emfforms.internal;
+
+import java.lang.reflect.InvocationTargetException;
+import org.eclipse.core.runtime.*;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+	// The plug-in ID
+	public static final String PLUGIN_ID = "org.eclipse.pde.emfforms"; //$NON-NLS-1$
+
+	// The shared instance
+	private static Activator plugin;
+
+	/**
+	 * The constructor
+	 */
+	public Activator() {
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
+	 * )
+	 */
+	public void start(BundleContext context) throws Exception {
+		super.start(context);
+		plugin = this;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
+	 * )
+	 */
+	public void stop(BundleContext context) throws Exception {
+		plugin = null;
+		super.stop(context);
+	}
+
+	/**
+	 * Returns the shared instance
+	 * 
+	 * @return the shared instance
+	 */
+	public static Activator getDefault() {
+		return plugin;
+	}
+
+	public static void log(IStatus status) {
+		if (status != null)
+			getDefault().getLog().log(status);
+	}
+
+	public static void log(Throwable e) {
+		if (e instanceof InvocationTargetException)
+			e = ((InvocationTargetException) e).getTargetException();
+		IStatus status = null;
+		if (e instanceof CoreException) {
+			status = ((CoreException) e).getStatus();
+		} else if (e.getMessage() != null) {
+			status = new Status(IStatus.ERROR, PLUGIN_ID, IStatus.OK, e.getMessage(), e);
+		}
+		log(status);
+	}
+
+	public static void logErrorMessage(String message) {
+		log(new Status(IStatus.ERROR, PLUGIN_ID, IStatus.ERROR, message, null));
+	}
+
+	public static void logException(Throwable e) {
+		logException(e, null);
+	}
+
+	public static void logException(Throwable e, String message) {
+		if (e instanceof InvocationTargetException) {
+			e = ((InvocationTargetException) e).getTargetException();
+		}
+		IStatus status = null;
+		if (e instanceof CoreException)
+			status = ((CoreException) e).getStatus();
+		else {
+			if (message == null)
+				message = e.getMessage();
+			if (message == null)
+				message = e.toString();
+			status = new Status(IStatus.ERROR, PLUGIN_ID, IStatus.OK, message, e);
+		}
+		log(status);
+	}
+
+}
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/internal/editor/MessageManagerListener.java b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/internal/editor/MessageManagerListener.java
new file mode 100644
index 0000000..183e83b
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/internal/editor/MessageManagerListener.java
Binary files differ
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/internal/editor/Messages.java b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/internal/editor/Messages.java
new file mode 100644
index 0000000..726566e
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/internal/editor/Messages.java
@@ -0,0 +1,42 @@
+/**
+ * Copyright (c) 2009 Anyware Technologies and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * 
+ * Contributors:
+ *     Anyware Technologies - initial API and implementation
+ *
+ * $Id$
+ */
+package org.eclipse.pde.emfforms.internal.editor;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS {
+	private static final String BUNDLE_NAME = "org.eclipse.pde.emfforms.editor.messages"; //$NON-NLS-1$
+
+	public static String EmfFormEditor_DiaDialog_InvalidModel_Title;
+
+	public static String EmfFormEditor_InitError;
+
+	public static String EmfFormEditor_SaveError;
+
+	public static String EmfFormEditor_SaveError_Exception;
+
+	public static String EmfFormEditor_SaveError_Msg;
+
+	public static String EmfFormEditor_SaveError_Title;
+
+	public static String EmfFormEditor_ValidationError_Msg;
+
+	public static String EmfFormEditor_ValidationWarn_Msg;
+	static {
+		// initialize resource bundle
+		NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+	}
+
+	private Messages() {
+	}
+}
diff --git a/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/internal/editor/messages.properties b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/internal/editor/messages.properties
new file mode 100644
index 0000000..882979d
--- /dev/null
+++ b/modeling/plugins/org.eclipse.pde.emfforms/src/org/eclipse/pde/emfforms/internal/editor/messages.properties
@@ -0,0 +1,8 @@
+EmfFormEditor_DiaDialog_InvalidModel_Title=Invalid Model
+EmfFormEditor_InitError=An error occured during editor initialization. Unable to install tab.
+EmfFormEditor_SaveError=An error occured during save
+EmfFormEditor_SaveError_Exception=Error during save
+EmfFormEditor_SaveError_Msg=The file cannot be saved.
+EmfFormEditor_SaveError_Title=Error during save
+EmfFormEditor_ValidationError_Msg=Invalid model. Save action cannot be performed.
+EmfFormEditor_ValidationWarn_Msg=Errors have been detected. Do you want to save anyway?