From 6db3a2d44215b4d5f3d3ce3c8efaa1c435c9cc0f Mon Sep 17 00:00:00 2001 From: Benoit Maggi Date: Mon, 19 Jan 2015 10:57:41 +0100 Subject: Bug 457266 - Remove pdoc from papyrus repository Change-Id: I621a26b4b5fb54cf096817c7859f8628e423645c Signed-off-by: Benoit Maggi --- .../META-INF/MANIFEST.MF | 2 +- .../build.properties | 1 - .../plugin.pdoc | 4 - .../plugin.properties | 3 +- .../.classpath | 7 - .../.project | 28 - .../.settings/org.eclipse.jdt.core.prefs | 291 --- .../.settings/org.eclipse.jdt.ui.prefs | 68 - .../META-INF/MANIFEST.MF | 21 - .../about.html | 28 - .../build.properties | 15 - ...ateDocumentation_additionalComments_Comment.gif | Bin 223 -> 0 bytes ...cumentation_implicitDependencies_Dependency.gif | Bin 223 -> 0 bytes ...ntation_implicitDependencies_FileDependency.gif | Bin 223 -> 0 bytes .../CreateDocumentation_referent_Person.gif | Bin 223 -> 0 bytes .../icons/full/obj16/Comment.gif | Bin 129 -> 0 bytes .../icons/full/obj16/Dependency.gif | Bin 129 -> 0 bytes .../icons/full/obj16/Documentation.gif | Bin 129 -> 0 bytes .../icons/full/obj16/FileDependency.gif | Bin 129 -> 0 bytes .../icons/full/obj16/Person.gif | Bin 129 -> 0 bytes .../plugin.properties | 42 - .../plugin.xml | 25 - .../pom.xml | 14 - .../provider/CommentItemProvider.java | 192 -- .../provider/DependencyItemProvider.java | 192 -- .../provider/DocumentationItemProvider.java | 227 --- .../DocumentationItemProviderAdapterFactory.java | 337 ---- .../provider/FileDependencyItemProvider.java | 153 -- .../documentation/provider/PersonItemProvider.java | 242 --- .../provider/PluginDocEditPlugin.java | 101 -- .../.classpath | 7 - .../.project | 28 - .../.settings/org.eclipse.jdt.core.prefs | 291 --- .../.settings/org.eclipse.jdt.ui.prefs | 68 - .../META-INF/MANIFEST.MF | 23 - .../about.html | 28 - .../build.properties | 15 - .../icons/full/obj16/DocumentationModelFile.gif | Bin 346 -> 0 bytes .../icons/full/wizban/NewDocumentation.gif | Bin 2462 -> 0 bytes .../plugin.properties | 57 - .../plugin.xml | 39 - .../DocumentationActionBarContributor.java | 445 ----- .../presentation/DocumentationEditor.java | 1883 -------------------- .../presentation/DocumentationModelWizard.java | 634 ------- .../presentation/PluginDocEditorPlugin.java | 102 -- .../.classpath | 8 - .../.project | 28 - .../.settings/org.eclipse.jdt.core.prefs | 291 --- .../.settings/org.eclipse.jdt.ui.prefs | 68 - .../META-INF/MANIFEST.MF | 18 - .../Model/PluginDoc.ecore | 53 - .../Model/PluginDoc.genmodel | 36 - .../about.html | 28 - .../build.properties | 17 - .../plugin-doc.pdoc | 4 - .../plugin.properties | 8 - .../plugin.xml | 20 - .../pom.xml | 14 - .../plugin/documentation/Comment.java | 89 - .../plugin/documentation/Dependency.java | 93 - .../plugin/documentation/Documentation.java | 114 -- .../plugin/documentation/DocumentationFactory.java | 90 - .../plugin/documentation/DocumentationPackage.java | 783 -------- .../plugin/documentation/FileDependency.java | 63 - .../documentation/plugin/documentation/Person.java | 147 -- .../plugin/documentation/impl/CommentImpl.java | 237 --- .../plugin/documentation/impl/DependencyImpl.java | 237 --- .../impl/DocumentationFactoryImpl.java | 161 -- .../documentation/impl/DocumentationImpl.java | 316 ---- .../impl/DocumentationPackageImpl.java | 442 ----- .../documentation/impl/FileDependencyImpl.java | 177 -- .../plugin/documentation/impl/PersonImpl.java | 355 ---- .../util/DocumentationAdapterFactory.java | 237 --- .../documentation/util/DocumentationSwitch.java | 264 --- .../papyrus/documentation/plugin/Activator.java | 54 - .../META-INF/MANIFEST.MF | 64 +- .../build.properties | 2 - .../plugin.pdoc | 12 - .../plugin.properties | 2 + 79 files changed, 37 insertions(+), 10108 deletions(-) delete mode 100644 plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/plugin.pdoc delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.classpath delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.project delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.settings/org.eclipse.jdt.ui.prefs delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/META-INF/MANIFEST.MF delete mode 100755 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/about.html delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/build.properties delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_additionalComments_Comment.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_implicitDependencies_Dependency.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_implicitDependencies_FileDependency.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_referent_Person.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Comment.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Dependency.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Documentation.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/FileDependency.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Person.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/plugin.properties delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/plugin.xml delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/pom.xml delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/CommentItemProvider.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DependencyItemProvider.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProvider.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProviderAdapterFactory.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/FileDependencyItemProvider.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PersonItemProvider.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PluginDocEditPlugin.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.classpath delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.project delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.settings/org.eclipse.jdt.ui.prefs delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/META-INF/MANIFEST.MF delete mode 100755 plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/about.html delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/build.properties delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/icons/full/obj16/DocumentationModelFile.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/icons/full/wizban/NewDocumentation.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/plugin.properties delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/plugin.xml delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationActionBarContributor.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationEditor.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationModelWizard.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/PluginDocEditorPlugin.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/.classpath delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/.project delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/.settings/org.eclipse.jdt.ui.prefs delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/META-INF/MANIFEST.MF delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/Model/PluginDoc.ecore delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/Model/PluginDoc.genmodel delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/about.html delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/build.properties delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/plugin-doc.pdoc delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/plugin.properties delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/plugin.xml delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/pom.xml delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Comment.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Dependency.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Documentation.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationFactory.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationPackage.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/FileDependency.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Person.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/CommentImpl.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DependencyImpl.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationFactoryImpl.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationImpl.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationPackageImpl.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/FileDependencyImpl.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/PersonImpl.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationAdapterFactory.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationSwitch.java delete mode 100644 plugins/developer/org.eclipse.papyrus.documentation.plugin/src/org/eclipse/papyrus/documentation/plugin/Activator.java delete mode 100644 plugins/developer/org.eclipse.papyrus.uml.developer.mde/plugin.pdoc (limited to 'plugins/developer') diff --git a/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/META-INF/MANIFEST.MF b/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/META-INF/MANIFEST.MF index 10fa11fee9d..9569901e302 100644 --- a/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/META-INF/MANIFEST.MF +++ b/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/META-INF/MANIFEST.MF @@ -14,4 +14,4 @@ Bundle-ManifestVersion: 2 Bundle-SymbolicName: org.eclipse.papyrus.dev.view.services.edit.reques t;singleton:=true Bundle-RequiredExecutionEnvironment: J2SE-1.5 - +Bundle-Description: %pluginDescription diff --git a/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/build.properties b/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/build.properties index 47c65cecef7..48b61a8c93e 100644 --- a/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/build.properties +++ b/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/build.properties @@ -6,6 +6,5 @@ bin.includes = META-INF/,\ icons/,\ plugin.properties,\ build.properties,\ - plugin.pdoc,\ about.html src.includes = about.html diff --git a/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/plugin.pdoc b/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/plugin.pdoc deleted file mode 100644 index 68745e50edf..00000000000 --- a/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/plugin.pdoc +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/plugin.properties b/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/plugin.properties index 216649fb8aa..d12fd99e8b3 100644 --- a/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/plugin.properties +++ b/plugins/developer/org.eclipse.papyrus.dev.view.services.edit.request/plugin.properties @@ -2,4 +2,5 @@ providerName = Eclipse Modeling Project pluginName = View for service edit requests view.name = Papyrus Service Edit Request View -category.name = Papyrus Dev \ No newline at end of file +category.name = Papyrus Dev +pluginDescription=This plugin provides a vuiew to display all the requests sent to the Service Edit \ No newline at end of file diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.classpath b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.classpath deleted file mode 100644 index c1f31893de4..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.project b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.project deleted file mode 100644 index 0e8c3bdaedc..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - org.eclipse.papyrus.documentation.plugin.edit - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.settings/org.eclipse.jdt.core.prefs b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 94d61f00da6..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,291 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.6 -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_annotation=0 -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_method_declaration=0 -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_resources_in_try=80 -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.alignment_for_union_type_in_multicatch=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_lambda_body=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=true -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=true -org.eclipse.jdt.core.formatter.comment.format_line_comments=true -org.eclipse.jdt.core.formatter.comment.format_source_code=true -org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true -org.eclipse.jdt.core.formatter.comment.indent_root_tags=true -org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert -org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert -org.eclipse.jdt.core.formatter.comment.line_length=260 -org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true -org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true -org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false -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.disabling_tag=@formatter\:off -org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true -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=false -org.eclipse.jdt.core.formatter.indentation.size=4 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert -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_method=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=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_annotation_on_type=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_label=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_after_type_annotation=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=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_lambda_arrow=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=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_try=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_semicolon_in_try_resources=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=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_try=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=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not 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_lambda_arrow=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_try=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_semicolon_in_try_resources=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=false -org.eclipse.jdt.core.formatter.join_wrapped_lines=false -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=260 -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=false -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=5 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true -org.eclipse.jdt.core.formatter.tabulation.char=tab -org.eclipse.jdt.core.formatter.tabulation.size=4 -org.eclipse.jdt.core.formatter.use_on_off_tags=false -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.formatter.wrap_before_or_operator_multicatch=true -org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.settings/org.eclipse.jdt.ui.prefs b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index 954281dbc31..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,68 +0,0 @@ -cleanup.add_default_serial_version_id=true -cleanup.add_generated_serial_version_id=false -cleanup.add_missing_annotations=true -cleanup.add_missing_deprecated_annotations=true -cleanup.add_missing_methods=false -cleanup.add_missing_nls_tags=false -cleanup.add_missing_override_annotations=true -cleanup.add_missing_override_annotations_interface_methods=true -cleanup.add_serial_version_id=false -cleanup.always_use_blocks=true -cleanup.always_use_parentheses_in_expressions=false -cleanup.always_use_this_for_non_static_field_access=false -cleanup.always_use_this_for_non_static_method_access=false -cleanup.convert_functional_interfaces=false -cleanup.convert_to_enhanced_for_loop=false -cleanup.correct_indentation=false -cleanup.format_source_code=false -cleanup.format_source_code_changes_only=false -cleanup.insert_inferred_type_arguments=false -cleanup.make_local_variable_final=true -cleanup.make_parameters_final=false -cleanup.make_private_fields_final=true -cleanup.make_type_abstract_if_missing_method=false -cleanup.make_variable_declarations_final=false -cleanup.never_use_blocks=false -cleanup.never_use_parentheses_in_expressions=true -cleanup.organize_imports=false -cleanup.qualify_static_field_accesses_with_declaring_class=false -cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true -cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true -cleanup.qualify_static_member_accesses_with_declaring_class=true -cleanup.qualify_static_method_accesses_with_declaring_class=false -cleanup.remove_private_constructors=true -cleanup.remove_redundant_type_arguments=true -cleanup.remove_trailing_whitespaces=true -cleanup.remove_trailing_whitespaces_all=true -cleanup.remove_trailing_whitespaces_ignore_empty=false -cleanup.remove_unnecessary_casts=true -cleanup.remove_unnecessary_nls_tags=true -cleanup.remove_unused_imports=true -cleanup.remove_unused_local_variables=false -cleanup.remove_unused_private_fields=true -cleanup.remove_unused_private_members=false -cleanup.remove_unused_private_methods=true -cleanup.remove_unused_private_types=true -cleanup.sort_members=false -cleanup.sort_members_all=false -cleanup.use_anonymous_class_creation=false -cleanup.use_blocks=true -cleanup.use_blocks_only_for_return_and_throw=false -cleanup.use_lambda=true -cleanup.use_parentheses_in_expressions=false -cleanup.use_this_for_non_static_field_access=false -cleanup.use_this_for_non_static_field_access_only_if_necessary=true -cleanup.use_this_for_non_static_method_access=false -cleanup.use_this_for_non_static_method_access_only_if_necessary=true -cleanup.use_type_arguments=false -cleanup_profile=_Papyrus -cleanup_settings_version=2 -eclipse.preferences.version=1 -formatter_profile=_Papyrus -formatter_settings_version=12 -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=java;javax;org;com; -org.eclipse.jdt.ui.javadoc=true -org.eclipse.jdt.ui.ondemandthreshold=99 -org.eclipse.jdt.ui.staticondemandthreshold=99 -org.eclipse.jdt.ui.text.custom_code_templates= diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/META-INF/MANIFEST.MF b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/META-INF/MANIFEST.MF deleted file mode 100644 index ab1193ee888..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/META-INF/MANIFEST.MF +++ /dev/null @@ -1,21 +0,0 @@ -Manifest-Version: 1.0 -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.papyrus.documentation.plugin;bundle-version="1.1.0";visibility:=reexport, - org.eclipse.emf.edit;visibility:=reexport, - org.eclipse.emf.ecore;visibility:=reexport, - org.eclipse.emf.ecore.edit;visibility:=reexport -Export-Package: org.eclipse.papyrus.documentation.plugin.documentation - .provider -Bundle-Vendor: %providerName -Bundle-ActivationPolicy: lazy -Bundle-ClassPath: . -Bundle-Version: 1.1.0.qualifier -Bundle-Localization: plugin -Bundle-Name: %pluginName -Bundle-Activator: org.eclipse.papyrus.documentation.plugin.documentati - on.provider.PluginDocEditPlugin$Implementation -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: org.eclipse.papyrus.documentation.plugin.edit;sin - gleton:=true -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/about.html b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/about.html deleted file mode 100755 index 77ef6958f99..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

About This Content

- -

March, 2014

-

License

- -

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

- -

If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

- - - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/build.properties b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/build.properties deleted file mode 100644 index 775cf23db78..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/build.properties +++ /dev/null @@ -1,15 +0,0 @@ - -# -# -# -# $Id$ - -bin.includes = .,\ - icons/,\ - META-INF/,\ - plugin.xml,\ - plugin.properties -jars.compile.order = . -source.. = src-gen/ -output.. = bin/ -src.includes = about.html diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_additionalComments_Comment.gif b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_additionalComments_Comment.gif deleted file mode 100644 index e8324a2c6fd..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_additionalComments_Comment.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_implicitDependencies_Dependency.gif b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_implicitDependencies_Dependency.gif deleted file mode 100644 index ff5397fa2a2..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_implicitDependencies_Dependency.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_implicitDependencies_FileDependency.gif b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_implicitDependencies_FileDependency.gif deleted file mode 100644 index 37db3e582f3..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_implicitDependencies_FileDependency.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_referent_Person.gif b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_referent_Person.gif deleted file mode 100644 index e7c430baac7..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/ctool16/CreateDocumentation_referent_Person.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Comment.gif b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Comment.gif deleted file mode 100644 index 498364f1c1a..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Comment.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Dependency.gif b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Dependency.gif deleted file mode 100644 index 33a997a1606..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Dependency.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Documentation.gif b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Documentation.gif deleted file mode 100644 index 7c2aaac84ee..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Documentation.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/FileDependency.gif b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/FileDependency.gif deleted file mode 100644 index 45731fe28e7..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/FileDependency.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Person.gif b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Person.gif deleted file mode 100644 index ea58a657dc0..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/icons/full/obj16/Person.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/plugin.properties b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/plugin.properties deleted file mode 100644 index b736b754eec..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/plugin.properties +++ /dev/null @@ -1,42 +0,0 @@ - -# -# -# -# $Id$ - -pluginName = PluginDoc Edit Support -providerName = Eclipse Modeling Project - -_UI_CreateChild_text = {0} -_UI_CreateChild_text2 = {1} {0} -_UI_CreateChild_text3 = {1} -_UI_CreateChild_tooltip = Create New {0} Under {1} Feature -_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. -_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. - -_UI_PropertyDescriptor_description = The {0} of the {1} - -_UI_Documentation_type = Documentation -_UI_Dependency_type = Dependency -_UI_FileDependency_type = File Dependency -_UI_Person_type = Person -_UI_Comment_type = Comment -_UI_Unknown_type = Object - -_UI_Unknown_datatype= Value - -_UI_Documentation_description_feature = Description -_UI_Documentation_implicitDependencies_feature = Implicit Dependencies -_UI_Documentation_referent_feature = Referent -_UI_Documentation_additionalComments_feature = Additional Comments -_UI_Dependency_plugin_feature = Plugin -_UI_Dependency_comment_feature = Comment -_UI_FileDependency_file_feature = File -_UI_Person_firstName_feature = First Name -_UI_Person_lastName_feature = Last Name -_UI_Person_eMail_feature = EMail -_UI_Person_currentCompany_feature = Current Company -_UI_Comment_title_feature = Title -_UI_Comment_contents_feature = Contents -_UI_Unknown_feature = Unspecified - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/plugin.xml b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/plugin.xml deleted file mode 100644 index e55b670be07..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/plugin.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/pom.xml b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/pom.xml deleted file mode 100644 index 59ccd0ad1cc..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/pom.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - 4.0.0 - - org.eclipse.papyrus - org.eclipse.papyrus - 1.1.0-SNAPSHOT - ../../../releng/top-pom-dev.xml - - org.eclipse.papyrus.documentation.plugin.edit - org.eclipse.papyrus - 1.1.0-SNAPSHOT - eclipse-plugin - \ No newline at end of file diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/CommentItemProvider.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/CommentItemProvider.java deleted file mode 100644 index f160dc885fa..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/CommentItemProvider.java +++ /dev/null @@ -1,192 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.util.ResourceLocator; -import org.eclipse.emf.ecore.provider.EModelElementItemProvider; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.papyrus.documentation.plugin.documentation.Comment; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Comment} object. - * - * - * - * @generated - */ -public class CommentItemProvider - extends EModelElementItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * - * @generated - */ - public CommentItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addTitlePropertyDescriptor(object); - addContentsPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Title feature. - * - * - * - * @generated - */ - protected void addTitlePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Comment_title_feature"), - getString("_UI_PropertyDescriptor_description", "_UI_Comment_title_feature", "_UI_Comment_type"), - DocumentationPackage.Literals.COMMENT__TITLE, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Contents feature. - * - * - * - * @generated - */ - protected void addContentsPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Comment_contents_feature"), - getString("_UI_PropertyDescriptor_description", "_UI_Comment_contents_feature", "_UI_Comment_type"), - DocumentationPackage.Literals.COMMENT__CONTENTS, - true, - true, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This returns Comment.gif. - * - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Comment")); - } - - /** - * This returns the label text for the adapted class. - * - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((Comment) object).getTitle(); - return label == null || label.length() == 0 ? - getString("_UI_Comment_type") : - getString("_UI_Comment_type") + " " + label; - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(Comment.class)) { - case DocumentationPackage.COMMENT__TITLE: - case DocumentationPackage.COMMENT__CONTENTS: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return PluginDocEditPlugin.INSTANCE; - } - -} diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DependencyItemProvider.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DependencyItemProvider.java deleted file mode 100644 index d749ca20071..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DependencyItemProvider.java +++ /dev/null @@ -1,192 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.util.ResourceLocator; -import org.eclipse.emf.ecore.provider.EModelElementItemProvider; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.papyrus.documentation.plugin.documentation.Dependency; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency} object. - * - * - * - * @generated - */ -public class DependencyItemProvider - extends EModelElementItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * - * @generated - */ - public DependencyItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addPluginPropertyDescriptor(object); - addCommentPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Plugin feature. - * - * - * - * @generated - */ - protected void addPluginPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Dependency_plugin_feature"), - getString("_UI_PropertyDescriptor_description", "_UI_Dependency_plugin_feature", "_UI_Dependency_type"), - DocumentationPackage.Literals.DEPENDENCY__PLUGIN, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Comment feature. - * - * - * - * @generated - */ - protected void addCommentPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Dependency_comment_feature"), - getString("_UI_PropertyDescriptor_description", "_UI_Dependency_comment_feature", "_UI_Dependency_type"), - DocumentationPackage.Literals.DEPENDENCY__COMMENT, - true, - true, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This returns Dependency.gif. - * - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Dependency")); - } - - /** - * This returns the label text for the adapted class. - * - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((Dependency) object).getPlugin(); - return label == null || label.length() == 0 ? - getString("_UI_Dependency_type") : - getString("_UI_Dependency_type") + " " + label; - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(Dependency.class)) { - case DocumentationPackage.DEPENDENCY__PLUGIN: - case DocumentationPackage.DEPENDENCY__COMMENT: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return PluginDocEditPlugin.INSTANCE; - } - -} diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProvider.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProvider.java deleted file mode 100644 index 13e5ce2f298..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProvider.java +++ /dev/null @@ -1,227 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.util.ResourceLocator; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.provider.EModelElementItemProvider; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.papyrus.documentation.plugin.documentation.Documentation; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationFactory; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation} object. - * - * - * - * @generated - */ -public class DocumentationItemProvider - extends EModelElementItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * - * @generated - */ - public DocumentationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addDescriptionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Description feature. - * - * - * - * @generated - */ - protected void addDescriptionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Documentation_description_feature"), - getString("_UI_PropertyDescriptor_description", "_UI_Documentation_description_feature", "_UI_Documentation_type"), - DocumentationPackage.Literals.DOCUMENTATION__DESCRIPTION, - true, - true, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or - * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}. - * - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(DocumentationPackage.Literals.DOCUMENTATION__IMPLICIT_DEPENDENCIES); - childrenFeatures.add(DocumentationPackage.Literals.DOCUMENTATION__REFERENT); - childrenFeatures.add(DocumentationPackage.Literals.DOCUMENTATION__ADDITIONAL_COMMENTS); - } - return childrenFeatures; - } - - /** - * - * - * - * @generated - */ - @Override - protected EStructuralFeature getChildFeature(Object object, Object child) { - // Check the type of the specified child object and return the proper feature to use for - // adding (see {@link AddCommand}) it as a child. - - return super.getChildFeature(object, child); - } - - /** - * This returns Documentation.gif. - * - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Documentation")); - } - - /** - * This returns the label text for the adapted class. - * - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = crop(((Documentation) object).getDescription()); - return label == null || label.length() == 0 ? - getString("_UI_Documentation_type") : - getString("_UI_Documentation_type") + " " + label; - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(Documentation.class)) { - case DocumentationPackage.DOCUMENTATION__DESCRIPTION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES: - case DocumentationPackage.DOCUMENTATION__REFERENT: - case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add - (createChildParameter - (DocumentationPackage.Literals.DOCUMENTATION__IMPLICIT_DEPENDENCIES, - DocumentationFactory.eINSTANCE.createDependency())); - - newChildDescriptors.add - (createChildParameter - (DocumentationPackage.Literals.DOCUMENTATION__IMPLICIT_DEPENDENCIES, - DocumentationFactory.eINSTANCE.createFileDependency())); - - newChildDescriptors.add - (createChildParameter - (DocumentationPackage.Literals.DOCUMENTATION__REFERENT, - DocumentationFactory.eINSTANCE.createPerson())); - - newChildDescriptors.add - (createChildParameter - (DocumentationPackage.Literals.DOCUMENTATION__ADDITIONAL_COMMENTS, - DocumentationFactory.eINSTANCE.createComment())); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return PluginDocEditPlugin.INSTANCE; - } - -} diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProviderAdapterFactory.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProviderAdapterFactory.java deleted file mode 100644 index 549261252b1..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/DocumentationItemProviderAdapterFactory.java +++ /dev/null @@ -1,337 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.provider; - -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.edit.provider.ChangeNotifier; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.ComposedAdapterFactory; -import org.eclipse.emf.edit.provider.IChangeNotifier; -import org.eclipse.emf.edit.provider.IDisposable; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.INotifyChangedListener; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.papyrus.documentation.plugin.documentation.util.DocumentationAdapterFactory; - -/** - * This is the factory that is used to provide the interfaces needed to support Viewers. - * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. - * The adapters also support Eclipse property sheets. - * Note that most of the adapters are shared among multiple instances. - * - * - * - * @generated - */ -public class DocumentationItemProviderAdapterFactory extends DocumentationAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { - /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * - * - * - * @generated - */ - protected ComposedAdapterFactory parentAdapterFactory; - - /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * - * - * - * @generated - */ - protected IChangeNotifier changeNotifier = new ChangeNotifier(); - - /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * - * - * - * @generated - */ - protected Collection supportedTypes = new ArrayList(); - - /** - * This constructs an instance. - * - * - * - * @generated - */ - public DocumentationItemProviderAdapterFactory() { - supportedTypes.add(IEditingDomainItemProvider.class); - supportedTypes.add(IStructuredItemContentProvider.class); - supportedTypes.add(ITreeItemContentProvider.class); - supportedTypes.add(IItemLabelProvider.class); - supportedTypes.add(IItemPropertySource.class); - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation} instances. - * - * - * - * @generated - */ - protected DocumentationItemProvider documentationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation}. - * - * - * - * @generated - */ - @Override - public Adapter createDocumentationAdapter() { - if (documentationItemProvider == null) { - documentationItemProvider = new DocumentationItemProvider(this); - } - - return documentationItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency} instances. - * - * - * - * @generated - */ - protected DependencyItemProvider dependencyItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency}. - * - * - * - * @generated - */ - @Override - public Adapter createDependencyAdapter() { - if (dependencyItemProvider == null) { - dependencyItemProvider = new DependencyItemProvider(this); - } - - return dependencyItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency} instances. - * - * - * - * @generated - */ - protected FileDependencyItemProvider fileDependencyItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency}. - * - * - * - * @generated - */ - @Override - public Adapter createFileDependencyAdapter() { - if (fileDependencyItemProvider == null) { - fileDependencyItemProvider = new FileDependencyItemProvider(this); - } - - return fileDependencyItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.documentation.plugin.documentation.Person} instances. - * - * - * - * @generated - */ - protected PersonItemProvider personItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Person}. - * - * - * - * @generated - */ - @Override - public Adapter createPersonAdapter() { - if (personItemProvider == null) { - personItemProvider = new PersonItemProvider(this); - } - - return personItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.documentation.plugin.documentation.Comment} instances. - * - * - * - * @generated - */ - protected CommentItemProvider commentItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Comment}. - * - * - * - * @generated - */ - @Override - public Adapter createCommentAdapter() { - if (commentItemProvider == null) { - commentItemProvider = new CommentItemProvider(this); - } - - return commentItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * - * - * - * @generated - */ - @Override - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * - * - * - * @generated - */ - @Override - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * - * - * - * @generated - */ - @Override - public boolean isFactoryForType(Object type) { - return supportedTypes.contains(type) || super.isFactoryForType(type); - } - - /** - * This implementation substitutes the factory itself as the key for the adapter. - * - * - * - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * - * - * - * @generated - */ - @Override - public Object adapt(Object object, Object type) { - if (isFactoryForType(type)) { - Object adapter = super.adapt(object, type); - if (!(type instanceof Class) || (((Class) type).isInstance(adapter))) { - return adapter; - } - } - - return null; - } - - /** - * This adds a listener. - * - * - * - * @generated - */ - @Override - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * - * - * - * @generated - */ - @Override - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * - * - * - * @generated - */ - @Override - public void fireNotifyChanged(Notification notification) { - changeNotifier.fireNotifyChanged(notification); - - if (parentAdapterFactory != null) { - parentAdapterFactory.fireNotifyChanged(notification); - } - } - - /** - * This disposes all of the item providers created by this factory. - * - * - * - * @generated - */ - @Override - public void dispose() { - if (documentationItemProvider != null) { - documentationItemProvider.dispose(); - } - if (dependencyItemProvider != null) { - dependencyItemProvider.dispose(); - } - if (fileDependencyItemProvider != null) { - fileDependencyItemProvider.dispose(); - } - if (personItemProvider != null) { - personItemProvider.dispose(); - } - if (commentItemProvider != null) { - commentItemProvider.dispose(); - } - } - -} diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/FileDependencyItemProvider.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/FileDependencyItemProvider.java deleted file mode 100644 index 8b1cdad9e2a..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/FileDependencyItemProvider.java +++ /dev/null @@ -1,153 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage; -import org.eclipse.papyrus.documentation.plugin.documentation.FileDependency; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency} object. - * - * - * - * @generated - */ -public class FileDependencyItemProvider - extends DependencyItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * - * @generated - */ - public FileDependencyItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addFilePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the File feature. - * - * - * - * @generated - */ - protected void addFilePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_FileDependency_file_feature"), - getString("_UI_PropertyDescriptor_description", "_UI_FileDependency_file_feature", "_UI_FileDependency_type"), - DocumentationPackage.Literals.FILE_DEPENDENCY__FILE, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This returns FileDependency.gif. - * - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/FileDependency")); - } - - /** - * This returns the label text for the adapted class. - * - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((FileDependency) object).getPlugin(); - return label == null || label.length() == 0 ? - getString("_UI_FileDependency_type") : - getString("_UI_FileDependency_type") + " " + label; - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(FileDependency.class)) { - case DocumentationPackage.FILE_DEPENDENCY__FILE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PersonItemProvider.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PersonItemProvider.java deleted file mode 100644 index d5f87ea03b1..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PersonItemProvider.java +++ /dev/null @@ -1,242 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.util.ResourceLocator; -import org.eclipse.emf.ecore.provider.EModelElementItemProvider; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage; -import org.eclipse.papyrus.documentation.plugin.documentation.Person; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.documentation.plugin.documentation.Person} object. - * - * - * - * @generated - */ -public class PersonItemProvider - extends EModelElementItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * - * @generated - */ - public PersonItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addFirstNamePropertyDescriptor(object); - addLastNamePropertyDescriptor(object); - addEMailPropertyDescriptor(object); - addCurrentCompanyPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the First Name feature. - * - * - * - * @generated - */ - protected void addFirstNamePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Person_firstName_feature"), - getString("_UI_PropertyDescriptor_description", "_UI_Person_firstName_feature", "_UI_Person_type"), - DocumentationPackage.Literals.PERSON__FIRST_NAME, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Last Name feature. - * - * - * - * @generated - */ - protected void addLastNamePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Person_lastName_feature"), - getString("_UI_PropertyDescriptor_description", "_UI_Person_lastName_feature", "_UI_Person_type"), - DocumentationPackage.Literals.PERSON__LAST_NAME, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the EMail feature. - * - * - * - * @generated - */ - protected void addEMailPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Person_eMail_feature"), - getString("_UI_PropertyDescriptor_description", "_UI_Person_eMail_feature", "_UI_Person_type"), - DocumentationPackage.Literals.PERSON__EMAIL, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Current Company feature. - * - * - * - * @generated - */ - protected void addCurrentCompanyPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Person_currentCompany_feature"), - getString("_UI_PropertyDescriptor_description", "_UI_Person_currentCompany_feature", "_UI_Person_type"), - DocumentationPackage.Literals.PERSON__CURRENT_COMPANY, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This returns Person.gif. - * - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Person")); - } - - /** - * This returns the label text for the adapted class. - * - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((Person) object).getFirstName(); - return label == null || label.length() == 0 ? - getString("_UI_Person_type") : - getString("_UI_Person_type") + " " + label; - } - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * - * - * - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(Person.class)) { - case DocumentationPackage.PERSON__FIRST_NAME: - case DocumentationPackage.PERSON__LAST_NAME: - case DocumentationPackage.PERSON__EMAIL: - case DocumentationPackage.PERSON__CURRENT_COMPANY: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return PluginDocEditPlugin.INSTANCE; - } - -} diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PluginDocEditPlugin.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PluginDocEditPlugin.java deleted file mode 100644 index cfd07a17028..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.edit/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/provider/PluginDocEditPlugin.java +++ /dev/null @@ -1,101 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.provider; - -import org.eclipse.emf.common.EMFPlugin; -import org.eclipse.emf.common.util.ResourceLocator; -import org.eclipse.emf.ecore.provider.EcoreEditPlugin; - -/** - * This is the central singleton for the PluginDoc edit plugin. - * - * - * - * @generated - */ -public final class PluginDocEditPlugin extends EMFPlugin { - /** - * Keep track of the singleton. - * - * - * - * @generated - */ - public static final PluginDocEditPlugin INSTANCE = new PluginDocEditPlugin(); - - /** - * Keep track of the singleton. - * - * - * - * @generated - */ - private static Implementation plugin; - - /** - * Create the instance. - * - * - * - * @generated - */ - public PluginDocEditPlugin() { - super(new ResourceLocator[] { - EcoreEditPlugin.INSTANCE, - }); - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * - * - * @return the singleton instance. - * @generated - */ - @Override - public ResourceLocator getPluginResourceLocator() { - return plugin; - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * - * - * @return the singleton instance. - * @generated - */ - public static Implementation getPlugin() { - return plugin; - } - - /** - * The actual implementation of the Eclipse Plugin. - * - * - * - * @generated - */ - public static class Implementation extends EclipsePlugin { - /** - * Creates an instance. - * - * - * - * @generated - */ - public Implementation() { - super(); - - // Remember the static instance. - // - plugin = this; - } - } - -} diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.classpath b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.classpath deleted file mode 100644 index c1f31893de4..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.project b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.project deleted file mode 100644 index acf76b2f55e..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - org.eclipse.papyrus.documentation.plugin.editor - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.settings/org.eclipse.jdt.core.prefs b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 94d61f00da6..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,291 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.6 -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_annotation=0 -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_method_declaration=0 -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_resources_in_try=80 -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.alignment_for_union_type_in_multicatch=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_lambda_body=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=true -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=true -org.eclipse.jdt.core.formatter.comment.format_line_comments=true -org.eclipse.jdt.core.formatter.comment.format_source_code=true -org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true -org.eclipse.jdt.core.formatter.comment.indent_root_tags=true -org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert -org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert -org.eclipse.jdt.core.formatter.comment.line_length=260 -org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true -org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true -org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false -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.disabling_tag=@formatter\:off -org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true -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=false -org.eclipse.jdt.core.formatter.indentation.size=4 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert -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_method=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=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_annotation_on_type=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_label=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_after_type_annotation=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=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_lambda_arrow=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=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_try=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_semicolon_in_try_resources=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=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_try=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=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not 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_lambda_arrow=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_try=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_semicolon_in_try_resources=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=false -org.eclipse.jdt.core.formatter.join_wrapped_lines=false -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=260 -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=false -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=5 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true -org.eclipse.jdt.core.formatter.tabulation.char=tab -org.eclipse.jdt.core.formatter.tabulation.size=4 -org.eclipse.jdt.core.formatter.use_on_off_tags=false -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.formatter.wrap_before_or_operator_multicatch=true -org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.settings/org.eclipse.jdt.ui.prefs b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index 954281dbc31..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,68 +0,0 @@ -cleanup.add_default_serial_version_id=true -cleanup.add_generated_serial_version_id=false -cleanup.add_missing_annotations=true -cleanup.add_missing_deprecated_annotations=true -cleanup.add_missing_methods=false -cleanup.add_missing_nls_tags=false -cleanup.add_missing_override_annotations=true -cleanup.add_missing_override_annotations_interface_methods=true -cleanup.add_serial_version_id=false -cleanup.always_use_blocks=true -cleanup.always_use_parentheses_in_expressions=false -cleanup.always_use_this_for_non_static_field_access=false -cleanup.always_use_this_for_non_static_method_access=false -cleanup.convert_functional_interfaces=false -cleanup.convert_to_enhanced_for_loop=false -cleanup.correct_indentation=false -cleanup.format_source_code=false -cleanup.format_source_code_changes_only=false -cleanup.insert_inferred_type_arguments=false -cleanup.make_local_variable_final=true -cleanup.make_parameters_final=false -cleanup.make_private_fields_final=true -cleanup.make_type_abstract_if_missing_method=false -cleanup.make_variable_declarations_final=false -cleanup.never_use_blocks=false -cleanup.never_use_parentheses_in_expressions=true -cleanup.organize_imports=false -cleanup.qualify_static_field_accesses_with_declaring_class=false -cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true -cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true -cleanup.qualify_static_member_accesses_with_declaring_class=true -cleanup.qualify_static_method_accesses_with_declaring_class=false -cleanup.remove_private_constructors=true -cleanup.remove_redundant_type_arguments=true -cleanup.remove_trailing_whitespaces=true -cleanup.remove_trailing_whitespaces_all=true -cleanup.remove_trailing_whitespaces_ignore_empty=false -cleanup.remove_unnecessary_casts=true -cleanup.remove_unnecessary_nls_tags=true -cleanup.remove_unused_imports=true -cleanup.remove_unused_local_variables=false -cleanup.remove_unused_private_fields=true -cleanup.remove_unused_private_members=false -cleanup.remove_unused_private_methods=true -cleanup.remove_unused_private_types=true -cleanup.sort_members=false -cleanup.sort_members_all=false -cleanup.use_anonymous_class_creation=false -cleanup.use_blocks=true -cleanup.use_blocks_only_for_return_and_throw=false -cleanup.use_lambda=true -cleanup.use_parentheses_in_expressions=false -cleanup.use_this_for_non_static_field_access=false -cleanup.use_this_for_non_static_field_access_only_if_necessary=true -cleanup.use_this_for_non_static_method_access=false -cleanup.use_this_for_non_static_method_access_only_if_necessary=true -cleanup.use_type_arguments=false -cleanup_profile=_Papyrus -cleanup_settings_version=2 -eclipse.preferences.version=1 -formatter_profile=_Papyrus -formatter_settings_version=12 -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=java;javax;org;com; -org.eclipse.jdt.ui.javadoc=true -org.eclipse.jdt.ui.ondemandthreshold=99 -org.eclipse.jdt.ui.staticondemandthreshold=99 -org.eclipse.jdt.ui.text.custom_code_templates= diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/META-INF/MANIFEST.MF b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/META-INF/MANIFEST.MF deleted file mode 100644 index 337c3dd83ef..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/META-INF/MANIFEST.MF +++ /dev/null @@ -1,23 +0,0 @@ -Manifest-Version: 1.0 -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.core.resources;visibility:=reexport, - org.eclipse.papyrus.documentation.plugin.edit;bundle-version="1.1.0";visibility:=reexport, - org.eclipse.emf.ecore.xmi;visibility:=reexport, - org.eclipse.emf.edit.ui;visibility:=reexport, - org.eclipse.ui.ide;visibility:=reexport, - org.eclipse.emf.ecore.edit;visibility:=reexport -Export-Package: org.eclipse.papyrus.documentation.plugin.documentation - .presentation -Bundle-Vendor: %providerName -Bundle-ActivationPolicy: lazy -Bundle-ClassPath: . -Bundle-Version: 1.1.0.qualifier -Bundle-Localization: plugin -Bundle-Name: %pluginName -Bundle-Activator: org.eclipse.papyrus.documentation.plugin.documentati - on.presentation.PluginDocEditorPlugin$Implementation -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: org.eclipse.papyrus.documentation.plugin.editor;s - ingleton:=true -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/about.html b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/about.html deleted file mode 100755 index 77ef6958f99..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

About This Content

- -

March, 2014

-

License

- -

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

- -

If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

- - - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/build.properties b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/build.properties deleted file mode 100644 index be1f0346538..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/build.properties +++ /dev/null @@ -1,15 +0,0 @@ - -# -# -# -# $Id$ - -bin.includes = .,\ - icons/,\ - META-INF/,\ - plugin.xml,\ - plugin.properties -jars.compile.order = . -source.. = src-gen/ -output.. = bin -src.includes = about.html diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/icons/full/obj16/DocumentationModelFile.gif b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/icons/full/obj16/DocumentationModelFile.gif deleted file mode 100644 index 7a1962eb8e5..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/icons/full/obj16/DocumentationModelFile.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/icons/full/wizban/NewDocumentation.gif b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/icons/full/wizban/NewDocumentation.gif deleted file mode 100644 index 285c8eb1b14..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/icons/full/wizban/NewDocumentation.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/plugin.properties b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/plugin.properties deleted file mode 100644 index 009f91da6db..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/plugin.properties +++ /dev/null @@ -1,57 +0,0 @@ - -# -# -# -# $Id$ - -pluginName = PluginDoc Editor -providerName = Eclipse Modeling Project - -_UI_DocumentationEditor_menu = &Documentation Editor - -_UI_CreateChild_menu_item = &New Child -_UI_CreateSibling_menu_item = N&ew Sibling - -_UI_ShowPropertiesView_menu_item = Show &Properties View -_UI_RefreshViewer_menu_item = &Refresh - -_UI_SelectionPage_label = Selection -_UI_ParentPage_label = Parent -_UI_ListPage_label = List -_UI_TreePage_label = Tree -_UI_TablePage_label = Table -_UI_TreeWithColumnsPage_label = Tree with Columns -_UI_ObjectColumn_label = Object -_UI_SelfColumn_label = Self - -_UI_NoObjectSelected = Selected Nothing -_UI_SingleObjectSelected = Selected Object: {0} -_UI_MultiObjectSelected = Selected {0} Objects - -_UI_OpenEditorError_label = Open Editor - -_UI_Wizard_category = Example EMF Model Creation Wizards - -_UI_CreateModelError_message = Problems encountered in file "{0}" - -_UI_DocumentationModelWizard_label = Documentation Model -_UI_DocumentationModelWizard_description = Create a new Documentation model - -_UI_DocumentationEditor_label = Documentation Model Editor - -_UI_DocumentationEditorFilenameDefaultBase = My -_UI_DocumentationEditorFilenameExtensions = pdoc - -_UI_Wizard_label = New - -_WARN_FilenameExtension = The file name must end in ''.{0}'' -_WARN_FilenameExtensions = The file name must have one of the following extensions: {0} - -_UI_ModelObject = &Model Object -_UI_XMLEncoding = &XML Encoding -_UI_XMLEncodingChoices = UTF-8 -_UI_Wizard_initial_object_description = Select a model object to create - -_UI_FileConflict_label = File Conflict -_WARN_FileConflict = There are unsaved changes that conflict with changes made outside the editor. Do you wish to discard this editor's changes? - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/plugin.xml b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/plugin.xml deleted file mode 100644 index 8a2b1129537..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/plugin.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - %_UI_DocumentationModelWizard_description - - - - - - - - - - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationActionBarContributor.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationActionBarContributor.java deleted file mode 100644 index 23049299578..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationActionBarContributor.java +++ /dev/null @@ -1,445 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.presentation; - -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.emf.common.ui.viewer.IViewerProvider; -import org.eclipse.emf.edit.domain.EditingDomain; -import org.eclipse.emf.edit.domain.IEditingDomainProvider; -import org.eclipse.emf.edit.ui.action.ControlAction; -import org.eclipse.emf.edit.ui.action.CreateChildAction; -import org.eclipse.emf.edit.ui.action.CreateSiblingAction; -import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor; -import org.eclipse.emf.edit.ui.action.LoadResourceAction; -import org.eclipse.emf.edit.ui.action.ValidateAction; -import org.eclipse.jface.action.Action; -import org.eclipse.jface.action.ActionContributionItem; -import org.eclipse.jface.action.IAction; -import org.eclipse.jface.action.IContributionItem; -import org.eclipse.jface.action.IContributionManager; -import org.eclipse.jface.action.IMenuListener; -import org.eclipse.jface.action.IMenuManager; -import org.eclipse.jface.action.IToolBarManager; -import org.eclipse.jface.action.MenuManager; -import org.eclipse.jface.action.Separator; -import org.eclipse.jface.action.SubContributionItem; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.jface.viewers.ISelectionChangedListener; -import org.eclipse.jface.viewers.ISelectionProvider; -import org.eclipse.jface.viewers.IStructuredSelection; -import org.eclipse.jface.viewers.SelectionChangedEvent; -import org.eclipse.jface.viewers.Viewer; -import org.eclipse.ui.IEditorPart; -import org.eclipse.ui.PartInitException; - -/** - * This is the action bar contributor for the Documentation model editor. - * - * - * - * @generated - */ -public class DocumentationActionBarContributor - extends EditingDomainActionBarContributor - implements ISelectionChangedListener { - /** - * This keeps track of the active editor. - * - * - * - * @generated - */ - protected IEditorPart activeEditorPart; - - /** - * This keeps track of the current selection provider. - * - * - * - * @generated - */ - protected ISelectionProvider selectionProvider; - - /** - * This action opens the Properties view. - * - * - * - * @generated - */ - protected IAction showPropertiesViewAction = - new Action(PluginDocEditorPlugin.INSTANCE.getString("_UI_ShowPropertiesView_menu_item")) { - @Override - public void run() { - try { - getPage().showView("org.eclipse.ui.views.PropertySheet"); - } - catch (PartInitException exception) { - PluginDocEditorPlugin.INSTANCE.log(exception); - } - } - }; - - /** - * This action refreshes the viewer of the current editor if the editor - * implements {@link org.eclipse.emf.common.ui.viewer.IViewerProvider}. - * - * - * - * @generated - */ - protected IAction refreshViewerAction = - new Action(PluginDocEditorPlugin.INSTANCE.getString("_UI_RefreshViewer_menu_item")) { - @Override - public boolean isEnabled() { - return activeEditorPart instanceof IViewerProvider; - } - - @Override - public void run() { - if (activeEditorPart instanceof IViewerProvider) { - Viewer viewer = ((IViewerProvider) activeEditorPart).getViewer(); - if (viewer != null) { - viewer.refresh(); - } - } - } - }; - - /** - * This will contain one {@link org.eclipse.emf.edit.ui.action.CreateChildAction} corresponding to each descriptor - * generated for the current selection by the item provider. - * - * - * - * @generated - */ - protected Collection createChildActions; - - /** - * This is the menu manager into which menu contribution items should be added for CreateChild actions. - * - * - * - * @generated - */ - protected IMenuManager createChildMenuManager; - - /** - * This will contain one {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} corresponding to each descriptor - * generated for the current selection by the item provider. - * - * - * - * @generated - */ - protected Collection createSiblingActions; - - /** - * This is the menu manager into which menu contribution items should be added for CreateSibling actions. - * - * - * - * @generated - */ - protected IMenuManager createSiblingMenuManager; - - /** - * This creates an instance of the contributor. - * - * - * - * @generated - */ - public DocumentationActionBarContributor() { - super(ADDITIONS_LAST_STYLE); - loadResourceAction = new LoadResourceAction(); - validateAction = new ValidateAction(); - controlAction = new ControlAction(); - } - - /** - * This adds Separators for editor additions to the tool bar. - * - * - * - * @generated - */ - @Override - public void contributeToToolBar(IToolBarManager toolBarManager) { - toolBarManager.add(new Separator("documentation-settings")); - toolBarManager.add(new Separator("documentation-additions")); - } - - /** - * This adds to the menu bar a menu and some separators for editor additions, - * as well as the sub-menus for object creation items. - * - * - * - * @generated - */ - @Override - public void contributeToMenu(IMenuManager menuManager) { - super.contributeToMenu(menuManager); - - IMenuManager submenuManager = new MenuManager(PluginDocEditorPlugin.INSTANCE.getString("_UI_DocumentationEditor_menu"), "org.eclipse.papyrus.documentation.plugin.documentationMenuID"); - menuManager.insertAfter("additions", submenuManager); - submenuManager.add(new Separator("settings")); - submenuManager.add(new Separator("actions")); - submenuManager.add(new Separator("additions")); - submenuManager.add(new Separator("additions-end")); - - // Prepare for CreateChild item addition or removal. - // - createChildMenuManager = new MenuManager(PluginDocEditorPlugin.INSTANCE.getString("_UI_CreateChild_menu_item")); - submenuManager.insertBefore("additions", createChildMenuManager); - - // Prepare for CreateSibling item addition or removal. - // - createSiblingMenuManager = new MenuManager(PluginDocEditorPlugin.INSTANCE.getString("_UI_CreateSibling_menu_item")); - submenuManager.insertBefore("additions", createSiblingMenuManager); - - // Force an update because Eclipse hides empty menus now. - // - submenuManager.addMenuListener - (new IMenuListener() { - @Override - public void menuAboutToShow(IMenuManager menuManager) { - menuManager.updateAll(true); - } - }); - - addGlobalActions(submenuManager); - } - - /** - * When the active editor changes, this remembers the change and registers with it as a selection provider. - * - * - * - * @generated - */ - @Override - public void setActiveEditor(IEditorPart part) { - super.setActiveEditor(part); - activeEditorPart = part; - - // Switch to the new selection provider. - // - if (selectionProvider != null) { - selectionProvider.removeSelectionChangedListener(this); - } - if (part == null) { - selectionProvider = null; - } - else { - selectionProvider = part.getSite().getSelectionProvider(); - selectionProvider.addSelectionChangedListener(this); - - // Fake a selection changed event to update the menus. - // - if (selectionProvider.getSelection() != null) { - selectionChanged(new SelectionChangedEvent(selectionProvider, selectionProvider.getSelection())); - } - } - } - - /** - * This implements {@link org.eclipse.jface.viewers.ISelectionChangedListener}, - * handling {@link org.eclipse.jface.viewers.SelectionChangedEvent}s by querying for the children and siblings - * that can be added to the selected object and updating the menus accordingly. - * - * - * - * @generated - */ - @Override - public void selectionChanged(SelectionChangedEvent event) { - // Remove any menu items for old selection. - // - if (createChildMenuManager != null) { - depopulateManager(createChildMenuManager, createChildActions); - } - if (createSiblingMenuManager != null) { - depopulateManager(createSiblingMenuManager, createSiblingActions); - } - - // Query the new selection for appropriate new child/sibling descriptors - // - Collection newChildDescriptors = null; - Collection newSiblingDescriptors = null; - - ISelection selection = event.getSelection(); - if (selection instanceof IStructuredSelection && ((IStructuredSelection) selection).size() == 1) { - Object object = ((IStructuredSelection) selection).getFirstElement(); - - EditingDomain domain = ((IEditingDomainProvider) activeEditorPart).getEditingDomain(); - - newChildDescriptors = domain.getNewChildDescriptors(object, null); - newSiblingDescriptors = domain.getNewChildDescriptors(null, object); - } - - // Generate actions for selection; populate and redraw the menus. - // - createChildActions = generateCreateChildActions(newChildDescriptors, selection); - createSiblingActions = generateCreateSiblingActions(newSiblingDescriptors, selection); - - if (createChildMenuManager != null) { - populateManager(createChildMenuManager, createChildActions, null); - createChildMenuManager.update(true); - } - if (createSiblingMenuManager != null) { - populateManager(createSiblingMenuManager, createSiblingActions, null); - createSiblingMenuManager.update(true); - } - } - - /** - * This generates a {@link org.eclipse.emf.edit.ui.action.CreateChildAction} for each object in descriptors, - * and returns the collection of these actions. - * - * - * - * @generated - */ - protected Collection generateCreateChildActions(Collection descriptors, ISelection selection) { - Collection actions = new ArrayList(); - if (descriptors != null) { - for (Object descriptor : descriptors) { - actions.add(new CreateChildAction(activeEditorPart, selection, descriptor)); - } - } - return actions; - } - - /** - * This generates a {@link org.eclipse.emf.edit.ui.action.CreateSiblingAction} for each object in descriptors, - * and returns the collection of these actions. - * - * - * - * @generated - */ - protected Collection generateCreateSiblingActions(Collection descriptors, ISelection selection) { - Collection actions = new ArrayList(); - if (descriptors != null) { - for (Object descriptor : descriptors) { - actions.add(new CreateSiblingAction(activeEditorPart, selection, descriptor)); - } - } - return actions; - } - - /** - * This populates the specified manager with {@link org.eclipse.jface.action.ActionContributionItem}s - * based on the {@link org.eclipse.jface.action.IAction}s contained in the actions collection, - * by inserting them before the specified contribution item contributionID. - * If contributionID is null, they are simply added. - * - * - * - * @generated - */ - protected void populateManager(IContributionManager manager, Collection actions, String contributionID) { - if (actions != null) { - for (IAction action : actions) { - if (contributionID != null) { - manager.insertBefore(contributionID, action); - } - else { - manager.add(action); - } - } - } - } - - /** - * This removes from the specified manager all {@link org.eclipse.jface.action.ActionContributionItem}s - * based on the {@link org.eclipse.jface.action.IAction}s contained in the actions collection. - * - * - * - * @generated - */ - protected void depopulateManager(IContributionManager manager, Collection actions) { - if (actions != null) { - IContributionItem[] items = manager.getItems(); - for (int i = 0; i < items.length; i++) { - // Look into SubContributionItems - // - IContributionItem contributionItem = items[i]; - while (contributionItem instanceof SubContributionItem) { - contributionItem = ((SubContributionItem) contributionItem).getInnerItem(); - } - - // Delete the ActionContributionItems with matching action. - // - if (contributionItem instanceof ActionContributionItem) { - IAction action = ((ActionContributionItem) contributionItem).getAction(); - if (actions.contains(action)) { - manager.remove(contributionItem); - } - } - } - } - } - - /** - * This populates the pop-up menu before it appears. - * - * - * - * @generated - */ - @Override - public void menuAboutToShow(IMenuManager menuManager) { - super.menuAboutToShow(menuManager); - MenuManager submenuManager = null; - - submenuManager = new MenuManager(PluginDocEditorPlugin.INSTANCE.getString("_UI_CreateChild_menu_item")); - populateManager(submenuManager, createChildActions, null); - menuManager.insertBefore("edit", submenuManager); - - submenuManager = new MenuManager(PluginDocEditorPlugin.INSTANCE.getString("_UI_CreateSibling_menu_item")); - populateManager(submenuManager, createSiblingActions, null); - menuManager.insertBefore("edit", submenuManager); - } - - /** - * This inserts global actions before the "additions-end" separator. - * - * - * - * @generated - */ - @Override - protected void addGlobalActions(IMenuManager menuManager) { - menuManager.insertAfter("additions-end", new Separator("ui-actions")); - menuManager.insertAfter("ui-actions", showPropertiesViewAction); - - refreshViewerAction.setEnabled(refreshViewerAction.isEnabled()); - menuManager.insertAfter("ui-actions", refreshViewerAction); - - super.addGlobalActions(menuManager); - } - - /** - * This ensures that a delete action will clean up all references to deleted objects. - * - * - * - * @generated - */ - @Override - protected boolean removeAllReferencesOnDelete() { - return true; - } - -} \ No newline at end of file diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationEditor.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationEditor.java deleted file mode 100644 index 150eb5ff934..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationEditor.java +++ /dev/null @@ -1,1883 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.presentation; - - -import java.io.IOException; -import java.io.InputStream; -import java.util.ArrayList; -import java.util.Collection; -import java.util.Collections; -import java.util.EventObject; -import java.util.HashMap; -import java.util.Iterator; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Map; - -import org.eclipse.core.resources.IFile; -import org.eclipse.core.resources.IMarker; -import org.eclipse.core.resources.IResource; -import org.eclipse.core.resources.IResourceChangeEvent; -import org.eclipse.core.resources.IResourceChangeListener; -import org.eclipse.core.resources.IResourceDelta; -import org.eclipse.core.resources.IResourceDeltaVisitor; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.IPath; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.emf.common.command.BasicCommandStack; -import org.eclipse.emf.common.command.Command; -import org.eclipse.emf.common.command.CommandStack; -import org.eclipse.emf.common.command.CommandStackListener; -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.ui.MarkerHelper; -import org.eclipse.emf.common.ui.ViewerPane; -import org.eclipse.emf.common.ui.editor.ProblemEditorPart; -import org.eclipse.emf.common.ui.viewer.IViewerProvider; -import org.eclipse.emf.common.util.BasicDiagnostic; -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.EValidator; -import org.eclipse.emf.ecore.provider.EcoreItemProviderAdapterFactory; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.emf.ecore.util.EContentAdapter; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain; -import org.eclipse.emf.edit.domain.EditingDomain; -import org.eclipse.emf.edit.domain.IEditingDomainProvider; -import org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator; -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.celleditor.AdapterFactoryTreeEditor; -import org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter; -import org.eclipse.emf.edit.ui.dnd.LocalTransfer; -import org.eclipse.emf.edit.ui.dnd.ViewerDragAdapter; -import org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider; -import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider; -import org.eclipse.emf.edit.ui.provider.UnwrappingSelectionProvider; -import org.eclipse.emf.edit.ui.util.EditUIMarkerHelper; -import org.eclipse.emf.edit.ui.util.EditUIUtil; -import org.eclipse.emf.edit.ui.view.ExtendedPropertySheetPage; -import org.eclipse.jface.action.IMenuListener; -import org.eclipse.jface.action.IMenuManager; -import org.eclipse.jface.action.IStatusLineManager; -import org.eclipse.jface.action.IToolBarManager; -import org.eclipse.jface.action.MenuManager; -import org.eclipse.jface.action.Separator; -import org.eclipse.jface.dialogs.MessageDialog; -import org.eclipse.jface.dialogs.ProgressMonitorDialog; -import org.eclipse.jface.viewers.ColumnWeightData; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.jface.viewers.ISelectionChangedListener; -import org.eclipse.jface.viewers.ISelectionProvider; -import org.eclipse.jface.viewers.IStructuredSelection; -import org.eclipse.jface.viewers.ListViewer; -import org.eclipse.jface.viewers.SelectionChangedEvent; -import org.eclipse.jface.viewers.StructuredSelection; -import org.eclipse.jface.viewers.StructuredViewer; -import org.eclipse.jface.viewers.TableLayout; -import org.eclipse.jface.viewers.TableViewer; -import org.eclipse.jface.viewers.TreeViewer; -import org.eclipse.jface.viewers.Viewer; -import org.eclipse.papyrus.documentation.plugin.documentation.provider.DocumentationItemProviderAdapterFactory; -import org.eclipse.swt.SWT; -import org.eclipse.swt.custom.CTabFolder; -import org.eclipse.swt.dnd.DND; -import org.eclipse.swt.dnd.Transfer; -import org.eclipse.swt.events.ControlAdapter; -import org.eclipse.swt.events.ControlEvent; -import org.eclipse.swt.graphics.Point; -import org.eclipse.swt.layout.FillLayout; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Menu; -import org.eclipse.swt.widgets.Table; -import org.eclipse.swt.widgets.TableColumn; -import org.eclipse.swt.widgets.Tree; -import org.eclipse.swt.widgets.TreeColumn; -import org.eclipse.ui.IActionBars; -import org.eclipse.ui.IEditorInput; -import org.eclipse.ui.IEditorPart; -import org.eclipse.ui.IEditorSite; -import org.eclipse.ui.IPartListener; -import org.eclipse.ui.IWorkbenchPart; -import org.eclipse.ui.PartInitException; -import org.eclipse.ui.actions.WorkspaceModifyOperation; -import org.eclipse.ui.dialogs.SaveAsDialog; -import org.eclipse.ui.ide.IGotoMarker; -import org.eclipse.ui.part.FileEditorInput; -import org.eclipse.ui.part.MultiPageEditorPart; -import org.eclipse.ui.views.contentoutline.ContentOutline; -import org.eclipse.ui.views.contentoutline.ContentOutlinePage; -import org.eclipse.ui.views.contentoutline.IContentOutlinePage; -import org.eclipse.ui.views.properties.IPropertySheetPage; -import org.eclipse.ui.views.properties.PropertySheet; -import org.eclipse.ui.views.properties.PropertySheetPage; - - -/** - * This is an example of a Documentation model editor. - * - * - * - * @generated - */ -public class DocumentationEditor - extends MultiPageEditorPart - implements IEditingDomainProvider, ISelectionProvider, IMenuListener, IViewerProvider, IGotoMarker { - /** - * This keeps track of the editing domain that is used to track all changes to the model. - * - * - * - * @generated - */ - protected AdapterFactoryEditingDomain editingDomain; - - /** - * This is the one adapter factory used for providing views of the model. - * - * - * - * @generated - */ - protected ComposedAdapterFactory adapterFactory; - - /** - * This is the content outline page. - * - * - * - * @generated - */ - protected IContentOutlinePage contentOutlinePage; - - /** - * This is a kludge... - * - * - * - * @generated - */ - protected IStatusLineManager contentOutlineStatusLineManager; - - /** - * This is the content outline page's viewer. - * - * - * - * @generated - */ - protected TreeViewer contentOutlineViewer; - - /** - * This is the property sheet page. - * - * - * - * @generated - */ - protected PropertySheetPage propertySheetPage; - - /** - * This is the viewer that shadows the selection in the content outline. - * The parent relation must be correctly defined for this to work. - * - * - * - * @generated - */ - protected TreeViewer selectionViewer; - - /** - * This inverts the roll of parent and child in the content provider and show parents as a tree. - * - * - * - * @generated - */ - protected TreeViewer parentViewer; - - /** - * This shows how a tree view works. - * - * - * - * @generated - */ - protected TreeViewer treeViewer; - - /** - * This shows how a list view works. - * A list viewer doesn't support icons. - * - * - * - * @generated - */ - protected ListViewer listViewer; - - /** - * This shows how a table view works. - * A table can be used as a list with icons. - * - * - * - * @generated - */ - protected TableViewer tableViewer; - - /** - * This shows how a tree view with columns works. - * - * - * - * @generated - */ - protected TreeViewer treeViewerWithColumns; - - /** - * This keeps track of the active viewer pane, in the book. - * - * - * - * @generated - */ - protected ViewerPane currentViewerPane; - - /** - * This keeps track of the active content viewer, which may be either one of the viewers in the pages or the content outline viewer. - * - * - * - * @generated - */ - protected Viewer currentViewer; - - /** - * This listens to which ever viewer is active. - * - * - * - * @generated - */ - protected ISelectionChangedListener selectionChangedListener; - - /** - * This keeps track of all the {@link org.eclipse.jface.viewers.ISelectionChangedListener}s that are listening to this editor. - * - * - * - * @generated - */ - protected Collection selectionChangedListeners = new ArrayList(); - - /** - * This keeps track of the selection of the editor as a whole. - * - * - * - * @generated - */ - protected ISelection editorSelection = StructuredSelection.EMPTY; - - /** - * The MarkerHelper is responsible for creating workspace resource markers presented - * in Eclipse's Problems View. - * - * - * - * @generated - */ - protected MarkerHelper markerHelper = new EditUIMarkerHelper(); - - /** - * This listens for when the outline becomes active - * - * - * - * @generated - */ - protected IPartListener partListener = - new IPartListener() { - @Override - public void partActivated(IWorkbenchPart p) { - if (p instanceof ContentOutline) { - if (((ContentOutline) p).getCurrentPage() == contentOutlinePage) { - getActionBarContributor().setActiveEditor(DocumentationEditor.this); - - setCurrentViewer(contentOutlineViewer); - } - } - else if (p instanceof PropertySheet) { - if (((PropertySheet) p).getCurrentPage() == propertySheetPage) { - getActionBarContributor().setActiveEditor(DocumentationEditor.this); - handleActivate(); - } - } - else if (p == DocumentationEditor.this) { - handleActivate(); - } - } - - @Override - public void partBroughtToTop(IWorkbenchPart p) { - // Ignore. - } - - @Override - public void partClosed(IWorkbenchPart p) { - // Ignore. - } - - @Override - public void partDeactivated(IWorkbenchPart p) { - // Ignore. - } - - @Override - public void partOpened(IWorkbenchPart p) { - // Ignore. - } - }; - - /** - * Resources that have been removed since last activation. - * - * - * - * @generated - */ - protected Collection removedResources = new ArrayList(); - - /** - * Resources that have been changed since last activation. - * - * - * - * @generated - */ - protected Collection changedResources = new ArrayList(); - - /** - * Resources that have been saved. - * - * - * - * @generated - */ - protected Collection savedResources = new ArrayList(); - - /** - * Map to store the diagnostic associated with a resource. - * - * - * - * @generated - */ - protected Map resourceToDiagnosticMap = new LinkedHashMap(); - - /** - * Controls whether the problem indication should be updated. - * - * - * - * @generated - */ - protected boolean updateProblemIndication = true; - - /** - * Adapter used to update the problem indication when resources are demanded loaded. - * - * - * - * @generated - */ - protected EContentAdapter problemIndicationAdapter = - new EContentAdapter() { - @Override - public void notifyChanged(Notification notification) { - if (notification.getNotifier() instanceof Resource) { - switch (notification.getFeatureID(Resource.class)) { - case Resource.RESOURCE__IS_LOADED: - case Resource.RESOURCE__ERRORS: - case Resource.RESOURCE__WARNINGS: { - Resource resource = (Resource) notification.getNotifier(); - Diagnostic diagnostic = analyzeResourceProblems(resource, null); - if (diagnostic.getSeverity() != Diagnostic.OK) { - resourceToDiagnosticMap.put(resource, diagnostic); - } - else { - resourceToDiagnosticMap.remove(resource); - } - - if (updateProblemIndication) { - getSite().getShell().getDisplay().asyncExec - (new Runnable() { - @Override - public void run() { - updateProblemIndication(); - } - }); - } - break; - } - } - } - else { - super.notifyChanged(notification); - } - } - - @Override - protected void setTarget(Resource target) { - basicSetTarget(target); - } - - @Override - protected void unsetTarget(Resource target) { - basicUnsetTarget(target); - } - }; - - /** - * This listens for workspace changes. - * - * - * - * @generated - */ - protected IResourceChangeListener resourceChangeListener = - new IResourceChangeListener() { - @Override - public void resourceChanged(IResourceChangeEvent event) { - IResourceDelta delta = event.getDelta(); - try { - class ResourceDeltaVisitor implements IResourceDeltaVisitor { - protected ResourceSet resourceSet = editingDomain.getResourceSet(); - protected Collection changedResources = new ArrayList(); - protected Collection removedResources = new ArrayList(); - - @Override - public boolean visit(IResourceDelta delta) { - if (delta.getResource().getType() == IResource.FILE) { - if (delta.getKind() == IResourceDelta.REMOVED || - delta.getKind() == IResourceDelta.CHANGED && delta.getFlags() != IResourceDelta.MARKERS) { - Resource resource = resourceSet.getResource(URI.createPlatformResourceURI(delta.getFullPath().toString(), true), false); - if (resource != null) { - if (delta.getKind() == IResourceDelta.REMOVED) { - removedResources.add(resource); - } - else if (!savedResources.remove(resource)) { - changedResources.add(resource); - } - } - } - } - - return true; - } - - public Collection getChangedResources() { - return changedResources; - } - - public Collection getRemovedResources() { - return removedResources; - } - } - - final ResourceDeltaVisitor visitor = new ResourceDeltaVisitor(); - delta.accept(visitor); - - if (!visitor.getRemovedResources().isEmpty()) { - getSite().getShell().getDisplay().asyncExec - (new Runnable() { - @Override - public void run() { - removedResources.addAll(visitor.getRemovedResources()); - if (!isDirty()) { - getSite().getPage().closeEditor(DocumentationEditor.this, false); - } - } - }); - } - - if (!visitor.getChangedResources().isEmpty()) { - getSite().getShell().getDisplay().asyncExec - (new Runnable() { - @Override - public void run() { - changedResources.addAll(visitor.getChangedResources()); - if (getSite().getPage().getActiveEditor() == DocumentationEditor.this) { - handleActivate(); - } - } - }); - } - } - catch (CoreException exception) { - PluginDocEditorPlugin.INSTANCE.log(exception); - } - } - }; - - /** - * Handles activation of the editor or it's associated views. - * - * - * - * @generated - */ - protected void handleActivate() { - // Recompute the read only state. - // - if (editingDomain.getResourceToReadOnlyMap() != null) { - editingDomain.getResourceToReadOnlyMap().clear(); - - // Refresh any actions that may become enabled or disabled. - // - setSelection(getSelection()); - } - - if (!removedResources.isEmpty()) { - if (handleDirtyConflict()) { - getSite().getPage().closeEditor(DocumentationEditor.this, false); - } - else { - removedResources.clear(); - changedResources.clear(); - savedResources.clear(); - } - } - else if (!changedResources.isEmpty()) { - changedResources.removeAll(savedResources); - handleChangedResources(); - changedResources.clear(); - savedResources.clear(); - } - } - - /** - * Handles what to do with changed resources on activation. - * - * - * - * @generated - */ - protected void handleChangedResources() { - if (!changedResources.isEmpty() && (!isDirty() || handleDirtyConflict())) { - if (isDirty()) { - changedResources.addAll(editingDomain.getResourceSet().getResources()); - } - editingDomain.getCommandStack().flush(); - - updateProblemIndication = false; - for (Resource resource : changedResources) { - if (resource.isLoaded()) { - resource.unload(); - try { - resource.load(Collections.EMPTY_MAP); - } catch (IOException exception) { - if (!resourceToDiagnosticMap.containsKey(resource)) { - resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception)); - } - } - } - } - - if (AdapterFactoryEditingDomain.isStale(editorSelection)) { - setSelection(StructuredSelection.EMPTY); - } - - updateProblemIndication = true; - updateProblemIndication(); - } - } - - /** - * Updates the problems indication with the information described in the specified diagnostic. - * - * - * - * @generated - */ - protected void updateProblemIndication() { - if (updateProblemIndication) { - BasicDiagnostic diagnostic = - new BasicDiagnostic - (Diagnostic.OK, - "org.eclipse.papyrus.documentation.plugin.editor", - 0, - null, - new Object[] { editingDomain.getResourceSet() }); - for (Diagnostic childDiagnostic : resourceToDiagnosticMap.values()) { - if (childDiagnostic.getSeverity() != Diagnostic.OK) { - diagnostic.add(childDiagnostic); - } - } - - int lastEditorPage = getPageCount() - 1; - if (lastEditorPage >= 0 && getEditor(lastEditorPage) instanceof ProblemEditorPart) { - ((ProblemEditorPart) getEditor(lastEditorPage)).setDiagnostic(diagnostic); - if (diagnostic.getSeverity() != Diagnostic.OK) { - setActivePage(lastEditorPage); - } - } - else if (diagnostic.getSeverity() != Diagnostic.OK) { - ProblemEditorPart problemEditorPart = new ProblemEditorPart(); - problemEditorPart.setDiagnostic(diagnostic); - problemEditorPart.setMarkerHelper(markerHelper); - try { - addPage(++lastEditorPage, problemEditorPart, getEditorInput()); - setPageText(lastEditorPage, problemEditorPart.getPartName()); - setActivePage(lastEditorPage); - showTabs(); - } catch (PartInitException exception) { - PluginDocEditorPlugin.INSTANCE.log(exception); - } - } - - if (markerHelper.hasMarkers(editingDomain.getResourceSet())) { - markerHelper.deleteMarkers(editingDomain.getResourceSet()); - if (diagnostic.getSeverity() != Diagnostic.OK) { - try { - markerHelper.createMarkers(diagnostic); - } catch (CoreException exception) { - PluginDocEditorPlugin.INSTANCE.log(exception); - } - } - } - } - } - - /** - * Shows a dialog that asks if conflicting changes should be discarded. - * - * - * - * @generated - */ - protected boolean handleDirtyConflict() { - return MessageDialog.openQuestion - (getSite().getShell(), - getString("_UI_FileConflict_label"), - getString("_WARN_FileConflict")); - } - - /** - * This creates a model editor. - * - * - * - * @generated - */ - public DocumentationEditor() { - super(); - initializeEditingDomain(); - } - - /** - * This sets up the editing domain for the model editor. - * - * - * - * @generated - */ - protected void initializeEditingDomain() { - // Create an adapter factory that yields item providers. - // - adapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE); - - adapterFactory.addAdapterFactory(new ResourceItemProviderAdapterFactory()); - adapterFactory.addAdapterFactory(new DocumentationItemProviderAdapterFactory()); - adapterFactory.addAdapterFactory(new EcoreItemProviderAdapterFactory()); - adapterFactory.addAdapterFactory(new ReflectiveItemProviderAdapterFactory()); - - // Create the command stack that will notify this editor as commands are executed. - // - BasicCommandStack commandStack = new BasicCommandStack(); - - // Add a listener to set the most recent command's affected objects to be the selection of the viewer with focus. - // - commandStack.addCommandStackListener - (new CommandStackListener() { - @Override - public void commandStackChanged(final EventObject event) { - getContainer().getDisplay().asyncExec - (new Runnable() { - @Override - public void run() { - firePropertyChange(IEditorPart.PROP_DIRTY); - - // Try to select the affected objects. - // - Command mostRecentCommand = ((CommandStack) event.getSource()).getMostRecentCommand(); - if (mostRecentCommand != null) { - setSelectionToViewer(mostRecentCommand.getAffectedObjects()); - } - if (propertySheetPage != null && !propertySheetPage.getControl().isDisposed()) { - propertySheetPage.refresh(); - } - } - }); - } - }); - - // Create the editing domain with a special command stack. - // - editingDomain = new AdapterFactoryEditingDomain(adapterFactory, commandStack, new HashMap()); - } - - /** - * This is here for the listener to be able to call it. - * - * - * - * @generated - */ - @Override - protected void firePropertyChange(int action) { - super.firePropertyChange(action); - } - - /** - * This sets the selection into whichever viewer is active. - * - * - * - * @generated - */ - public void setSelectionToViewer(Collection collection) { - final Collection theSelection = collection; - // Make sure it's okay. - // - if (theSelection != null && !theSelection.isEmpty()) { - Runnable runnable = - new Runnable() { - @Override - public void run() { - // Try to select the items in the current content viewer of the editor. - // - if (currentViewer != null) { - currentViewer.setSelection(new StructuredSelection(theSelection.toArray()), true); - } - } - }; - getSite().getShell().getDisplay().asyncExec(runnable); - } - } - - /** - * 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}. - * - * - * - * @generated - */ - @Override - public EditingDomain getEditingDomain() { - return editingDomain; - } - - /** - * - * - * - * @generated - */ - public class ReverseAdapterFactoryContentProvider extends AdapterFactoryContentProvider { - /** - * - * - * - * @generated - */ - public ReverseAdapterFactoryContentProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * - * - * - * @generated - */ - @Override - public Object[] getElements(Object object) { - Object parent = super.getParent(object); - return (parent == null ? Collections.EMPTY_SET : Collections.singleton(parent)).toArray(); - } - - /** - * - * - * - * @generated - */ - @Override - public Object[] getChildren(Object object) { - Object parent = super.getParent(object); - return (parent == null ? Collections.EMPTY_SET : Collections.singleton(parent)).toArray(); - } - - /** - * - * - * - * @generated - */ - @Override - public boolean hasChildren(Object object) { - Object parent = super.getParent(object); - return parent != null; - } - - /** - * - * - * - * @generated - */ - @Override - public Object getParent(Object object) { - return null; - } - } - - /** - * - * - * - * @generated - */ - public void setCurrentViewerPane(ViewerPane viewerPane) { - if (currentViewerPane != viewerPane) { - if (currentViewerPane != null) { - currentViewerPane.showFocus(false); - } - currentViewerPane = viewerPane; - } - setCurrentViewer(currentViewerPane.getViewer()); - } - - /** - * This makes sure that one content viewer, either for the current page or the outline view, if it has focus, - * is the current one. - * - * - * - * @generated - */ - public void setCurrentViewer(Viewer viewer) { - // If it is changing... - // - if (currentViewer != viewer) { - if (selectionChangedListener == null) { - // Create the listener on demand. - // - selectionChangedListener = - new ISelectionChangedListener() { - // This just notifies those things that are affected by the section. - // - @Override - public void selectionChanged(SelectionChangedEvent selectionChangedEvent) { - setSelection(selectionChangedEvent.getSelection()); - } - }; - } - - // Stop listening to the old one. - // - if (currentViewer != null) { - currentViewer.removeSelectionChangedListener(selectionChangedListener); - } - - // Start listening to the new one. - // - if (viewer != null) { - viewer.addSelectionChangedListener(selectionChangedListener); - } - - // Remember it. - // - currentViewer = viewer; - - // Set the editors selection based on the current viewer's selection. - // - setSelection(currentViewer == null ? StructuredSelection.EMPTY : currentViewer.getSelection()); - } - } - - /** - * This returns the viewer as required by the {@link IViewerProvider} interface. - * - * - * - * @generated - */ - @Override - public Viewer getViewer() { - return currentViewer; - } - - /** - * This creates a context menu for the viewer and adds a listener as well registering the menu for extension. - * - * - * - * @generated - */ - protected void createContextMenuFor(StructuredViewer viewer) { - MenuManager contextMenu = new MenuManager("#PopUp"); - contextMenu.add(new Separator("additions")); - contextMenu.setRemoveAllWhenShown(true); - contextMenu.addMenuListener(this); - Menu menu = contextMenu.createContextMenu(viewer.getControl()); - viewer.getControl().setMenu(menu); - getSite().registerContextMenu(contextMenu, new UnwrappingSelectionProvider(viewer)); - - int dndOperations = DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK; - Transfer[] transfers = new Transfer[] { LocalTransfer.getInstance() }; - viewer.addDragSupport(dndOperations, transfers, new ViewerDragAdapter(viewer)); - viewer.addDropSupport(dndOperations, transfers, new EditingDomainViewerDropAdapter(editingDomain, viewer)); - } - - /** - * This is the method called to load a resource into the editing domain's resource set based on the editor's input. - * - * - * - * @generated - */ - public void createModel() { - URI resourceURI = EditUIUtil.getURI(getEditorInput()); - Exception exception = null; - Resource resource = null; - try { - // Load the resource through the editing domain. - // - resource = editingDomain.getResourceSet().getResource(resourceURI, true); - } catch (Exception e) { - exception = e; - resource = editingDomain.getResourceSet().getResource(resourceURI, false); - } - - Diagnostic diagnostic = analyzeResourceProblems(resource, exception); - if (diagnostic.getSeverity() != Diagnostic.OK) { - resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception)); - } - editingDomain.getResourceSet().eAdapters().add(problemIndicationAdapter); - } - - /** - * Returns a diagnostic describing the errors and warnings listed in the resource - * and the specified exception (if any). - * - * - * - * @generated - */ - public Diagnostic analyzeResourceProblems(Resource resource, Exception exception) { - if (!resource.getErrors().isEmpty() || !resource.getWarnings().isEmpty()) { - BasicDiagnostic basicDiagnostic = - new BasicDiagnostic - (Diagnostic.ERROR, - "org.eclipse.papyrus.documentation.plugin.editor", - 0, - getString("_UI_CreateModelError_message", resource.getURI()), - new Object[] { exception == null ? (Object) resource : exception }); - basicDiagnostic.merge(EcoreUtil.computeDiagnostic(resource, true)); - return basicDiagnostic; - } - else if (exception != null) { - return new BasicDiagnostic(Diagnostic.ERROR, - "org.eclipse.papyrus.documentation.plugin.editor", - 0, - getString("_UI_CreateModelError_message", resource.getURI()), - new Object[] { exception }); - } - else { - return Diagnostic.OK_INSTANCE; - } - } - - /** - * This is the method used by the framework to install your own controls. - * - * - * - * @generated - */ - @Override - public void createPages() { - // Creates the model from the editor input - // - createModel(); - - // Only creates the other pages if there is something that can be edited - // - if (!getEditingDomain().getResourceSet().getResources().isEmpty()) { - // Create a page for the selection tree view. - // - { - ViewerPane viewerPane = - new ViewerPane(getSite().getPage(), DocumentationEditor.this) { - @Override - public Viewer createViewer(Composite composite) { - Tree tree = new Tree(composite, SWT.MULTI); - TreeViewer newTreeViewer = new TreeViewer(tree); - return newTreeViewer; - } - - @Override - public void requestActivation() { - super.requestActivation(); - setCurrentViewerPane(this); - } - }; - viewerPane.createControl(getContainer()); - - selectionViewer = (TreeViewer) viewerPane.getViewer(); - selectionViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory)); - - selectionViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory)); - selectionViewer.setInput(editingDomain.getResourceSet()); - selectionViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true); - viewerPane.setTitle(editingDomain.getResourceSet()); - - new AdapterFactoryTreeEditor(selectionViewer.getTree(), adapterFactory); - - createContextMenuFor(selectionViewer); - int pageIndex = addPage(viewerPane.getControl()); - setPageText(pageIndex, getString("_UI_SelectionPage_label")); - } - - // Create a page for the parent tree view. - // - { - ViewerPane viewerPane = - new ViewerPane(getSite().getPage(), DocumentationEditor.this) { - @Override - public Viewer createViewer(Composite composite) { - Tree tree = new Tree(composite, SWT.MULTI); - TreeViewer newTreeViewer = new TreeViewer(tree); - return newTreeViewer; - } - - @Override - public void requestActivation() { - super.requestActivation(); - setCurrentViewerPane(this); - } - }; - viewerPane.createControl(getContainer()); - - parentViewer = (TreeViewer) viewerPane.getViewer(); - parentViewer.setAutoExpandLevel(30); - parentViewer.setContentProvider(new ReverseAdapterFactoryContentProvider(adapterFactory)); - parentViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory)); - - createContextMenuFor(parentViewer); - int pageIndex = addPage(viewerPane.getControl()); - setPageText(pageIndex, getString("_UI_ParentPage_label")); - } - - // This is the page for the list viewer - // - { - ViewerPane viewerPane = - new ViewerPane(getSite().getPage(), DocumentationEditor.this) { - @Override - public Viewer createViewer(Composite composite) { - return new ListViewer(composite); - } - - @Override - public void requestActivation() { - super.requestActivation(); - setCurrentViewerPane(this); - } - }; - viewerPane.createControl(getContainer()); - listViewer = (ListViewer) viewerPane.getViewer(); - listViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory)); - listViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory)); - - createContextMenuFor(listViewer); - int pageIndex = addPage(viewerPane.getControl()); - setPageText(pageIndex, getString("_UI_ListPage_label")); - } - - // This is the page for the tree viewer - // - { - ViewerPane viewerPane = - new ViewerPane(getSite().getPage(), DocumentationEditor.this) { - @Override - public Viewer createViewer(Composite composite) { - return new TreeViewer(composite); - } - - @Override - public void requestActivation() { - super.requestActivation(); - setCurrentViewerPane(this); - } - }; - viewerPane.createControl(getContainer()); - treeViewer = (TreeViewer) viewerPane.getViewer(); - treeViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory)); - treeViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory)); - - new AdapterFactoryTreeEditor(treeViewer.getTree(), adapterFactory); - - createContextMenuFor(treeViewer); - int pageIndex = addPage(viewerPane.getControl()); - setPageText(pageIndex, getString("_UI_TreePage_label")); - } - - // This is the page for the table viewer. - // - { - ViewerPane viewerPane = - new ViewerPane(getSite().getPage(), DocumentationEditor.this) { - @Override - public Viewer createViewer(Composite composite) { - return new TableViewer(composite); - } - - @Override - public void requestActivation() { - super.requestActivation(); - setCurrentViewerPane(this); - } - }; - viewerPane.createControl(getContainer()); - tableViewer = (TableViewer) viewerPane.getViewer(); - - Table table = tableViewer.getTable(); - TableLayout layout = new TableLayout(); - table.setLayout(layout); - table.setHeaderVisible(true); - table.setLinesVisible(true); - - TableColumn objectColumn = new TableColumn(table, SWT.NONE); - layout.addColumnData(new ColumnWeightData(3, 100, true)); - objectColumn.setText(getString("_UI_ObjectColumn_label")); - objectColumn.setResizable(true); - - TableColumn selfColumn = new TableColumn(table, SWT.NONE); - layout.addColumnData(new ColumnWeightData(2, 100, true)); - selfColumn.setText(getString("_UI_SelfColumn_label")); - selfColumn.setResizable(true); - - tableViewer.setColumnProperties(new String[] { "a", "b" }); - tableViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory)); - tableViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory)); - - createContextMenuFor(tableViewer); - int pageIndex = addPage(viewerPane.getControl()); - setPageText(pageIndex, getString("_UI_TablePage_label")); - } - - // This is the page for the table tree viewer. - // - { - ViewerPane viewerPane = - new ViewerPane(getSite().getPage(), DocumentationEditor.this) { - @Override - public Viewer createViewer(Composite composite) { - return new TreeViewer(composite); - } - - @Override - public void requestActivation() { - super.requestActivation(); - setCurrentViewerPane(this); - } - }; - viewerPane.createControl(getContainer()); - - treeViewerWithColumns = (TreeViewer) viewerPane.getViewer(); - - Tree tree = treeViewerWithColumns.getTree(); - tree.setLayoutData(new FillLayout()); - tree.setHeaderVisible(true); - tree.setLinesVisible(true); - - TreeColumn objectColumn = new TreeColumn(tree, SWT.NONE); - objectColumn.setText(getString("_UI_ObjectColumn_label")); - objectColumn.setResizable(true); - objectColumn.setWidth(250); - - TreeColumn selfColumn = new TreeColumn(tree, SWT.NONE); - selfColumn.setText(getString("_UI_SelfColumn_label")); - selfColumn.setResizable(true); - selfColumn.setWidth(200); - - treeViewerWithColumns.setColumnProperties(new String[] { "a", "b" }); - treeViewerWithColumns.setContentProvider(new AdapterFactoryContentProvider(adapterFactory)); - treeViewerWithColumns.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory)); - - createContextMenuFor(treeViewerWithColumns); - int pageIndex = addPage(viewerPane.getControl()); - setPageText(pageIndex, getString("_UI_TreeWithColumnsPage_label")); - } - - getSite().getShell().getDisplay().asyncExec - (new Runnable() { - @Override - public void run() { - setActivePage(0); - } - }); - } - - // Ensures that this editor will only display the page's tab - // area if there are more than one page - // - getContainer().addControlListener - (new ControlAdapter() { - boolean guard = false; - - @Override - public void controlResized(ControlEvent event) { - if (!guard) { - guard = true; - hideTabs(); - guard = false; - } - } - }); - - getSite().getShell().getDisplay().asyncExec - (new Runnable() { - @Override - public void run() { - updateProblemIndication(); - } - }); - } - - /** - * If there is just one page in the multi-page editor part, - * this hides the single tab at the bottom. - * - * - * - * @generated - */ - protected void hideTabs() { - if (getPageCount() <= 1) { - setPageText(0, ""); - if (getContainer() instanceof CTabFolder) { - ((CTabFolder) getContainer()).setTabHeight(1); - Point point = getContainer().getSize(); - getContainer().setSize(point.x, point.y + 6); - } - } - } - - /** - * If there is more than one page in the multi-page editor part, - * this shows the tabs at the bottom. - * - * - * - * @generated - */ - protected void showTabs() { - if (getPageCount() > 1) { - setPageText(0, getString("_UI_SelectionPage_label")); - if (getContainer() instanceof CTabFolder) { - ((CTabFolder) getContainer()).setTabHeight(SWT.DEFAULT); - Point point = getContainer().getSize(); - getContainer().setSize(point.x, point.y - 6); - } - } - } - - /** - * This is used to track the active viewer. - * - * - * - * @generated - */ - @Override - protected void pageChange(int pageIndex) { - super.pageChange(pageIndex); - - if (contentOutlinePage != null) { - handleContentOutlineSelection(contentOutlinePage.getSelection()); - } - } - - /** - * This is how the framework determines which interfaces we implement. - * - * - * - * @generated - */ - @SuppressWarnings("rawtypes") - @Override - public Object getAdapter(Class key) { - if (key.equals(IContentOutlinePage.class)) { - return showOutlineView() ? getContentOutlinePage() : null; - } - else if (key.equals(IPropertySheetPage.class)) { - return getPropertySheetPage(); - } - else if (key.equals(IGotoMarker.class)) { - return this; - } - else { - return super.getAdapter(key); - } - } - - /** - * This accesses a cached version of the content outliner. - * - * - * - * @generated - */ - public IContentOutlinePage getContentOutlinePage() { - if (contentOutlinePage == null) { - // The content outline is just a tree. - // - class MyContentOutlinePage extends ContentOutlinePage { - @Override - public void createControl(Composite parent) { - super.createControl(parent); - contentOutlineViewer = getTreeViewer(); - contentOutlineViewer.addSelectionChangedListener(this); - - // Set up the tree viewer. - // - contentOutlineViewer.setContentProvider(new AdapterFactoryContentProvider(adapterFactory)); - contentOutlineViewer.setLabelProvider(new AdapterFactoryLabelProvider(adapterFactory)); - contentOutlineViewer.setInput(editingDomain.getResourceSet()); - - // Make sure our popups work. - // - createContextMenuFor(contentOutlineViewer); - - if (!editingDomain.getResourceSet().getResources().isEmpty()) { - // Select the root object in the view. - // - contentOutlineViewer.setSelection(new StructuredSelection(editingDomain.getResourceSet().getResources().get(0)), true); - } - } - - @Override - public void makeContributions(IMenuManager menuManager, IToolBarManager toolBarManager, IStatusLineManager statusLineManager) { - super.makeContributions(menuManager, toolBarManager, statusLineManager); - contentOutlineStatusLineManager = statusLineManager; - } - - @Override - public void setActionBars(IActionBars actionBars) { - super.setActionBars(actionBars); - getActionBarContributor().shareGlobalActions(this, actionBars); - } - } - - contentOutlinePage = new MyContentOutlinePage(); - - // Listen to selection so that we can handle it is a special way. - // - contentOutlinePage.addSelectionChangedListener - (new ISelectionChangedListener() { - // This ensures that we handle selections correctly. - // - @Override - public void selectionChanged(SelectionChangedEvent event) { - handleContentOutlineSelection(event.getSelection()); - } - }); - } - - return contentOutlinePage; - } - - /** - * This accesses a cached version of the property sheet. - * - * - * - * @generated - */ - public IPropertySheetPage getPropertySheetPage() { - if (propertySheetPage == null) { - propertySheetPage = - new ExtendedPropertySheetPage(editingDomain) { - @Override - public void setSelectionToViewer(List selection) { - DocumentationEditor.this.setSelectionToViewer(selection); - DocumentationEditor.this.setFocus(); - } - - @Override - public void setActionBars(IActionBars actionBars) { - super.setActionBars(actionBars); - getActionBarContributor().shareGlobalActions(this, actionBars); - } - }; - propertySheetPage.setPropertySourceProvider(new AdapterFactoryContentProvider(adapterFactory)); - } - - return propertySheetPage; - } - - /** - * This deals with how we want selection in the outliner to affect the other views. - * - * - * - * @generated - */ - public void handleContentOutlineSelection(ISelection selection) { - if (currentViewerPane != null && !selection.isEmpty() && selection instanceof IStructuredSelection) { - Iterator selectedElements = ((IStructuredSelection) selection).iterator(); - if (selectedElements.hasNext()) { - // Get the first selected element. - // - Object selectedElement = selectedElements.next(); - - // If it's the selection viewer, then we want it to select the same selection as this selection. - // - if (currentViewerPane.getViewer() == selectionViewer) { - ArrayList selectionList = new ArrayList(); - selectionList.add(selectedElement); - while (selectedElements.hasNext()) { - selectionList.add(selectedElements.next()); - } - - // Set the selection to the widget. - // - selectionViewer.setSelection(new StructuredSelection(selectionList)); - } - else { - // Set the input to the widget. - // - if (currentViewerPane.getViewer().getInput() != selectedElement) { - currentViewerPane.getViewer().setInput(selectedElement); - currentViewerPane.setTitle(selectedElement); - } - } - } - } - } - - /** - * This is for implementing {@link IEditorPart} and simply tests the command stack. - * - * - * - * @generated - */ - @Override - public boolean isDirty() { - return ((BasicCommandStack) editingDomain.getCommandStack()).isSaveNeeded(); - } - - /** - * This is for implementing {@link IEditorPart} and simply saves the model file. - * - * - * - * @generated - */ - @Override - public void doSave(IProgressMonitor progressMonitor) { - // Save only resources that have actually changed. - // - final Map saveOptions = new HashMap(); - saveOptions.put(Resource.OPTION_SAVE_ONLY_IF_CHANGED, Resource.OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER); - - // 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) { - // Save the resources to the file system. - // - boolean first = true; - for (Resource resource : editingDomain.getResourceSet().getResources()) { - if ((first || !resource.getContents().isEmpty() || isPersisted(resource)) && !editingDomain.isReadOnly(resource)) { - try { - long timeStamp = resource.getTimeStamp(); - resource.save(saveOptions); - if (resource.getTimeStamp() != timeStamp) { - savedResources.add(resource); - } - } - catch (Exception exception) { - resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception)); - } - first = false; - } - } - } - }; - - updateProblemIndication = false; - try { - // This runs the options, and shows progress. - // - new ProgressMonitorDialog(getSite().getShell()).run(true, false, operation); - - // Refresh the necessary state. - // - ((BasicCommandStack) editingDomain.getCommandStack()).saveIsDone(); - firePropertyChange(IEditorPart.PROP_DIRTY); - } catch (Exception exception) { - // Something went wrong that shouldn't. - // - PluginDocEditorPlugin.INSTANCE.log(exception); - } - updateProblemIndication = true; - updateProblemIndication(); - } - - /** - * 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. - * - * - * - * @generated - */ - protected boolean isPersisted(Resource resource) { - boolean result = false; - try { - InputStream stream = editingDomain.getResourceSet().getURIConverter().createInputStream(resource.getURI()); - if (stream != null) { - result = true; - stream.close(); - } - } catch (IOException e) { - // Ignore - } - return result; - } - - /** - * This always returns true because it is not currently supported. - * - * - * - * @generated - */ - @Override - public boolean isSaveAsAllowed() { - return true; - } - - /** - * This also changes the editor's input. - * - * - * - * @generated - */ - @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)); - } - } - } - - /** - * - * - * - * @generated - */ - protected void doSaveAs(URI uri, IEditorInput editorInput) { - (editingDomain.getResourceSet().getResources().get(0)).setURI(uri); - setInputWithNotify(editorInput); - setPartName(editorInput.getName()); - IProgressMonitor progressMonitor = - getActionBars().getStatusLineManager() != null ? - getActionBars().getStatusLineManager().getProgressMonitor() : - new NullProgressMonitor(); - doSave(progressMonitor); - } - - /** - * - * - * - * @generated - */ - @Override - public void gotoMarker(IMarker marker) { - try { - if (marker.getType().equals(EValidator.MARKER)) { - String uriAttribute = marker.getAttribute(EValidator.URI_ATTRIBUTE, null); - if (uriAttribute != null) { - URI uri = URI.createURI(uriAttribute); - EObject eObject = editingDomain.getResourceSet().getEObject(uri, true); - if (eObject != null) { - setSelectionToViewer(Collections.singleton(editingDomain.getWrapper(eObject))); - } - } - } - } catch (CoreException exception) { - PluginDocEditorPlugin.INSTANCE.log(exception); - } - } - - /** - * This is called during startup. - * - * - * - * @generated - */ - @Override - public void init(IEditorSite site, IEditorInput editorInput) { - setSite(site); - setInputWithNotify(editorInput); - setPartName(editorInput.getName()); - site.setSelectionProvider(this); - site.getPage().addPartListener(partListener); - ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE); - } - - /** - * - * - * - * @generated - */ - @Override - public void setFocus() { - if (currentViewerPane != null) { - currentViewerPane.setFocus(); - } - else { - getControl(getActivePage()).setFocus(); - } - } - - /** - * This implements {@link org.eclipse.jface.viewers.ISelectionProvider}. - * - * - * - * @generated - */ - @Override - public void addSelectionChangedListener(ISelectionChangedListener listener) { - selectionChangedListeners.add(listener); - } - - /** - * This implements {@link org.eclipse.jface.viewers.ISelectionProvider}. - * - * - * - * @generated - */ - @Override - public void removeSelectionChangedListener(ISelectionChangedListener listener) { - selectionChangedListeners.remove(listener); - } - - /** - * This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to return this editor's overall selection. - * - * - * - * @generated - */ - @Override - public ISelection getSelection() { - return editorSelection; - } - - /** - * This implements {@link org.eclipse.jface.viewers.ISelectionProvider} to set this editor's overall selection. - * Calling this result will notify the listeners. - * - * - * - * @generated - */ - @Override - public void setSelection(ISelection selection) { - editorSelection = selection; - - for (ISelectionChangedListener listener : selectionChangedListeners) { - listener.selectionChanged(new SelectionChangedEvent(this, selection)); - } - setStatusLineManager(selection); - } - - /** - * - * - * - * @generated - */ - public void setStatusLineManager(ISelection selection) { - IStatusLineManager statusLineManager = currentViewer != null && currentViewer == contentOutlineViewer ? - contentOutlineStatusLineManager : getActionBars().getStatusLineManager(); - - if (statusLineManager != null) { - if (selection instanceof IStructuredSelection) { - Collection collection = ((IStructuredSelection) selection).toList(); - switch (collection.size()) { - case 0: { - statusLineManager.setMessage(getString("_UI_NoObjectSelected")); - break; - } - case 1: { - String text = new AdapterFactoryItemDelegator(adapterFactory).getText(collection.iterator().next()); - statusLineManager.setMessage(getString("_UI_SingleObjectSelected", text)); - break; - } - default: { - statusLineManager.setMessage(getString("_UI_MultiObjectSelected", Integer.toString(collection.size()))); - break; - } - } - } - else { - statusLineManager.setMessage(""); - } - } - } - - /** - * This looks up a string in the plugin's plugin.properties file. - * - * - * - * @generated - */ - private static String getString(String key) { - return PluginDocEditorPlugin.INSTANCE.getString(key); - } - - /** - * This looks up a string in plugin.properties, making a substitution. - * - * - * - * @generated - */ - private static String getString(String key, Object s1) { - return PluginDocEditorPlugin.INSTANCE.getString(key, new Object[] { s1 }); - } - - /** - * This implements {@link org.eclipse.jface.action.IMenuListener} to help fill the context menus with contributions from the Edit menu. - * - * - * - * @generated - */ - @Override - public void menuAboutToShow(IMenuManager menuManager) { - ((IMenuListener) getEditorSite().getActionBarContributor()).menuAboutToShow(menuManager); - } - - /** - * - * - * - * @generated - */ - public EditingDomainActionBarContributor getActionBarContributor() { - return (EditingDomainActionBarContributor) getEditorSite().getActionBarContributor(); - } - - /** - * - * - * - * @generated - */ - public IActionBars getActionBars() { - return getActionBarContributor().getActionBars(); - } - - /** - * - * - * - * @generated - */ - public AdapterFactory getAdapterFactory() { - return adapterFactory; - } - - /** - * - * - * - * @generated - */ - @Override - public void dispose() { - updateProblemIndication = false; - - ResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceChangeListener); - - getSite().getPage().removePartListener(partListener); - - adapterFactory.dispose(); - - if (getActionBarContributor().getActiveEditor() == this) { - getActionBarContributor().setActiveEditor(null); - } - - if (propertySheetPage != null) { - propertySheetPage.dispose(); - } - - if (contentOutlinePage != null) { - contentOutlinePage.dispose(); - } - - super.dispose(); - } - - /** - * Returns whether the outline view should be presented to the user. - * - * - * - * @generated - */ - protected boolean showOutlineView() { - return true; - } -} diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationModelWizard.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationModelWizard.java deleted file mode 100644 index 5a98010232f..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/DocumentationModelWizard.java +++ /dev/null @@ -1,634 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.presentation; - - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collection; -import java.util.Collections; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.MissingResourceException; -import java.util.StringTokenizer; - -import org.eclipse.core.resources.IContainer; -import org.eclipse.core.resources.IFile; -import org.eclipse.core.resources.IFolder; -import org.eclipse.core.resources.IProject; -import org.eclipse.core.resources.IResource; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.core.runtime.Path; -import org.eclipse.emf.common.CommonPlugin; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.xmi.XMLResource; -import org.eclipse.emf.edit.ui.provider.ExtendedImageRegistry; -import org.eclipse.jface.dialogs.MessageDialog; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.jface.viewers.IStructuredSelection; -import org.eclipse.jface.viewers.StructuredSelection; -import org.eclipse.jface.wizard.Wizard; -import org.eclipse.jface.wizard.WizardPage; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationFactory; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage; -import org.eclipse.papyrus.documentation.plugin.documentation.provider.PluginDocEditPlugin; -import org.eclipse.swt.SWT; -import org.eclipse.swt.events.ModifyEvent; -import org.eclipse.swt.events.ModifyListener; -import org.eclipse.swt.layout.GridData; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.Combo; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Label; -import org.eclipse.ui.INewWizard; -import org.eclipse.ui.IWorkbench; -import org.eclipse.ui.IWorkbenchPage; -import org.eclipse.ui.IWorkbenchPart; -import org.eclipse.ui.IWorkbenchWindow; -import org.eclipse.ui.PartInitException; -import org.eclipse.ui.actions.WorkspaceModifyOperation; -import org.eclipse.ui.dialogs.WizardNewFileCreationPage; -import org.eclipse.ui.part.FileEditorInput; -import org.eclipse.ui.part.ISetSelectionTarget; - - -/** - * This is a simple wizard for creating a new model file. - * - * - * - * @generated - */ -public class DocumentationModelWizard extends Wizard implements INewWizard { - - /** - * The supported extensions for created files. - * - * - * - * @generated - */ - public static final List FILE_EXTENSIONS = Collections.unmodifiableList(Arrays.asList(PluginDocEditorPlugin.INSTANCE.getString("_UI_DocumentationEditorFilenameExtensions").split("\\s*,\\s*"))); - - /** - * A formatted list of supported file extensions, suitable for display. - * - * - * - * @generated - */ - public static final String FORMATTED_FILE_EXTENSIONS = PluginDocEditorPlugin.INSTANCE.getString("_UI_DocumentationEditorFilenameExtensions").replaceAll("\\s*,\\s*", ", "); - - /** - * This caches an instance of the model package. - * - * - * - * @generated - */ - protected DocumentationPackage documentationPackage = DocumentationPackage.eINSTANCE; - - /** - * This caches an instance of the model factory. - * - * - * - * @generated - */ - protected DocumentationFactory documentationFactory = documentationPackage.getDocumentationFactory(); - - /** - * This is the file creation page. - * - * - * - * @generated - */ - protected DocumentationModelWizardNewFileCreationPage newFileCreationPage; - - /** - * This is the initial object creation page. - * - * - * - * @generated - */ - protected DocumentationModelWizardInitialObjectCreationPage initialObjectCreationPage; - - /** - * Remember the selection during initialization for populating the default container. - * - * - * - * @generated - */ - protected IStructuredSelection selection; - - /** - * Remember the workbench during initialization. - * - * - * - * @generated - */ - protected IWorkbench workbench; - - /** - * Caches the names of the types that can be created as the root object. - * - * - * - * @generated - */ - protected List initialObjectNames; - - /** - * This just records the information. - * - * - * - * @generated - */ - @Override - public void init(IWorkbench workbench, IStructuredSelection selection) { - this.workbench = workbench; - this.selection = selection; - setWindowTitle(PluginDocEditorPlugin.INSTANCE.getString("_UI_Wizard_label")); - setDefaultPageImageDescriptor(ExtendedImageRegistry.INSTANCE.getImageDescriptor(PluginDocEditorPlugin.INSTANCE.getImage("full/wizban/NewDocumentation"))); - } - - /** - * Returns the names of the types that can be created as the root object. - * - * - * - * @generated - */ - protected Collection getInitialObjectNames() { - if (initialObjectNames == null) { - initialObjectNames = new ArrayList(); - for (EClassifier eClassifier : documentationPackage.getEClassifiers()) { - if (eClassifier instanceof EClass) { - EClass eClass = (EClass) eClassifier; - if (!eClass.isAbstract()) { - initialObjectNames.add(eClass.getName()); - } - } - } - Collections.sort(initialObjectNames, CommonPlugin.INSTANCE.getComparator()); - } - return initialObjectNames; - } - - /** - * Create a new model. - * - * - * - * @generated NOT - */ - protected EObject createInitialModel() { - return documentationFactory.createDocumentation(); - } - - /** - * Do the work after everything is specified. - * - * - * - * @generated - */ - @Override - public boolean performFinish() { - try { - // Remember the file. - // - final IFile modelFile = getModelFile(); - - // Do the work within an operation. - // - WorkspaceModifyOperation operation = new WorkspaceModifyOperation() { - - @Override - protected void execute(IProgressMonitor progressMonitor) { - try { - // Create a resource set - // - ResourceSet resourceSet = new ResourceSetImpl(); - - // Get the URI of the model file. - // - URI fileURI = URI.createPlatformResourceURI(modelFile.getFullPath().toString(), true); - - // Create a resource for this file. - // - Resource resource = resourceSet.createResource(fileURI); - - // Add the initial model object to the contents. - // - EObject rootObject = createInitialModel(); - if (rootObject != null) { - resource.getContents().add(rootObject); - } - - // Save the contents of the resource to the file system. - // - Map options = new HashMap(); - options.put(XMLResource.OPTION_ENCODING, initialObjectCreationPage.getEncoding()); - resource.save(options); - } catch (Exception exception) { - PluginDocEditorPlugin.INSTANCE.log(exception); - } finally { - progressMonitor.done(); - } - } - }; - - getContainer().run(false, false, operation); - - // Select the new file resource in the current view. - // - IWorkbenchWindow workbenchWindow = workbench.getActiveWorkbenchWindow(); - IWorkbenchPage page = workbenchWindow.getActivePage(); - final IWorkbenchPart activePart = page.getActivePart(); - if (activePart instanceof ISetSelectionTarget) { - final ISelection targetSelection = new StructuredSelection(modelFile); - getShell().getDisplay().asyncExec(new Runnable() { - - @Override - public void run() { - ((ISetSelectionTarget) activePart).selectReveal(targetSelection); - } - }); - } - - // Open an editor on the new file. - // - try { - page.openEditor(new FileEditorInput(modelFile), workbench.getEditorRegistry().getDefaultEditor(modelFile.getFullPath().toString()).getId()); - } catch (PartInitException exception) { - MessageDialog.openError(workbenchWindow.getShell(), PluginDocEditorPlugin.INSTANCE.getString("_UI_OpenEditorError_label"), exception.getMessage()); - return false; - } - - return true; - } catch (Exception exception) { - PluginDocEditorPlugin.INSTANCE.log(exception); - return false; - } - } - - /** - * This is the one page of the wizard. - * - * - * - * @generated - */ - public class DocumentationModelWizardNewFileCreationPage extends WizardNewFileCreationPage { - - /** - * Pass in the selection. - * - * - * - * @generated - */ - public DocumentationModelWizardNewFileCreationPage(String pageId, IStructuredSelection selection) { - super(pageId, selection); - } - - /** - * The framework calls this to see if the file is correct. - * - * - * - * @generated - */ - @Override - protected boolean validatePage() { - if (super.validatePage()) { - String extension = new Path(getFileName()).getFileExtension(); - if (extension == null || !FILE_EXTENSIONS.contains(extension)) { - String key = FILE_EXTENSIONS.size() > 1 ? "_WARN_FilenameExtensions" : "_WARN_FilenameExtension"; - setErrorMessage(PluginDocEditorPlugin.INSTANCE.getString(key, new Object[] { FORMATTED_FILE_EXTENSIONS })); - return false; - } - return true; - } - return false; - } - - /** - * - * - * - * @generated - */ - public IFile getModelFile() { - return ResourcesPlugin.getWorkspace().getRoot().getFile(getContainerFullPath().append(getFileName())); - } - } - - /** - * This is the page where the type of object to create is selected. - * - * - * - * @generated - */ - public class DocumentationModelWizardInitialObjectCreationPage extends WizardPage { - - /** - * - * - * - * @generated - */ - protected Combo initialObjectField; - - /** - * @generated - * - * - */ - protected List encodings; - - /** - * - * - * - * @generated - */ - protected Combo encodingField; - - /** - * Pass in the selection. - * - * - * - * @generated - */ - public DocumentationModelWizardInitialObjectCreationPage(String pageId) { - super(pageId); - } - - /** - * - * - * - * @generated - */ - @Override - public void createControl(Composite parent) { - Composite composite = new Composite(parent, SWT.NONE); - { - GridLayout layout = new GridLayout(); - layout.numColumns = 1; - layout.verticalSpacing = 12; - composite.setLayout(layout); - - GridData data = new GridData(); - data.verticalAlignment = GridData.FILL; - data.grabExcessVerticalSpace = true; - data.horizontalAlignment = GridData.FILL; - composite.setLayoutData(data); - } - - Label containerLabel = new Label(composite, SWT.LEFT); - { - containerLabel.setText(PluginDocEditorPlugin.INSTANCE.getString("_UI_ModelObject")); - - GridData data = new GridData(); - data.horizontalAlignment = GridData.FILL; - containerLabel.setLayoutData(data); - } - - initialObjectField = new Combo(composite, SWT.BORDER); - { - GridData data = new GridData(); - data.horizontalAlignment = GridData.FILL; - data.grabExcessHorizontalSpace = true; - initialObjectField.setLayoutData(data); - } - - for (String objectName : getInitialObjectNames()) { - initialObjectField.add(getLabel(objectName)); - } - - if (initialObjectField.getItemCount() == 1) { - initialObjectField.select(0); - } - initialObjectField.addModifyListener(validator); - - Label encodingLabel = new Label(composite, SWT.LEFT); - { - encodingLabel.setText(PluginDocEditorPlugin.INSTANCE.getString("_UI_XMLEncoding")); - - GridData data = new GridData(); - data.horizontalAlignment = GridData.FILL; - encodingLabel.setLayoutData(data); - } - encodingField = new Combo(composite, SWT.BORDER); - { - GridData data = new GridData(); - data.horizontalAlignment = GridData.FILL; - data.grabExcessHorizontalSpace = true; - encodingField.setLayoutData(data); - } - - for (String encoding : getEncodings()) { - encodingField.add(encoding); - } - - encodingField.select(0); - encodingField.addModifyListener(validator); - - setPageComplete(validatePage()); - setControl(composite); - } - - /** - * - * - * - * @generated - */ - protected ModifyListener validator = new ModifyListener() { - - @Override - public void modifyText(ModifyEvent e) { - setPageComplete(validatePage()); - } - }; - - /** - * - * - * - * @generated - */ - protected boolean validatePage() { - return getInitialObjectName() != null && getEncodings().contains(encodingField.getText()); - } - - /** - * - * - * - * @generated - */ - @Override - public void setVisible(boolean visible) { - super.setVisible(visible); - if (visible) { - if (initialObjectField.getItemCount() == 1) { - initialObjectField.clearSelection(); - encodingField.setFocus(); - } else { - encodingField.clearSelection(); - initialObjectField.setFocus(); - } - } - } - - /** - * - * - * - * @generated - */ - public String getInitialObjectName() { - String label = initialObjectField.getText(); - - for (String name : getInitialObjectNames()) { - if (getLabel(name).equals(label)) { - return name; - } - } - return null; - } - - /** - * - * - * - * @generated NOT - */ - public String getEncoding() { - return getEncodings().iterator().next(); - } - - /** - * Returns the label for the specified type name. - * - * - * - * @generated - */ - protected String getLabel(String typeName) { - try { - return PluginDocEditPlugin.INSTANCE.getString("_UI_" + typeName + "_type"); - } catch (MissingResourceException mre) { - PluginDocEditorPlugin.INSTANCE.log(mre); - } - return typeName; - } - - /** - * - * - * - * @generated - */ - protected Collection getEncodings() { - if (encodings == null) { - encodings = new ArrayList(); - for (StringTokenizer stringTokenizer = new StringTokenizer(PluginDocEditorPlugin.INSTANCE.getString("_UI_XMLEncodingChoices")); stringTokenizer.hasMoreTokens();) { - encodings.add(stringTokenizer.nextToken()); - } - } - return encodings; - } - } - - /** - * The framework calls this to create the contents of the wizard. - * - * - * - * @generated NOT - */ - @Override - public void addPages() { - // Create a page, set the title, and the initial model file name. - // - newFileCreationPage = new DocumentationModelWizardNewFileCreationPage("Whatever", selection); - newFileCreationPage.setTitle(PluginDocEditorPlugin.INSTANCE.getString("_UI_DocumentationModelWizard_label")); - newFileCreationPage.setDescription(PluginDocEditorPlugin.INSTANCE.getString("_UI_DocumentationModelWizard_description")); - newFileCreationPage.setFileName(PluginDocEditorPlugin.INSTANCE.getString("_UI_DocumentationEditorFilenameDefaultBase") + "." + FILE_EXTENSIONS.get(0)); - addPage(newFileCreationPage); - - // Try and get the resource selection to determine a current directory for the file dialog. - // - if (selection != null && !selection.isEmpty()) { - // Get the resource... - // - Object selectedElement = selection.iterator().next(); - if (selectedElement instanceof IResource) { - // Get the resource parent, if its a file. - // - IResource selectedResource = (IResource) selectedElement; - if (selectedResource.getType() == IResource.FILE) { - selectedResource = selectedResource.getParent(); - } - - // This gives us a directory... - // - if (selectedResource instanceof IFolder || selectedResource instanceof IProject) { - // Set this for the container. - // - newFileCreationPage.setContainerFullPath(selectedResource.getFullPath()); - - // Make up a unique new name here. - // - String defaultModelBaseFilename = PluginDocEditorPlugin.INSTANCE.getString("_UI_DocumentationEditorFilenameDefaultBase"); - String defaultModelFilenameExtension = FILE_EXTENSIONS.get(0); - String modelFilename = defaultModelBaseFilename + "." + defaultModelFilenameExtension; - for (int i = 1; ((IContainer) selectedResource).findMember(modelFilename) != null; ++i) { - modelFilename = defaultModelBaseFilename + i + "." + defaultModelFilenameExtension; - } - newFileCreationPage.setFileName(modelFilename); - } - } - } - initialObjectCreationPage = new DocumentationModelWizardInitialObjectCreationPage("Whatever2"); - // initialObjectCreationPage.setTitle(PluginDocEditorPlugin.INSTANCE.getString("_UI_DocumentationModelWizard_label")); - // initialObjectCreationPage.setDescription(PluginDocEditorPlugin.INSTANCE.getString("_UI_Wizard_initial_object_description")); - // addPage(initialObjectCreationPage); - } - - /** - * Get the file from the page. - * - * - * - * @generated - */ - public IFile getModelFile() { - return newFileCreationPage.getModelFile(); - } - -} diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/PluginDocEditorPlugin.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/PluginDocEditorPlugin.java deleted file mode 100644 index ee5e333fb84..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin.editor/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/presentation/PluginDocEditorPlugin.java +++ /dev/null @@ -1,102 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.presentation; - -import org.eclipse.emf.common.EMFPlugin; -import org.eclipse.emf.common.ui.EclipseUIPlugin; -import org.eclipse.emf.common.util.ResourceLocator; -import org.eclipse.emf.ecore.provider.EcoreEditPlugin; - -/** - * This is the central singleton for the PluginDoc editor plugin. - * - * - * - * @generated - */ -public final class PluginDocEditorPlugin extends EMFPlugin { - /** - * Keep track of the singleton. - * - * - * - * @generated - */ - public static final PluginDocEditorPlugin INSTANCE = new PluginDocEditorPlugin(); - - /** - * Keep track of the singleton. - * - * - * - * @generated - */ - private static Implementation plugin; - - /** - * Create the instance. - * - * - * - * @generated - */ - public PluginDocEditorPlugin() { - super(new ResourceLocator[] { - EcoreEditPlugin.INSTANCE, - }); - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * - * - * @return the singleton instance. - * @generated - */ - @Override - public ResourceLocator getPluginResourceLocator() { - return plugin; - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * - * - * @return the singleton instance. - * @generated - */ - public static Implementation getPlugin() { - return plugin; - } - - /** - * The actual implementation of the Eclipse Plugin. - * - * - * - * @generated - */ - public static class Implementation extends EclipseUIPlugin { - /** - * Creates an instance. - * - * - * - * @generated - */ - public Implementation() { - super(); - - // Remember the static instance. - // - plugin = this; - } - } - -} diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/.classpath b/plugins/developer/org.eclipse.papyrus.documentation.plugin/.classpath deleted file mode 100644 index 9c0318f0fd2..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/.classpath +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/.project b/plugins/developer/org.eclipse.papyrus.documentation.plugin/.project deleted file mode 100644 index f3a93f355b8..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - org.eclipse.papyrus.documentation.plugin - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/.settings/org.eclipse.jdt.core.prefs b/plugins/developer/org.eclipse.papyrus.documentation.plugin/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 4759947300a..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,291 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.compliance=1.5 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -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_annotation=0 -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_method_declaration=0 -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_resources_in_try=80 -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.alignment_for_union_type_in_multicatch=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_lambda_body=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=true -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=true -org.eclipse.jdt.core.formatter.comment.format_line_comments=true -org.eclipse.jdt.core.formatter.comment.format_source_code=true -org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true -org.eclipse.jdt.core.formatter.comment.indent_root_tags=true -org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert -org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert -org.eclipse.jdt.core.formatter.comment.line_length=260 -org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true -org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true -org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false -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.disabling_tag=@formatter\:off -org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true -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=false -org.eclipse.jdt.core.formatter.indentation.size=4 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert -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_method=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=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_annotation_on_type=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_label=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_after_type_annotation=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=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_lambda_arrow=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=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_try=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_semicolon_in_try_resources=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=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_try=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=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not 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_lambda_arrow=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_try=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_semicolon_in_try_resources=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=false -org.eclipse.jdt.core.formatter.join_wrapped_lines=false -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=260 -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=false -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=5 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true -org.eclipse.jdt.core.formatter.tabulation.char=tab -org.eclipse.jdt.core.formatter.tabulation.size=4 -org.eclipse.jdt.core.formatter.use_on_off_tags=false -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.formatter.wrap_before_or_operator_multicatch=true -org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/.settings/org.eclipse.jdt.ui.prefs b/plugins/developer/org.eclipse.papyrus.documentation.plugin/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index 954281dbc31..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,68 +0,0 @@ -cleanup.add_default_serial_version_id=true -cleanup.add_generated_serial_version_id=false -cleanup.add_missing_annotations=true -cleanup.add_missing_deprecated_annotations=true -cleanup.add_missing_methods=false -cleanup.add_missing_nls_tags=false -cleanup.add_missing_override_annotations=true -cleanup.add_missing_override_annotations_interface_methods=true -cleanup.add_serial_version_id=false -cleanup.always_use_blocks=true -cleanup.always_use_parentheses_in_expressions=false -cleanup.always_use_this_for_non_static_field_access=false -cleanup.always_use_this_for_non_static_method_access=false -cleanup.convert_functional_interfaces=false -cleanup.convert_to_enhanced_for_loop=false -cleanup.correct_indentation=false -cleanup.format_source_code=false -cleanup.format_source_code_changes_only=false -cleanup.insert_inferred_type_arguments=false -cleanup.make_local_variable_final=true -cleanup.make_parameters_final=false -cleanup.make_private_fields_final=true -cleanup.make_type_abstract_if_missing_method=false -cleanup.make_variable_declarations_final=false -cleanup.never_use_blocks=false -cleanup.never_use_parentheses_in_expressions=true -cleanup.organize_imports=false -cleanup.qualify_static_field_accesses_with_declaring_class=false -cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true -cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true -cleanup.qualify_static_member_accesses_with_declaring_class=true -cleanup.qualify_static_method_accesses_with_declaring_class=false -cleanup.remove_private_constructors=true -cleanup.remove_redundant_type_arguments=true -cleanup.remove_trailing_whitespaces=true -cleanup.remove_trailing_whitespaces_all=true -cleanup.remove_trailing_whitespaces_ignore_empty=false -cleanup.remove_unnecessary_casts=true -cleanup.remove_unnecessary_nls_tags=true -cleanup.remove_unused_imports=true -cleanup.remove_unused_local_variables=false -cleanup.remove_unused_private_fields=true -cleanup.remove_unused_private_members=false -cleanup.remove_unused_private_methods=true -cleanup.remove_unused_private_types=true -cleanup.sort_members=false -cleanup.sort_members_all=false -cleanup.use_anonymous_class_creation=false -cleanup.use_blocks=true -cleanup.use_blocks_only_for_return_and_throw=false -cleanup.use_lambda=true -cleanup.use_parentheses_in_expressions=false -cleanup.use_this_for_non_static_field_access=false -cleanup.use_this_for_non_static_field_access_only_if_necessary=true -cleanup.use_this_for_non_static_method_access=false -cleanup.use_this_for_non_static_method_access_only_if_necessary=true -cleanup.use_type_arguments=false -cleanup_profile=_Papyrus -cleanup_settings_version=2 -eclipse.preferences.version=1 -formatter_profile=_Papyrus -formatter_settings_version=12 -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=java;javax;org;com; -org.eclipse.jdt.ui.javadoc=true -org.eclipse.jdt.ui.ondemandthreshold=99 -org.eclipse.jdt.ui.staticondemandthreshold=99 -org.eclipse.jdt.ui.text.custom_code_templates= diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/META-INF/MANIFEST.MF b/plugins/developer/org.eclipse.papyrus.documentation.plugin/META-INF/MANIFEST.MF deleted file mode 100644 index 0b5837d656a..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/META-INF/MANIFEST.MF +++ /dev/null @@ -1,18 +0,0 @@ -Manifest-Version: 1.0 -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.emf.ecore, - org.eclipse.ui;bundle-version="3.7.0" -Export-Package: org.eclipse.papyrus.documentation.plugin.documentation, - org.eclipse.papyrus.documentation.plugin.documentation.impl, - org.eclipse.papyrus.documentation.plugin.documentation.util -Bundle-Vendor: %providerName -Bundle-ActivationPolicy: lazy -Bundle-ClassPath: . -Bundle-Version: 1.1.0.qualifier -Bundle-Localization: plugin -Bundle-Name: %pluginName -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: org.eclipse.papyrus.documentation.plugin;singleto - n:=true -Bundle-RequiredExecutionEnvironment: J2SE-1.5 - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/Model/PluginDoc.ecore b/plugins/developer/org.eclipse.papyrus.documentation.plugin/Model/PluginDoc.ecore deleted file mode 100644 index 746eddd48cc..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/Model/PluginDoc.ecore +++ /dev/null @@ -1,53 +0,0 @@ - - - - -
- - - - - - - - -
- - - - - - -
- - - - - -
- - - - - - - - -
- - - - - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/Model/PluginDoc.genmodel b/plugins/developer/org.eclipse.papyrus.documentation.plugin/Model/PluginDoc.genmodel deleted file mode 100644 index 36c190202ac..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/Model/PluginDoc.genmodel +++ /dev/null @@ -1,36 +0,0 @@ - - - PluginDoc.ecore - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/about.html b/plugins/developer/org.eclipse.papyrus.documentation.plugin/about.html deleted file mode 100644 index 82d49bf5f81..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

About This Content

- -

June 5, 2007

-

License

- -

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

- -

If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

- - - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/build.properties b/plugins/developer/org.eclipse.papyrus.documentation.plugin/build.properties deleted file mode 100644 index e0c9e25ce9e..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/build.properties +++ /dev/null @@ -1,17 +0,0 @@ - -# -# -# -# $Id$ - -bin.includes = .,\ - Model/,\ - META-INF/,\ - plugin.xml,\ - plugin.properties,\ - about.html -jars.compile.order = . -source.. = src-gen/,\ - src/ -output.. = bin/ -src.includes = about.html diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/plugin-doc.pdoc b/plugins/developer/org.eclipse.papyrus.documentation.plugin/plugin-doc.pdoc deleted file mode 100644 index 802aeb164d9..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/plugin-doc.pdoc +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/plugin.properties b/plugins/developer/org.eclipse.papyrus.documentation.plugin/plugin.properties deleted file mode 100644 index ff580237a89..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/plugin.properties +++ /dev/null @@ -1,8 +0,0 @@ - -# -# -# -# $Id$ - -pluginName = PluginDoc Model -providerName = Eclipse Modeling Project diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/plugin.xml b/plugins/developer/org.eclipse.papyrus.documentation.plugin/plugin.xml deleted file mode 100644 index 86d60423330..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/plugin.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/pom.xml b/plugins/developer/org.eclipse.papyrus.documentation.plugin/pom.xml deleted file mode 100644 index 7fff385e63f..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/pom.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - 4.0.0 - - org.eclipse.papyrus - org.eclipse.papyrus - 1.1.0-SNAPSHOT - ../../../releng/top-pom-dev.xml - - org.eclipse.papyrus.documentation.plugin - org.eclipse.papyrus - 1.1.0-SNAPSHOT - eclipse-plugin - \ No newline at end of file diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Comment.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Comment.java deleted file mode 100644 index cfc167267d3..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Comment.java +++ /dev/null @@ -1,89 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation; - -import org.eclipse.emf.ecore.EModelElement; - -/** - * - * A representation of the model object 'Comment'. - * - * - * - * An additional comment about the plug-in - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.Comment#getTitle Title}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.Comment#getContents Contents}
  • - *
- *

- * - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getComment() - * @model - * @generated - */ -public interface Comment extends EModelElement { - /** - * Returns the value of the 'Title' attribute. - * - *

- * If the meaning of the 'Title' attribute isn't clear, there really should be more of a description here... - *

- * - * - * @return the value of the 'Title' attribute. - * @see #setTitle(String) - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getComment_Title() - * @model required="true" - * @generated - */ - String getTitle(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Comment#getTitle Title}' attribute. - * - * - * - * @param value - * the new value of the 'Title' attribute. - * @see #getTitle() - * @generated - */ - void setTitle(String value); - - /** - * Returns the value of the 'Contents' attribute. - * - *

- * If the meaning of the 'Contents' attribute isn't clear, there really should be more of a description here... - *

- * - * - * @return the value of the 'Contents' attribute. - * @see #setContents(String) - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getComment_Contents() - * @model required="true" - * @generated - */ - String getContents(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Comment#getContents Contents}' attribute. - * - * - * - * @param value - * the new value of the 'Contents' attribute. - * @see #getContents() - * @generated - */ - void setContents(String value); - -} // Comment diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Dependency.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Dependency.java deleted file mode 100644 index 08aee817cca..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Dependency.java +++ /dev/null @@ -1,93 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation; - -import org.eclipse.emf.ecore.EModelElement; - -/** - * - * A representation of the model object 'Dependency'. - * - * - * - * Describes a non-Java dependency, i.e. a dependency which cannot be automatically handled by the Eclipse tooling. - * - * This is typically a resource dependency (Model, Icon, ...). - * - * The dependency refers to a plug-in (which should always be present in the plug-in dependencies), and has a comment to explain why this dependency is required. - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getPlugin Plugin}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getComment Comment}
  • - *
- *

- * - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getDependency() - * @model - * @generated - */ -public interface Dependency extends EModelElement { - /** - * Returns the value of the 'Plugin' attribute. - * - *

- * If the meaning of the 'Plugin' attribute isn't clear, there really should be more of a description here... - *

- * - * - * @return the value of the 'Plugin' attribute. - * @see #setPlugin(String) - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getDependency_Plugin() - * @model required="true" - * @generated - */ - String getPlugin(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getPlugin Plugin}' attribute. - * - * - * - * @param value - * the new value of the 'Plugin' attribute. - * @see #getPlugin() - * @generated - */ - void setPlugin(String value); - - /** - * Returns the value of the 'Comment' attribute. - * - *

- * If the meaning of the 'Comment' attribute isn't clear, there really should be more of a description here... - *

- * - * - * @return the value of the 'Comment' attribute. - * @see #setComment(String) - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getDependency_Comment() - * @model required="true" - * @generated - */ - String getComment(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getComment Comment}' attribute. - * - * - * - * @param value - * the new value of the 'Comment' attribute. - * @see #getComment() - * @generated - */ - void setComment(String value); - -} // Dependency diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Documentation.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Documentation.java deleted file mode 100644 index e413a06921e..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Documentation.java +++ /dev/null @@ -1,114 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EModelElement; - -/** - * - * A representation of the model object 'Documentation'. - * - * - * - * The root for a plug-in documentation - * - * Contains a description of the plug-in - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getDescription Description}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getImplicitDependencies Implicit Dependencies}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getReferent Referent}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getAdditionalComments Additional Comments}
  • - *
- *

- * - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getDocumentation() - * @model - * @generated - */ -public interface Documentation extends EModelElement { - /** - * Returns the value of the 'Description' attribute. - * - *

- * If the meaning of the 'Description' attribute isn't clear, there really should be more of a description here... - *

- * - * - * @return the value of the 'Description' attribute. - * @see #setDescription(String) - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getDocumentation_Description() - * @model required="true" - * @generated - */ - String getDescription(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getDescription Description}' attribute. - * - * - * - * @param value - * the new value of the 'Description' attribute. - * @see #getDescription() - * @generated - */ - void setDescription(String value); - - /** - * Returns the value of the 'Implicit Dependencies' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency}. - * - *

- * If the meaning of the 'Implicit Dependencies' containment reference list isn't clear, there really should be more of a description here... - *

- * - * - * @return the value of the 'Implicit Dependencies' containment reference list. - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getDocumentation_ImplicitDependencies() - * @model containment="true" - * @generated - */ - EList getImplicitDependencies(); - - /** - * Returns the value of the 'Referent' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.documentation.plugin.documentation.Person}. - * - *

- * If the meaning of the 'Referent' containment reference list isn't clear, there really should be more of a description here... - *

- * - * - * @return the value of the 'Referent' containment reference list. - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getDocumentation_Referent() - * @model containment="true" - * @generated - */ - EList getReferent(); - - /** - * Returns the value of the 'Additional Comments' containment reference list. - * The list contents are of type {@link org.eclipse.papyrus.documentation.plugin.documentation.Comment}. - * - *

- * If the meaning of the 'Additional Comments' containment reference list isn't clear, there really should be more of a description here... - *

- * - * - * @return the value of the 'Additional Comments' containment reference list. - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getDocumentation_AdditionalComments() - * @model containment="true" - * @generated - */ - EList getAdditionalComments(); - -} // Documentation diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationFactory.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationFactory.java deleted file mode 100644 index e8eda4d5cb0..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationFactory.java +++ /dev/null @@ -1,90 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation; - -import org.eclipse.emf.ecore.EFactory; - -/** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * - * - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage - * @generated - */ -public interface DocumentationFactory extends EFactory { - /** - * The singleton instance of the factory. - * - * - * - * @generated - */ - DocumentationFactory eINSTANCE = org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationFactoryImpl.init(); - - /** - * Returns a new object of class 'Documentation'. - * - * - * - * @return a new object of class 'Documentation'. - * @generated - */ - Documentation createDocumentation(); - - /** - * Returns a new object of class 'Dependency'. - * - * - * - * @return a new object of class 'Dependency'. - * @generated - */ - Dependency createDependency(); - - /** - * Returns a new object of class 'File Dependency'. - * - * - * - * @return a new object of class 'File Dependency'. - * @generated - */ - FileDependency createFileDependency(); - - /** - * Returns a new object of class 'Person'. - * - * - * - * @return a new object of class 'Person'. - * @generated - */ - Person createPerson(); - - /** - * Returns a new object of class 'Comment'. - * - * - * - * @return a new object of class 'Comment'. - * @generated - */ - Comment createComment(); - - /** - * Returns the package supported by this factory. - * - * - * - * @return the package supported by this factory. - * @generated - */ - DocumentationPackage getDocumentationPackage(); - -} // DocumentationFactory diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationPackage.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationPackage.java deleted file mode 100644 index c14d1a6f75d..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/DocumentationPackage.java +++ /dev/null @@ -1,783 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EcorePackage; - -/** - * - * The Package for the model. - * It contains accessors for the meta objects to represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationFactory - * @model kind="package" - * @generated - */ -public interface DocumentationPackage extends EPackage { - /** - * The package name. - * - * - * - * @generated - */ - String eNAME = "documentation"; - - /** - * The package namespace URI. - * - * - * - * @generated - */ - String eNS_URI = "http://www.eclipse.org/papyrus/documentation/plugin/documentation"; - - /** - * The package namespace name. - * - * - * - * @generated - */ - String eNS_PREFIX = "doc"; - - /** - * The singleton instance of the package. - * - * - * - * @generated - */ - DocumentationPackage eINSTANCE = org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl Documentation}' class. - * - * - * - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getDocumentation() - * @generated - */ - int DOCUMENTATION = 0; - - /** - * The feature id for the 'EAnnotations' containment reference list. - * - * - * - * @generated - * @ordered - */ - int DOCUMENTATION__EANNOTATIONS = EcorePackage.EMODEL_ELEMENT__EANNOTATIONS; - - /** - * The feature id for the 'Description' attribute. - * - * - * - * @generated - * @ordered - */ - int DOCUMENTATION__DESCRIPTION = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Implicit Dependencies' containment reference list. - * - * - * - * @generated - * @ordered - */ - int DOCUMENTATION__IMPLICIT_DEPENDENCIES = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'Referent' containment reference list. - * - * - * - * @generated - * @ordered - */ - int DOCUMENTATION__REFERENT = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Additional Comments' containment reference list. - * - * - * - * @generated - * @ordered - */ - int DOCUMENTATION__ADDITIONAL_COMMENTS = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'Documentation' class. - * - * - * - * @generated - * @ordered - */ - int DOCUMENTATION_FEATURE_COUNT = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DependencyImpl Dependency}' class. - * - * - * - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DependencyImpl - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getDependency() - * @generated - */ - int DEPENDENCY = 1; - - /** - * The feature id for the 'EAnnotations' containment reference list. - * - * - * - * @generated - * @ordered - */ - int DEPENDENCY__EANNOTATIONS = EcorePackage.EMODEL_ELEMENT__EANNOTATIONS; - - /** - * The feature id for the 'Plugin' attribute. - * - * - * - * @generated - * @ordered - */ - int DEPENDENCY__PLUGIN = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Comment' attribute. - * - * - * - * @generated - * @ordered - */ - int DEPENDENCY__COMMENT = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Dependency' class. - * - * - * - * @generated - * @ordered - */ - int DEPENDENCY_FEATURE_COUNT = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.FileDependencyImpl File Dependency}' class. - * - * - * - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.FileDependencyImpl - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getFileDependency() - * @generated - */ - int FILE_DEPENDENCY = 2; - - /** - * The feature id for the 'EAnnotations' containment reference list. - * - * - * - * @generated - * @ordered - */ - int FILE_DEPENDENCY__EANNOTATIONS = DEPENDENCY__EANNOTATIONS; - - /** - * The feature id for the 'Plugin' attribute. - * - * - * - * @generated - * @ordered - */ - int FILE_DEPENDENCY__PLUGIN = DEPENDENCY__PLUGIN; - - /** - * The feature id for the 'Comment' attribute. - * - * - * - * @generated - * @ordered - */ - int FILE_DEPENDENCY__COMMENT = DEPENDENCY__COMMENT; - - /** - * The feature id for the 'File' attribute. - * - * - * - * @generated - * @ordered - */ - int FILE_DEPENDENCY__FILE = DEPENDENCY_FEATURE_COUNT + 0; - - /** - * The number of structural features of the 'File Dependency' class. - * - * - * - * @generated - * @ordered - */ - int FILE_DEPENDENCY_FEATURE_COUNT = DEPENDENCY_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl Person}' class. - * - * - * - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getPerson() - * @generated - */ - int PERSON = 3; - - /** - * The feature id for the 'EAnnotations' containment reference list. - * - * - * - * @generated - * @ordered - */ - int PERSON__EANNOTATIONS = EcorePackage.EMODEL_ELEMENT__EANNOTATIONS; - - /** - * The feature id for the 'First Name' attribute. - * - * - * - * @generated - * @ordered - */ - int PERSON__FIRST_NAME = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Last Name' attribute. - * - * - * - * @generated - * @ordered - */ - int PERSON__LAST_NAME = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 1; - - /** - * The feature id for the 'EMail' attribute. - * - * - * - * @generated - * @ordered - */ - int PERSON__EMAIL = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 2; - - /** - * The feature id for the 'Current Company' attribute. - * - * - * - * @generated - * @ordered - */ - int PERSON__CURRENT_COMPANY = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 3; - - /** - * The number of structural features of the 'Person' class. - * - * - * - * @generated - * @ordered - */ - int PERSON_FEATURE_COUNT = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl Comment}' class. - * - * - * - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getComment() - * @generated - */ - int COMMENT = 4; - - /** - * The feature id for the 'EAnnotations' containment reference list. - * - * - * - * @generated - * @ordered - */ - int COMMENT__EANNOTATIONS = EcorePackage.EMODEL_ELEMENT__EANNOTATIONS; - - /** - * The feature id for the 'Title' attribute. - * - * - * - * @generated - * @ordered - */ - int COMMENT__TITLE = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 0; - - /** - * The feature id for the 'Contents' attribute. - * - * - * - * @generated - * @ordered - */ - int COMMENT__CONTENTS = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the 'Comment' class. - * - * - * - * @generated - * @ordered - */ - int COMMENT_FEATURE_COUNT = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 2; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation Documentation}'. - * - * - * - * @return the meta object for class 'Documentation'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Documentation - * @generated - */ - EClass getDocumentation(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getDescription Description}'. - * - * - * - * @return the meta object for the attribute 'Description'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getDescription() - * @see #getDocumentation() - * @generated - */ - EAttribute getDocumentation_Description(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getImplicitDependencies Implicit Dependencies}'. - * - * - * - * @return the meta object for the containment reference list 'Implicit Dependencies'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getImplicitDependencies() - * @see #getDocumentation() - * @generated - */ - EReference getDocumentation_ImplicitDependencies(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getReferent Referent}'. - * - * - * - * @return the meta object for the containment reference list 'Referent'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getReferent() - * @see #getDocumentation() - * @generated - */ - EReference getDocumentation_Referent(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getAdditionalComments Additional Comments}'. - * - * - * - * @return the meta object for the containment reference list 'Additional Comments'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Documentation#getAdditionalComments() - * @see #getDocumentation() - * @generated - */ - EReference getDocumentation_AdditionalComments(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency Dependency}'. - * - * - * - * @return the meta object for class 'Dependency'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Dependency - * @generated - */ - EClass getDependency(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getPlugin Plugin}'. - * - * - * - * @return the meta object for the attribute 'Plugin'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getPlugin() - * @see #getDependency() - * @generated - */ - EAttribute getDependency_Plugin(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getComment Comment}'. - * - * - * - * @return the meta object for the attribute 'Comment'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Dependency#getComment() - * @see #getDependency() - * @generated - */ - EAttribute getDependency_Comment(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency File Dependency}'. - * - * - * - * @return the meta object for class 'File Dependency'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.FileDependency - * @generated - */ - EClass getFileDependency(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency#getFile File}'. - * - * - * - * @return the meta object for the attribute 'File'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.FileDependency#getFile() - * @see #getFileDependency() - * @generated - */ - EAttribute getFileDependency_File(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person Person}'. - * - * - * - * @return the meta object for class 'Person'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Person - * @generated - */ - EClass getPerson(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getFirstName First Name}'. - * - * - * - * @return the meta object for the attribute 'First Name'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Person#getFirstName() - * @see #getPerson() - * @generated - */ - EAttribute getPerson_FirstName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getLastName Last Name}'. - * - * - * - * @return the meta object for the attribute 'Last Name'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Person#getLastName() - * @see #getPerson() - * @generated - */ - EAttribute getPerson_LastName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getEMail EMail}'. - * - * - * - * @return the meta object for the attribute 'EMail'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Person#getEMail() - * @see #getPerson() - * @generated - */ - EAttribute getPerson_EMail(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getCurrentCompany Current Company}'. - * - * - * - * @return the meta object for the attribute 'Current Company'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Person#getCurrentCompany() - * @see #getPerson() - * @generated - */ - EAttribute getPerson_CurrentCompany(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.documentation.plugin.documentation.Comment Comment}'. - * - * - * - * @return the meta object for class 'Comment'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Comment - * @generated - */ - EClass getComment(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Comment#getTitle Title}'. - * - * - * - * @return the meta object for the attribute 'Title'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Comment#getTitle() - * @see #getComment() - * @generated - */ - EAttribute getComment_Title(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.documentation.plugin.documentation.Comment#getContents Contents}'. - * - * - * - * @return the meta object for the attribute 'Contents'. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Comment#getContents() - * @see #getComment() - * @generated - */ - EAttribute getComment_Contents(); - - /** - * Returns the factory that creates the instances of the model. - * - * - * - * @return the factory that creates the instances of the model. - * @generated - */ - DocumentationFactory getDocumentationFactory(); - - /** - * - * Defines literals for the meta objects that represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl Documentation}' class. - * - * - * - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getDocumentation() - * @generated - */ - EClass DOCUMENTATION = eINSTANCE.getDocumentation(); - - /** - * The meta object literal for the 'Description' attribute feature. - * - * - * - * @generated - */ - EAttribute DOCUMENTATION__DESCRIPTION = eINSTANCE.getDocumentation_Description(); - - /** - * The meta object literal for the 'Implicit Dependencies' containment reference list feature. - * - * - * - * @generated - */ - EReference DOCUMENTATION__IMPLICIT_DEPENDENCIES = eINSTANCE.getDocumentation_ImplicitDependencies(); - - /** - * The meta object literal for the 'Referent' containment reference list feature. - * - * - * - * @generated - */ - EReference DOCUMENTATION__REFERENT = eINSTANCE.getDocumentation_Referent(); - - /** - * The meta object literal for the 'Additional Comments' containment reference list feature. - * - * - * - * @generated - */ - EReference DOCUMENTATION__ADDITIONAL_COMMENTS = eINSTANCE.getDocumentation_AdditionalComments(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DependencyImpl Dependency}' class. - * - * - * - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DependencyImpl - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getDependency() - * @generated - */ - EClass DEPENDENCY = eINSTANCE.getDependency(); - - /** - * The meta object literal for the 'Plugin' attribute feature. - * - * - * - * @generated - */ - EAttribute DEPENDENCY__PLUGIN = eINSTANCE.getDependency_Plugin(); - - /** - * The meta object literal for the 'Comment' attribute feature. - * - * - * - * @generated - */ - EAttribute DEPENDENCY__COMMENT = eINSTANCE.getDependency_Comment(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.FileDependencyImpl File Dependency}' class. - * - * - * - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.FileDependencyImpl - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getFileDependency() - * @generated - */ - EClass FILE_DEPENDENCY = eINSTANCE.getFileDependency(); - - /** - * The meta object literal for the 'File' attribute feature. - * - * - * - * @generated - */ - EAttribute FILE_DEPENDENCY__FILE = eINSTANCE.getFileDependency_File(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl Person}' class. - * - * - * - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getPerson() - * @generated - */ - EClass PERSON = eINSTANCE.getPerson(); - - /** - * The meta object literal for the 'First Name' attribute feature. - * - * - * - * @generated - */ - EAttribute PERSON__FIRST_NAME = eINSTANCE.getPerson_FirstName(); - - /** - * The meta object literal for the 'Last Name' attribute feature. - * - * - * - * @generated - */ - EAttribute PERSON__LAST_NAME = eINSTANCE.getPerson_LastName(); - - /** - * The meta object literal for the 'EMail' attribute feature. - * - * - * - * @generated - */ - EAttribute PERSON__EMAIL = eINSTANCE.getPerson_EMail(); - - /** - * The meta object literal for the 'Current Company' attribute feature. - * - * - * - * @generated - */ - EAttribute PERSON__CURRENT_COMPANY = eINSTANCE.getPerson_CurrentCompany(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl Comment}' class. - * - * - * - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl - * @see org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationPackageImpl#getComment() - * @generated - */ - EClass COMMENT = eINSTANCE.getComment(); - - /** - * The meta object literal for the 'Title' attribute feature. - * - * - * - * @generated - */ - EAttribute COMMENT__TITLE = eINSTANCE.getComment_Title(); - - /** - * The meta object literal for the 'Contents' attribute feature. - * - * - * - * @generated - */ - EAttribute COMMENT__CONTENTS = eINSTANCE.getComment_Contents(); - - } - -} // DocumentationPackage diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/FileDependency.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/FileDependency.java deleted file mode 100644 index 5235665aa9b..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/FileDependency.java +++ /dev/null @@ -1,63 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation; - - -/** - * - * A representation of the model object 'File Dependency'. - * - * - * - * Specify a dependency when a plug-in needs a non-java file in another plug-in. - * - * For example, this dependency can be used when a plug-in needs to have an access to a model in another plug-in. - * - * The file can be either a file or a folder - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency#getFile File}
  • - *
- *

- * - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getFileDependency() - * @model - * @generated - */ -public interface FileDependency extends Dependency { - /** - * Returns the value of the 'File' attribute. - * - *

- * If the meaning of the 'File' attribute isn't clear, there really should be more of a description here... - *

- * - * - * @return the value of the 'File' attribute. - * @see #setFile(String) - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getFileDependency_File() - * @model required="true" - * @generated - */ - String getFile(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency#getFile File}' attribute. - * - * - * - * @param value - * the new value of the 'File' attribute. - * @see #getFile() - * @generated - */ - void setFile(String value); - -} // FileDependency diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Person.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Person.java deleted file mode 100644 index 0e97775e8d1..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/Person.java +++ /dev/null @@ -1,147 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation; - -import org.eclipse.emf.ecore.EModelElement; - -/** - * - * A representation of the model object 'Person'. - * - * - * - * Represents a person - * - * - *

- * The following features are supported: - *

    - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getFirstName First Name}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getLastName Last Name}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getEMail EMail}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getCurrentCompany Current Company}
  • - *
- *

- * - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getPerson() - * @model - * @generated - */ -public interface Person extends EModelElement { - /** - * Returns the value of the 'First Name' attribute. - * - *

- * If the meaning of the 'First Name' attribute isn't clear, there really should be more of a description here... - *

- * - * - * @return the value of the 'First Name' attribute. - * @see #setFirstName(String) - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getPerson_FirstName() - * @model required="true" - * @generated - */ - String getFirstName(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getFirstName First Name}' attribute. - * - * - * - * @param value - * the new value of the 'First Name' attribute. - * @see #getFirstName() - * @generated - */ - void setFirstName(String value); - - /** - * Returns the value of the 'Last Name' attribute. - * - *

- * If the meaning of the 'Last Name' attribute isn't clear, there really should be more of a description here... - *

- * - * - * @return the value of the 'Last Name' attribute. - * @see #setLastName(String) - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getPerson_LastName() - * @model required="true" - * @generated - */ - String getLastName(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getLastName Last Name}' attribute. - * - * - * - * @param value - * the new value of the 'Last Name' attribute. - * @see #getLastName() - * @generated - */ - void setLastName(String value); - - /** - * Returns the value of the 'EMail' attribute. - * - *

- * If the meaning of the 'EMail' attribute isn't clear, there really should be more of a description here... - *

- * - * - * @return the value of the 'EMail' attribute. - * @see #setEMail(String) - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getPerson_EMail() - * @model required="true" - * @generated - */ - String getEMail(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getEMail EMail}' attribute. - * - * - * - * @param value - * the new value of the 'EMail' attribute. - * @see #getEMail() - * @generated - */ - void setEMail(String value); - - /** - * Returns the value of the 'Current Company' attribute. - * - *

- * If the meaning of the 'Current Company' attribute isn't clear, there really should be more of a description here... - *

- * - * - * @return the value of the 'Current Company' attribute. - * @see #setCurrentCompany(String) - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#getPerson_CurrentCompany() - * @model - * @generated - */ - String getCurrentCompany(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person#getCurrentCompany Current Company}' attribute. - * - * - * - * @param value - * the new value of the 'Current Company' attribute. - * @see #getCurrentCompany() - * @generated - */ - void setCurrentCompany(String value); - -} // Person diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/CommentImpl.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/CommentImpl.java deleted file mode 100644 index a44b0000274..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/CommentImpl.java +++ /dev/null @@ -1,237 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.EModelElementImpl; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.papyrus.documentation.plugin.documentation.Comment; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage; - -/** - * - * An implementation of the model object 'Comment'. - * - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl#getTitle Title}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl#getContents Contents}
  • - *
- *

- * - * @generated - */ -public class CommentImpl extends EModelElementImpl implements Comment { - /** - * The default value of the '{@link #getTitle() Title}' attribute. - * - * - * - * @see #getTitle() - * @generated - * @ordered - */ - protected static final String TITLE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTitle() Title}' attribute. - * - * - * - * @see #getTitle() - * @generated - * @ordered - */ - protected String title = TITLE_EDEFAULT; - - /** - * The default value of the '{@link #getContents() Contents}' attribute. - * - * - * - * @see #getContents() - * @generated - * @ordered - */ - protected static final String CONTENTS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getContents() Contents}' attribute. - * - * - * - * @see #getContents() - * @generated - * @ordered - */ - protected String contents = CONTENTS_EDEFAULT; - - /** - * - * - * - * @generated - */ - protected CommentImpl() { - super(); - } - - /** - * - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return DocumentationPackage.Literals.COMMENT; - } - - /** - * - * - * - * @generated - */ - public String getTitle() { - return title; - } - - /** - * - * - * - * @generated - */ - public void setTitle(String newTitle) { - String oldTitle = title; - title = newTitle; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.COMMENT__TITLE, oldTitle, title)); - } - } - - /** - * - * - * - * @generated - */ - public String getContents() { - return contents; - } - - /** - * - * - * - * @generated - */ - public void setContents(String newContents) { - String oldContents = contents; - contents = newContents; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.COMMENT__CONTENTS, oldContents, contents)); - } - } - - /** - * - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case DocumentationPackage.COMMENT__TITLE: - return getTitle(); - case DocumentationPackage.COMMENT__CONTENTS: - return getContents(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case DocumentationPackage.COMMENT__TITLE: - setTitle((String) newValue); - return; - case DocumentationPackage.COMMENT__CONTENTS: - setContents((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case DocumentationPackage.COMMENT__TITLE: - setTitle(TITLE_EDEFAULT); - return; - case DocumentationPackage.COMMENT__CONTENTS: - setContents(CONTENTS_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case DocumentationPackage.COMMENT__TITLE: - return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title); - case DocumentationPackage.COMMENT__CONTENTS: - return CONTENTS_EDEFAULT == null ? contents != null : !CONTENTS_EDEFAULT.equals(contents); - } - return super.eIsSet(featureID); - } - - /** - * - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) { - return super.toString(); - } - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (title: "); - result.append(title); - result.append(", contents: "); - result.append(contents); - result.append(')'); - return result.toString(); - } - -} // CommentImpl diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DependencyImpl.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DependencyImpl.java deleted file mode 100644 index 9c2d9528fc5..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DependencyImpl.java +++ /dev/null @@ -1,237 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.EModelElementImpl; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.papyrus.documentation.plugin.documentation.Dependency; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage; - -/** - * - * An implementation of the model object 'Dependency'. - * - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DependencyImpl#getPlugin Plugin}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DependencyImpl#getComment Comment}
  • - *
- *

- * - * @generated - */ -public class DependencyImpl extends EModelElementImpl implements Dependency { - /** - * The default value of the '{@link #getPlugin() Plugin}' attribute. - * - * - * - * @see #getPlugin() - * @generated - * @ordered - */ - protected static final String PLUGIN_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPlugin() Plugin}' attribute. - * - * - * - * @see #getPlugin() - * @generated - * @ordered - */ - protected String plugin = PLUGIN_EDEFAULT; - - /** - * The default value of the '{@link #getComment() Comment}' attribute. - * - * - * - * @see #getComment() - * @generated - * @ordered - */ - protected static final String COMMENT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getComment() Comment}' attribute. - * - * - * - * @see #getComment() - * @generated - * @ordered - */ - protected String comment = COMMENT_EDEFAULT; - - /** - * - * - * - * @generated - */ - protected DependencyImpl() { - super(); - } - - /** - * - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return DocumentationPackage.Literals.DEPENDENCY; - } - - /** - * - * - * - * @generated - */ - public String getPlugin() { - return plugin; - } - - /** - * - * - * - * @generated - */ - public void setPlugin(String newPlugin) { - String oldPlugin = plugin; - plugin = newPlugin; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.DEPENDENCY__PLUGIN, oldPlugin, plugin)); - } - } - - /** - * - * - * - * @generated - */ - public String getComment() { - return comment; - } - - /** - * - * - * - * @generated - */ - public void setComment(String newComment) { - String oldComment = comment; - comment = newComment; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.DEPENDENCY__COMMENT, oldComment, comment)); - } - } - - /** - * - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case DocumentationPackage.DEPENDENCY__PLUGIN: - return getPlugin(); - case DocumentationPackage.DEPENDENCY__COMMENT: - return getComment(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case DocumentationPackage.DEPENDENCY__PLUGIN: - setPlugin((String) newValue); - return; - case DocumentationPackage.DEPENDENCY__COMMENT: - setComment((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case DocumentationPackage.DEPENDENCY__PLUGIN: - setPlugin(PLUGIN_EDEFAULT); - return; - case DocumentationPackage.DEPENDENCY__COMMENT: - setComment(COMMENT_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case DocumentationPackage.DEPENDENCY__PLUGIN: - return PLUGIN_EDEFAULT == null ? plugin != null : !PLUGIN_EDEFAULT.equals(plugin); - case DocumentationPackage.DEPENDENCY__COMMENT: - return COMMENT_EDEFAULT == null ? comment != null : !COMMENT_EDEFAULT.equals(comment); - } - return super.eIsSet(featureID); - } - - /** - * - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) { - return super.toString(); - } - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (plugin: "); - result.append(plugin); - result.append(", comment: "); - result.append(comment); - result.append(')'); - return result.toString(); - } - -} // DependencyImpl diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationFactoryImpl.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationFactoryImpl.java deleted file mode 100644 index f57c5b31334..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationFactoryImpl.java +++ /dev/null @@ -1,161 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; -import org.eclipse.papyrus.documentation.plugin.documentation.Comment; -import org.eclipse.papyrus.documentation.plugin.documentation.Dependency; -import org.eclipse.papyrus.documentation.plugin.documentation.Documentation; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationFactory; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage; -import org.eclipse.papyrus.documentation.plugin.documentation.FileDependency; -import org.eclipse.papyrus.documentation.plugin.documentation.Person; - -/** - * - * An implementation of the model Factory. - * - * - * @generated - */ -public class DocumentationFactoryImpl extends EFactoryImpl implements DocumentationFactory { - /** - * Creates the default factory implementation. - * - * - * - * @generated - */ - public static DocumentationFactory init() { - try { - DocumentationFactory theDocumentationFactory = (DocumentationFactory) EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/documentation/plugin/documentation"); - if (theDocumentationFactory != null) { - return theDocumentationFactory; - } - } catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new DocumentationFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * - * - * - * @generated - */ - public DocumentationFactoryImpl() { - super(); - } - - /** - * - * - * - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case DocumentationPackage.DOCUMENTATION: - return createDocumentation(); - case DocumentationPackage.DEPENDENCY: - return createDependency(); - case DocumentationPackage.FILE_DEPENDENCY: - return createFileDependency(); - case DocumentationPackage.PERSON: - return createPerson(); - case DocumentationPackage.COMMENT: - return createComment(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * - * - * - * @generated - */ - public Documentation createDocumentation() { - DocumentationImpl documentation = new DocumentationImpl(); - return documentation; - } - - /** - * - * - * - * @generated - */ - public Dependency createDependency() { - DependencyImpl dependency = new DependencyImpl(); - return dependency; - } - - /** - * - * - * - * @generated - */ - public FileDependency createFileDependency() { - FileDependencyImpl fileDependency = new FileDependencyImpl(); - return fileDependency; - } - - /** - * - * - * - * @generated - */ - public Person createPerson() { - PersonImpl person = new PersonImpl(); - return person; - } - - /** - * - * - * - * @generated - */ - public Comment createComment() { - CommentImpl comment = new CommentImpl(); - return comment; - } - - /** - * - * - * - * @generated - */ - public DocumentationPackage getDocumentationPackage() { - return (DocumentationPackage) getEPackage(); - } - - /** - * - * - * - * @deprecated - * @generated - */ - @Deprecated - public static DocumentationPackage getPackage() { - return DocumentationPackage.eINSTANCE; - } - -} // DocumentationFactoryImpl diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationImpl.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationImpl.java deleted file mode 100644 index 4a98e658d2b..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationImpl.java +++ /dev/null @@ -1,316 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.EModelElementImpl; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.papyrus.documentation.plugin.documentation.Comment; -import org.eclipse.papyrus.documentation.plugin.documentation.Dependency; -import org.eclipse.papyrus.documentation.plugin.documentation.Documentation; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage; -import org.eclipse.papyrus.documentation.plugin.documentation.Person; - -/** - * - * An implementation of the model object 'Documentation'. - * - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl#getDescription Description}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl#getImplicitDependencies Implicit Dependencies}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl#getReferent Referent}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.impl.DocumentationImpl#getAdditionalComments Additional Comments}
  • - *
- *

- * - * @generated - */ -public class DocumentationImpl extends EModelElementImpl implements Documentation { - /** - * The default value of the '{@link #getDescription() Description}' attribute. - * - * - * - * @see #getDescription() - * @generated - * @ordered - */ - protected static final String DESCRIPTION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDescription() Description}' attribute. - * - * - * - * @see #getDescription() - * @generated - * @ordered - */ - protected String description = DESCRIPTION_EDEFAULT; - - /** - * The cached value of the '{@link #getImplicitDependencies() Implicit Dependencies}' containment reference list. - * - * - * - * @see #getImplicitDependencies() - * @generated - * @ordered - */ - protected EList implicitDependencies; - - /** - * The cached value of the '{@link #getReferent() Referent}' containment reference list. - * - * - * - * @see #getReferent() - * @generated - * @ordered - */ - protected EList referent; - - /** - * The cached value of the '{@link #getAdditionalComments() Additional Comments}' containment reference list. - * - * - * - * @see #getAdditionalComments() - * @generated - * @ordered - */ - protected EList additionalComments; - - /** - * - * - * - * @generated - */ - protected DocumentationImpl() { - super(); - } - - /** - * - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return DocumentationPackage.Literals.DOCUMENTATION; - } - - /** - * - * - * - * @generated - */ - public String getDescription() { - return description; - } - - /** - * - * - * - * @generated - */ - public void setDescription(String newDescription) { - String oldDescription = description; - description = newDescription; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.DOCUMENTATION__DESCRIPTION, oldDescription, description)); - } - } - - /** - * - * - * - * @generated - */ - public EList getImplicitDependencies() { - if (implicitDependencies == null) { - implicitDependencies = new EObjectContainmentEList(Dependency.class, this, DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES); - } - return implicitDependencies; - } - - /** - * - * - * - * @generated - */ - public EList getReferent() { - if (referent == null) { - referent = new EObjectContainmentEList(Person.class, this, DocumentationPackage.DOCUMENTATION__REFERENT); - } - return referent; - } - - /** - * - * - * - * @generated - */ - public EList getAdditionalComments() { - if (additionalComments == null) { - additionalComments = new EObjectContainmentEList(Comment.class, this, DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS); - } - return additionalComments; - } - - /** - * - * - * - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES: - return ((InternalEList) getImplicitDependencies()).basicRemove(otherEnd, msgs); - case DocumentationPackage.DOCUMENTATION__REFERENT: - return ((InternalEList) getReferent()).basicRemove(otherEnd, msgs); - case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS: - return ((InternalEList) getAdditionalComments()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case DocumentationPackage.DOCUMENTATION__DESCRIPTION: - return getDescription(); - case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES: - return getImplicitDependencies(); - case DocumentationPackage.DOCUMENTATION__REFERENT: - return getReferent(); - case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS: - return getAdditionalComments(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case DocumentationPackage.DOCUMENTATION__DESCRIPTION: - setDescription((String) newValue); - return; - case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES: - getImplicitDependencies().clear(); - getImplicitDependencies().addAll((Collection) newValue); - return; - case DocumentationPackage.DOCUMENTATION__REFERENT: - getReferent().clear(); - getReferent().addAll((Collection) newValue); - return; - case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS: - getAdditionalComments().clear(); - getAdditionalComments().addAll((Collection) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case DocumentationPackage.DOCUMENTATION__DESCRIPTION: - setDescription(DESCRIPTION_EDEFAULT); - return; - case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES: - getImplicitDependencies().clear(); - return; - case DocumentationPackage.DOCUMENTATION__REFERENT: - getReferent().clear(); - return; - case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS: - getAdditionalComments().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case DocumentationPackage.DOCUMENTATION__DESCRIPTION: - return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description); - case DocumentationPackage.DOCUMENTATION__IMPLICIT_DEPENDENCIES: - return implicitDependencies != null && !implicitDependencies.isEmpty(); - case DocumentationPackage.DOCUMENTATION__REFERENT: - return referent != null && !referent.isEmpty(); - case DocumentationPackage.DOCUMENTATION__ADDITIONAL_COMMENTS: - return additionalComments != null && !additionalComments.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) { - return super.toString(); - } - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (description: "); - result.append(description); - result.append(')'); - return result.toString(); - } - -} // DocumentationImpl diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationPackageImpl.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationPackageImpl.java deleted file mode 100644 index 4573eb2a977..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/DocumentationPackageImpl.java +++ /dev/null @@ -1,442 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EcorePackage; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.papyrus.documentation.plugin.documentation.Comment; -import org.eclipse.papyrus.documentation.plugin.documentation.Dependency; -import org.eclipse.papyrus.documentation.plugin.documentation.Documentation; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationFactory; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage; -import org.eclipse.papyrus.documentation.plugin.documentation.FileDependency; -import org.eclipse.papyrus.documentation.plugin.documentation.Person; - -/** - * - * An implementation of the model Package. - * - * - * @generated - */ -public class DocumentationPackageImpl extends EPackageImpl implements DocumentationPackage { - /** - * - * - * - * @generated - */ - private EClass documentationEClass = null; - - /** - * - * - * - * @generated - */ - private EClass dependencyEClass = null; - - /** - * - * - * - * @generated - */ - private EClass fileDependencyEClass = null; - - /** - * - * - * - * @generated - */ - private EClass personEClass = null; - - /** - * - * - * - * @generated - */ - private EClass commentEClass = null; - - /** - * Creates an instance of the model Package, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. - * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage#eNS_URI - * @see #init() - * @generated - */ - private DocumentationPackageImpl() { - super(eNS_URI, DocumentationFactory.eINSTANCE); - } - - /** - * - * - * - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

- * This method is used to initialize {@link DocumentationPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static DocumentationPackage init() { - if (isInited) { - return (DocumentationPackage) EPackage.Registry.INSTANCE.getEPackage(DocumentationPackage.eNS_URI); - } - - // Obtain or create and register package - DocumentationPackageImpl theDocumentationPackage = (DocumentationPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DocumentationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DocumentationPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - EcorePackage.eINSTANCE.eClass(); - - // Create package meta-data objects - theDocumentationPackage.createPackageContents(); - - // Initialize created meta-data - theDocumentationPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theDocumentationPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(DocumentationPackage.eNS_URI, theDocumentationPackage); - return theDocumentationPackage; - } - - /** - * - * - * - * @generated - */ - public EClass getDocumentation() { - return documentationEClass; - } - - /** - * - * - * - * @generated - */ - public EAttribute getDocumentation_Description() { - return (EAttribute) documentationEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * - * @generated - */ - public EReference getDocumentation_ImplicitDependencies() { - return (EReference) documentationEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * - * @generated - */ - public EReference getDocumentation_Referent() { - return (EReference) documentationEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * - * @generated - */ - public EReference getDocumentation_AdditionalComments() { - return (EReference) documentationEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * - * @generated - */ - public EClass getDependency() { - return dependencyEClass; - } - - /** - * - * - * - * @generated - */ - public EAttribute getDependency_Plugin() { - return (EAttribute) dependencyEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * - * @generated - */ - public EAttribute getDependency_Comment() { - return (EAttribute) dependencyEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * - * @generated - */ - public EClass getFileDependency() { - return fileDependencyEClass; - } - - /** - * - * - * - * @generated - */ - public EAttribute getFileDependency_File() { - return (EAttribute) fileDependencyEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * - * @generated - */ - public EClass getPerson() { - return personEClass; - } - - /** - * - * - * - * @generated - */ - public EAttribute getPerson_FirstName() { - return (EAttribute) personEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * - * @generated - */ - public EAttribute getPerson_LastName() { - return (EAttribute) personEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * - * @generated - */ - public EAttribute getPerson_EMail() { - return (EAttribute) personEClass.getEStructuralFeatures().get(2); - } - - /** - * - * - * - * @generated - */ - public EAttribute getPerson_CurrentCompany() { - return (EAttribute) personEClass.getEStructuralFeatures().get(3); - } - - /** - * - * - * - * @generated - */ - public EClass getComment() { - return commentEClass; - } - - /** - * - * - * - * @generated - */ - public EAttribute getComment_Title() { - return (EAttribute) commentEClass.getEStructuralFeatures().get(0); - } - - /** - * - * - * - * @generated - */ - public EAttribute getComment_Contents() { - return (EAttribute) commentEClass.getEStructuralFeatures().get(1); - } - - /** - * - * - * - * @generated - */ - public DocumentationFactory getDocumentationFactory() { - return (DocumentationFactory) getEFactoryInstance(); - } - - /** - * - * - * - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * - * - * - * @generated - */ - public void createPackageContents() { - if (isCreated) { - return; - } - isCreated = true; - - // Create classes and their features - documentationEClass = createEClass(DOCUMENTATION); - createEAttribute(documentationEClass, DOCUMENTATION__DESCRIPTION); - createEReference(documentationEClass, DOCUMENTATION__IMPLICIT_DEPENDENCIES); - createEReference(documentationEClass, DOCUMENTATION__REFERENT); - createEReference(documentationEClass, DOCUMENTATION__ADDITIONAL_COMMENTS); - - dependencyEClass = createEClass(DEPENDENCY); - createEAttribute(dependencyEClass, DEPENDENCY__PLUGIN); - createEAttribute(dependencyEClass, DEPENDENCY__COMMENT); - - fileDependencyEClass = createEClass(FILE_DEPENDENCY); - createEAttribute(fileDependencyEClass, FILE_DEPENDENCY__FILE); - - personEClass = createEClass(PERSON); - createEAttribute(personEClass, PERSON__FIRST_NAME); - createEAttribute(personEClass, PERSON__LAST_NAME); - createEAttribute(personEClass, PERSON__EMAIL); - createEAttribute(personEClass, PERSON__CURRENT_COMPANY); - - commentEClass = createEClass(COMMENT); - createEAttribute(commentEClass, COMMENT__TITLE); - createEAttribute(commentEClass, COMMENT__CONTENTS); - } - - /** - * - * - * - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * - * - * - * @generated - */ - public void initializePackageContents() { - if (isInitialized) { - return; - } - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - EcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - documentationEClass.getESuperTypes().add(theEcorePackage.getEModelElement()); - dependencyEClass.getESuperTypes().add(theEcorePackage.getEModelElement()); - fileDependencyEClass.getESuperTypes().add(this.getDependency()); - personEClass.getESuperTypes().add(theEcorePackage.getEModelElement()); - commentEClass.getESuperTypes().add(theEcorePackage.getEModelElement()); - - // Initialize classes and features; add operations and parameters - initEClass(documentationEClass, Documentation.class, "Documentation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDocumentation_Description(), ecorePackage.getEString(), "description", null, 1, 1, Documentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getDocumentation_ImplicitDependencies(), this.getDependency(), null, "implicitDependencies", null, 0, -1, Documentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - initEReference(getDocumentation_Referent(), this.getPerson(), null, "referent", null, 0, -1, Documentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getDocumentation_AdditionalComments(), this.getComment(), null, "additionalComments", null, 0, -1, Documentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, - !IS_DERIVED, IS_ORDERED); - - initEClass(dependencyEClass, Dependency.class, "Dependency", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDependency_Plugin(), ecorePackage.getEString(), "plugin", null, 1, 1, Dependency.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDependency_Comment(), ecorePackage.getEString(), "comment", null, 1, 1, Dependency.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(fileDependencyEClass, FileDependency.class, "FileDependency", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getFileDependency_File(), theEcorePackage.getEString(), "file", null, 1, 1, FileDependency.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(personEClass, Person.class, "Person", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getPerson_FirstName(), ecorePackage.getEString(), "firstName", null, 1, 1, Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getPerson_LastName(), ecorePackage.getEString(), "lastName", null, 1, 1, Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getPerson_EMail(), ecorePackage.getEString(), "eMail", null, 1, 1, Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getPerson_CurrentCompany(), ecorePackage.getEString(), "currentCompany", null, 0, 1, Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(commentEClass, Comment.class, "Comment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getComment_Title(), ecorePackage.getEString(), "title", null, 1, 1, Comment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getComment_Contents(), ecorePackage.getEString(), "contents", null, 1, 1, Comment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Create resource - createResource(eNS_URI); - } - -} // DocumentationPackageImpl diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/FileDependencyImpl.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/FileDependencyImpl.java deleted file mode 100644 index 5df91a7d7d6..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/FileDependencyImpl.java +++ /dev/null @@ -1,177 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage; -import org.eclipse.papyrus.documentation.plugin.documentation.FileDependency; - -/** - * - * An implementation of the model object 'File Dependency'. - * - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.impl.FileDependencyImpl#getFile File}
  • - *
- *

- * - * @generated - */ -public class FileDependencyImpl extends DependencyImpl implements FileDependency { - /** - * The default value of the '{@link #getFile() File}' attribute. - * - * - * - * @see #getFile() - * @generated - * @ordered - */ - protected static final String FILE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getFile() File}' attribute. - * - * - * - * @see #getFile() - * @generated - * @ordered - */ - protected String file = FILE_EDEFAULT; - - /** - * - * - * - * @generated - */ - protected FileDependencyImpl() { - super(); - } - - /** - * - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return DocumentationPackage.Literals.FILE_DEPENDENCY; - } - - /** - * - * - * - * @generated - */ - public String getFile() { - return file; - } - - /** - * - * - * - * @generated - */ - public void setFile(String newFile) { - String oldFile = file; - file = newFile; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.FILE_DEPENDENCY__FILE, oldFile, file)); - } - } - - /** - * - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case DocumentationPackage.FILE_DEPENDENCY__FILE: - return getFile(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case DocumentationPackage.FILE_DEPENDENCY__FILE: - setFile((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case DocumentationPackage.FILE_DEPENDENCY__FILE: - setFile(FILE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case DocumentationPackage.FILE_DEPENDENCY__FILE: - return FILE_EDEFAULT == null ? file != null : !FILE_EDEFAULT.equals(file); - } - return super.eIsSet(featureID); - } - - /** - * - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) { - return super.toString(); - } - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (file: "); - result.append(file); - result.append(')'); - return result.toString(); - } - -} // FileDependencyImpl diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/PersonImpl.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/PersonImpl.java deleted file mode 100644 index 446b83a7a04..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/PersonImpl.java +++ /dev/null @@ -1,355 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.EModelElementImpl; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage; -import org.eclipse.papyrus.documentation.plugin.documentation.Person; - -/** - * - * An implementation of the model object 'Person'. - * - *

- * The following features are implemented: - *

    - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl#getFirstName First Name}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl#getLastName Last Name}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl#getEMail EMail}
  • - *
  • {@link org.eclipse.papyrus.documentation.plugin.documentation.impl.PersonImpl#getCurrentCompany Current Company}
  • - *
- *

- * - * @generated - */ -public class PersonImpl extends EModelElementImpl implements Person { - /** - * The default value of the '{@link #getFirstName() First Name}' attribute. - * - * - * - * @see #getFirstName() - * @generated - * @ordered - */ - protected static final String FIRST_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getFirstName() First Name}' attribute. - * - * - * - * @see #getFirstName() - * @generated - * @ordered - */ - protected String firstName = FIRST_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getLastName() Last Name}' attribute. - * - * - * - * @see #getLastName() - * @generated - * @ordered - */ - protected static final String LAST_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLastName() Last Name}' attribute. - * - * - * - * @see #getLastName() - * @generated - * @ordered - */ - protected String lastName = LAST_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getEMail() EMail}' attribute. - * - * - * - * @see #getEMail() - * @generated - * @ordered - */ - protected static final String EMAIL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEMail() EMail}' attribute. - * - * - * - * @see #getEMail() - * @generated - * @ordered - */ - protected String eMail = EMAIL_EDEFAULT; - - /** - * The default value of the '{@link #getCurrentCompany() Current Company}' attribute. - * - * - * - * @see #getCurrentCompany() - * @generated - * @ordered - */ - protected static final String CURRENT_COMPANY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getCurrentCompany() Current Company}' attribute. - * - * - * - * @see #getCurrentCompany() - * @generated - * @ordered - */ - protected String currentCompany = CURRENT_COMPANY_EDEFAULT; - - /** - * - * - * - * @generated - */ - protected PersonImpl() { - super(); - } - - /** - * - * - * - * @generated - */ - @Override - protected EClass eStaticClass() { - return DocumentationPackage.Literals.PERSON; - } - - /** - * - * - * - * @generated - */ - public String getFirstName() { - return firstName; - } - - /** - * - * - * - * @generated - */ - public void setFirstName(String newFirstName) { - String oldFirstName = firstName; - firstName = newFirstName; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.PERSON__FIRST_NAME, oldFirstName, firstName)); - } - } - - /** - * - * - * - * @generated - */ - public String getLastName() { - return lastName; - } - - /** - * - * - * - * @generated - */ - public void setLastName(String newLastName) { - String oldLastName = lastName; - lastName = newLastName; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.PERSON__LAST_NAME, oldLastName, lastName)); - } - } - - /** - * - * - * - * @generated - */ - public String getEMail() { - return eMail; - } - - /** - * - * - * - * @generated - */ - public void setEMail(String newEMail) { - String oldEMail = eMail; - eMail = newEMail; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.PERSON__EMAIL, oldEMail, eMail)); - } - } - - /** - * - * - * - * @generated - */ - public String getCurrentCompany() { - return currentCompany; - } - - /** - * - * - * - * @generated - */ - public void setCurrentCompany(String newCurrentCompany) { - String oldCurrentCompany = currentCompany; - currentCompany = newCurrentCompany; - if (eNotificationRequired()) { - eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.PERSON__CURRENT_COMPANY, oldCurrentCompany, currentCompany)); - } - } - - /** - * - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case DocumentationPackage.PERSON__FIRST_NAME: - return getFirstName(); - case DocumentationPackage.PERSON__LAST_NAME: - return getLastName(); - case DocumentationPackage.PERSON__EMAIL: - return getEMail(); - case DocumentationPackage.PERSON__CURRENT_COMPANY: - return getCurrentCompany(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case DocumentationPackage.PERSON__FIRST_NAME: - setFirstName((String) newValue); - return; - case DocumentationPackage.PERSON__LAST_NAME: - setLastName((String) newValue); - return; - case DocumentationPackage.PERSON__EMAIL: - setEMail((String) newValue); - return; - case DocumentationPackage.PERSON__CURRENT_COMPANY: - setCurrentCompany((String) newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case DocumentationPackage.PERSON__FIRST_NAME: - setFirstName(FIRST_NAME_EDEFAULT); - return; - case DocumentationPackage.PERSON__LAST_NAME: - setLastName(LAST_NAME_EDEFAULT); - return; - case DocumentationPackage.PERSON__EMAIL: - setEMail(EMAIL_EDEFAULT); - return; - case DocumentationPackage.PERSON__CURRENT_COMPANY: - setCurrentCompany(CURRENT_COMPANY_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case DocumentationPackage.PERSON__FIRST_NAME: - return FIRST_NAME_EDEFAULT == null ? firstName != null : !FIRST_NAME_EDEFAULT.equals(firstName); - case DocumentationPackage.PERSON__LAST_NAME: - return LAST_NAME_EDEFAULT == null ? lastName != null : !LAST_NAME_EDEFAULT.equals(lastName); - case DocumentationPackage.PERSON__EMAIL: - return EMAIL_EDEFAULT == null ? eMail != null : !EMAIL_EDEFAULT.equals(eMail); - case DocumentationPackage.PERSON__CURRENT_COMPANY: - return CURRENT_COMPANY_EDEFAULT == null ? currentCompany != null : !CURRENT_COMPANY_EDEFAULT.equals(currentCompany); - } - return super.eIsSet(featureID); - } - - /** - * - * - * - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) { - return super.toString(); - } - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (firstName: "); - result.append(firstName); - result.append(", lastName: "); - result.append(lastName); - result.append(", eMail: "); - result.append(eMail); - result.append(", currentCompany: "); - result.append(currentCompany); - result.append(')'); - return result.toString(); - } - -} // PersonImpl diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationAdapterFactory.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationAdapterFactory.java deleted file mode 100644 index db77c40c55e..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationAdapterFactory.java +++ /dev/null @@ -1,237 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; -import org.eclipse.emf.ecore.EModelElement; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.documentation.plugin.documentation.Comment; -import org.eclipse.papyrus.documentation.plugin.documentation.Dependency; -import org.eclipse.papyrus.documentation.plugin.documentation.Documentation; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage; -import org.eclipse.papyrus.documentation.plugin.documentation.FileDependency; -import org.eclipse.papyrus.documentation.plugin.documentation.Person; - -/** - * - * The Adapter Factory for the model. - * It provides an adapter createXXX method for each class of the model. - * - * - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage - * @generated - */ -public class DocumentationAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * - * - * - * @generated - */ - protected static DocumentationPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * - * - * - * @generated - */ - public DocumentationAdapterFactory() { - if (modelPackage == null) { - modelPackage = DocumentationPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * - * This implementation returns true if the object is either the model's package or is an instance object of the model. - * - * - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject) object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the createXXX methods. - * - * - * - * @generated - */ - protected DocumentationSwitch modelSwitch = - new DocumentationSwitch() { - @Override - public Adapter caseDocumentation(Documentation object) { - return createDocumentationAdapter(); - } - - @Override - public Adapter caseDependency(Dependency object) { - return createDependencyAdapter(); - } - - @Override - public Adapter caseFileDependency(FileDependency object) { - return createFileDependencyAdapter(); - } - - @Override - public Adapter casePerson(Person object) { - return createPersonAdapter(); - } - - @Override - public Adapter caseComment(Comment object) { - return createCommentAdapter(); - } - - @Override - public Adapter caseEModelElement(EModelElement object) { - return createEModelElementAdapter(); - } - - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the target. - * - * - * - * @param target - * the object to adapt. - * @return the adapter for the target. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject) target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.documentation.plugin.documentation.Documentation Documentation}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * - * @return the new adapter. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Documentation - * @generated - */ - public Adapter createDocumentationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.documentation.plugin.documentation.Dependency Dependency}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * - * @return the new adapter. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Dependency - * @generated - */ - public Adapter createDependencyAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.documentation.plugin.documentation.FileDependency File Dependency}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * - * @return the new adapter. - * @see org.eclipse.papyrus.documentation.plugin.documentation.FileDependency - * @generated - */ - public Adapter createFileDependencyAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.documentation.plugin.documentation.Person Person}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * - * @return the new adapter. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Person - * @generated - */ - public Adapter createPersonAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.documentation.plugin.documentation.Comment Comment}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * - * @return the new adapter. - * @see org.eclipse.papyrus.documentation.plugin.documentation.Comment - * @generated - */ - public Adapter createCommentAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.EModelElement EModel Element}'. - * - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * - * - * @return the new adapter. - * @see org.eclipse.emf.ecore.EModelElement - * @generated - */ - public Adapter createEModelElementAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * - * This default implementation returns null. - * - * - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} // DocumentationAdapterFactory diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationSwitch.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationSwitch.java deleted file mode 100644 index 8a1fa4a1d57..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/util/DocumentationSwitch.java +++ /dev/null @@ -1,264 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.documentation.plugin.documentation.util; - -import org.eclipse.emf.ecore.EModelElement; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.util.Switch; -import org.eclipse.papyrus.documentation.plugin.documentation.Comment; -import org.eclipse.papyrus.documentation.plugin.documentation.Dependency; -import org.eclipse.papyrus.documentation.plugin.documentation.Documentation; -import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage; -import org.eclipse.papyrus.documentation.plugin.documentation.FileDependency; -import org.eclipse.papyrus.documentation.plugin.documentation.Person; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * - * @see org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage - * @generated - */ -public class DocumentationSwitch extends Switch { - /** - * The cached model package - * - * - * - * @generated - */ - protected static DocumentationPackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * - * @generated - */ - public DocumentationSwitch() { - if (modelPackage == null) { - modelPackage = DocumentationPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * - * @parameter ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case DocumentationPackage.DOCUMENTATION: { - Documentation documentation = (Documentation) theEObject; - T result = caseDocumentation(documentation); - if (result == null) { - result = caseEModelElement(documentation); - } - if (result == null) { - result = defaultCase(theEObject); - } - return result; - } - case DocumentationPackage.DEPENDENCY: { - Dependency dependency = (Dependency) theEObject; - T result = caseDependency(dependency); - if (result == null) { - result = caseEModelElement(dependency); - } - if (result == null) { - result = defaultCase(theEObject); - } - return result; - } - case DocumentationPackage.FILE_DEPENDENCY: { - FileDependency fileDependency = (FileDependency) theEObject; - T result = caseFileDependency(fileDependency); - if (result == null) { - result = caseDependency(fileDependency); - } - if (result == null) { - result = caseEModelElement(fileDependency); - } - if (result == null) { - result = defaultCase(theEObject); - } - return result; - } - case DocumentationPackage.PERSON: { - Person person = (Person) theEObject; - T result = casePerson(person); - if (result == null) { - result = caseEModelElement(person); - } - if (result == null) { - result = defaultCase(theEObject); - } - return result; - } - case DocumentationPackage.COMMENT: { - Comment comment = (Comment) theEObject; - T result = caseComment(comment); - if (result == null) { - result = caseEModelElement(comment); - } - if (result == null) { - result = defaultCase(theEObject); - } - return result; - } - default: - return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Documentation'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Documentation'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDocumentation(Documentation object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Dependency'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Dependency'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDependency(Dependency object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'File Dependency'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'File Dependency'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFileDependency(FileDependency object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Person'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Person'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePerson(Person object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Comment'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'Comment'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseComment(Comment object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EModel Element'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch. - * - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'EModel Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEModelElement(EModelElement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} // DocumentationSwitch diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src/org/eclipse/papyrus/documentation/plugin/Activator.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src/org/eclipse/papyrus/documentation/plugin/Activator.java deleted file mode 100644 index ee4d87f9a93..00000000000 --- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src/org/eclipse/papyrus/documentation/plugin/Activator.java +++ /dev/null @@ -1,54 +0,0 @@ -package org.eclipse.papyrus.documentation.plugin; - -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.papyrus.documentation.plugin"; //$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) - */ - @Override - 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) - */ - @Override - 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; - } - -} diff --git a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/META-INF/MANIFEST.MF b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/META-INF/MANIFEST.MF index 2187bfc64db..e3822fd03af 100644 --- a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/META-INF/MANIFEST.MF +++ b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/META-INF/MANIFEST.MF @@ -1,32 +1,32 @@ -Manifest-Version: 1.0 -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime, - org.eclipse.papyrus.uml.extensionpoints;bundle-version="1.1.0", - org.eclipse.emf;bundle-version="2.6.0", - org.eclipse.papyrus.uml.diagram.wizards;bundle-version="1.1.0", - org.eclipse.uml2.uml, - org.eclipse.papyrus.infra.emf;bundle-version="1.1.0", - org.eclipse.papyrus.infra.core;bundle-version="1.1.0", - org.eclipse.papyrus.editor;bundle-version="1.1.0", - org.eclipse.gmf.runtime.notation.edit, - org.eclipse.gmf.runtime.diagram.ui, - org.eclipse.gmf.runtime.diagram.ui.render, - org.eclipse.papyrus.views.modelexplorer;bundle-version="1.1.0", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.1.0", - org.eclipse.core.resources, - org.eclipse.papyrus.infra.hyperlink;bundle-version="1.1.0", - org.eclipse.papyrus.infra.core.log;bundle-version="1.1.0" -Bundle-Vendor: %providerName -Bundle-ActivationPolicy: lazy -Bundle-Version: 1.1.0.qualifier -Bundle-Name: %pluginName -Bundle-Localization: plugin -Bundle-ManifestVersion: 2 -Bundle-Activator: org.eclipse.papyrus.uml.developper.mde.Activator -Bundle-Description: The goal of this plugin is to bring a template and - profile to document plugins development, transromation to generate d - ocument model, and a very simple of document generator. -Bundle-SymbolicName: org.eclipse.papyrus.uml.developer.mde;singleton:= - true -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 - +Manifest-Version: 1.0 +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.eclipse.papyrus.uml.extensionpoints;bundle-version="1.1.0", + org.eclipse.emf;bundle-version="2.6.0", + org.eclipse.papyrus.uml.diagram.wizards;bundle-version="1.1.0", + org.eclipse.uml2.uml, + org.eclipse.papyrus.infra.emf;bundle-version="1.1.0", + org.eclipse.papyrus.infra.core;bundle-version="1.1.0", + org.eclipse.papyrus.editor;bundle-version="1.1.0", + org.eclipse.gmf.runtime.notation.edit, + org.eclipse.gmf.runtime.diagram.ui, + org.eclipse.gmf.runtime.diagram.ui.render, + org.eclipse.papyrus.views.modelexplorer;bundle-version="1.1.0", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.1.0", + org.eclipse.core.resources, + org.eclipse.papyrus.infra.hyperlink;bundle-version="1.1.0", + org.eclipse.papyrus.infra.core.log;bundle-version="1.1.0" +Bundle-Vendor: %providerName +Bundle-ActivationPolicy: lazy +Bundle-Version: 1.1.0.qualifier +Bundle-Name: %pluginName +Bundle-Localization: plugin +Bundle-ManifestVersion: 2 +Bundle-Activator: org.eclipse.papyrus.uml.developper.mde.Activator +Bundle-Description: The goal of this plugin is to bring a template and + profile to document plugins development, transromation to generate d + ocument model, and a very simple of document generator. +Bundle-SymbolicName: org.eclipse.papyrus.uml.developer.mde;singleton:= + true +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Bundle-Description: %pluginDescription diff --git a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/build.properties b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/build.properties index d1b30f2c770..6e76215b84a 100644 --- a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/build.properties +++ b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/build.properties @@ -6,6 +6,4 @@ bin.includes = META-INF/,\ resource/,\ plugin.properties,\ about.html,\ - plugin.pdoc src.includes = about.html,\ - plugin.pdoc diff --git a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/plugin.pdoc b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/plugin.pdoc deleted file mode 100644 index 1d02ac1b61d..00000000000 --- a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/plugin.pdoc +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/plugin.properties b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/plugin.properties index 7f2b68445ba..3ce16b96628 100644 --- a/plugins/developer/org.eclipse.papyrus.uml.developer.mde/plugin.properties +++ b/plugins/developer/org.eclipse.papyrus.uml.developer.mde/plugin.properties @@ -10,3 +10,5 @@ ################################################################################## pluginName=Developer MDE providerName=Eclipse Modeling Project + +pluginDescription=The goal of this plugin is to bring a template and profile to document plugins development, transromation to generate document model, and a very simple of document generator. \ No newline at end of file -- cgit v1.2.3