diff options
author | Quentin Le Menez | 2018-01-09 10:09:46 +0000 |
---|---|---|
committer | Quentin Le Menez | 2018-01-09 13:18:15 +0000 |
commit | d98116b5b376f18b6cf626ba4158a35fe9a4a64e (patch) | |
tree | 4458c9c5ada0a216b385813a56ea9a9b8c7b6509 /tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests | |
parent | 453e99bc2dcbd5fabad100f9d0d5f682013c3b19 (diff) | |
download | org.eclipse.papyrus-d98116b5b376f18b6cf626ba4158a35fe9a4a64e.tar.gz org.eclipse.papyrus-d98116b5b376f18b6cf626ba4158a35fe9a4a64e.tar.xz org.eclipse.papyrus-d98116b5b376f18b6cf626ba4158a35fe9a4a64e.zip |
Bug 515367 - [releng] Uniformization of the end of lines to Unix standard
- Format the EOL of all the files matched by: grep -rIUs . | xargs -Ifile dos2unix -k 'file'
Change-Id: I5c41d540a9a67b50de9b912ab35e16cc9a912961
Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
Diffstat (limited to 'tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests')
49 files changed, 5803 insertions, 5803 deletions
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/.project b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/.project index c4f9f1a4e4a..1941233f639 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/.project +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/.project @@ -1,28 +1,28 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.uml.diagram.common.tests</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
+<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.uml.diagram.common.tests</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/.settings/org.eclipse.jdt.core.prefs b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/.settings/org.eclipse.jdt.core.prefs index 62a08f4494d..b3aa6d60f94 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/.settings/org.eclipse.jdt.core.prefs +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/.settings/org.eclipse.jdt.core.prefs @@ -1,291 +1,291 @@ -eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
-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
+eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 +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/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/META-INF/MANIFEST.MF index d4bfe9be2fe..83923b40010 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/META-INF/MANIFEST.MF +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/META-INF/MANIFEST.MF @@ -1,43 +1,43 @@ -Manifest-Version: 1.0
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.junit,
- org.eclipse.emf.transaction,
- org.eclipse.ui.ide,
- org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)",
- org.eclipse.papyrus.junit.framework;bundle-version="[1.2.0,2.0.0)",
- org.eclipse.papyrus.infra.core;bundle-version="[3.0.0,4.0.0)",
- org.eclipse.papyrus.uml.tools;bundle-version="[3.0.0,4.0.0)",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)",
- org.eclipse.gmf.runtime.notation.edit,
- org.eclipse.papyrus.infra.widgets;bundle-version="[3.0.0,4.0.0)",
- org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="[3.0.0,4.0.0)",
- org.eclipse.papyrus.uml.diagram.tests;bundle-version="[1.2.0,2.0.0)",
- org.eclipse.papyrus.infra.gmfdiag.css;bundle-version="[2.1.0,3.0.0)",
- org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)",
- org.eclipse.papyrus.junit.utils;bundle-version="[2.0.0,3.0.0)",
- org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)",
- org.eclipse.papyrus.infra.gmfdiag.canonical.tests;bundle-version="[1.2.0,2.0.0)",
- org.eclipse.papyrus.infra.gmfdiag.css.model;bundle-version="[1.2.0,2.0.0)",
- org.eclipse.papyrus.infra.gmfdiag.css.properties;bundle-version="[3.0.0,4.0.0)",
- org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)",
- org.eclipse.papyrus.infra.core.sasheditor;bundle-version="[2.0.0,3.0.0)",
- org.eclipse.papyrus.infra.ui;bundle-version="[2.0.0,3.0.0)",
- org.eclipse.papyrus.infra.core.sashwindows.di;bundle-version="[1.2.0,2.0.0)",
- org.eclipse.papyrus.uml.dynamic.profile.tests;bundle-version="[1.2.0,2.0.0)",
- org.eclipse.papyrus.infra.emf.gmf;bundle-version="[1.2.0,2.0.0)",
- org.eclipse.papyrus.uml.types.core;bundle-version="[3.1.0,4.0.0)"
-Export-Package: org.eclipse.papyrus.uml.diagram.common.tests,
- org.eclipse.papyrus.uml.diagram.common.tests.css,
- org.eclipse.papyrus.uml.diagram.common.tests.parser,
- org.eclipse.papyrus.uml.diagram.common.tests.tests
-Bundle-Vendor: %Bundle-Vendor
-Bundle-ActivationPolicy: lazy
-Bundle-Version: 1.3.0.qualifier
-Bundle-Localization: plugin
-Bundle-Name: %Bundle-Name
-Bundle-Activator: org.eclipse.papyrus.uml.diagram.common.tests.Activator
-Bundle-ManifestVersion: 2
-Bundle-Description: This plugin provides tests for the papyrus plugin UML Diagram Common
-Bundle-SymbolicName: org.eclipse.papyrus.uml.diagram.common.tests;singleton:=true
-Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+Manifest-Version: 1.0 +Require-Bundle: org.eclipse.ui, + org.eclipse.core.runtime, + org.junit, + org.eclipse.emf.transaction, + org.eclipse.ui.ide, + org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.junit.framework;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.infra.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.tools;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.gmf.runtime.notation.edit, + org.eclipse.papyrus.infra.widgets;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.tests;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.infra.gmfdiag.css;bundle-version="[2.1.0,3.0.0)", + org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.junit.utils;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.canonical.tests;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.infra.gmfdiag.css.model;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.infra.gmfdiag.css.properties;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.core.sasheditor;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.infra.ui;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.infra.core.sashwindows.di;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.uml.dynamic.profile.tests;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.infra.emf.gmf;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.uml.types.core;bundle-version="[3.1.0,4.0.0)" +Export-Package: org.eclipse.papyrus.uml.diagram.common.tests, + org.eclipse.papyrus.uml.diagram.common.tests.css, + org.eclipse.papyrus.uml.diagram.common.tests.parser, + org.eclipse.papyrus.uml.diagram.common.tests.tests +Bundle-Vendor: %Bundle-Vendor +Bundle-ActivationPolicy: lazy +Bundle-Version: 1.3.0.qualifier +Bundle-Localization: plugin +Bundle-Name: %Bundle-Name +Bundle-Activator: org.eclipse.papyrus.uml.diagram.common.tests.Activator +Bundle-ManifestVersion: 2 +Bundle-Description: This plugin provides tests for the papyrus plugin UML Diagram Common +Bundle-SymbolicName: org.eclipse.papyrus.uml.diagram.common.tests;singleton:=true +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/about.html b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/about.html index 209103075a7..dd3c089a94c 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/about.html +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/about.html @@ -1,28 +1,28 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>November 14, 2008</p>
-<h3>License</h3>
-
-<p>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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, "Program" will mean the Content.</p>
-
-<p>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 <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
-
-</body>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>November 14, 2008</p> +<h3>License</h3> + +<p>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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>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 <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + +</body> </html>
\ No newline at end of file diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/build.properties b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/build.properties index 564e70fb658..2051ac1de8e 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/build.properties +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/build.properties @@ -1,10 +1,10 @@ -source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- resources/,\
- org.eclipse.papyrus.uml.diagram.common.tests.launch,\
- about.html,\
- plugin.properties,\
- plugin.xml
-src.includes = about.html
+source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + resources/,\ + org.eclipse.papyrus.uml.diagram.common.tests.launch,\ + about.html,\ + plugin.properties,\ + plugin.xml +src.includes = about.html diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/plugin.properties b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/plugin.properties index 73be7a48cd7..88953fa1862 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/plugin.properties +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/plugin.properties @@ -1,3 +1,3 @@ -#Properties file for org.eclipse.papyrus.uml.diagram.common.tests
-Bundle-Vendor = Eclipse Modeling Project
+#Properties file for org.eclipse.papyrus.uml.diagram.common.tests +Bundle-Vendor = Eclipse Modeling Project Bundle-Name = Papyrus UML Diagram Common Tests
\ No newline at end of file diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/431694/model.di b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/431694/model.di index 8634d4c00e0..bf9abab340f 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/431694/model.di +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/431694/model.di @@ -1,2 +1,2 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
+<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/431694/model.notation b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/431694/model.notation index 50a163408f8..985ca29b286 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/431694/model.notation +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/431694/model.notation @@ -1,130 +1,130 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML">
- <notation:Diagram xmi:id="_0sIY8McAEeOWXJw_sGK0hw" type="PapyrusUMLClassDiagram" name="Main" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_AXnvsMcBEeOWXJw_sGK0hw" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_AXt2UMcBEeOWXJw_sGK0hw" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_AXyu0McBEeOWXJw_sGK0hw" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_AXyu0ccBEeOWXJw_sGK0hw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_AXyu0scBEeOWXJw_sGK0hw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_AXyu08cBEeOWXJw_sGK0hw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AXyu1McBEeOWXJw_sGK0hw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_AXzV4McBEeOWXJw_sGK0hw" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_AXzV4ccBEeOWXJw_sGK0hw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_AXzV4scBEeOWXJw_sGK0hw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_AXzV48cBEeOWXJw_sGK0hw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AXzV5McBEeOWXJw_sGK0hw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_AXzV5ccBEeOWXJw_sGK0hw" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_AXzV5scBEeOWXJw_sGK0hw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_AXzV58cBEeOWXJw_sGK0hw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_AXzV6McBEeOWXJw_sGK0hw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AXzV6ccBEeOWXJw_sGK0hw"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_bvZHMMcDEeOWXJw_sGK0hw" name="cssClass">
- <stringListValue>horizontalGradient</stringListValue>
- </styles>
- <element xmi:type="uml:Class" href="model.uml#_AWuX0McBEeOWXJw_sGK0hw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AXnvsccBEeOWXJw_sGK0hw" x="137" y="56" width="149" height="117"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_VZ4MEMcCEeOWXJw_sGK0hw" type="2007">
- <children xmi:type="notation:DecorationNode" xmi:id="_VZ4zIMcCEeOWXJw_sGK0hw" type="5026"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_VZ5aMMcCEeOWXJw_sGK0hw" type="7016">
- <styles xmi:type="notation:TitleStyle" xmi:id="_VZ5aMccCEeOWXJw_sGK0hw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VZ5aMscCEeOWXJw_sGK0hw"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_c9NlMMcDEeOWXJw_sGK0hw" name="cssClass">
- <stringListValue>fillRed</stringListValue>
- <stringListValue>horizontalGradient</stringListValue>
- </styles>
- <element xmi:type="uml:Package" href="model.uml#_VZ1IwMcCEeOWXJw_sGK0hw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VZ4MEccCEeOWXJw_sGK0hw" x="133" y="234" width="193" height="147"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_iUiDIMq8EeO8w-_dLZ4fFQ" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_iUj4UMq8EeO8w-_dLZ4fFQ" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_iUj4Ucq8EeO8w-_dLZ4fFQ" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_iUj4Usq8EeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_iUj4U8q8EeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_iUj4VMq8EeO8w-_dLZ4fFQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUj4Vcq8EeO8w-_dLZ4fFQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_iUkfYMq8EeO8w-_dLZ4fFQ" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_iUkfYcq8EeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_iUkfYsq8EeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_iUkfY8q8EeO8w-_dLZ4fFQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUkfZMq8EeO8w-_dLZ4fFQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_iUkfZcq8EeO8w-_dLZ4fFQ" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_iUkfZsq8EeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_iUkfZ8q8EeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_iUkfaMq8EeO8w-_dLZ4fFQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUkfacq8EeO8w-_dLZ4fFQ"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_oQ7wIMq8EeO8w-_dLZ4fFQ" name="cssClass">
- <stringListValue>fontWhite</stringListValue>
- <stringListValue>noBorder</stringListValue>
- </styles>
- <element xmi:type="uml:Class" href="model.uml#_iUGlUMq8EeO8w-_dLZ4fFQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUiDIcq8EeO8w-_dLZ4fFQ" x="533" y="247" width="161" height="132"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_qyooIMrNEeO8w-_dLZ4fFQ" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_qyp2QMrNEeO8w-_dLZ4fFQ" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qyqdUMrNEeO8w-_dLZ4fFQ" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_qyqdUcrNEeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qyqdUsrNEeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qyqdU8rNEeO8w-_dLZ4fFQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyqdVMrNEeO8w-_dLZ4fFQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qyrEYMrNEeO8w-_dLZ4fFQ" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_qyrEYcrNEeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qyrEYsrNEeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qyrEY8rNEeO8w-_dLZ4fFQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyrEZMrNEeO8w-_dLZ4fFQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_qyrrcMrNEeO8w-_dLZ4fFQ" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_qyrrccrNEeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_qyrrcsrNEeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_qyrrc8rNEeO8w-_dLZ4fFQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyrrdMrNEeO8w-_dLZ4fFQ"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_-LcP4MrNEeO8w-_dLZ4fFQ" name="cssClass">
- <stringListValue>noBorder</stringListValue>
- </styles>
- <element xmi:type="uml:Class" href="model.uml#_qyhTYMrNEeO8w-_dLZ4fFQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyooIcrNEeO8w-_dLZ4fFQ" x="616" y="246" width="141" height="132"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_gfl1kMrOEeO8w-_dLZ4fFQ" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_gfnDsMrOEeO8w-_dLZ4fFQ" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_gfnDscrOEeO8w-_dLZ4fFQ" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_gfnDssrOEeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_gfnDs8rOEeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_gfnDtMrOEeO8w-_dLZ4fFQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gfnDtcrOEeO8w-_dLZ4fFQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_gfnqwMrOEeO8w-_dLZ4fFQ" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_gfnqwcrOEeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_gfnqwsrOEeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_gfnqw8rOEeO8w-_dLZ4fFQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gfnqxMrOEeO8w-_dLZ4fFQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_gfoR0MrOEeO8w-_dLZ4fFQ" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_gfoR0crOEeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_gfoR0srOEeO8w-_dLZ4fFQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_gfoR08rOEeO8w-_dLZ4fFQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gfoR1MrOEeO8w-_dLZ4fFQ"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_l3UvQMrOEeO8w-_dLZ4fFQ" name="cssClass">
- <stringListValue>noBorder</stringListValue>
- </styles>
- <element xmi:type="uml:Class" href="model.uml#_gfiLMMrOEeO8w-_dLZ4fFQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gfl1kcrOEeO8w-_dLZ4fFQ" x="420" y="251" width="141" height="128"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_0sIY8ccAEeOWXJw_sGK0hw"/>
- <styles xmi:type="style:PapyrusViewStyle" xmi:id="_0sIY8scAEeOWXJw_sGK0hw">
- <owner xmi:type="uml:Model" href="model.uml#_0qL4MMcAEeOWXJw_sGK0hw"/>
- </styles>
- <styles xmi:type="notation:EObjectListValueStyle" xmi:id="__5ozMMcAEeOWXJw_sGK0hw" name="css_stylesheets" eObjectListValue="__5rPcMcAEeOWXJw_sGK0hw"/>
- <element xmi:type="uml:Model" href="model.uml#_0qL4MMcAEeOWXJw_sGK0hw"/>
- </notation:Diagram>
- <css:EmbeddedStyleSheet xmi:id="__5rPcMcAEeOWXJw_sGK0hw" label="TestStyleSheet" content="Class {
	fontColor:red;
}

Package {
	fontColor:blue;
}

.fillRed {
	 fillColor: #FF0000;
}

.horizontalGradient {
 	gradient: #00FF00 horizontal;
}

.fontWhite {
	fontColor:white;
}

.noBorder {
	displayBorder:false;
}"/>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> + <notation:Diagram xmi:id="_0sIY8McAEeOWXJw_sGK0hw" type="PapyrusUMLClassDiagram" name="Main" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_AXnvsMcBEeOWXJw_sGK0hw" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_AXt2UMcBEeOWXJw_sGK0hw" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_AXyu0McBEeOWXJw_sGK0hw" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_AXyu0ccBEeOWXJw_sGK0hw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_AXyu0scBEeOWXJw_sGK0hw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_AXyu08cBEeOWXJw_sGK0hw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AXyu1McBEeOWXJw_sGK0hw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_AXzV4McBEeOWXJw_sGK0hw" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_AXzV4ccBEeOWXJw_sGK0hw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_AXzV4scBEeOWXJw_sGK0hw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_AXzV48cBEeOWXJw_sGK0hw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AXzV5McBEeOWXJw_sGK0hw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_AXzV5ccBEeOWXJw_sGK0hw" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_AXzV5scBEeOWXJw_sGK0hw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_AXzV58cBEeOWXJw_sGK0hw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_AXzV6McBEeOWXJw_sGK0hw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AXzV6ccBEeOWXJw_sGK0hw"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_bvZHMMcDEeOWXJw_sGK0hw" name="cssClass"> + <stringListValue>horizontalGradient</stringListValue> + </styles> + <element xmi:type="uml:Class" href="model.uml#_AWuX0McBEeOWXJw_sGK0hw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AXnvsccBEeOWXJw_sGK0hw" x="137" y="56" width="149" height="117"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_VZ4MEMcCEeOWXJw_sGK0hw" type="2007"> + <children xmi:type="notation:DecorationNode" xmi:id="_VZ4zIMcCEeOWXJw_sGK0hw" type="5026"/> + <children xmi:type="notation:DecorationNode" xmi:id="_VZ5aMMcCEeOWXJw_sGK0hw" type="7016"> + <styles xmi:type="notation:TitleStyle" xmi:id="_VZ5aMccCEeOWXJw_sGK0hw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VZ5aMscCEeOWXJw_sGK0hw"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_c9NlMMcDEeOWXJw_sGK0hw" name="cssClass"> + <stringListValue>fillRed</stringListValue> + <stringListValue>horizontalGradient</stringListValue> + </styles> + <element xmi:type="uml:Package" href="model.uml#_VZ1IwMcCEeOWXJw_sGK0hw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VZ4MEccCEeOWXJw_sGK0hw" x="133" y="234" width="193" height="147"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_iUiDIMq8EeO8w-_dLZ4fFQ" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_iUj4UMq8EeO8w-_dLZ4fFQ" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_iUj4Ucq8EeO8w-_dLZ4fFQ" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_iUj4Usq8EeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_iUj4U8q8EeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_iUj4VMq8EeO8w-_dLZ4fFQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUj4Vcq8EeO8w-_dLZ4fFQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_iUkfYMq8EeO8w-_dLZ4fFQ" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_iUkfYcq8EeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_iUkfYsq8EeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_iUkfY8q8EeO8w-_dLZ4fFQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUkfZMq8EeO8w-_dLZ4fFQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_iUkfZcq8EeO8w-_dLZ4fFQ" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_iUkfZsq8EeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_iUkfZ8q8EeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_iUkfaMq8EeO8w-_dLZ4fFQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUkfacq8EeO8w-_dLZ4fFQ"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_oQ7wIMq8EeO8w-_dLZ4fFQ" name="cssClass"> + <stringListValue>fontWhite</stringListValue> + <stringListValue>noBorder</stringListValue> + </styles> + <element xmi:type="uml:Class" href="model.uml#_iUGlUMq8EeO8w-_dLZ4fFQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUiDIcq8EeO8w-_dLZ4fFQ" x="533" y="247" width="161" height="132"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_qyooIMrNEeO8w-_dLZ4fFQ" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_qyp2QMrNEeO8w-_dLZ4fFQ" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_qyqdUMrNEeO8w-_dLZ4fFQ" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_qyqdUcrNEeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_qyqdUsrNEeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_qyqdU8rNEeO8w-_dLZ4fFQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyqdVMrNEeO8w-_dLZ4fFQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_qyrEYMrNEeO8w-_dLZ4fFQ" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_qyrEYcrNEeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_qyrEYsrNEeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_qyrEY8rNEeO8w-_dLZ4fFQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyrEZMrNEeO8w-_dLZ4fFQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_qyrrcMrNEeO8w-_dLZ4fFQ" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_qyrrccrNEeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_qyrrcsrNEeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_qyrrc8rNEeO8w-_dLZ4fFQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyrrdMrNEeO8w-_dLZ4fFQ"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_-LcP4MrNEeO8w-_dLZ4fFQ" name="cssClass"> + <stringListValue>noBorder</stringListValue> + </styles> + <element xmi:type="uml:Class" href="model.uml#_qyhTYMrNEeO8w-_dLZ4fFQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qyooIcrNEeO8w-_dLZ4fFQ" x="616" y="246" width="141" height="132"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_gfl1kMrOEeO8w-_dLZ4fFQ" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_gfnDsMrOEeO8w-_dLZ4fFQ" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_gfnDscrOEeO8w-_dLZ4fFQ" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_gfnDssrOEeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_gfnDs8rOEeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_gfnDtMrOEeO8w-_dLZ4fFQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gfnDtcrOEeO8w-_dLZ4fFQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_gfnqwMrOEeO8w-_dLZ4fFQ" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_gfnqwcrOEeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_gfnqwsrOEeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_gfnqw8rOEeO8w-_dLZ4fFQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gfnqxMrOEeO8w-_dLZ4fFQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_gfoR0MrOEeO8w-_dLZ4fFQ" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_gfoR0crOEeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_gfoR0srOEeO8w-_dLZ4fFQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_gfoR08rOEeO8w-_dLZ4fFQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gfoR1MrOEeO8w-_dLZ4fFQ"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_l3UvQMrOEeO8w-_dLZ4fFQ" name="cssClass"> + <stringListValue>noBorder</stringListValue> + </styles> + <element xmi:type="uml:Class" href="model.uml#_gfiLMMrOEeO8w-_dLZ4fFQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gfl1kcrOEeO8w-_dLZ4fFQ" x="420" y="251" width="141" height="128"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_0sIY8ccAEeOWXJw_sGK0hw"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_0sIY8scAEeOWXJw_sGK0hw"> + <owner xmi:type="uml:Model" href="model.uml#_0qL4MMcAEeOWXJw_sGK0hw"/> + </styles> + <styles xmi:type="notation:EObjectListValueStyle" xmi:id="__5ozMMcAEeOWXJw_sGK0hw" name="css_stylesheets" eObjectListValue="__5rPcMcAEeOWXJw_sGK0hw"/> + <element xmi:type="uml:Model" href="model.uml#_0qL4MMcAEeOWXJw_sGK0hw"/> + </notation:Diagram> + <css:EmbeddedStyleSheet xmi:id="__5rPcMcAEeOWXJw_sGK0hw" label="TestStyleSheet" content="Class {
	fontColor:red;
}

Package {
	fontColor:blue;
}

.fillRed {
	 fillColor: #FF0000;
}

.horizontalGradient {
 	gradient: #00FF00 horizontal;
}

.fontWhite {
	fontColor:white;
}

.noBorder {
	displayBorder:false;
}"/> +</xmi:XMI> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/431694/model.uml b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/431694/model.uml index 7cb0bc75322..9c92431238f 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/431694/model.uml +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/431694/model.uml @@ -1,11 +1,11 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_0qL4MMcAEeOWXJw_sGK0hw" name="Model">
- <packageImport xmi:type="uml:PackageImport" xmi:id="_0qL4MccAEeOWXJw_sGK0hw">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Class" xmi:id="_AWuX0McBEeOWXJw_sGK0hw" name="Class1"/>
- <packagedElement xmi:type="uml:Package" xmi:id="_VZ1IwMcCEeOWXJw_sGK0hw" name="Package1"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_iUGlUMq8EeO8w-_dLZ4fFQ" name="ClassNamedStyleFont"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_qyhTYMrNEeO8w-_dLZ4fFQ" name="Class2"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_gfiLMMrOEeO8w-_dLZ4fFQ" name="Class3"/>
-</uml:Model>
+<?xml version="1.0" encoding="UTF-8"?> +<uml:Model xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_0qL4MMcAEeOWXJw_sGK0hw" name="Model"> + <packageImport xmi:type="uml:PackageImport" xmi:id="_0qL4MccAEeOWXJw_sGK0hw"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packagedElement xmi:type="uml:Class" xmi:id="_AWuX0McBEeOWXJw_sGK0hw" name="Class1"/> + <packagedElement xmi:type="uml:Package" xmi:id="_VZ1IwMcCEeOWXJw_sGK0hw" name="Package1"/> + <packagedElement xmi:type="uml:Class" xmi:id="_iUGlUMq8EeO8w-_dLZ4fFQ" name="ClassNamedStyleFont"/> + <packagedElement xmi:type="uml:Class" xmi:id="_qyhTYMrNEeO8w-_dLZ4fFQ" name="Class2"/> + <packagedElement xmi:type="uml:Class" xmi:id="_gfiLMMrOEeO8w-_dLZ4fFQ" name="Class3"/> +</uml:Model> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/477133/model.di b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/477133/model.di index 8634d4c00e0..bf9abab340f 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/477133/model.di +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/477133/model.di @@ -1,2 +1,2 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
+<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/477133/model.notation b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/477133/model.notation index 8bca11de1ba..f35c327611c 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/477133/model.notation +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/477133/model.notation @@ -1,323 +1,323 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML">
- <notation:Diagram xmi:id="_LDNtwFuZEeWBbOvxypwYWA" type="PapyrusUMLClassDiagram" name="477133" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_LdZIUFuZEeWBbOvxypwYWA" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_LdZIUluZEeWBbOvxypwYWA" type="5029"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_LdZIU1uZEeWBbOvxypwYWA" type="8510">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_LdZIVFuZEeWBbOvxypwYWA" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_LdZIVVuZEeWBbOvxypwYWA" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_LdZIVluZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_LdZIV1uZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_LdZIWFuZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LdZIWVuZEeWBbOvxypwYWA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_LdZIWluZEeWBbOvxypwYWA" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_LdZIW1uZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_LdZIXFuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_LdZIXVuZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LdZIXluZEeWBbOvxypwYWA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_LdZIX1uZEeWBbOvxypwYWA" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_LdZIYFuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_LdZIYVuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_LdZIYluZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LdZIY1uZEeWBbOvxypwYWA"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_LdP-YFuZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LdZIUVuZEeWBbOvxypwYWA" x="84" y="103"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_MIf60FuZEeWBbOvxypwYWA" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_MIf60luZEeWBbOvxypwYWA" type="5029"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_MIf601uZEeWBbOvxypwYWA" type="8510">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_MIf61FuZEeWBbOvxypwYWA" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_MIf61VuZEeWBbOvxypwYWA" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_MIf61luZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_MIf611uZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_MIf62FuZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MIf62VuZEeWBbOvxypwYWA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_MIf62luZEeWBbOvxypwYWA" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_MIf621uZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_MIf63FuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_MIf63VuZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MIf63luZEeWBbOvxypwYWA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_MIf631uZEeWBbOvxypwYWA" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_MIf64FuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_MIf64VuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_MIf64luZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MIf641uZEeWBbOvxypwYWA"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_MIWw4FuZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MIf60VuZEeWBbOvxypwYWA" x="498" y="105"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_MXkRkVuZEeWBbOvxypwYWA" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_MXkRk1uZEeWBbOvxypwYWA" type="5029"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_MXkRlFuZEeWBbOvxypwYWA" type="8510">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_MXkRlVuZEeWBbOvxypwYWA" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_MXkRlluZEeWBbOvxypwYWA" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_MXkRl1uZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_MXkRmFuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_MXkRmVuZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MXkRmluZEeWBbOvxypwYWA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_MXkRm1uZEeWBbOvxypwYWA" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_MXkRnFuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_MXkRnVuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_MXkRnluZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MXkRn1uZEeWBbOvxypwYWA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_MXkRoFuZEeWBbOvxypwYWA" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_MXkRoVuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_MXkRoluZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_MXkRo1uZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MXkRpFuZEeWBbOvxypwYWA"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_MXkRkFuZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MXkRkluZEeWBbOvxypwYWA" x="99" y="359"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_MrONYVuZEeWBbOvxypwYWA" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_MrONY1uZEeWBbOvxypwYWA" type="5029"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_MrONZFuZEeWBbOvxypwYWA" type="8510">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_MrONZVuZEeWBbOvxypwYWA" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_MrONZluZEeWBbOvxypwYWA" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_MrONZ1uZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_MrONaFuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_MrONaVuZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MrONaluZEeWBbOvxypwYWA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_MrONa1uZEeWBbOvxypwYWA" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_MrONbFuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_MrONbVuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_MrONbluZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MrONb1uZEeWBbOvxypwYWA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_MrONcFuZEeWBbOvxypwYWA" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_MrONcVuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_MrONcluZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_MrONc1uZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MrONdFuZEeWBbOvxypwYWA"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_MrONYFuZEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MrONYluZEeWBbOvxypwYWA" x="493" y="363"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_dOgZgFuZEeWBbOvxypwYWA" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_dOgZgVuZEeWBbOvxypwYWA" showTitle="true"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_dOgZg1uZEeWBbOvxypwYWA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="model.uml#_LdP-YFuZEeWBbOvxypwYWA"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dOgZgluZEeWBbOvxypwYWA" x="284" y="103"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_d2K2cFuZEeWBbOvxypwYWA" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_d2K2cVuZEeWBbOvxypwYWA" showTitle="true"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_d2K2c1uZEeWBbOvxypwYWA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="model.uml#_MIWw4FuZEeWBbOvxypwYWA"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_d2K2cluZEeWBbOvxypwYWA" x="698" y="105"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_efzCQ1uZEeWBbOvxypwYWA" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_efzCRFuZEeWBbOvxypwYWA" showTitle="true"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_efzCRluZEeWBbOvxypwYWA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="model.uml#_MXkRkFuZEeWBbOvxypwYWA"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_efzCRVuZEeWBbOvxypwYWA" x="299" y="359"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_fKbTqVuZEeWBbOvxypwYWA" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_fKbTqluZEeWBbOvxypwYWA" showTitle="true"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_fKbTrFuZEeWBbOvxypwYWA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="model.uml#_MrONYFuZEeWBbOvxypwYWA"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fKbTq1uZEeWBbOvxypwYWA" x="693" y="363"/>
- </children>
- <styles xmi:type="notation:StringValueStyle" xmi:id="_LDNtwVuZEeWBbOvxypwYWA" name="diagram_compatibility_version" stringValue="1.1.0"/>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_LDNtwluZEeWBbOvxypwYWA"/>
- <styles xmi:type="style:PapyrusViewStyle" xmi:id="_LDNtw1uZEeWBbOvxypwYWA">
- <owner xmi:type="uml:Model" href="model.uml#_HwHlUFuZEeWBbOvxypwYWA"/>
- </styles>
- <element xmi:type="uml:Model" href="model.uml#_HwHlUFuZEeWBbOvxypwYWA"/>
- <edges xmi:type="notation:Connector" xmi:id="_UK310FuZEeWBbOvxypwYWA" type="4001" source="_MIf60FuZEeWBbOvxypwYWA" target="_LdZIUFuZEeWBbOvxypwYWA">
- <children xmi:type="notation:DecorationNode" xmi:id="_ULBm0FuZEeWBbOvxypwYWA" type="6001">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ULBm0VuZEeWBbOvxypwYWA" y="-20"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_ULBm0luZEeWBbOvxypwYWA" type="6002">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ULBm01uZEeWBbOvxypwYWA" y="20"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_ULBm1FuZEeWBbOvxypwYWA" type="6003">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ULBm1VuZEeWBbOvxypwYWA" y="-20"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_ULBm1luZEeWBbOvxypwYWA" type="6005">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ULBm11uZEeWBbOvxypwYWA" y="20"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_ULBm2FuZEeWBbOvxypwYWA" type="6033">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ULBm2VuZEeWBbOvxypwYWA" y="20"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_ULBm2luZEeWBbOvxypwYWA" type="6034">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ULBm21uZEeWBbOvxypwYWA" y="-20"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_UK310VuZEeWBbOvxypwYWA"/>
- <element xmi:type="uml:Association" href="model.uml#_UKuE0FuZEeWBbOvxypwYWA"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_UK310luZEeWBbOvxypwYWA" points="[-17, 2, 364, -12]$[-331, -15, 50, -29]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ULncsFuZEeWBbOvxypwYWA" id="(0.0,0.34)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ULncsVuZEeWBbOvxypwYWA" id="(1.0,0.37)"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_dOgZhFuZEeWBbOvxypwYWA" type="StereotypeCommentLink" source="_LdZIUFuZEeWBbOvxypwYWA" target="_dOgZgFuZEeWBbOvxypwYWA">
- <styles xmi:type="notation:FontStyle" xmi:id="_dOgZhVuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_dOgZiVuZEeWBbOvxypwYWA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="model.uml#_LdP-YFuZEeWBbOvxypwYWA"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_dOgZhluZEeWBbOvxypwYWA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dOgZh1uZEeWBbOvxypwYWA"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dOgZiFuZEeWBbOvxypwYWA"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_d2K2dFuZEeWBbOvxypwYWA" type="StereotypeCommentLink" source="_MIf60FuZEeWBbOvxypwYWA" target="_d2K2cFuZEeWBbOvxypwYWA">
- <styles xmi:type="notation:FontStyle" xmi:id="_d2K2dVuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_d2K2eVuZEeWBbOvxypwYWA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="model.uml#_MIWw4FuZEeWBbOvxypwYWA"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_d2K2dluZEeWBbOvxypwYWA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_d2K2d1uZEeWBbOvxypwYWA"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_d2K2eFuZEeWBbOvxypwYWA"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_efzCR1uZEeWBbOvxypwYWA" type="StereotypeCommentLink" source="_MXkRkVuZEeWBbOvxypwYWA" target="_efzCQ1uZEeWBbOvxypwYWA">
- <styles xmi:type="notation:FontStyle" xmi:id="_efzCSFuZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_efzCTFuZEeWBbOvxypwYWA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="model.uml#_MXkRkFuZEeWBbOvxypwYWA"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_efzCSVuZEeWBbOvxypwYWA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_efzCSluZEeWBbOvxypwYWA"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_efzCS1uZEeWBbOvxypwYWA"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_fKbTrVuZEeWBbOvxypwYWA" type="StereotypeCommentLink" source="_MrONYVuZEeWBbOvxypwYWA" target="_fKbTqVuZEeWBbOvxypwYWA">
- <styles xmi:type="notation:FontStyle" xmi:id="_fKbTrluZEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_fKbTsluZEeWBbOvxypwYWA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="model.uml#_MrONYFuZEeWBbOvxypwYWA"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_fKbTr1uZEeWBbOvxypwYWA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_fKbTsFuZEeWBbOvxypwYWA"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_fKbTsVuZEeWBbOvxypwYWA"/>
- </edges>
- </notation:Diagram>
- <notation:Diagram xmi:id="_zxkvEFufEeWBbOvxypwYWA" type="PapyrusUMLClassDiagram" name="BDD 446668" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_1L0fgFufEeWBbOvxypwYWA" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_1L1GkFufEeWBbOvxypwYWA" type="5029"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_1L1GkVufEeWBbOvxypwYWA" type="8510">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_1L1GklufEeWBbOvxypwYWA" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_1L1Gk1ufEeWBbOvxypwYWA" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_1L1GlFufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_1L1GlVufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_1L1GllufEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1L1Gl1ufEeWBbOvxypwYWA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_1L1GmFufEeWBbOvxypwYWA" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_1L1GmVufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_1L1GmlufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_1L1Gm1ufEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1L1GnFufEeWBbOvxypwYWA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_1L1GnVufEeWBbOvxypwYWA" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_1L1GnlufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_1L1Gn1ufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_1L1GoFufEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1L1GoVufEeWBbOvxypwYWA"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_1LyDQFufEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1L0fgVufEeWBbOvxypwYWA" x="159" y="167"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_1aIBQFufEeWBbOvxypwYWA" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_1aIBQlufEeWBbOvxypwYWA" type="5029"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_1aIBQ1ufEeWBbOvxypwYWA" type="8510">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_1aIBRFufEeWBbOvxypwYWA" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_1aIBRVufEeWBbOvxypwYWA" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_1aIBRlufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_1aIBR1ufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_1aIBSFufEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1aIBSVufEeWBbOvxypwYWA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_1aIBSlufEeWBbOvxypwYWA" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_1aIBS1ufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_1aIBTFufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_1aIBTVufEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1aIBTlufEeWBbOvxypwYWA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_1aIBT1ufEeWBbOvxypwYWA" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_1aIBUFufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_1aIBUVufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_1aIBUlufEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1aIBU1ufEeWBbOvxypwYWA"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_1aFlAFufEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1aIBQVufEeWBbOvxypwYWA" x="532" y="163"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_1pQCYFufEeWBbOvxypwYWA" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_1pQCYlufEeWBbOvxypwYWA" type="5029"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_1pQCY1ufEeWBbOvxypwYWA" type="8510">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_1pQCZFufEeWBbOvxypwYWA" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_1pQpcFufEeWBbOvxypwYWA" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_1pQpcVufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_1pQpclufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_1pQpc1ufEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1pQpdFufEeWBbOvxypwYWA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_1pQpdVufEeWBbOvxypwYWA" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_1pQpdlufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_1pQpd1ufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_1pQpeFufEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1pQpeVufEeWBbOvxypwYWA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_1pQpelufEeWBbOvxypwYWA" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_1pQpe1ufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_1pQpfFufEeWBbOvxypwYWA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_1pQpfVufEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1pQpflufEeWBbOvxypwYWA"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_1pONMFufEeWBbOvxypwYWA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1pQCYVufEeWBbOvxypwYWA" x="547" y="411"/>
- </children>
- <styles xmi:type="notation:StringValueStyle" xmi:id="_zxkvEVufEeWBbOvxypwYWA" name="diagram_compatibility_version" stringValue="1.1.0"/>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_zxkvElufEeWBbOvxypwYWA"/>
- <styles xmi:type="style:PapyrusViewStyle" xmi:id="_zxkvE1ufEeWBbOvxypwYWA">
- <owner xmi:type="uml:Model" href="model.uml#_HwHlUFuZEeWBbOvxypwYWA"/>
- </styles>
- <element xmi:type="uml:Model" href="model.uml#_HwHlUFuZEeWBbOvxypwYWA"/>
- <edges xmi:type="notation:Connector" xmi:id="_4rpcYFufEeWBbOvxypwYWA" type="4001" source="_1L0fgFufEeWBbOvxypwYWA" target="_1aIBQFufEeWBbOvxypwYWA">
- <children xmi:type="notation:DecorationNode" xmi:id="_4rpcY1ufEeWBbOvxypwYWA" type="6001">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_4rpcZFufEeWBbOvxypwYWA" y="-20"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_4rpcZVufEeWBbOvxypwYWA" type="6002">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_4rpcZlufEeWBbOvxypwYWA" y="20"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_4rpcZ1ufEeWBbOvxypwYWA" type="6003">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_4rqDcFufEeWBbOvxypwYWA" y="-20"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_4rqDcVufEeWBbOvxypwYWA" type="6005">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_4rqDclufEeWBbOvxypwYWA" y="20"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_4rqDc1ufEeWBbOvxypwYWA" type="6033">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_4rqDdFufEeWBbOvxypwYWA" y="20"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_4rqDdVufEeWBbOvxypwYWA" type="6034">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_4rqDdlufEeWBbOvxypwYWA" y="-20"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_4rpcYVufEeWBbOvxypwYWA"/>
- <element xmi:type="uml:Association" href="model.uml#_4rWhcFufEeWBbOvxypwYWA"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_4rpcYlufEeWBbOvxypwYWA" points="[20, -9, -323, -15]$[339, -44, -4, -50]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4sGvYFufEeWBbOvxypwYWA" id="(1.0,0.39)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4sGvYVufEeWBbOvxypwYWA" id="(0.0,0.36)"/>
- </edges>
- </notation:Diagram>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> + <notation:Diagram xmi:id="_LDNtwFuZEeWBbOvxypwYWA" type="PapyrusUMLClassDiagram" name="477133" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_LdZIUFuZEeWBbOvxypwYWA" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_LdZIUluZEeWBbOvxypwYWA" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_LdZIU1uZEeWBbOvxypwYWA" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_LdZIVFuZEeWBbOvxypwYWA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_LdZIVVuZEeWBbOvxypwYWA" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_LdZIVluZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_LdZIV1uZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_LdZIWFuZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LdZIWVuZEeWBbOvxypwYWA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_LdZIWluZEeWBbOvxypwYWA" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_LdZIW1uZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_LdZIXFuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_LdZIXVuZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LdZIXluZEeWBbOvxypwYWA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_LdZIX1uZEeWBbOvxypwYWA" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_LdZIYFuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_LdZIYVuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_LdZIYluZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LdZIY1uZEeWBbOvxypwYWA"/> + </children> + <element xmi:type="uml:Class" href="model.uml#_LdP-YFuZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LdZIUVuZEeWBbOvxypwYWA" x="84" y="103"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_MIf60FuZEeWBbOvxypwYWA" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_MIf60luZEeWBbOvxypwYWA" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_MIf601uZEeWBbOvxypwYWA" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_MIf61FuZEeWBbOvxypwYWA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_MIf61VuZEeWBbOvxypwYWA" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_MIf61luZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_MIf611uZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_MIf62FuZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MIf62VuZEeWBbOvxypwYWA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_MIf62luZEeWBbOvxypwYWA" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_MIf621uZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_MIf63FuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_MIf63VuZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MIf63luZEeWBbOvxypwYWA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_MIf631uZEeWBbOvxypwYWA" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_MIf64FuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_MIf64VuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_MIf64luZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MIf641uZEeWBbOvxypwYWA"/> + </children> + <element xmi:type="uml:Class" href="model.uml#_MIWw4FuZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MIf60VuZEeWBbOvxypwYWA" x="498" y="105"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_MXkRkVuZEeWBbOvxypwYWA" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_MXkRk1uZEeWBbOvxypwYWA" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_MXkRlFuZEeWBbOvxypwYWA" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_MXkRlVuZEeWBbOvxypwYWA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_MXkRlluZEeWBbOvxypwYWA" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_MXkRl1uZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_MXkRmFuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_MXkRmVuZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MXkRmluZEeWBbOvxypwYWA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_MXkRm1uZEeWBbOvxypwYWA" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_MXkRnFuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_MXkRnVuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_MXkRnluZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MXkRn1uZEeWBbOvxypwYWA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_MXkRoFuZEeWBbOvxypwYWA" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_MXkRoVuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_MXkRoluZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_MXkRo1uZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MXkRpFuZEeWBbOvxypwYWA"/> + </children> + <element xmi:type="uml:Class" href="model.uml#_MXkRkFuZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MXkRkluZEeWBbOvxypwYWA" x="99" y="359"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_MrONYVuZEeWBbOvxypwYWA" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_MrONY1uZEeWBbOvxypwYWA" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_MrONZFuZEeWBbOvxypwYWA" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_MrONZVuZEeWBbOvxypwYWA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_MrONZluZEeWBbOvxypwYWA" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_MrONZ1uZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_MrONaFuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_MrONaVuZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MrONaluZEeWBbOvxypwYWA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_MrONa1uZEeWBbOvxypwYWA" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_MrONbFuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_MrONbVuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_MrONbluZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MrONb1uZEeWBbOvxypwYWA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_MrONcFuZEeWBbOvxypwYWA" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_MrONcVuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_MrONcluZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_MrONc1uZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MrONdFuZEeWBbOvxypwYWA"/> + </children> + <element xmi:type="uml:Class" href="model.uml#_MrONYFuZEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MrONYluZEeWBbOvxypwYWA" x="493" y="363"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_dOgZgFuZEeWBbOvxypwYWA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_dOgZgVuZEeWBbOvxypwYWA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_dOgZg1uZEeWBbOvxypwYWA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="model.uml#_LdP-YFuZEeWBbOvxypwYWA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dOgZgluZEeWBbOvxypwYWA" x="284" y="103"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_d2K2cFuZEeWBbOvxypwYWA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_d2K2cVuZEeWBbOvxypwYWA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_d2K2c1uZEeWBbOvxypwYWA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="model.uml#_MIWw4FuZEeWBbOvxypwYWA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_d2K2cluZEeWBbOvxypwYWA" x="698" y="105"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_efzCQ1uZEeWBbOvxypwYWA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_efzCRFuZEeWBbOvxypwYWA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_efzCRluZEeWBbOvxypwYWA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="model.uml#_MXkRkFuZEeWBbOvxypwYWA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_efzCRVuZEeWBbOvxypwYWA" x="299" y="359"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_fKbTqVuZEeWBbOvxypwYWA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_fKbTqluZEeWBbOvxypwYWA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_fKbTrFuZEeWBbOvxypwYWA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="model.uml#_MrONYFuZEeWBbOvxypwYWA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fKbTq1uZEeWBbOvxypwYWA" x="693" y="363"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_LDNtwVuZEeWBbOvxypwYWA" name="diagram_compatibility_version" stringValue="1.1.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_LDNtwluZEeWBbOvxypwYWA"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_LDNtw1uZEeWBbOvxypwYWA"> + <owner xmi:type="uml:Model" href="model.uml#_HwHlUFuZEeWBbOvxypwYWA"/> + </styles> + <element xmi:type="uml:Model" href="model.uml#_HwHlUFuZEeWBbOvxypwYWA"/> + <edges xmi:type="notation:Connector" xmi:id="_UK310FuZEeWBbOvxypwYWA" type="4001" source="_MIf60FuZEeWBbOvxypwYWA" target="_LdZIUFuZEeWBbOvxypwYWA"> + <children xmi:type="notation:DecorationNode" xmi:id="_ULBm0FuZEeWBbOvxypwYWA" type="6001"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ULBm0VuZEeWBbOvxypwYWA" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_ULBm0luZEeWBbOvxypwYWA" type="6002"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ULBm01uZEeWBbOvxypwYWA" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_ULBm1FuZEeWBbOvxypwYWA" type="6003"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ULBm1VuZEeWBbOvxypwYWA" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_ULBm1luZEeWBbOvxypwYWA" type="6005"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ULBm11uZEeWBbOvxypwYWA" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_ULBm2FuZEeWBbOvxypwYWA" type="6033"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ULBm2VuZEeWBbOvxypwYWA" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_ULBm2luZEeWBbOvxypwYWA" type="6034"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ULBm21uZEeWBbOvxypwYWA" y="-20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_UK310VuZEeWBbOvxypwYWA"/> + <element xmi:type="uml:Association" href="model.uml#_UKuE0FuZEeWBbOvxypwYWA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_UK310luZEeWBbOvxypwYWA" points="[-17, 2, 364, -12]$[-331, -15, 50, -29]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ULncsFuZEeWBbOvxypwYWA" id="(0.0,0.34)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ULncsVuZEeWBbOvxypwYWA" id="(1.0,0.37)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_dOgZhFuZEeWBbOvxypwYWA" type="StereotypeCommentLink" source="_LdZIUFuZEeWBbOvxypwYWA" target="_dOgZgFuZEeWBbOvxypwYWA"> + <styles xmi:type="notation:FontStyle" xmi:id="_dOgZhVuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_dOgZiVuZEeWBbOvxypwYWA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="model.uml#_LdP-YFuZEeWBbOvxypwYWA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_dOgZhluZEeWBbOvxypwYWA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dOgZh1uZEeWBbOvxypwYWA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dOgZiFuZEeWBbOvxypwYWA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_d2K2dFuZEeWBbOvxypwYWA" type="StereotypeCommentLink" source="_MIf60FuZEeWBbOvxypwYWA" target="_d2K2cFuZEeWBbOvxypwYWA"> + <styles xmi:type="notation:FontStyle" xmi:id="_d2K2dVuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_d2K2eVuZEeWBbOvxypwYWA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="model.uml#_MIWw4FuZEeWBbOvxypwYWA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_d2K2dluZEeWBbOvxypwYWA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_d2K2d1uZEeWBbOvxypwYWA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_d2K2eFuZEeWBbOvxypwYWA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_efzCR1uZEeWBbOvxypwYWA" type="StereotypeCommentLink" source="_MXkRkVuZEeWBbOvxypwYWA" target="_efzCQ1uZEeWBbOvxypwYWA"> + <styles xmi:type="notation:FontStyle" xmi:id="_efzCSFuZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_efzCTFuZEeWBbOvxypwYWA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="model.uml#_MXkRkFuZEeWBbOvxypwYWA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_efzCSVuZEeWBbOvxypwYWA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_efzCSluZEeWBbOvxypwYWA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_efzCS1uZEeWBbOvxypwYWA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_fKbTrVuZEeWBbOvxypwYWA" type="StereotypeCommentLink" source="_MrONYVuZEeWBbOvxypwYWA" target="_fKbTqVuZEeWBbOvxypwYWA"> + <styles xmi:type="notation:FontStyle" xmi:id="_fKbTrluZEeWBbOvxypwYWA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_fKbTsluZEeWBbOvxypwYWA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="model.uml#_MrONYFuZEeWBbOvxypwYWA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_fKbTr1uZEeWBbOvxypwYWA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_fKbTsFuZEeWBbOvxypwYWA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_fKbTsVuZEeWBbOvxypwYWA"/> + </edges> + </notation:Diagram> + <notation:Diagram xmi:id="_zxkvEFufEeWBbOvxypwYWA" type="PapyrusUMLClassDiagram" name="BDD 446668" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_1L0fgFufEeWBbOvxypwYWA" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_1L1GkFufEeWBbOvxypwYWA" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_1L1GkVufEeWBbOvxypwYWA" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_1L1GklufEeWBbOvxypwYWA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_1L1Gk1ufEeWBbOvxypwYWA" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_1L1GlFufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_1L1GlVufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_1L1GllufEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1L1Gl1ufEeWBbOvxypwYWA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_1L1GmFufEeWBbOvxypwYWA" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_1L1GmVufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_1L1GmlufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_1L1Gm1ufEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1L1GnFufEeWBbOvxypwYWA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_1L1GnVufEeWBbOvxypwYWA" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_1L1GnlufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_1L1Gn1ufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_1L1GoFufEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1L1GoVufEeWBbOvxypwYWA"/> + </children> + <element xmi:type="uml:Class" href="model.uml#_1LyDQFufEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1L0fgVufEeWBbOvxypwYWA" x="159" y="167"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_1aIBQFufEeWBbOvxypwYWA" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_1aIBQlufEeWBbOvxypwYWA" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_1aIBQ1ufEeWBbOvxypwYWA" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_1aIBRFufEeWBbOvxypwYWA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_1aIBRVufEeWBbOvxypwYWA" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_1aIBRlufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_1aIBR1ufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_1aIBSFufEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1aIBSVufEeWBbOvxypwYWA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_1aIBSlufEeWBbOvxypwYWA" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_1aIBS1ufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_1aIBTFufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_1aIBTVufEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1aIBTlufEeWBbOvxypwYWA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_1aIBT1ufEeWBbOvxypwYWA" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_1aIBUFufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_1aIBUVufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_1aIBUlufEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1aIBU1ufEeWBbOvxypwYWA"/> + </children> + <element xmi:type="uml:Class" href="model.uml#_1aFlAFufEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1aIBQVufEeWBbOvxypwYWA" x="532" y="163"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_1pQCYFufEeWBbOvxypwYWA" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_1pQCYlufEeWBbOvxypwYWA" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_1pQCY1ufEeWBbOvxypwYWA" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_1pQCZFufEeWBbOvxypwYWA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_1pQpcFufEeWBbOvxypwYWA" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_1pQpcVufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_1pQpclufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_1pQpc1ufEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1pQpdFufEeWBbOvxypwYWA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_1pQpdVufEeWBbOvxypwYWA" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_1pQpdlufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_1pQpd1ufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_1pQpeFufEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1pQpeVufEeWBbOvxypwYWA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_1pQpelufEeWBbOvxypwYWA" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_1pQpe1ufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_1pQpfFufEeWBbOvxypwYWA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_1pQpfVufEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1pQpflufEeWBbOvxypwYWA"/> + </children> + <element xmi:type="uml:Class" href="model.uml#_1pONMFufEeWBbOvxypwYWA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1pQCYVufEeWBbOvxypwYWA" x="547" y="411"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_zxkvEVufEeWBbOvxypwYWA" name="diagram_compatibility_version" stringValue="1.1.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_zxkvElufEeWBbOvxypwYWA"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_zxkvE1ufEeWBbOvxypwYWA"> + <owner xmi:type="uml:Model" href="model.uml#_HwHlUFuZEeWBbOvxypwYWA"/> + </styles> + <element xmi:type="uml:Model" href="model.uml#_HwHlUFuZEeWBbOvxypwYWA"/> + <edges xmi:type="notation:Connector" xmi:id="_4rpcYFufEeWBbOvxypwYWA" type="4001" source="_1L0fgFufEeWBbOvxypwYWA" target="_1aIBQFufEeWBbOvxypwYWA"> + <children xmi:type="notation:DecorationNode" xmi:id="_4rpcY1ufEeWBbOvxypwYWA" type="6001"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_4rpcZFufEeWBbOvxypwYWA" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_4rpcZVufEeWBbOvxypwYWA" type="6002"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_4rpcZlufEeWBbOvxypwYWA" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_4rpcZ1ufEeWBbOvxypwYWA" type="6003"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_4rqDcFufEeWBbOvxypwYWA" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_4rqDcVufEeWBbOvxypwYWA" type="6005"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_4rqDclufEeWBbOvxypwYWA" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_4rqDc1ufEeWBbOvxypwYWA" type="6033"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_4rqDdFufEeWBbOvxypwYWA" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_4rqDdVufEeWBbOvxypwYWA" type="6034"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_4rqDdlufEeWBbOvxypwYWA" y="-20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_4rpcYVufEeWBbOvxypwYWA"/> + <element xmi:type="uml:Association" href="model.uml#_4rWhcFufEeWBbOvxypwYWA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_4rpcYlufEeWBbOvxypwYWA" points="[20, -9, -323, -15]$[339, -44, -4, -50]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4sGvYFufEeWBbOvxypwYWA" id="(1.0,0.39)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4sGvYVufEeWBbOvxypwYWA" id="(0.0,0.36)"/> + </edges> + </notation:Diagram> +</xmi:XMI> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/488744/model.notation b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/488744/model.notation index 874f912bdde..6ccde7e1118 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/488744/model.notation +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/488744/model.notation @@ -1,448 +1,448 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML">
- <notation:Diagram xmi:id="_aA0nYP_uEeWeEdC7hbdSmw" type="PapyrusUMLComponentDiagram" name="Component Diagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_bSd1cP_uEeWeEdC7hbdSmw" type="Component_PackagedElementShape">
- <children xmi:type="notation:DecorationNode" xmi:id="_bTGuoP_uEeWeEdC7hbdSmw" type="Component_NameLabel"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_bTGuof_uEeWeEdC7hbdSmw" type="Component_FloatingNameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_bTHVsP_uEeWeEdC7hbdSmw" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_bTH8wP_uEeWeEdC7hbdSmw" type="Component_StructureCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_bTH8wf_uEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_bTH8wv_uEeWeEdC7hbdSmw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_bTUKAP_uEeWeEdC7hbdSmw" type="compartment_shape_display">
- <styles xmi:type="notation:TitleStyle" xmi:id="_bTUxEP_uEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_bTUxEf_uEeWeEdC7hbdSmw"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_b1d00P_uEeWeEdC7hbdSmw" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_b1eb4P_uEeWeEdC7hbdSmw" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_b1eb4f_uEeWeEdC7hbdSmw" x="24" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_b1eb4v_uEeWeEdC7hbdSmw" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_b1eb4__uEeWeEdC7hbdSmw" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_Ansa8P_5EeWeEdC7hbdSmw" name="cssClass">
- <stringListValue>portOnline</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_b0AcQP_uEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_b1d00f_uEeWeEdC7hbdSmw" y="43" width="20" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_2TD4gP_vEeWeEdC7hbdSmw" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_2TD4gv_vEeWeEdC7hbdSmw" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_2TD4g__vEeWeEdC7hbdSmw" x="23" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_2TD4hP_vEeWeEdC7hbdSmw" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_2TD4hf_vEeWeEdC7hbdSmw" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_4dNb4P_vEeWeEdC7hbdSmw" name="cssClass">
- <stringListValue>portInside</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_2TAOIP_vEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2TD4gf_vEeWeEdC7hbdSmw" x="10" y="81" width="20" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_2nZJwP_vEeWeEdC7hbdSmw" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_2nZJwv_vEeWeEdC7hbdSmw" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_2nZJw__vEeWeEdC7hbdSmw" x="23" y="4"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_2nZJxP_vEeWeEdC7hbdSmw" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_2nZJxf_vEeWeEdC7hbdSmw" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_5Qf6AP_vEeWeEdC7hbdSmw" name="cssClass">
- <stringListValue>portOutside</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_2nOKoP_vEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2nZJwf_vEeWeEdC7hbdSmw" x="-9" y="116" width="20" height="20"/>
- </children>
- <element xmi:type="uml:Component" href="model.uml#_bSWgsP_uEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_bSd1cf_uEeWeEdC7hbdSmw" x="268" y="111" width="193" height="145"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_UVLLoBXFEeaQOqKbZy9Uvg" type="Component_PackagedElementShape">
- <children xmi:type="notation:DecorationNode" xmi:id="_UVdfgBXFEeaQOqKbZy9Uvg" type="Component_NameLabel"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_UVdfgRXFEeaQOqKbZy9Uvg" type="Component_FloatingNameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_UVdfghXFEeaQOqKbZy9Uvg" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_UVeGkBXFEeaQOqKbZy9Uvg" type="Component_StructureCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_UVeGkRXFEeaQOqKbZy9Uvg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UVeGkhXFEeaQOqKbZy9Uvg"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_UVmCYBXFEeaQOqKbZy9Uvg" type="compartment_shape_display">
- <styles xmi:type="notation:TitleStyle" xmi:id="_UVmCYRXFEeaQOqKbZy9Uvg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UVmCYhXFEeaQOqKbZy9Uvg"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_U9UJsBXFEeaQOqKbZy9Uvg" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_U9UJshXFEeaQOqKbZy9Uvg" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_U9UJsxXFEeaQOqKbZy9Uvg" x="23" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_U9UwwBXFEeaQOqKbZy9Uvg" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_U9Wl8BXFEeaQOqKbZy9Uvg" x="25" y="-10"/>
- </children>
- <element xmi:type="uml:Port" href="model.uml#_U89kYBXFEeaQOqKbZy9Uvg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U9UJsRXFEeaQOqKbZy9Uvg" x="269" y="-10" width="20" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_V5lksBXFEeaQOqKbZy9Uvg" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_V5lkshXFEeaQOqKbZy9Uvg" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_V5lksxXFEeaQOqKbZy9Uvg" x="23" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_V5mLwBXFEeaQOqKbZy9Uvg" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_V5mLwRXFEeaQOqKbZy9Uvg" x="25" y="-10"/>
- </children>
- <element xmi:type="uml:Port" href="model.uml#_V5W7MBXFEeaQOqKbZy9Uvg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_V5lksRXFEeaQOqKbZy9Uvg" x="269" y="163" width="20" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_WuQi4BXFEeaQOqKbZy9Uvg" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_WuRJ8RXFEeaQOqKbZy9Uvg" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_WuRJ8hXFEeaQOqKbZy9Uvg" x="23" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_WuRJ8xXFEeaQOqKbZy9Uvg" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_WuRJ9BXFEeaQOqKbZy9Uvg" x="25" y="-10"/>
- </children>
- <element xmi:type="uml:Port" href="model.uml#_Wt26QBXFEeaQOqKbZy9Uvg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WuRJ8BXFEeaQOqKbZy9Uvg" x="-10" y="-10" width="20" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_X45KABXFEeaQOqKbZy9Uvg" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_X45KAhXFEeaQOqKbZy9Uvg" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_X45KAxXFEeaQOqKbZy9Uvg" x="23" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_X45KBBXFEeaQOqKbZy9Uvg" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_X45KBRXFEeaQOqKbZy9Uvg" x="25" y="-10"/>
- </children>
- <element xmi:type="uml:Port" href="model.uml#_X4ruoBXFEeaQOqKbZy9Uvg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X45KARXFEeaQOqKbZy9Uvg" x="-10" y="163" width="20" height="20"/>
- </children>
- <element xmi:type="uml:Component" href="model.uml#_UUSa0BXFEeaQOqKbZy9Uvg"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UVLLoRXFEeaQOqKbZy9Uvg" x="732" y="128" width="279" height="173"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_iDb5IBXKEeajjfMdXxCzwA" type="Component_PackagedElementShape">
- <children xmi:type="notation:DecorationNode" xmi:id="_iDcgMRXKEeajjfMdXxCzwA" type="Component_NameLabel"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_iDcgMhXKEeajjfMdXxCzwA" type="Component_FloatingNameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_iDcgMxXKEeajjfMdXxCzwA" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_iDdHQBXKEeajjfMdXxCzwA" type="Component_StructureCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_iDdHQRXKEeajjfMdXxCzwA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iDdHQhXKEeajjfMdXxCzwA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_iDotcBXKEeajjfMdXxCzwA" type="compartment_shape_display">
- <styles xmi:type="notation:TitleStyle" xmi:id="_iDotcRXKEeajjfMdXxCzwA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iDotchXKEeajjfMdXxCzwA"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_iYotEBXKEeajjfMdXxCzwA" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_iYpUIBXKEeajjfMdXxCzwA" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_iYpUIRXKEeajjfMdXxCzwA" x="20" y="5"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_iYpUIhXKEeajjfMdXxCzwA" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_iYpUIxXKEeajjfMdXxCzwA" x="25" y="-10"/>
- </children>
- <element xmi:type="uml:Port" href="model.uml#_iYN2UBXKEeajjfMdXxCzwA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iYotERXKEeajjfMdXxCzwA" x="248" y="19" width="20" height="20"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_lDbn8BXhEea6WZN2jvL3hg" name="cssClass">
- <stringListValue>isOval</stringListValue>
- </styles>
- <element xmi:type="uml:Component" href="model.uml#_iDYOwBXKEeajjfMdXxCzwA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iDcgMBXKEeajjfMdXxCzwA" x="557" y="398" width="292" height="161"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_nzpkQBXKEeajjfMdXxCzwA" type="Component_PackagedElementShape">
- <children xmi:type="notation:DecorationNode" xmi:id="_nzqLUBXKEeajjfMdXxCzwA" type="Component_NameLabel"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_nzqLURXKEeajjfMdXxCzwA" type="Component_FloatingNameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_nzqLUhXKEeajjfMdXxCzwA" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_nzqLUxXKEeajjfMdXxCzwA" type="Component_StructureCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_nzqLVBXKEeajjfMdXxCzwA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nzqLVRXKEeajjfMdXxCzwA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_nzyHIBXKEeajjfMdXxCzwA" type="compartment_shape_display">
- <styles xmi:type="notation:TitleStyle" xmi:id="_nzyHIRXKEeajjfMdXxCzwA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nzyHIhXKEeajjfMdXxCzwA"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_phV1IBXKEeajjfMdXxCzwA" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_phWcMBXKEeajjfMdXxCzwA" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_phWcMRXKEeajjfMdXxCzwA" x="22" y="1"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_phWcMhXKEeajjfMdXxCzwA" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_phWcMxXKEeajjfMdXxCzwA" x="25" y="-10"/>
- </children>
- <element xmi:type="uml:Port" href="model.uml#_phLdEBXKEeajjfMdXxCzwA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_phV1IRXKEeajjfMdXxCzwA" x="256" y="-10" width="20" height="20"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_j1q0UBXhEea6WZN2jvL3hg" name="cssClass">
- <stringListValue>isPackage</stringListValue>
- </styles>
- <element xmi:type="uml:Component" href="model.uml#_nznvEBXKEeajjfMdXxCzwA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nzpkQRXKEeajjfMdXxCzwA" x="84" y="389" width="350" height="149"/>
- </children>
- <styles xmi:type="notation:StringValueStyle" xmi:id="_aA0nYf_uEeWeEdC7hbdSmw" name="diagram_compatibility_version" stringValue="1.2.0"/>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_aA0nYv_uEeWeEdC7hbdSmw"/>
- <styles xmi:type="style:PapyrusViewStyle" xmi:id="_aA0nY__uEeWeEdC7hbdSmw">
- <owner xmi:type="uml:Model" href="model.uml#_Z_d8gP_uEeWeEdC7hbdSmw"/>
- </styles>
- <element xmi:type="uml:Model" href="model.uml#_Z_d8gP_uEeWeEdC7hbdSmw"/>
- </notation:Diagram>
- <notation:Diagram xmi:id="_aBFGEP_uEeWeEdC7hbdSmw" type="CompositeStructure" name="Composite Diagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_hv8PMP_uEeWeEdC7hbdSmw" type="Class_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_hv8PMv_uEeWeEdC7hbdSmw" type="Class_NameLabel"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_hv82QP_uEeWeEdC7hbdSmw" type="Class_FloatingNameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_hv82Qf_uEeWeEdC7hbdSmw" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_hv82Qv_uEeWeEdC7hbdSmw" type="Class_StructureCompartment">
- <children xmi:type="notation:Shape" xmi:id="_iKXhYP_uEeWeEdC7hbdSmw" type="Property_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_iKXhYv_uEeWeEdC7hbdSmw" type="Property_NameLabel"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_iKXhY__uEeWeEdC7hbdSmw" type="Property_FloatingNameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_iKXhZP_uEeWeEdC7hbdSmw" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_iKZ9oP_uEeWeEdC7hbdSmw" type="Property_StructureCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_iKZ9of_uEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iKZ9ov_uEeWeEdC7hbdSmw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_iNHTYP_uEeWeEdC7hbdSmw" type="compartment_shape_display">
- <styles xmi:type="notation:TitleStyle" xmi:id="_iNHTYf_uEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iNHTYv_uEeWeEdC7hbdSmw"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_yI494BaHEeaWc-G5enLUZQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_yI494haHEeaWc-G5enLUZQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_yI494xaHEeaWc-G5enLUZQ" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_yI495BaHEeaWc-G5enLUZQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_yI495RaHEeaWc-G5enLUZQ" x="25" y="-10"/>
- </children>
- <element xmi:type="uml:Port" href="model.uml#_yIq7cBaHEeaWc-G5enLUZQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yI494RaHEeaWc-G5enLUZQ" x="-10" y="57" width="20" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_1T-Z0BaHEeaWc-G5enLUZQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_1T_A4BaHEeaWc-G5enLUZQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_1T_A4RaHEeaWc-G5enLUZQ" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_1T_A4haHEeaWc-G5enLUZQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_1T_A4xaHEeaWc-G5enLUZQ" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_7GaSgBaHEeaWc-G5enLUZQ" name="cssClass">
- <stringListValue>portInside</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_1T128BaHEeaWc-G5enLUZQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1T-Z0RaHEeaWc-G5enLUZQ" y="85" width="20" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_3c_UwBaHEeaWc-G5enLUZQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_3c_UwhaHEeaWc-G5enLUZQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_3c_UwxaHEeaWc-G5enLUZQ" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_3c_UxBaHEeaWc-G5enLUZQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_3c_UxRaHEeaWc-G5enLUZQ" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_8TtMEBaHEeaWc-G5enLUZQ" name="cssClass">
- <stringListValue>portOutside</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_3c2x4BaHEeaWc-G5enLUZQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3c_UwRaHEeaWc-G5enLUZQ" x="-10" y="111" width="20" height="20"/>
- </children>
- <element xmi:type="uml:Property" href="model.uml#_iKTP8P_uEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iKXhYf_uEeWeEdC7hbdSmw" x="252" y="22" width="238" height="161"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_hv82Q__uEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hv82RP_uEeWeEdC7hbdSmw"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_hxYZoP_uEeWeEdC7hbdSmw" type="compartment_shape_display">
- <styles xmi:type="notation:TitleStyle" xmi:id="_hxYZof_uEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hxYZov_uEeWeEdC7hbdSmw"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_ilQtoP_uEeWeEdC7hbdSmw" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_ilQtov_uEeWeEdC7hbdSmw" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ilQto__uEeWeEdC7hbdSmw" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_ilQtpP_uEeWeEdC7hbdSmw" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ilQtpf_uEeWeEdC7hbdSmw" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_zUvGMP_vEeWeEdC7hbdSmw" name="cssClass">
- <stringListValue>portOnline</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_ilKnAP_uEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ilQtof_uEeWeEdC7hbdSmw" y="86" width="20" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_uKmjoP_vEeWeEdC7hbdSmw" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_uKo_4P_vEeWeEdC7hbdSmw" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_uKo_4f_vEeWeEdC7hbdSmw" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_uKpm8P_vEeWeEdC7hbdSmw" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_uKpm8f_vEeWeEdC7hbdSmw" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_z8NV4P_vEeWeEdC7hbdSmw" name="cssClass">
- <stringListValue>portInside</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_uKVd4P_vEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uKmjof_vEeWeEdC7hbdSmw" x="10" y="118" width="20" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_ufB7gP_vEeWeEdC7hbdSmw" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_ufCikP_vEeWeEdC7hbdSmw" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ufCikf_vEeWeEdC7hbdSmw" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_ufCikv_vEeWeEdC7hbdSmw" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_ufCik__vEeWeEdC7hbdSmw" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_0n-2wP_vEeWeEdC7hbdSmw" name="cssClass">
- <stringListValue>portOutside</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_ue7N0P_vEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ufB7gf_vEeWeEdC7hbdSmw" x="-9" y="152" width="20" height="20"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_hv5y8P_uEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hv8PMf_uEeWeEdC7hbdSmw" x="96" y="86" width="575" height="234"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_rfKrkBX9EeaWc-G5enLUZQ" type="Class_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_rfKrkRX9EeaWc-G5enLUZQ" type="Class_NameLabel"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_rfKrkhX9EeaWc-G5enLUZQ" type="Class_FloatingNameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_rfKrkxX9EeaWc-G5enLUZQ" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_rfKrlBX9EeaWc-G5enLUZQ" type="Class_StructureCompartment">
- <children xmi:type="notation:Shape" xmi:id="_rfKrlRX9EeaWc-G5enLUZQ" type="Property_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_rfKrlhX9EeaWc-G5enLUZQ" type="Property_NameLabel"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_rfKrlxX9EeaWc-G5enLUZQ" type="Property_FloatingNameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_rfKrmBX9EeaWc-G5enLUZQ" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_rfKrmRX9EeaWc-G5enLUZQ" type="Property_StructureCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_rfKrmhX9EeaWc-G5enLUZQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfKrmxX9EeaWc-G5enLUZQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_rfKrnBX9EeaWc-G5enLUZQ" type="compartment_shape_display">
- <styles xmi:type="notation:TitleStyle" xmi:id="_rfKrnRX9EeaWc-G5enLUZQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfKrnhX9EeaWc-G5enLUZQ"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_rfKrnxX9EeaWc-G5enLUZQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_rfKroBX9EeaWc-G5enLUZQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_rfKroRX9EeaWc-G5enLUZQ" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_rfKrohX9EeaWc-G5enLUZQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSoBX9EeaWc-G5enLUZQ" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_rfLSoRX9EeaWc-G5enLUZQ" name="cssClass">
- <stringListValue>portOnline</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_nnSdEP_uEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSohX9EeaWc-G5enLUZQ" x="-11" y="52" width="53" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_rfLSoxX9EeaWc-G5enLUZQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_rfLSpBX9EeaWc-G5enLUZQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSpRX9EeaWc-G5enLUZQ" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_rfLSphX9EeaWc-G5enLUZQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSpxX9EeaWc-G5enLUZQ" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_rfLSqBX9EeaWc-G5enLUZQ" name="cssClass">
- <stringListValue>portInside</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_tM6zYP_vEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSqRX9EeaWc-G5enLUZQ" x="-1" y="93" width="45" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_rfLSqhX9EeaWc-G5enLUZQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_rfLSqxX9EeaWc-G5enLUZQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSrBX9EeaWc-G5enLUZQ" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_rfLSrRX9EeaWc-G5enLUZQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSrhX9EeaWc-G5enLUZQ" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_rfLSrxX9EeaWc-G5enLUZQ" name="cssClass">
- <stringListValue>portOutside</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_tmei4P_vEeWeEdC7hbdSmw"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSsBX9EeaWc-G5enLUZQ" x="-52" y="130" width="52" height="20"/>
- </children>
- <element xmi:type="uml:Property" href="model.uml#_rfKEgRX9EeaWc-G5enLUZQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSsRX9EeaWc-G5enLUZQ" x="252" y="22" width="238" height="161"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_rfLSshX9EeaWc-G5enLUZQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSsxX9EeaWc-G5enLUZQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_rfLStBX9EeaWc-G5enLUZQ" type="compartment_shape_display">
- <styles xmi:type="notation:TitleStyle" xmi:id="_rfLStRX9EeaWc-G5enLUZQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSthX9EeaWc-G5enLUZQ"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_rfLStxX9EeaWc-G5enLUZQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_rfLSuBX9EeaWc-G5enLUZQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSuRX9EeaWc-G5enLUZQ" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_rfLSuhX9EeaWc-G5enLUZQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSuxX9EeaWc-G5enLUZQ" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_rfLSvBX9EeaWc-G5enLUZQ" name="cssClass">
- <stringListValue>portOnline</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_rfKEghX9EeaWc-G5enLUZQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSvRX9EeaWc-G5enLUZQ" x="-46" y="85" width="55" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_rfLSvhX9EeaWc-G5enLUZQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_rfLSvxX9EeaWc-G5enLUZQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSwBX9EeaWc-G5enLUZQ" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_rfLSwRX9EeaWc-G5enLUZQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSwhX9EeaWc-G5enLUZQ" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_rfLSwxX9EeaWc-G5enLUZQ" name="cssClass">
- <stringListValue>portInside</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_rfKEgxX9EeaWc-G5enLUZQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSxBX9EeaWc-G5enLUZQ" x="-1" y="117" width="49" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_rfLSxRX9EeaWc-G5enLUZQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_rfLSxhX9EeaWc-G5enLUZQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSxxX9EeaWc-G5enLUZQ" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_rfLSyBX9EeaWc-G5enLUZQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSyRX9EeaWc-G5enLUZQ" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_rfLSyhX9EeaWc-G5enLUZQ" name="cssClass">
- <stringListValue>portOutside</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_rfKEhBX9EeaWc-G5enLUZQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSyxX9EeaWc-G5enLUZQ" x="-48" y="151" width="48" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_Ql06EBaLEeaWc-G5enLUZQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_Ql1hIBaLEeaWc-G5enLUZQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_Ql1hIRaLEeaWc-G5enLUZQ" x="-80" y="-20"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_Ql1hIhaLEeaWc-G5enLUZQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_Ql1hIxaLEeaWc-G5enLUZQ" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_X0v-4BaLEeaWc-G5enLUZQ" name="cssClass">
- <stringListValue>portInside</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_QldGoBaLEeaWc-G5enLUZQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ql06ERaLEeaWc-G5enLUZQ" x="17" y="-11" width="20" height="49"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_RTsssBaLEeaWc-G5enLUZQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_RTssshaLEeaWc-G5enLUZQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_RTsssxaLEeaWc-G5enLUZQ" x="-93" y="-18"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_RTtTwBaLEeaWc-G5enLUZQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_RTtTwRaLEeaWc-G5enLUZQ" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_ZEiLwBaLEeaWc-G5enLUZQ" name="cssClass">
- <stringListValue>portOnline</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_RTjiwBaLEeaWc-G5enLUZQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RTsssRaLEeaWc-G5enLUZQ" x="159" y="-11" width="20" height="46"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_TGHFgBaLEeaWc-G5enLUZQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_TGHFghaLEeaWc-G5enLUZQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_TGHFgxaLEeaWc-G5enLUZQ" x="-95" y="-16"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_TGHskBaLEeaWc-G5enLUZQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_TGHskRaLEeaWc-G5enLUZQ" x="25" y="-10"/>
- </children>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_aEUNwBaLEeaWc-G5enLUZQ" name="cssClass">
- <stringListValue>portOutside</stringListValue>
- </styles>
- <element xmi:type="uml:Port" href="model.uml#_TF97kBaLEeaWc-G5enLUZQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_TGHFgRaLEeaWc-G5enLUZQ" x="436" y="6" width="20" height="20"/>
- </children>
- <element xmi:type="uml:Class" href="model.uml#_rfKEgBX9EeaWc-G5enLUZQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSzBX9EeaWc-G5enLUZQ" x="754" y="82" width="575" height="234"/>
- </children>
- <styles xmi:type="notation:StringValueStyle" xmi:id="_aBFGEf_uEeWeEdC7hbdSmw" name="diagram_compatibility_version" stringValue="1.2.0"/>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_aBFGEv_uEeWeEdC7hbdSmw"/>
- <styles xmi:type="style:PapyrusViewStyle" xmi:id="_aBFGE__uEeWeEdC7hbdSmw">
- <owner xmi:type="uml:Model" href="model.uml#_Z_d8gP_uEeWeEdC7hbdSmw"/>
- </styles>
- <styles xmi:type="notation:EObjectListValueStyle" xmi:id="_oehxoP_vEeWeEdC7hbdSmw" name="css_stylesheets"/>
- <element xmi:type="uml:Model" href="model.uml#_Z_d8gP_uEeWeEdC7hbdSmw"/>
- </notation:Diagram>
- <css:ModelStyleSheets xmi:id="_p__kYP_vEeWeEdC7hbdSmw">
- <stylesheets xmi:type="css:StyleSheetReference" xmi:id="_od5fgP_vEeWeEdC7hbdSmw" path="/org.eclipse.papyrus.uml.diagram.common.tests/resources/488744/style.css"/>
- </css:ModelStyleSheets>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> + <notation:Diagram xmi:id="_aA0nYP_uEeWeEdC7hbdSmw" type="PapyrusUMLComponentDiagram" name="Component Diagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_bSd1cP_uEeWeEdC7hbdSmw" type="Component_PackagedElementShape"> + <children xmi:type="notation:DecorationNode" xmi:id="_bTGuoP_uEeWeEdC7hbdSmw" type="Component_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_bTGuof_uEeWeEdC7hbdSmw" type="Component_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_bTHVsP_uEeWeEdC7hbdSmw" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_bTH8wP_uEeWeEdC7hbdSmw" type="Component_StructureCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_bTH8wf_uEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_bTH8wv_uEeWeEdC7hbdSmw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_bTUKAP_uEeWeEdC7hbdSmw" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_bTUxEP_uEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_bTUxEf_uEeWeEdC7hbdSmw"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_b1d00P_uEeWeEdC7hbdSmw" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_b1eb4P_uEeWeEdC7hbdSmw" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_b1eb4f_uEeWeEdC7hbdSmw" x="24" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_b1eb4v_uEeWeEdC7hbdSmw" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_b1eb4__uEeWeEdC7hbdSmw" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_Ansa8P_5EeWeEdC7hbdSmw" name="cssClass"> + <stringListValue>portOnline</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_b0AcQP_uEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_b1d00f_uEeWeEdC7hbdSmw" y="43" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_2TD4gP_vEeWeEdC7hbdSmw" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_2TD4gv_vEeWeEdC7hbdSmw" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_2TD4g__vEeWeEdC7hbdSmw" x="23" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_2TD4hP_vEeWeEdC7hbdSmw" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_2TD4hf_vEeWeEdC7hbdSmw" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_4dNb4P_vEeWeEdC7hbdSmw" name="cssClass"> + <stringListValue>portInside</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_2TAOIP_vEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2TD4gf_vEeWeEdC7hbdSmw" x="10" y="81" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_2nZJwP_vEeWeEdC7hbdSmw" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_2nZJwv_vEeWeEdC7hbdSmw" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_2nZJw__vEeWeEdC7hbdSmw" x="23" y="4"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_2nZJxP_vEeWeEdC7hbdSmw" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_2nZJxf_vEeWeEdC7hbdSmw" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_5Qf6AP_vEeWeEdC7hbdSmw" name="cssClass"> + <stringListValue>portOutside</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_2nOKoP_vEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2nZJwf_vEeWeEdC7hbdSmw" x="-9" y="116" width="20" height="20"/> + </children> + <element xmi:type="uml:Component" href="model.uml#_bSWgsP_uEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_bSd1cf_uEeWeEdC7hbdSmw" x="268" y="111" width="193" height="145"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_UVLLoBXFEeaQOqKbZy9Uvg" type="Component_PackagedElementShape"> + <children xmi:type="notation:DecorationNode" xmi:id="_UVdfgBXFEeaQOqKbZy9Uvg" type="Component_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_UVdfgRXFEeaQOqKbZy9Uvg" type="Component_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_UVdfghXFEeaQOqKbZy9Uvg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_UVeGkBXFEeaQOqKbZy9Uvg" type="Component_StructureCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_UVeGkRXFEeaQOqKbZy9Uvg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UVeGkhXFEeaQOqKbZy9Uvg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_UVmCYBXFEeaQOqKbZy9Uvg" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_UVmCYRXFEeaQOqKbZy9Uvg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UVmCYhXFEeaQOqKbZy9Uvg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_U9UJsBXFEeaQOqKbZy9Uvg" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_U9UJshXFEeaQOqKbZy9Uvg" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_U9UJsxXFEeaQOqKbZy9Uvg" x="23" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_U9UwwBXFEeaQOqKbZy9Uvg" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_U9Wl8BXFEeaQOqKbZy9Uvg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_U89kYBXFEeaQOqKbZy9Uvg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U9UJsRXFEeaQOqKbZy9Uvg" x="269" y="-10" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_V5lksBXFEeaQOqKbZy9Uvg" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_V5lkshXFEeaQOqKbZy9Uvg" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_V5lksxXFEeaQOqKbZy9Uvg" x="23" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_V5mLwBXFEeaQOqKbZy9Uvg" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_V5mLwRXFEeaQOqKbZy9Uvg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_V5W7MBXFEeaQOqKbZy9Uvg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_V5lksRXFEeaQOqKbZy9Uvg" x="269" y="163" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_WuQi4BXFEeaQOqKbZy9Uvg" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_WuRJ8RXFEeaQOqKbZy9Uvg" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WuRJ8hXFEeaQOqKbZy9Uvg" x="23" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_WuRJ8xXFEeaQOqKbZy9Uvg" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WuRJ9BXFEeaQOqKbZy9Uvg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_Wt26QBXFEeaQOqKbZy9Uvg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WuRJ8BXFEeaQOqKbZy9Uvg" x="-10" y="-10" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_X45KABXFEeaQOqKbZy9Uvg" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_X45KAhXFEeaQOqKbZy9Uvg" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_X45KAxXFEeaQOqKbZy9Uvg" x="23" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_X45KBBXFEeaQOqKbZy9Uvg" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_X45KBRXFEeaQOqKbZy9Uvg" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_X4ruoBXFEeaQOqKbZy9Uvg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X45KARXFEeaQOqKbZy9Uvg" x="-10" y="163" width="20" height="20"/> + </children> + <element xmi:type="uml:Component" href="model.uml#_UUSa0BXFEeaQOqKbZy9Uvg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UVLLoRXFEeaQOqKbZy9Uvg" x="732" y="128" width="279" height="173"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_iDb5IBXKEeajjfMdXxCzwA" type="Component_PackagedElementShape"> + <children xmi:type="notation:DecorationNode" xmi:id="_iDcgMRXKEeajjfMdXxCzwA" type="Component_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_iDcgMhXKEeajjfMdXxCzwA" type="Component_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_iDcgMxXKEeajjfMdXxCzwA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_iDdHQBXKEeajjfMdXxCzwA" type="Component_StructureCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_iDdHQRXKEeajjfMdXxCzwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iDdHQhXKEeajjfMdXxCzwA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_iDotcBXKEeajjfMdXxCzwA" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_iDotcRXKEeajjfMdXxCzwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iDotchXKEeajjfMdXxCzwA"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_iYotEBXKEeajjfMdXxCzwA" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_iYpUIBXKEeajjfMdXxCzwA" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_iYpUIRXKEeajjfMdXxCzwA" x="20" y="5"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_iYpUIhXKEeajjfMdXxCzwA" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_iYpUIxXKEeajjfMdXxCzwA" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_iYN2UBXKEeajjfMdXxCzwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iYotERXKEeajjfMdXxCzwA" x="248" y="19" width="20" height="20"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_lDbn8BXhEea6WZN2jvL3hg" name="cssClass"> + <stringListValue>isOval</stringListValue> + </styles> + <element xmi:type="uml:Component" href="model.uml#_iDYOwBXKEeajjfMdXxCzwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iDcgMBXKEeajjfMdXxCzwA" x="557" y="398" width="292" height="161"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_nzpkQBXKEeajjfMdXxCzwA" type="Component_PackagedElementShape"> + <children xmi:type="notation:DecorationNode" xmi:id="_nzqLUBXKEeajjfMdXxCzwA" type="Component_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_nzqLURXKEeajjfMdXxCzwA" type="Component_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_nzqLUhXKEeajjfMdXxCzwA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_nzqLUxXKEeajjfMdXxCzwA" type="Component_StructureCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_nzqLVBXKEeajjfMdXxCzwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nzqLVRXKEeajjfMdXxCzwA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_nzyHIBXKEeajjfMdXxCzwA" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_nzyHIRXKEeajjfMdXxCzwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nzyHIhXKEeajjfMdXxCzwA"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_phV1IBXKEeajjfMdXxCzwA" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_phWcMBXKEeajjfMdXxCzwA" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_phWcMRXKEeajjfMdXxCzwA" x="22" y="1"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_phWcMhXKEeajjfMdXxCzwA" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_phWcMxXKEeajjfMdXxCzwA" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_phLdEBXKEeajjfMdXxCzwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_phV1IRXKEeajjfMdXxCzwA" x="256" y="-10" width="20" height="20"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_j1q0UBXhEea6WZN2jvL3hg" name="cssClass"> + <stringListValue>isPackage</stringListValue> + </styles> + <element xmi:type="uml:Component" href="model.uml#_nznvEBXKEeajjfMdXxCzwA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nzpkQRXKEeajjfMdXxCzwA" x="84" y="389" width="350" height="149"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_aA0nYf_uEeWeEdC7hbdSmw" name="diagram_compatibility_version" stringValue="1.2.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_aA0nYv_uEeWeEdC7hbdSmw"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_aA0nY__uEeWeEdC7hbdSmw"> + <owner xmi:type="uml:Model" href="model.uml#_Z_d8gP_uEeWeEdC7hbdSmw"/> + </styles> + <element xmi:type="uml:Model" href="model.uml#_Z_d8gP_uEeWeEdC7hbdSmw"/> + </notation:Diagram> + <notation:Diagram xmi:id="_aBFGEP_uEeWeEdC7hbdSmw" type="CompositeStructure" name="Composite Diagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_hv8PMP_uEeWeEdC7hbdSmw" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_hv8PMv_uEeWeEdC7hbdSmw" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_hv82QP_uEeWeEdC7hbdSmw" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_hv82Qf_uEeWeEdC7hbdSmw" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_hv82Qv_uEeWeEdC7hbdSmw" type="Class_StructureCompartment"> + <children xmi:type="notation:Shape" xmi:id="_iKXhYP_uEeWeEdC7hbdSmw" type="Property_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_iKXhYv_uEeWeEdC7hbdSmw" type="Property_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_iKXhY__uEeWeEdC7hbdSmw" type="Property_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_iKXhZP_uEeWeEdC7hbdSmw" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_iKZ9oP_uEeWeEdC7hbdSmw" type="Property_StructureCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_iKZ9of_uEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iKZ9ov_uEeWeEdC7hbdSmw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_iNHTYP_uEeWeEdC7hbdSmw" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_iNHTYf_uEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iNHTYv_uEeWeEdC7hbdSmw"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_yI494BaHEeaWc-G5enLUZQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_yI494haHEeaWc-G5enLUZQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_yI494xaHEeaWc-G5enLUZQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_yI495BaHEeaWc-G5enLUZQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_yI495RaHEeaWc-G5enLUZQ" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_yIq7cBaHEeaWc-G5enLUZQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yI494RaHEeaWc-G5enLUZQ" x="-10" y="57" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_1T-Z0BaHEeaWc-G5enLUZQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_1T_A4BaHEeaWc-G5enLUZQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_1T_A4RaHEeaWc-G5enLUZQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_1T_A4haHEeaWc-G5enLUZQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_1T_A4xaHEeaWc-G5enLUZQ" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_7GaSgBaHEeaWc-G5enLUZQ" name="cssClass"> + <stringListValue>portInside</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_1T128BaHEeaWc-G5enLUZQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_1T-Z0RaHEeaWc-G5enLUZQ" y="85" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_3c_UwBaHEeaWc-G5enLUZQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_3c_UwhaHEeaWc-G5enLUZQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3c_UwxaHEeaWc-G5enLUZQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_3c_UxBaHEeaWc-G5enLUZQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3c_UxRaHEeaWc-G5enLUZQ" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_8TtMEBaHEeaWc-G5enLUZQ" name="cssClass"> + <stringListValue>portOutside</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_3c2x4BaHEeaWc-G5enLUZQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3c_UwRaHEeaWc-G5enLUZQ" x="-10" y="111" width="20" height="20"/> + </children> + <element xmi:type="uml:Property" href="model.uml#_iKTP8P_uEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iKXhYf_uEeWeEdC7hbdSmw" x="252" y="22" width="238" height="161"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_hv82Q__uEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hv82RP_uEeWeEdC7hbdSmw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_hxYZoP_uEeWeEdC7hbdSmw" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_hxYZof_uEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hxYZov_uEeWeEdC7hbdSmw"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_ilQtoP_uEeWeEdC7hbdSmw" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_ilQtov_uEeWeEdC7hbdSmw" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ilQto__uEeWeEdC7hbdSmw" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_ilQtpP_uEeWeEdC7hbdSmw" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ilQtpf_uEeWeEdC7hbdSmw" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_zUvGMP_vEeWeEdC7hbdSmw" name="cssClass"> + <stringListValue>portOnline</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_ilKnAP_uEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ilQtof_uEeWeEdC7hbdSmw" y="86" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_uKmjoP_vEeWeEdC7hbdSmw" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_uKo_4P_vEeWeEdC7hbdSmw" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_uKo_4f_vEeWeEdC7hbdSmw" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_uKpm8P_vEeWeEdC7hbdSmw" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_uKpm8f_vEeWeEdC7hbdSmw" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_z8NV4P_vEeWeEdC7hbdSmw" name="cssClass"> + <stringListValue>portInside</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_uKVd4P_vEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uKmjof_vEeWeEdC7hbdSmw" x="10" y="118" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_ufB7gP_vEeWeEdC7hbdSmw" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_ufCikP_vEeWeEdC7hbdSmw" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ufCikf_vEeWeEdC7hbdSmw" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_ufCikv_vEeWeEdC7hbdSmw" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ufCik__vEeWeEdC7hbdSmw" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_0n-2wP_vEeWeEdC7hbdSmw" name="cssClass"> + <stringListValue>portOutside</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_ue7N0P_vEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ufB7gf_vEeWeEdC7hbdSmw" x="-9" y="152" width="20" height="20"/> + </children> + <element xmi:type="uml:Class" href="model.uml#_hv5y8P_uEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hv8PMf_uEeWeEdC7hbdSmw" x="96" y="86" width="575" height="234"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_rfKrkBX9EeaWc-G5enLUZQ" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_rfKrkRX9EeaWc-G5enLUZQ" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_rfKrkhX9EeaWc-G5enLUZQ" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_rfKrkxX9EeaWc-G5enLUZQ" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_rfKrlBX9EeaWc-G5enLUZQ" type="Class_StructureCompartment"> + <children xmi:type="notation:Shape" xmi:id="_rfKrlRX9EeaWc-G5enLUZQ" type="Property_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_rfKrlhX9EeaWc-G5enLUZQ" type="Property_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_rfKrlxX9EeaWc-G5enLUZQ" type="Property_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_rfKrmBX9EeaWc-G5enLUZQ" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_rfKrmRX9EeaWc-G5enLUZQ" type="Property_StructureCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_rfKrmhX9EeaWc-G5enLUZQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfKrmxX9EeaWc-G5enLUZQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_rfKrnBX9EeaWc-G5enLUZQ" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_rfKrnRX9EeaWc-G5enLUZQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfKrnhX9EeaWc-G5enLUZQ"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_rfKrnxX9EeaWc-G5enLUZQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_rfKroBX9EeaWc-G5enLUZQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_rfKroRX9EeaWc-G5enLUZQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_rfKrohX9EeaWc-G5enLUZQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSoBX9EeaWc-G5enLUZQ" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_rfLSoRX9EeaWc-G5enLUZQ" name="cssClass"> + <stringListValue>portOnline</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_nnSdEP_uEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSohX9EeaWc-G5enLUZQ" x="-11" y="52" width="53" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_rfLSoxX9EeaWc-G5enLUZQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_rfLSpBX9EeaWc-G5enLUZQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSpRX9EeaWc-G5enLUZQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_rfLSphX9EeaWc-G5enLUZQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSpxX9EeaWc-G5enLUZQ" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_rfLSqBX9EeaWc-G5enLUZQ" name="cssClass"> + <stringListValue>portInside</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_tM6zYP_vEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSqRX9EeaWc-G5enLUZQ" x="-1" y="93" width="45" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_rfLSqhX9EeaWc-G5enLUZQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_rfLSqxX9EeaWc-G5enLUZQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSrBX9EeaWc-G5enLUZQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_rfLSrRX9EeaWc-G5enLUZQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSrhX9EeaWc-G5enLUZQ" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_rfLSrxX9EeaWc-G5enLUZQ" name="cssClass"> + <stringListValue>portOutside</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_tmei4P_vEeWeEdC7hbdSmw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSsBX9EeaWc-G5enLUZQ" x="-52" y="130" width="52" height="20"/> + </children> + <element xmi:type="uml:Property" href="model.uml#_rfKEgRX9EeaWc-G5enLUZQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSsRX9EeaWc-G5enLUZQ" x="252" y="22" width="238" height="161"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_rfLSshX9EeaWc-G5enLUZQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSsxX9EeaWc-G5enLUZQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_rfLStBX9EeaWc-G5enLUZQ" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_rfLStRX9EeaWc-G5enLUZQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSthX9EeaWc-G5enLUZQ"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_rfLStxX9EeaWc-G5enLUZQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_rfLSuBX9EeaWc-G5enLUZQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSuRX9EeaWc-G5enLUZQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_rfLSuhX9EeaWc-G5enLUZQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSuxX9EeaWc-G5enLUZQ" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_rfLSvBX9EeaWc-G5enLUZQ" name="cssClass"> + <stringListValue>portOnline</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_rfKEghX9EeaWc-G5enLUZQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSvRX9EeaWc-G5enLUZQ" x="-46" y="85" width="55" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_rfLSvhX9EeaWc-G5enLUZQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_rfLSvxX9EeaWc-G5enLUZQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSwBX9EeaWc-G5enLUZQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_rfLSwRX9EeaWc-G5enLUZQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSwhX9EeaWc-G5enLUZQ" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_rfLSwxX9EeaWc-G5enLUZQ" name="cssClass"> + <stringListValue>portInside</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_rfKEgxX9EeaWc-G5enLUZQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSxBX9EeaWc-G5enLUZQ" x="-1" y="117" width="49" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_rfLSxRX9EeaWc-G5enLUZQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_rfLSxhX9EeaWc-G5enLUZQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSxxX9EeaWc-G5enLUZQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_rfLSyBX9EeaWc-G5enLUZQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_rfLSyRX9EeaWc-G5enLUZQ" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_rfLSyhX9EeaWc-G5enLUZQ" name="cssClass"> + <stringListValue>portOutside</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_rfKEhBX9EeaWc-G5enLUZQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSyxX9EeaWc-G5enLUZQ" x="-48" y="151" width="48" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Ql06EBaLEeaWc-G5enLUZQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_Ql1hIBaLEeaWc-G5enLUZQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Ql1hIRaLEeaWc-G5enLUZQ" x="-80" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_Ql1hIhaLEeaWc-G5enLUZQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Ql1hIxaLEeaWc-G5enLUZQ" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_X0v-4BaLEeaWc-G5enLUZQ" name="cssClass"> + <stringListValue>portInside</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_QldGoBaLEeaWc-G5enLUZQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ql06ERaLEeaWc-G5enLUZQ" x="17" y="-11" width="20" height="49"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_RTsssBaLEeaWc-G5enLUZQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_RTssshaLEeaWc-G5enLUZQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_RTsssxaLEeaWc-G5enLUZQ" x="-93" y="-18"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_RTtTwBaLEeaWc-G5enLUZQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_RTtTwRaLEeaWc-G5enLUZQ" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_ZEiLwBaLEeaWc-G5enLUZQ" name="cssClass"> + <stringListValue>portOnline</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_RTjiwBaLEeaWc-G5enLUZQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RTsssRaLEeaWc-G5enLUZQ" x="159" y="-11" width="20" height="46"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_TGHFgBaLEeaWc-G5enLUZQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_TGHFghaLEeaWc-G5enLUZQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_TGHFgxaLEeaWc-G5enLUZQ" x="-95" y="-16"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_TGHskBaLEeaWc-G5enLUZQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_TGHskRaLEeaWc-G5enLUZQ" x="25" y="-10"/> + </children> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_aEUNwBaLEeaWc-G5enLUZQ" name="cssClass"> + <stringListValue>portOutside</stringListValue> + </styles> + <element xmi:type="uml:Port" href="model.uml#_TF97kBaLEeaWc-G5enLUZQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_TGHFgRaLEeaWc-G5enLUZQ" x="436" y="6" width="20" height="20"/> + </children> + <element xmi:type="uml:Class" href="model.uml#_rfKEgBX9EeaWc-G5enLUZQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_rfLSzBX9EeaWc-G5enLUZQ" x="754" y="82" width="575" height="234"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_aBFGEf_uEeWeEdC7hbdSmw" name="diagram_compatibility_version" stringValue="1.2.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_aBFGEv_uEeWeEdC7hbdSmw"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_aBFGE__uEeWeEdC7hbdSmw"> + <owner xmi:type="uml:Model" href="model.uml#_Z_d8gP_uEeWeEdC7hbdSmw"/> + </styles> + <styles xmi:type="notation:EObjectListValueStyle" xmi:id="_oehxoP_vEeWeEdC7hbdSmw" name="css_stylesheets"/> + <element xmi:type="uml:Model" href="model.uml#_Z_d8gP_uEeWeEdC7hbdSmw"/> + </notation:Diagram> + <css:ModelStyleSheets xmi:id="_p__kYP_vEeWeEdC7hbdSmw"> + <stylesheets xmi:type="css:StyleSheetReference" xmi:id="_od5fgP_vEeWeEdC7hbdSmw" path="/org.eclipse.papyrus.uml.diagram.common.tests/resources/488744/style.css"/> + </css:ModelStyleSheets> +</xmi:XMI> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/488744/model.uml b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/488744/model.uml index c6c71101c03..0f58c0eb79f 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/488744/model.uml +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/488744/model.uml @@ -1,41 +1,41 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_Z_d8gP_uEeWeEdC7hbdSmw" name="RootElement">
- <packagedElement xmi:type="uml:Component" xmi:id="_bSWgsP_uEeWeEdC7hbdSmw" name="Component">
- <ownedAttribute xmi:type="uml:Port" xmi:id="_b0AcQP_uEeWeEdC7hbdSmw" name="onlinePort" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_nnSdEP_uEeWeEdC7hbdSmw" name="onlinePort2Resized" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_tM6zYP_vEeWeEdC7hbdSmw" name="insidePort2Resized" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_tmei4P_vEeWeEdC7hbdSmw" name="outsidePort2Resized" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_2TAOIP_vEeWeEdC7hbdSmw" name="insidePort" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_2nOKoP_vEeWeEdC7hbdSmw" name="outsidePort" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_yIq7cBaHEeaWc-G5enLUZQ" name="onlinePort2" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_1T128BaHEeaWc-G5enLUZQ" name="insidePort2" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_3c2x4BaHEeaWc-G5enLUZQ" name="outsidePort2" aggregation="composite"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_hv5y8P_uEeWeEdC7hbdSmw" name="Class">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_iKTP8P_uEeWeEdC7hbdSmw" name="Attribute" type="_bSWgsP_uEeWeEdC7hbdSmw"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_ilKnAP_uEeWeEdC7hbdSmw" name="onlinePort1" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_uKVd4P_vEeWeEdC7hbdSmw" name="insidePort1" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_ue7N0P_vEeWeEdC7hbdSmw" name="outsidePort1" aggregation="composite"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Component" xmi:id="_UUSa0BXFEeaQOqKbZy9Uvg" name="Component4CornerPosition">
- <ownedAttribute xmi:type="uml:Port" xmi:id="_U89kYBXFEeaQOqKbZy9Uvg" name="NEPort" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_V5W7MBXFEeaQOqKbZy9Uvg" name="SEPort" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_Wt26QBXFEeaQOqKbZy9Uvg" name="NWPort" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_X4ruoBXFEeaQOqKbZy9Uvg" name="SWPort" aggregation="composite"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Component" xmi:id="_iDYOwBXKEeajjfMdXxCzwA" name="OvalComponent">
- <ownedAttribute xmi:type="uml:Port" xmi:id="_iYN2UBXKEeajjfMdXxCzwA" name="PortOnOval" aggregation="composite"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Component" xmi:id="_nznvEBXKEeajjfMdXxCzwA" name="PackagedComponent">
- <ownedAttribute xmi:type="uml:Port" xmi:id="_phLdEBXKEeajjfMdXxCzwA" name="PortOnPackage" aggregation="composite"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_rfKEgBX9EeaWc-G5enLUZQ" name="ClassForResizedPort">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_rfKEgRX9EeaWc-G5enLUZQ" name="AttributeForResizedPort" type="_bSWgsP_uEeWeEdC7hbdSmw"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_rfKEghX9EeaWc-G5enLUZQ" name="onlinePort1Resized" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_rfKEgxX9EeaWc-G5enLUZQ" name="insidePort1Resized" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_rfKEhBX9EeaWc-G5enLUZQ" name="outsidePort1Resized" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_QldGoBaLEeaWc-G5enLUZQ" name="topPortInsideResized" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_RTjiwBaLEeaWc-G5enLUZQ" name="topPortOnlineResized" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_TF97kBaLEeaWc-G5enLUZQ" name="topPortOutsideResized" aggregation="composite"/>
- </packagedElement>
-</uml:Model>
+<?xml version="1.0" encoding="UTF-8"?> +<uml:Model xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_Z_d8gP_uEeWeEdC7hbdSmw" name="RootElement"> + <packagedElement xmi:type="uml:Component" xmi:id="_bSWgsP_uEeWeEdC7hbdSmw" name="Component"> + <ownedAttribute xmi:type="uml:Port" xmi:id="_b0AcQP_uEeWeEdC7hbdSmw" name="onlinePort" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_nnSdEP_uEeWeEdC7hbdSmw" name="onlinePort2Resized" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_tM6zYP_vEeWeEdC7hbdSmw" name="insidePort2Resized" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_tmei4P_vEeWeEdC7hbdSmw" name="outsidePort2Resized" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_2TAOIP_vEeWeEdC7hbdSmw" name="insidePort" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_2nOKoP_vEeWeEdC7hbdSmw" name="outsidePort" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_yIq7cBaHEeaWc-G5enLUZQ" name="onlinePort2" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_1T128BaHEeaWc-G5enLUZQ" name="insidePort2" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_3c2x4BaHEeaWc-G5enLUZQ" name="outsidePort2" aggregation="composite"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_hv5y8P_uEeWeEdC7hbdSmw" name="Class"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_iKTP8P_uEeWeEdC7hbdSmw" name="Attribute" type="_bSWgsP_uEeWeEdC7hbdSmw"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_ilKnAP_uEeWeEdC7hbdSmw" name="onlinePort1" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_uKVd4P_vEeWeEdC7hbdSmw" name="insidePort1" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_ue7N0P_vEeWeEdC7hbdSmw" name="outsidePort1" aggregation="composite"/> + </packagedElement> + <packagedElement xmi:type="uml:Component" xmi:id="_UUSa0BXFEeaQOqKbZy9Uvg" name="Component4CornerPosition"> + <ownedAttribute xmi:type="uml:Port" xmi:id="_U89kYBXFEeaQOqKbZy9Uvg" name="NEPort" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_V5W7MBXFEeaQOqKbZy9Uvg" name="SEPort" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_Wt26QBXFEeaQOqKbZy9Uvg" name="NWPort" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_X4ruoBXFEeaQOqKbZy9Uvg" name="SWPort" aggregation="composite"/> + </packagedElement> + <packagedElement xmi:type="uml:Component" xmi:id="_iDYOwBXKEeajjfMdXxCzwA" name="OvalComponent"> + <ownedAttribute xmi:type="uml:Port" xmi:id="_iYN2UBXKEeajjfMdXxCzwA" name="PortOnOval" aggregation="composite"/> + </packagedElement> + <packagedElement xmi:type="uml:Component" xmi:id="_nznvEBXKEeajjfMdXxCzwA" name="PackagedComponent"> + <ownedAttribute xmi:type="uml:Port" xmi:id="_phLdEBXKEeajjfMdXxCzwA" name="PortOnPackage" aggregation="composite"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_rfKEgBX9EeaWc-G5enLUZQ" name="ClassForResizedPort"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_rfKEgRX9EeaWc-G5enLUZQ" name="AttributeForResizedPort" type="_bSWgsP_uEeWeEdC7hbdSmw"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_rfKEghX9EeaWc-G5enLUZQ" name="onlinePort1Resized" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_rfKEgxX9EeaWc-G5enLUZQ" name="insidePort1Resized" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_rfKEhBX9EeaWc-G5enLUZQ" name="outsidePort1Resized" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_QldGoBaLEeaWc-G5enLUZQ" name="topPortInsideResized" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_RTjiwBaLEeaWc-G5enLUZQ" name="topPortOnlineResized" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_TF97kBaLEeaWc-G5enLUZQ" name="topPortOutsideResized" aggregation="composite"/> + </packagedElement> +</uml:Model> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdge.elementtypesconfigurations b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdge.elementtypesconfigurations index 3da1b9494b2..ad986379ecb 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdge.elementtypesconfigurations +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdge.elementtypesconfigurations @@ -1,19 +1,19 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<elementtypesconfigurations:ElementTypeSetConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:stereotypepropertyreferenceedgeadvice="http://www.eclipse.org/papyrus/uml/types/stereotypepropertyreferenceedgeadvice/1.0" xmi:id="_7DidYFWZEeeCtfUULxryEg" identifier="StereotypePropertyReferenceEdgeExample" name="StereotypePropertyReferenceEdgeExample" metamodelNsURI="StereotypePropertyReferenceEdgeExample">
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_GmRm8FfuEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.singlestereotyperef" name="SingleStereotypeRef" hint="StereotypePropertyReferenceEdge">
- <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.StereotypePropertyReferenceEdge"/>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_tmhvYFfuEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.multistereotyperef" name="MultiStereotypeRef" hint="StereotypePropertyReferenceEdge">
- <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.StereotypePropertyReferenceEdge"/>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_t2FOUFfuEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.singleeclassref" name="SingleEClassRef" hint="StereotypePropertyReferenceEdge">
- <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.StereotypePropertyReferenceEdge"/>
- </elementTypeConfigurations>
- <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_t9alYFfuEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.multieclassref" name="MultiEClassRef" hint="StereotypePropertyReferenceEdge">
- <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.StereotypePropertyReferenceEdge"/>
- </elementTypeConfigurations>
- <adviceBindingsConfigurations xsi:type="stereotypepropertyreferenceedgeadvice:StereotypePropertyReferenceEdgeAdviceConfiguration" xmi:id="_Kn6TkFfyEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.singlestereotyperef_1498208326471" target="_GmRm8FfuEeehb73Gpbl1-Q" featureToSet="SingleStereoRef" edgeLabel="SingleStereoRefLabel" stereotypeQualifiedName="StereotypePropertyReferenceEdgeTest::SourceStereotype"/>
- <adviceBindingsConfigurations xsi:type="stereotypepropertyreferenceedgeadvice:StereotypePropertyReferenceEdgeAdviceConfiguration" xmi:id="_R1LLgFfyEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.multistereotyperef_1498208374840" target="_tmhvYFfuEeehb73Gpbl1-Q" featureToSet="MultiStereoRef" edgeLabel="MultiStereoRefLabel" stereotypeQualifiedName="StereotypePropertyReferenceEdgeTest::SourceStereotype"/>
- <adviceBindingsConfigurations xsi:type="stereotypepropertyreferenceedgeadvice:StereotypePropertyReferenceEdgeAdviceConfiguration" xmi:id="_TP-VkFfyEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.singleeclassref_1498208384361" target="_t2FOUFfuEeehb73Gpbl1-Q" featureToSet="SingleEClassRef" edgeLabel="SingleEClassRefLabel" stereotypeQualifiedName="StereotypePropertyReferenceEdgeTest::SourceStereotype"/>
- <adviceBindingsConfigurations xsi:type="stereotypepropertyreferenceedgeadvice:StereotypePropertyReferenceEdgeAdviceConfiguration" xmi:id="_W5bIgFfyEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.multieclassref_1498208408840" target="_t9alYFfuEeehb73Gpbl1-Q" featureToSet="MultiEClassRef" edgeLabel="MultiEClassRefLabel" stereotypeQualifiedName="StereotypePropertyReferenceEdgeTest::SourceStereotype"/>
-</elementtypesconfigurations:ElementTypeSetConfiguration>
+<?xml version="1.0" encoding="UTF-8"?> +<elementtypesconfigurations:ElementTypeSetConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:stereotypepropertyreferenceedgeadvice="http://www.eclipse.org/papyrus/uml/types/stereotypepropertyreferenceedgeadvice/1.0" xmi:id="_7DidYFWZEeeCtfUULxryEg" identifier="StereotypePropertyReferenceEdgeExample" name="StereotypePropertyReferenceEdgeExample" metamodelNsURI="StereotypePropertyReferenceEdgeExample"> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_GmRm8FfuEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.singlestereotyperef" name="SingleStereotypeRef" hint="StereotypePropertyReferenceEdge"> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.StereotypePropertyReferenceEdge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_tmhvYFfuEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.multistereotyperef" name="MultiStereotypeRef" hint="StereotypePropertyReferenceEdge"> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.StereotypePropertyReferenceEdge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_t2FOUFfuEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.singleeclassref" name="SingleEClassRef" hint="StereotypePropertyReferenceEdge"> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.StereotypePropertyReferenceEdge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="_t9alYFfuEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.multieclassref" name="MultiEClassRef" hint="StereotypePropertyReferenceEdge"> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.StereotypePropertyReferenceEdge"/> + </elementTypeConfigurations> + <adviceBindingsConfigurations xsi:type="stereotypepropertyreferenceedgeadvice:StereotypePropertyReferenceEdgeAdviceConfiguration" xmi:id="_Kn6TkFfyEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.singlestereotyperef_1498208326471" target="_GmRm8FfuEeehb73Gpbl1-Q" featureToSet="SingleStereoRef" edgeLabel="SingleStereoRefLabel" stereotypeQualifiedName="StereotypePropertyReferenceEdgeTest::SourceStereotype"/> + <adviceBindingsConfigurations xsi:type="stereotypepropertyreferenceedgeadvice:StereotypePropertyReferenceEdgeAdviceConfiguration" xmi:id="_R1LLgFfyEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.multistereotyperef_1498208374840" target="_tmhvYFfuEeehb73Gpbl1-Q" featureToSet="MultiStereoRef" edgeLabel="MultiStereoRefLabel" stereotypeQualifiedName="StereotypePropertyReferenceEdgeTest::SourceStereotype"/> + <adviceBindingsConfigurations xsi:type="stereotypepropertyreferenceedgeadvice:StereotypePropertyReferenceEdgeAdviceConfiguration" xmi:id="_TP-VkFfyEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.singleeclassref_1498208384361" target="_t2FOUFfuEeehb73Gpbl1-Q" featureToSet="SingleEClassRef" edgeLabel="SingleEClassRefLabel" stereotypeQualifiedName="StereotypePropertyReferenceEdgeTest::SourceStereotype"/> + <adviceBindingsConfigurations xsi:type="stereotypepropertyreferenceedgeadvice:StereotypePropertyReferenceEdgeAdviceConfiguration" xmi:id="_W5bIgFfyEeehb73Gpbl1-Q" identifier="org.eclipse.papyrus.stereotypepropertyreferenceedgetest.multieclassref_1498208408840" target="_t9alYFfuEeehb73Gpbl1-Q" featureToSet="MultiEClassRef" edgeLabel="MultiEClassRefLabel" stereotypeQualifiedName="StereotypePropertyReferenceEdgeTest::SourceStereotype"/> +</elementtypesconfigurations:ElementTypeSetConfiguration> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdge.paletteconfiguration b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdge.paletteconfiguration index ef6e8904f88..2d44ed48482 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdge.paletteconfiguration +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdge.paletteconfiguration @@ -1,25 +1,25 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="Mickael ADAM_1497960935454">
- <drawerConfigurations id="Default_1497960935454" label="Default">
- <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.edges.test.SingleStereotypeRef" label="SingleStereotypeRef" description="" kind="ConnectionTool">
- <elementDescriptors>
- <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="StereotypePropertyReferenceEdge.elementtypesconfigurations#_GmRm8FfuEeehb73Gpbl1-Q"/>
- </elementDescriptors>
- </ownedConfigurations>
- <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.edges.test.MultiStereotypeRef" label="MultiStereotypeRef" description="" kind="ConnectionTool">
- <elementDescriptors>
- <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="StereotypePropertyReferenceEdge.elementtypesconfigurations#_tmhvYFfuEeehb73Gpbl1-Q"/>
- </elementDescriptors>
- </ownedConfigurations>
- <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.edges.test.SingleEclassRef" label="SingleEClassRef" description="" kind="ConnectionTool">
- <elementDescriptors>
- <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="StereotypePropertyReferenceEdge.elementtypesconfigurations#_t2FOUFfuEeehb73Gpbl1-Q"/>
- </elementDescriptors>
- </ownedConfigurations>
- <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.edges.test.MultiEClassRef" label="MultiEClassRef" description="" kind="ConnectionTool">
- <elementDescriptors>
- <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="StereotypePropertyReferenceEdge.elementtypesconfigurations#_t9alYFfuEeehb73Gpbl1-Q"/>
- </elementDescriptors>
- </ownedConfigurations>
- </drawerConfigurations>
-</paletteconfiguration:PaletteConfiguration>
+<?xml version="1.0" encoding="UTF-8"?> +<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="Mickael ADAM_1497960935454"> + <drawerConfigurations id="Default_1497960935454" label="Default"> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.edges.test.SingleStereotypeRef" label="SingleStereotypeRef" description="" kind="ConnectionTool"> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="StereotypePropertyReferenceEdge.elementtypesconfigurations#_GmRm8FfuEeehb73Gpbl1-Q"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.edges.test.MultiStereotypeRef" label="MultiStereotypeRef" description="" kind="ConnectionTool"> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="StereotypePropertyReferenceEdge.elementtypesconfigurations#_tmhvYFfuEeehb73Gpbl1-Q"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.edges.test.SingleEclassRef" label="SingleEClassRef" description="" kind="ConnectionTool"> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="StereotypePropertyReferenceEdge.elementtypesconfigurations#_t2FOUFfuEeehb73Gpbl1-Q"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.edges.test.MultiEClassRef" label="MultiEClassRef" description="" kind="ConnectionTool"> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="StereotypePropertyReferenceEdge.elementtypesconfigurations#_t9alYFfuEeehb73Gpbl1-Q"/> + </elementDescriptors> + </ownedConfigurations> + </drawerConfigurations> +</paletteconfiguration:PaletteConfiguration> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.di b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.di index 08128862c28..8c549eecdc6 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.di +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.di @@ -1,2 +1,2 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<architecture:ArchitectureDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" contextId="org.eclipse.papyrus.infra.services.edit.TypeContext"/>
+<?xml version="1.0" encoding="UTF-8"?> +<architecture:ArchitectureDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" contextId="org.eclipse.papyrus.infra.services.edit.TypeContext"/> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.notation b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.notation index cf560e6cf57..9a5d9d2676c 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.notation +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.notation @@ -1,226 +1,226 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_I5uFoFZAEeeZNqfuXnrULQ" type="PapyrusUMLClassDiagram" name="Class Diagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_FtCfkFfzEeehb73Gpbl1-Q" type="Class_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_FtEUwFfzEeehb73Gpbl1-Q" type="Class_NameLabel"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_FtEUwVfzEeehb73Gpbl1-Q" type="Class_FloatingNameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_FtEUwlfzEeehb73Gpbl1-Q" y="15"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_FtE70FfzEeehb73Gpbl1-Q" type="Class_AttributeCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_FtE70VfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_FtE70lfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_FtE701fzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FtE71FfzEeehb73Gpbl1-Q"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_FtE71VfzEeehb73Gpbl1-Q" type="Class_OperationCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_FtE71lfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_FtE711fzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_FtE72FfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FtE72VfzEeehb73Gpbl1-Q"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_FtE72lfzEeehb73Gpbl1-Q" type="Class_NestedClassifierCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_FtE721fzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_FtE73FfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_FtE73VfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FtE73lfzEeehb73Gpbl1-Q"/>
- </children>
- <element xmi:type="uml:Class" href="StereotypePropertyReferenceEdgeTest.uml#_Fs7x4FfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FtCfkVfzEeehb73Gpbl1-Q" x="140" y="140"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_GEbE0FfzEeehb73Gpbl1-Q" type="Class_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_GEbE0lfzEeehb73Gpbl1-Q" type="Class_NameLabel"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_GEbE01fzEeehb73Gpbl1-Q" type="Class_FloatingNameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_GEbE1FfzEeehb73Gpbl1-Q" y="15"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_GEbE1VfzEeehb73Gpbl1-Q" type="Class_AttributeCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_GEbE1lfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_GEbE11fzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_GEbE2FfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GEbE2VfzEeehb73Gpbl1-Q"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_GEbr4FfzEeehb73Gpbl1-Q" type="Class_OperationCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_GEbr4VfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_GEbr4lfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_GEbr41fzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GEbr5FfzEeehb73Gpbl1-Q"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_GEbr5VfzEeehb73Gpbl1-Q" type="Class_NestedClassifierCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_GEbr5lfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_GEbr51fzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_GEbr6FfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GEbr6VfzEeehb73Gpbl1-Q"/>
- </children>
- <element xmi:type="uml:Class" href="StereotypePropertyReferenceEdgeTest.uml#_GEZPoFfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GEbE0VfzEeehb73Gpbl1-Q" x="140" y="260"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_GsKaQFfzEeehb73Gpbl1-Q" type="Component_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_GsLBUVfzEeehb73Gpbl1-Q" type="Component_NameLabel"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_GsLBUlfzEeehb73Gpbl1-Q" type="Component_FloatingNameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_GsLBU1fzEeehb73Gpbl1-Q" y="15"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_GsLBVFfzEeehb73Gpbl1-Q" type="Component_AttributeCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_GsLBVVfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_GsLBVlfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_GsLBV1fzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GsLBWFfzEeehb73Gpbl1-Q"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_GsLBWVfzEeehb73Gpbl1-Q" type="Component_OperationCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_GsLBWlfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_GsLBW1fzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_GsLBXFfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GsLBXVfzEeehb73Gpbl1-Q"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_GsLoYFfzEeehb73Gpbl1-Q" type="Component_NestedClassifierCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_GsLoYVfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_GsLoYlfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_GsLoY1fzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GsLoZFfzEeehb73Gpbl1-Q"/>
- </children>
- <element xmi:type="uml:Component" href="StereotypePropertyReferenceEdgeTest.uml#_GsJMIFfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GsLBUFfzEeehb73Gpbl1-Q" x="420" y="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_HHaL0FfzEeehb73Gpbl1-Q" type="Component_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_HHay4FfzEeehb73Gpbl1-Q" type="Component_NameLabel"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_HHay4VfzEeehb73Gpbl1-Q" type="Component_FloatingNameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_HHay4lfzEeehb73Gpbl1-Q" y="15"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_HHay41fzEeehb73Gpbl1-Q" type="Component_AttributeCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_HHay5FfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_HHay5VfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_HHay5lfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HHay51fzEeehb73Gpbl1-Q"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_HHay6FfzEeehb73Gpbl1-Q" type="Component_OperationCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_HHay6VfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_HHay6lfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_HHay61fzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HHay7FfzEeehb73Gpbl1-Q"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_HHay7VfzEeehb73Gpbl1-Q" type="Component_NestedClassifierCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_HHay7lfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_HHay71fzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_HHay8FfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HHay8VfzEeehb73Gpbl1-Q"/>
- </children>
- <element xmi:type="uml:Component" href="StereotypePropertyReferenceEdgeTest.uml#_HHY9sFfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HHaL0VfzEeehb73Gpbl1-Q" x="420" y="140"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_IT_6wFfzEeehb73Gpbl1-Q" type="DataType_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_IT_6wlfzEeehb73Gpbl1-Q" type="DataType_NameLabel"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_IT_6w1fzEeehb73Gpbl1-Q" type="DataType_FloatingNameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_IUAh0FfzEeehb73Gpbl1-Q" y="15"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_IUAh0VfzEeehb73Gpbl1-Q" type="DataType_AttributeCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_IUAh0lfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_IUAh01fzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_IUAh1FfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IUAh1VfzEeehb73Gpbl1-Q"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_IUAh1lfzEeehb73Gpbl1-Q" type="DataType_OperationCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_IUAh11fzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_IUAh2FfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_IUAh2VfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IUAh2lfzEeehb73Gpbl1-Q"/>
- </children>
- <element xmi:type="uml:DataType" href="StereotypePropertyReferenceEdgeTest.uml#_IT_TsFfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IT_6wVfzEeehb73Gpbl1-Q" x="420" y="280"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_Iw8VcFfzEeehb73Gpbl1-Q" type="DataType_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_Iw8VclfzEeehb73Gpbl1-Q" type="DataType_NameLabel"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_Iw8Vc1fzEeehb73Gpbl1-Q" type="DataType_FloatingNameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_Iw88gFfzEeehb73Gpbl1-Q" y="15"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_Iw88gVfzEeehb73Gpbl1-Q" type="DataType_AttributeCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_Iw88glfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_Iw88g1fzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_Iw88hFfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Iw88hVfzEeehb73Gpbl1-Q"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_Iw88hlfzEeehb73Gpbl1-Q" type="DataType_OperationCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_Iw88h1fzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_Iw88iFfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_Iw88iVfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Iw88ilfzEeehb73Gpbl1-Q"/>
- </children>
- <element xmi:type="uml:DataType" href="StereotypePropertyReferenceEdgeTest.uml#_Iw7HUFfzEeehb73Gpbl1-Q"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Iw8VcVfzEeehb73Gpbl1-Q" x="420" y="380"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_UMZFEFfzEeehb73Gpbl1-Q" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_UMZFEVfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UMZFE1fzEeehb73Gpbl1-Q" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="StereotypePropertyReferenceEdgeTest.uml#_Fs7x4FfzEeehb73Gpbl1-Q"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UMZFElfzEeehb73Gpbl1-Q" x="340" y="140"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_VTX7SFfzEeehb73Gpbl1-Q" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_VTX7SVfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_VTYiUFfzEeehb73Gpbl1-Q" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="StereotypePropertyReferenceEdgeTest.uml#_GEZPoFfzEeehb73Gpbl1-Q"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VTX7SlfzEeehb73Gpbl1-Q" x="340" y="260"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_X9jChFfzEeehb73Gpbl1-Q" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_X9jChVfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_X9jCh1fzEeehb73Gpbl1-Q" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Component" href="StereotypePropertyReferenceEdgeTest.uml#_GsJMIFfzEeehb73Gpbl1-Q"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X9jChlfzEeehb73Gpbl1-Q" x="620" y="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_Z6nMJFfzEeehb73Gpbl1-Q" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_Z6nMJVfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Z6nMJ1fzEeehb73Gpbl1-Q" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Component" href="StereotypePropertyReferenceEdgeTest.uml#_HHY9sFfzEeehb73Gpbl1-Q"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Z6nMJlfzEeehb73Gpbl1-Q" x="620" y="140"/>
- </children>
- <styles xmi:type="notation:StringValueStyle" xmi:id="_I5uFoVZAEeeZNqfuXnrULQ" name="diagram_compatibility_version" stringValue="1.2.0"/>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_I5uFolZAEeeZNqfuXnrULQ"/>
- <styles xmi:type="notation:EObjectListValueStyle" xmi:id="_nVrscFZ6EeeZJv43aLrf5w" name="css_stylesheets"/>
- <element xmi:type="uml:Model" href="StereotypePropertyReferenceEdgeTest.uml#_I2B4cFZAEeeZNqfuXnrULQ"/>
- <edges xmi:type="notation:Connector" xmi:id="_UMcIYFfzEeehb73Gpbl1-Q" type="StereotypeCommentLink" source="_FtCfkFfzEeehb73Gpbl1-Q" target="_UMZFEFfzEeehb73Gpbl1-Q">
- <styles xmi:type="notation:FontStyle" xmi:id="_UMcIYVfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UMdWgFfzEeehb73Gpbl1-Q" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="StereotypePropertyReferenceEdgeTest.uml#_Fs7x4FfzEeehb73Gpbl1-Q"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_UMcIYlfzEeehb73Gpbl1-Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UMcvcFfzEeehb73Gpbl1-Q"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UMcvcVfzEeehb73Gpbl1-Q"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_VTYiUVfzEeehb73Gpbl1-Q" type="StereotypeCommentLink" source="_GEbE0FfzEeehb73Gpbl1-Q" target="_VTX7SFfzEeehb73Gpbl1-Q">
- <styles xmi:type="notation:FontStyle" xmi:id="_VTYiUlfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_VTYiVlfzEeehb73Gpbl1-Q" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="StereotypePropertyReferenceEdgeTest.uml#_GEZPoFfzEeehb73Gpbl1-Q"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_VTYiU1fzEeehb73Gpbl1-Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_VTYiVFfzEeehb73Gpbl1-Q"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_VTYiVVfzEeehb73Gpbl1-Q"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_X9jCiFfzEeehb73Gpbl1-Q" type="StereotypeCommentLink" source="_GsKaQFfzEeehb73Gpbl1-Q" target="_X9jChFfzEeehb73Gpbl1-Q">
- <styles xmi:type="notation:FontStyle" xmi:id="_X9jCiVfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_X9jpklfzEeehb73Gpbl1-Q" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Component" href="StereotypePropertyReferenceEdgeTest.uml#_GsJMIFfzEeehb73Gpbl1-Q"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_X9jCilfzEeehb73Gpbl1-Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_X9jpkFfzEeehb73Gpbl1-Q"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_X9jpkVfzEeehb73Gpbl1-Q"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_Z6nMKFfzEeehb73Gpbl1-Q" type="StereotypeCommentLink" source="_HHaL0FfzEeehb73Gpbl1-Q" target="_Z6nMJFfzEeehb73Gpbl1-Q">
- <styles xmi:type="notation:FontStyle" xmi:id="_Z6nMKVfzEeehb73Gpbl1-Q"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Z6nzMFfzEeehb73Gpbl1-Q" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Component" href="StereotypePropertyReferenceEdgeTest.uml#_HHY9sFfzEeehb73Gpbl1-Q"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Z6nMKlfzEeehb73Gpbl1-Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Z6nMK1fzEeehb73Gpbl1-Q"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Z6nMLFfzEeehb73Gpbl1-Q"/>
- </edges>
- <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_I5uFo1ZAEeeZNqfuXnrULQ" diagramKindId="org.eclipse.papyrus.uml.diagram.class">
- <owner xmi:type="uml:Model" href="StereotypePropertyReferenceEdgeTest.uml#_I2B4cFZAEeeZNqfuXnrULQ"/>
- </styles>
-</notation:Diagram>
+<?xml version="1.0" encoding="UTF-8"?> +<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_I5uFoFZAEeeZNqfuXnrULQ" type="PapyrusUMLClassDiagram" name="Class Diagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_FtCfkFfzEeehb73Gpbl1-Q" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_FtEUwFfzEeehb73Gpbl1-Q" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_FtEUwVfzEeehb73Gpbl1-Q" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_FtEUwlfzEeehb73Gpbl1-Q" y="15"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_FtE70FfzEeehb73Gpbl1-Q" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_FtE70VfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_FtE70lfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_FtE701fzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FtE71FfzEeehb73Gpbl1-Q"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_FtE71VfzEeehb73Gpbl1-Q" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_FtE71lfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_FtE711fzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_FtE72FfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FtE72VfzEeehb73Gpbl1-Q"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_FtE72lfzEeehb73Gpbl1-Q" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_FtE721fzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_FtE73FfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_FtE73VfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FtE73lfzEeehb73Gpbl1-Q"/> + </children> + <element xmi:type="uml:Class" href="StereotypePropertyReferenceEdgeTest.uml#_Fs7x4FfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FtCfkVfzEeehb73Gpbl1-Q" x="140" y="140"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_GEbE0FfzEeehb73Gpbl1-Q" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_GEbE0lfzEeehb73Gpbl1-Q" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_GEbE01fzEeehb73Gpbl1-Q" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_GEbE1FfzEeehb73Gpbl1-Q" y="15"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_GEbE1VfzEeehb73Gpbl1-Q" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_GEbE1lfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_GEbE11fzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_GEbE2FfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GEbE2VfzEeehb73Gpbl1-Q"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_GEbr4FfzEeehb73Gpbl1-Q" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_GEbr4VfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_GEbr4lfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_GEbr41fzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GEbr5FfzEeehb73Gpbl1-Q"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_GEbr5VfzEeehb73Gpbl1-Q" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_GEbr5lfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_GEbr51fzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_GEbr6FfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GEbr6VfzEeehb73Gpbl1-Q"/> + </children> + <element xmi:type="uml:Class" href="StereotypePropertyReferenceEdgeTest.uml#_GEZPoFfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GEbE0VfzEeehb73Gpbl1-Q" x="140" y="260"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_GsKaQFfzEeehb73Gpbl1-Q" type="Component_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_GsLBUVfzEeehb73Gpbl1-Q" type="Component_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_GsLBUlfzEeehb73Gpbl1-Q" type="Component_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_GsLBU1fzEeehb73Gpbl1-Q" y="15"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_GsLBVFfzEeehb73Gpbl1-Q" type="Component_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_GsLBVVfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_GsLBVlfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_GsLBV1fzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GsLBWFfzEeehb73Gpbl1-Q"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_GsLBWVfzEeehb73Gpbl1-Q" type="Component_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_GsLBWlfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_GsLBW1fzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_GsLBXFfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GsLBXVfzEeehb73Gpbl1-Q"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_GsLoYFfzEeehb73Gpbl1-Q" type="Component_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_GsLoYVfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_GsLoYlfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_GsLoY1fzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GsLoZFfzEeehb73Gpbl1-Q"/> + </children> + <element xmi:type="uml:Component" href="StereotypePropertyReferenceEdgeTest.uml#_GsJMIFfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GsLBUFfzEeehb73Gpbl1-Q" x="420" y="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_HHaL0FfzEeehb73Gpbl1-Q" type="Component_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_HHay4FfzEeehb73Gpbl1-Q" type="Component_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_HHay4VfzEeehb73Gpbl1-Q" type="Component_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_HHay4lfzEeehb73Gpbl1-Q" y="15"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_HHay41fzEeehb73Gpbl1-Q" type="Component_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_HHay5FfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_HHay5VfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_HHay5lfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HHay51fzEeehb73Gpbl1-Q"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_HHay6FfzEeehb73Gpbl1-Q" type="Component_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_HHay6VfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_HHay6lfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_HHay61fzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HHay7FfzEeehb73Gpbl1-Q"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_HHay7VfzEeehb73Gpbl1-Q" type="Component_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_HHay7lfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_HHay71fzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_HHay8FfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HHay8VfzEeehb73Gpbl1-Q"/> + </children> + <element xmi:type="uml:Component" href="StereotypePropertyReferenceEdgeTest.uml#_HHY9sFfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HHaL0VfzEeehb73Gpbl1-Q" x="420" y="140"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_IT_6wFfzEeehb73Gpbl1-Q" type="DataType_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_IT_6wlfzEeehb73Gpbl1-Q" type="DataType_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_IT_6w1fzEeehb73Gpbl1-Q" type="DataType_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_IUAh0FfzEeehb73Gpbl1-Q" y="15"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_IUAh0VfzEeehb73Gpbl1-Q" type="DataType_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_IUAh0lfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_IUAh01fzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_IUAh1FfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IUAh1VfzEeehb73Gpbl1-Q"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_IUAh1lfzEeehb73Gpbl1-Q" type="DataType_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_IUAh11fzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_IUAh2FfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_IUAh2VfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IUAh2lfzEeehb73Gpbl1-Q"/> + </children> + <element xmi:type="uml:DataType" href="StereotypePropertyReferenceEdgeTest.uml#_IT_TsFfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IT_6wVfzEeehb73Gpbl1-Q" x="420" y="280"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Iw8VcFfzEeehb73Gpbl1-Q" type="DataType_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_Iw8VclfzEeehb73Gpbl1-Q" type="DataType_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_Iw8Vc1fzEeehb73Gpbl1-Q" type="DataType_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Iw88gFfzEeehb73Gpbl1-Q" y="15"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_Iw88gVfzEeehb73Gpbl1-Q" type="DataType_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Iw88glfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_Iw88g1fzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_Iw88hFfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Iw88hVfzEeehb73Gpbl1-Q"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_Iw88hlfzEeehb73Gpbl1-Q" type="DataType_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Iw88h1fzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_Iw88iFfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_Iw88iVfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Iw88ilfzEeehb73Gpbl1-Q"/> + </children> + <element xmi:type="uml:DataType" href="StereotypePropertyReferenceEdgeTest.uml#_Iw7HUFfzEeehb73Gpbl1-Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Iw8VcVfzEeehb73Gpbl1-Q" x="420" y="380"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_UMZFEFfzEeehb73Gpbl1-Q" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_UMZFEVfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UMZFE1fzEeehb73Gpbl1-Q" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="StereotypePropertyReferenceEdgeTest.uml#_Fs7x4FfzEeehb73Gpbl1-Q"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UMZFElfzEeehb73Gpbl1-Q" x="340" y="140"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_VTX7SFfzEeehb73Gpbl1-Q" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_VTX7SVfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_VTYiUFfzEeehb73Gpbl1-Q" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="StereotypePropertyReferenceEdgeTest.uml#_GEZPoFfzEeehb73Gpbl1-Q"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VTX7SlfzEeehb73Gpbl1-Q" x="340" y="260"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_X9jChFfzEeehb73Gpbl1-Q" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_X9jChVfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_X9jCh1fzEeehb73Gpbl1-Q" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Component" href="StereotypePropertyReferenceEdgeTest.uml#_GsJMIFfzEeehb73Gpbl1-Q"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X9jChlfzEeehb73Gpbl1-Q" x="620" y="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Z6nMJFfzEeehb73Gpbl1-Q" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Z6nMJVfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Z6nMJ1fzEeehb73Gpbl1-Q" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Component" href="StereotypePropertyReferenceEdgeTest.uml#_HHY9sFfzEeehb73Gpbl1-Q"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Z6nMJlfzEeehb73Gpbl1-Q" x="620" y="140"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_I5uFoVZAEeeZNqfuXnrULQ" name="diagram_compatibility_version" stringValue="1.2.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_I5uFolZAEeeZNqfuXnrULQ"/> + <styles xmi:type="notation:EObjectListValueStyle" xmi:id="_nVrscFZ6EeeZJv43aLrf5w" name="css_stylesheets"/> + <element xmi:type="uml:Model" href="StereotypePropertyReferenceEdgeTest.uml#_I2B4cFZAEeeZNqfuXnrULQ"/> + <edges xmi:type="notation:Connector" xmi:id="_UMcIYFfzEeehb73Gpbl1-Q" type="StereotypeCommentLink" source="_FtCfkFfzEeehb73Gpbl1-Q" target="_UMZFEFfzEeehb73Gpbl1-Q"> + <styles xmi:type="notation:FontStyle" xmi:id="_UMcIYVfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UMdWgFfzEeehb73Gpbl1-Q" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="StereotypePropertyReferenceEdgeTest.uml#_Fs7x4FfzEeehb73Gpbl1-Q"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_UMcIYlfzEeehb73Gpbl1-Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UMcvcFfzEeehb73Gpbl1-Q"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UMcvcVfzEeehb73Gpbl1-Q"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_VTYiUVfzEeehb73Gpbl1-Q" type="StereotypeCommentLink" source="_GEbE0FfzEeehb73Gpbl1-Q" target="_VTX7SFfzEeehb73Gpbl1-Q"> + <styles xmi:type="notation:FontStyle" xmi:id="_VTYiUlfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_VTYiVlfzEeehb73Gpbl1-Q" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="StereotypePropertyReferenceEdgeTest.uml#_GEZPoFfzEeehb73Gpbl1-Q"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_VTYiU1fzEeehb73Gpbl1-Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_VTYiVFfzEeehb73Gpbl1-Q"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_VTYiVVfzEeehb73Gpbl1-Q"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_X9jCiFfzEeehb73Gpbl1-Q" type="StereotypeCommentLink" source="_GsKaQFfzEeehb73Gpbl1-Q" target="_X9jChFfzEeehb73Gpbl1-Q"> + <styles xmi:type="notation:FontStyle" xmi:id="_X9jCiVfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_X9jpklfzEeehb73Gpbl1-Q" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Component" href="StereotypePropertyReferenceEdgeTest.uml#_GsJMIFfzEeehb73Gpbl1-Q"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_X9jCilfzEeehb73Gpbl1-Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_X9jpkFfzEeehb73Gpbl1-Q"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_X9jpkVfzEeehb73Gpbl1-Q"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_Z6nMKFfzEeehb73Gpbl1-Q" type="StereotypeCommentLink" source="_HHaL0FfzEeehb73Gpbl1-Q" target="_Z6nMJFfzEeehb73Gpbl1-Q"> + <styles xmi:type="notation:FontStyle" xmi:id="_Z6nMKVfzEeehb73Gpbl1-Q"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Z6nzMFfzEeehb73Gpbl1-Q" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Component" href="StereotypePropertyReferenceEdgeTest.uml#_HHY9sFfzEeehb73Gpbl1-Q"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Z6nMKlfzEeehb73Gpbl1-Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Z6nMK1fzEeehb73Gpbl1-Q"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Z6nMLFfzEeehb73Gpbl1-Q"/> + </edges> + <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_I5uFo1ZAEeeZNqfuXnrULQ" diagramKindId="org.eclipse.papyrus.uml.diagram.class"> + <owner xmi:type="uml:Model" href="StereotypePropertyReferenceEdgeTest.uml#_I2B4cFZAEeeZNqfuXnrULQ"/> + </styles> +</notation:Diagram> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.profile.di b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.profile.di index 4f26340f8e6..247ed5e3570 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.profile.di +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.profile.di @@ -1,2 +1,2 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<architecture:ArchitectureDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" contextId="org.eclipse.papyrus.uml.architecture.Profile"/>
+<?xml version="1.0" encoding="UTF-8"?> +<architecture:ArchitectureDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" contextId="org.eclipse.papyrus.uml.architecture.Profile"/> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.profile.notation b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.profile.notation index d31249e1f4b..6d3690efd2c 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.profile.notation +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.profile.notation @@ -1,217 +1,217 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_6zTNwFdhEeeUyIB-jtaMjQ" type="PapyrusUMLProfileDiagram" name="Profile Diagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_CPWvoFdiEeeUyIB-jtaMjQ" type="Stereotype_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_CPX9wFdiEeeUyIB-jtaMjQ" type="Stereotype_NameLabel"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_CPX9wVdiEeeUyIB-jtaMjQ" type="Stereotype_AttributeCompartment">
- <children xmi:type="notation:Shape" xmi:id="_EC7mEFdiEeeUyIB-jtaMjQ" type="Property_ClassAttributeLabel">
- <element xmi:type="uml:Property" href="StereotypePropertyReferenceEdgeTest.profile.uml#_ECmO4FdiEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_EC7mEVdiEeeUyIB-jtaMjQ"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_XbogIFdiEeeUyIB-jtaMjQ" type="Property_ClassAttributeLabel">
- <element xmi:type="uml:Property" href="StereotypePropertyReferenceEdgeTest.profile.uml#_IHluUFdiEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_XbogIVdiEeeUyIB-jtaMjQ"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_Xb_FcFdiEeeUyIB-jtaMjQ" type="Property_ClassAttributeLabel">
- <element xmi:type="uml:Property" href="StereotypePropertyReferenceEdgeTest.profile.uml#_IZrj4FdiEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_Xb_FcVdiEeeUyIB-jtaMjQ"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_XcWR0FdiEeeUyIB-jtaMjQ" type="Property_ClassAttributeLabel">
- <element xmi:type="uml:Property" href="StereotypePropertyReferenceEdgeTest.profile.uml#_IgWMkFdiEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_XcWR0VdiEeeUyIB-jtaMjQ"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_CPX9wldiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_CPX9w1diEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_CPX9xFdiEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CPX9xVdiEeeUyIB-jtaMjQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_CPYk0FdiEeeUyIB-jtaMjQ" type="Stereotype_OperationCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_CPYk0VdiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_CPYk0ldiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_CPYk01diEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CPYk1FdiEeeUyIB-jtaMjQ"/>
- </children>
- <element xmi:type="uml:Stereotype" href="StereotypePropertyReferenceEdgeTest.profile.uml#_CPDNoFdiEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CPWvoVdiEeeUyIB-jtaMjQ" x="160" y="200"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_U183UFdiEeeUyIB-jtaMjQ" type="Stereotype_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_U2AhsFdiEeeUyIB-jtaMjQ" type="Stereotype_NameLabel"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_U2AhsVdiEeeUyIB-jtaMjQ" type="Stereotype_AttributeCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_U2AhsldiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_U2Ahs1diEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_U2AhtFdiEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U2AhtVdiEeeUyIB-jtaMjQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_U2BIwFdiEeeUyIB-jtaMjQ" type="Stereotype_OperationCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_U2BIwVdiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_U2BIwldiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_U2BIw1diEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U2BIxFdiEeeUyIB-jtaMjQ"/>
- </children>
- <element xmi:type="uml:Stereotype" href="StereotypePropertyReferenceEdgeTest.profile.uml#_U16bEFdiEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U183UVdiEeeUyIB-jtaMjQ" x="580" y="200"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_v5QFkFdiEeeUyIB-jtaMjQ" type="Stereotype_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_v5RTsFdiEeeUyIB-jtaMjQ" type="Stereotype_NameLabel"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_v5RTsVdiEeeUyIB-jtaMjQ" type="Stereotype_AttributeCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_v5RTsldiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_v5RTs1diEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_v5RTtFdiEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_v5RTtVdiEeeUyIB-jtaMjQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_v5R6wFdiEeeUyIB-jtaMjQ" type="Stereotype_OperationCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_v5R6wVdiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_v5R6wldiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_v5R6w1diEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_v5R6xFdiEeeUyIB-jtaMjQ"/>
- </children>
- <element xmi:type="uml:Stereotype" href="StereotypePropertyReferenceEdgeTest.profile.uml#_v5HisFdiEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_v5QFkVdiEeeUyIB-jtaMjQ" x="220" y="400"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_y1YfgFdiEeeUyIB-jtaMjQ" type="Stereotype_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_y1ZtoFdiEeeUyIB-jtaMjQ" type="Stereotype_NameLabel"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_y1ZtoVdiEeeUyIB-jtaMjQ" type="Stereotype_AttributeCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_y1ZtoldiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_y1Zto1diEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_y1ZtpFdiEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_y1ZtpVdiEeeUyIB-jtaMjQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_y1aUsFdiEeeUyIB-jtaMjQ" type="Stereotype_OperationCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_y1aUsVdiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_y1aUsldiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_y1aUs1diEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_y1aUtFdiEeeUyIB-jtaMjQ"/>
- </children>
- <element xmi:type="uml:Stereotype" href="StereotypePropertyReferenceEdgeTest.profile.uml#_y1UOEFdiEeeUyIB-jtaMjQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_y1YfgVdiEeeUyIB-jtaMjQ" x="566" y="399"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_7SWEwFdiEeeUyIB-jtaMjQ" type="Class_MetaclassShape">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7SYhAFdiEeeUyIB-jtaMjQ" source="Stereotype_Annotation">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7SZIEFdiEeeUyIB-jtaMjQ" key="StereotypeWithQualifiedNameList" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7SZIEVdiEeeUyIB-jtaMjQ" key="StereotypeList" value="StandardProfile::Metaclass"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7SZIEldiEeeUyIB-jtaMjQ" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7SZIE1diEeeUyIB-jtaMjQ" key="PropStereoDisplay" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7SZIFFdiEeeUyIB-jtaMjQ" key="StereotypePropertyLocation" value="Compartment"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_7SXS4FdiEeeUyIB-jtaMjQ" type="Class_MetaclassNameLabel"/>
- <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7SXS4VdiEeeUyIB-jtaMjQ" x="220" y="100"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_7Tf7UFdiEeeUyIB-jtaMjQ" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_7Tf7UVdiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_7TgiYFdiEeeUyIB-jtaMjQ" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7Tf7UldiEeeUyIB-jtaMjQ" x="420" y="100"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_8-zmkFdiEeeUyIB-jtaMjQ" type="Class_MetaclassShape">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8-00sFdiEeeUyIB-jtaMjQ" source="Stereotype_Annotation">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_8-00sVdiEeeUyIB-jtaMjQ" key="StereotypeWithQualifiedNameList" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_8-1bwFdiEeeUyIB-jtaMjQ" key="StereotypeList" value="StandardProfile::Metaclass"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_8-1bwVdiEeeUyIB-jtaMjQ" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_8-1bwldiEeeUyIB-jtaMjQ" key="PropStereoDisplay" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_8-1bw1diEeeUyIB-jtaMjQ" key="StereotypePropertyLocation" value="Compartment"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_8-0NoFdiEeeUyIB-jtaMjQ" type="Class_MetaclassNameLabel"/>
- <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8-0NoVdiEeeUyIB-jtaMjQ" x="580" y="100"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_9ABukFdiEeeUyIB-jtaMjQ" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_9ABukVdiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_9ABuk1diEeeUyIB-jtaMjQ" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9ABukldiEeeUyIB-jtaMjQ" x="780" y="100"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_-hm2EFdiEeeUyIB-jtaMjQ" type="Class_MetaclassShape">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-h-CcldiEeeUyIB-jtaMjQ" source="Stereotype_Annotation">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-h-pgFdiEeeUyIB-jtaMjQ" key="StereotypeWithQualifiedNameList" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-h-pgVdiEeeUyIB-jtaMjQ" key="StereotypeList" value="StandardProfile::Metaclass"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-h-pgldiEeeUyIB-jtaMjQ" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-h-pg1diEeeUyIB-jtaMjQ" key="PropStereoDisplay" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-h-phFdiEeeUyIB-jtaMjQ" key="StereotypePropertyLocation" value="Compartment"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_-h-CcFdiEeeUyIB-jtaMjQ" type="Class_MetaclassNameLabel"/>
- <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-h-CcVdiEeeUyIB-jtaMjQ" x="780" y="240"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_-i8S0FdiEeeUyIB-jtaMjQ" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_-i8S0VdiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_-i8S01diEeeUyIB-jtaMjQ" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-i8S0ldiEeeUyIB-jtaMjQ" x="1020" y="240"/>
- </children>
- <styles xmi:type="notation:StringValueStyle" xmi:id="_6zTNwVdhEeeUyIB-jtaMjQ" name="diagram_compatibility_version" stringValue="1.3.0"/>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_6zTNwldhEeeUyIB-jtaMjQ"/>
- <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_6zTNw1dhEeeUyIB-jtaMjQ" diagramKindId="org.eclipse.papyrus.uml.diagram.profile">
- <owner xmi:type="uml:Profile" href="StereotypePropertyReferenceEdgeTest.profile.uml#_6trG4FdhEeeUyIB-jtaMjQ"/>
- </styles>
- <element xmi:type="uml:Profile" href="StereotypePropertyReferenceEdgeTest.profile.uml#_6trG4FdhEeeUyIB-jtaMjQ"/>
- <edges xmi:type="notation:Connector" xmi:id="_1w5OYFdiEeeUyIB-jtaMjQ" type="Generalization_Edge" source="_v5QFkFdiEeeUyIB-jtaMjQ" target="_CPWvoFdiEeeUyIB-jtaMjQ">
- <children xmi:type="notation:DecorationNode" xmi:id="_1w6cgFdiEeeUyIB-jtaMjQ" type="Generalization_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_1w6cgVdiEeeUyIB-jtaMjQ" y="60"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_1w5OYVdiEeeUyIB-jtaMjQ"/>
- <element xmi:type="uml:Generalization" href="StereotypePropertyReferenceEdgeTest.profile.uml#_1weXoFdiEeeUyIB-jtaMjQ"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_1w5OYldiEeeUyIB-jtaMjQ" points="[260, 400, -643984, -643984]$[260, 351, -643984, -643984]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1yUxwFdiEeeUyIB-jtaMjQ" id="(0.34782608695652173,0.0)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1yUxwVdiEeeUyIB-jtaMjQ" id="(0.4219409282700422,1.0)"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_2Y1YIFdiEeeUyIB-jtaMjQ" type="Generalization_Edge" source="_y1YfgFdiEeeUyIB-jtaMjQ" target="_U183UFdiEeeUyIB-jtaMjQ">
- <children xmi:type="notation:DecorationNode" xmi:id="_2Y2mQFdiEeeUyIB-jtaMjQ" type="Generalization_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_2Y2mQVdiEeeUyIB-jtaMjQ" y="60"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_2Y1YIVdiEeeUyIB-jtaMjQ"/>
- <element xmi:type="uml:Generalization" href="StereotypePropertyReferenceEdgeTest.profile.uml#_2YUawFdiEeeUyIB-jtaMjQ"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_2Y1YIldiEeeUyIB-jtaMjQ" points="[620, 399, -643984, -643984]$[620, 300, -643984, -643984]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2Z7kUFdiEeeUyIB-jtaMjQ" id="(0.48214285714285715,0.0)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2Z8LYFdiEeeUyIB-jtaMjQ" id="(0.4,1.0)"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_7ThJcFdiEeeUyIB-jtaMjQ" type="StereotypeCommentLink" source="_7SWEwFdiEeeUyIB-jtaMjQ" target="_7Tf7UFdiEeeUyIB-jtaMjQ">
- <styles xmi:type="notation:FontStyle" xmi:id="_7ThJcVdiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_7ThwgldiEeeUyIB-jtaMjQ" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_7ThJcldiEeeUyIB-jtaMjQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7ThwgFdiEeeUyIB-jtaMjQ"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7ThwgVdiEeeUyIB-jtaMjQ"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_9ABulFdiEeeUyIB-jtaMjQ" type="StereotypeCommentLink" source="_8-zmkFdiEeeUyIB-jtaMjQ" target="_9ABukFdiEeeUyIB-jtaMjQ">
- <styles xmi:type="notation:FontStyle" xmi:id="_9ABulVdiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_9ACVoldiEeeUyIB-jtaMjQ" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_9ABulldiEeeUyIB-jtaMjQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9ACVoFdiEeeUyIB-jtaMjQ"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9ACVoVdiEeeUyIB-jtaMjQ"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_-i8S1FdiEeeUyIB-jtaMjQ" type="StereotypeCommentLink" source="_-hm2EFdiEeeUyIB-jtaMjQ" target="_-i8S0FdiEeeUyIB-jtaMjQ">
- <styles xmi:type="notation:FontStyle" xmi:id="_-i8S1VdiEeeUyIB-jtaMjQ"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_-i854ldiEeeUyIB-jtaMjQ" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-i8S1ldiEeeUyIB-jtaMjQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-i854FdiEeeUyIB-jtaMjQ"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-i854VdiEeeUyIB-jtaMjQ"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="__yhrYFdiEeeUyIB-jtaMjQ" type="Extension_Edge" source="_CPWvoFdiEeeUyIB-jtaMjQ" target="_7SWEwFdiEeeUyIB-jtaMjQ">
- <styles xmi:type="notation:FontStyle" xmi:id="__yhrYVdiEeeUyIB-jtaMjQ"/>
- <element xmi:type="uml:Extension" href="StereotypePropertyReferenceEdgeTest.profile.uml#__xHWIFdiEeeUyIB-jtaMjQ"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__yhrYldiEeeUyIB-jtaMjQ" points="[260, 200, -643984, -643984]$[260, 150, -643984, -643984]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__0WQUFdiEeeUyIB-jtaMjQ" id="(0.4219409282700422,0.0)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__0W3YFdiEeeUyIB-jtaMjQ" id="(0.4,1.0)"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_AMXHsFdjEeeUyIB-jtaMjQ" type="Extension_Edge" source="_U183UFdiEeeUyIB-jtaMjQ" target="_8-zmkFdiEeeUyIB-jtaMjQ">
- <styles xmi:type="notation:FontStyle" xmi:id="_AMXHsVdjEeeUyIB-jtaMjQ"/>
- <element xmi:type="uml:Extension" href="StereotypePropertyReferenceEdgeTest.profile.uml#_ALTXwFdjEeeUyIB-jtaMjQ"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_AMXHsldjEeeUyIB-jtaMjQ" points="[620, 200, -643984, -643984]$[620, 150, -643984, -643984]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_AOVdoFdjEeeUyIB-jtaMjQ" id="(0.4,0.0)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_AOVdoVdjEeeUyIB-jtaMjQ" id="(0.4,1.0)"/>
- </edges>
-</notation:Diagram>
+<?xml version="1.0" encoding="UTF-8"?> +<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_6zTNwFdhEeeUyIB-jtaMjQ" type="PapyrusUMLProfileDiagram" name="Profile Diagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_CPWvoFdiEeeUyIB-jtaMjQ" type="Stereotype_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_CPX9wFdiEeeUyIB-jtaMjQ" type="Stereotype_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_CPX9wVdiEeeUyIB-jtaMjQ" type="Stereotype_AttributeCompartment"> + <children xmi:type="notation:Shape" xmi:id="_EC7mEFdiEeeUyIB-jtaMjQ" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="StereotypePropertyReferenceEdgeTest.profile.uml#_ECmO4FdiEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_EC7mEVdiEeeUyIB-jtaMjQ"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_XbogIFdiEeeUyIB-jtaMjQ" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="StereotypePropertyReferenceEdgeTest.profile.uml#_IHluUFdiEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_XbogIVdiEeeUyIB-jtaMjQ"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Xb_FcFdiEeeUyIB-jtaMjQ" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="StereotypePropertyReferenceEdgeTest.profile.uml#_IZrj4FdiEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Xb_FcVdiEeeUyIB-jtaMjQ"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_XcWR0FdiEeeUyIB-jtaMjQ" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="StereotypePropertyReferenceEdgeTest.profile.uml#_IgWMkFdiEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_XcWR0VdiEeeUyIB-jtaMjQ"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_CPX9wldiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_CPX9w1diEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_CPX9xFdiEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CPX9xVdiEeeUyIB-jtaMjQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_CPYk0FdiEeeUyIB-jtaMjQ" type="Stereotype_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_CPYk0VdiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_CPYk0ldiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_CPYk01diEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CPYk1FdiEeeUyIB-jtaMjQ"/> + </children> + <element xmi:type="uml:Stereotype" href="StereotypePropertyReferenceEdgeTest.profile.uml#_CPDNoFdiEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CPWvoVdiEeeUyIB-jtaMjQ" x="160" y="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_U183UFdiEeeUyIB-jtaMjQ" type="Stereotype_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_U2AhsFdiEeeUyIB-jtaMjQ" type="Stereotype_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_U2AhsVdiEeeUyIB-jtaMjQ" type="Stereotype_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_U2AhsldiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_U2Ahs1diEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_U2AhtFdiEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U2AhtVdiEeeUyIB-jtaMjQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_U2BIwFdiEeeUyIB-jtaMjQ" type="Stereotype_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_U2BIwVdiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_U2BIwldiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_U2BIw1diEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U2BIxFdiEeeUyIB-jtaMjQ"/> + </children> + <element xmi:type="uml:Stereotype" href="StereotypePropertyReferenceEdgeTest.profile.uml#_U16bEFdiEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_U183UVdiEeeUyIB-jtaMjQ" x="580" y="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_v5QFkFdiEeeUyIB-jtaMjQ" type="Stereotype_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_v5RTsFdiEeeUyIB-jtaMjQ" type="Stereotype_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_v5RTsVdiEeeUyIB-jtaMjQ" type="Stereotype_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_v5RTsldiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_v5RTs1diEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_v5RTtFdiEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_v5RTtVdiEeeUyIB-jtaMjQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_v5R6wFdiEeeUyIB-jtaMjQ" type="Stereotype_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_v5R6wVdiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_v5R6wldiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_v5R6w1diEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_v5R6xFdiEeeUyIB-jtaMjQ"/> + </children> + <element xmi:type="uml:Stereotype" href="StereotypePropertyReferenceEdgeTest.profile.uml#_v5HisFdiEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_v5QFkVdiEeeUyIB-jtaMjQ" x="220" y="400"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_y1YfgFdiEeeUyIB-jtaMjQ" type="Stereotype_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_y1ZtoFdiEeeUyIB-jtaMjQ" type="Stereotype_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_y1ZtoVdiEeeUyIB-jtaMjQ" type="Stereotype_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_y1ZtoldiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_y1Zto1diEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_y1ZtpFdiEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_y1ZtpVdiEeeUyIB-jtaMjQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_y1aUsFdiEeeUyIB-jtaMjQ" type="Stereotype_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_y1aUsVdiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_y1aUsldiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_y1aUs1diEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_y1aUtFdiEeeUyIB-jtaMjQ"/> + </children> + <element xmi:type="uml:Stereotype" href="StereotypePropertyReferenceEdgeTest.profile.uml#_y1UOEFdiEeeUyIB-jtaMjQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_y1YfgVdiEeeUyIB-jtaMjQ" x="566" y="399"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_7SWEwFdiEeeUyIB-jtaMjQ" type="Class_MetaclassShape"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7SYhAFdiEeeUyIB-jtaMjQ" source="Stereotype_Annotation"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7SZIEFdiEeeUyIB-jtaMjQ" key="StereotypeWithQualifiedNameList" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7SZIEVdiEeeUyIB-jtaMjQ" key="StereotypeList" value="StandardProfile::Metaclass"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7SZIEldiEeeUyIB-jtaMjQ" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7SZIE1diEeeUyIB-jtaMjQ" key="PropStereoDisplay" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7SZIFFdiEeeUyIB-jtaMjQ" key="StereotypePropertyLocation" value="Compartment"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_7SXS4FdiEeeUyIB-jtaMjQ" type="Class_MetaclassNameLabel"/> + <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7SXS4VdiEeeUyIB-jtaMjQ" x="220" y="100"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_7Tf7UFdiEeeUyIB-jtaMjQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_7Tf7UVdiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_7TgiYFdiEeeUyIB-jtaMjQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7Tf7UldiEeeUyIB-jtaMjQ" x="420" y="100"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_8-zmkFdiEeeUyIB-jtaMjQ" type="Class_MetaclassShape"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8-00sFdiEeeUyIB-jtaMjQ" source="Stereotype_Annotation"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_8-00sVdiEeeUyIB-jtaMjQ" key="StereotypeWithQualifiedNameList" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_8-1bwFdiEeeUyIB-jtaMjQ" key="StereotypeList" value="StandardProfile::Metaclass"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_8-1bwVdiEeeUyIB-jtaMjQ" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_8-1bwldiEeeUyIB-jtaMjQ" key="PropStereoDisplay" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_8-1bw1diEeeUyIB-jtaMjQ" key="StereotypePropertyLocation" value="Compartment"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_8-0NoFdiEeeUyIB-jtaMjQ" type="Class_MetaclassNameLabel"/> + <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8-0NoVdiEeeUyIB-jtaMjQ" x="580" y="100"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_9ABukFdiEeeUyIB-jtaMjQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_9ABukVdiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_9ABuk1diEeeUyIB-jtaMjQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9ABukldiEeeUyIB-jtaMjQ" x="780" y="100"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-hm2EFdiEeeUyIB-jtaMjQ" type="Class_MetaclassShape"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-h-CcldiEeeUyIB-jtaMjQ" source="Stereotype_Annotation"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-h-pgFdiEeeUyIB-jtaMjQ" key="StereotypeWithQualifiedNameList" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-h-pgVdiEeeUyIB-jtaMjQ" key="StereotypeList" value="StandardProfile::Metaclass"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-h-pgldiEeeUyIB-jtaMjQ" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-h-pg1diEeeUyIB-jtaMjQ" key="PropStereoDisplay" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-h-phFdiEeeUyIB-jtaMjQ" key="StereotypePropertyLocation" value="Compartment"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_-h-CcFdiEeeUyIB-jtaMjQ" type="Class_MetaclassNameLabel"/> + <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-h-CcVdiEeeUyIB-jtaMjQ" x="780" y="240"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-i8S0FdiEeeUyIB-jtaMjQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_-i8S0VdiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_-i8S01diEeeUyIB-jtaMjQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-i8S0ldiEeeUyIB-jtaMjQ" x="1020" y="240"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_6zTNwVdhEeeUyIB-jtaMjQ" name="diagram_compatibility_version" stringValue="1.3.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_6zTNwldhEeeUyIB-jtaMjQ"/> + <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_6zTNw1dhEeeUyIB-jtaMjQ" diagramKindId="org.eclipse.papyrus.uml.diagram.profile"> + <owner xmi:type="uml:Profile" href="StereotypePropertyReferenceEdgeTest.profile.uml#_6trG4FdhEeeUyIB-jtaMjQ"/> + </styles> + <element xmi:type="uml:Profile" href="StereotypePropertyReferenceEdgeTest.profile.uml#_6trG4FdhEeeUyIB-jtaMjQ"/> + <edges xmi:type="notation:Connector" xmi:id="_1w5OYFdiEeeUyIB-jtaMjQ" type="Generalization_Edge" source="_v5QFkFdiEeeUyIB-jtaMjQ" target="_CPWvoFdiEeeUyIB-jtaMjQ"> + <children xmi:type="notation:DecorationNode" xmi:id="_1w6cgFdiEeeUyIB-jtaMjQ" type="Generalization_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_1w6cgVdiEeeUyIB-jtaMjQ" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_1w5OYVdiEeeUyIB-jtaMjQ"/> + <element xmi:type="uml:Generalization" href="StereotypePropertyReferenceEdgeTest.profile.uml#_1weXoFdiEeeUyIB-jtaMjQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_1w5OYldiEeeUyIB-jtaMjQ" points="[260, 400, -643984, -643984]$[260, 351, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1yUxwFdiEeeUyIB-jtaMjQ" id="(0.34782608695652173,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_1yUxwVdiEeeUyIB-jtaMjQ" id="(0.4219409282700422,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_2Y1YIFdiEeeUyIB-jtaMjQ" type="Generalization_Edge" source="_y1YfgFdiEeeUyIB-jtaMjQ" target="_U183UFdiEeeUyIB-jtaMjQ"> + <children xmi:type="notation:DecorationNode" xmi:id="_2Y2mQFdiEeeUyIB-jtaMjQ" type="Generalization_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_2Y2mQVdiEeeUyIB-jtaMjQ" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_2Y1YIVdiEeeUyIB-jtaMjQ"/> + <element xmi:type="uml:Generalization" href="StereotypePropertyReferenceEdgeTest.profile.uml#_2YUawFdiEeeUyIB-jtaMjQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_2Y1YIldiEeeUyIB-jtaMjQ" points="[620, 399, -643984, -643984]$[620, 300, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2Z7kUFdiEeeUyIB-jtaMjQ" id="(0.48214285714285715,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2Z8LYFdiEeeUyIB-jtaMjQ" id="(0.4,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_7ThJcFdiEeeUyIB-jtaMjQ" type="StereotypeCommentLink" source="_7SWEwFdiEeeUyIB-jtaMjQ" target="_7Tf7UFdiEeeUyIB-jtaMjQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_7ThJcVdiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_7ThwgldiEeeUyIB-jtaMjQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_7ThJcldiEeeUyIB-jtaMjQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7ThwgFdiEeeUyIB-jtaMjQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7ThwgVdiEeeUyIB-jtaMjQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_9ABulFdiEeeUyIB-jtaMjQ" type="StereotypeCommentLink" source="_8-zmkFdiEeeUyIB-jtaMjQ" target="_9ABukFdiEeeUyIB-jtaMjQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_9ABulVdiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_9ACVoldiEeeUyIB-jtaMjQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_9ABulldiEeeUyIB-jtaMjQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9ACVoFdiEeeUyIB-jtaMjQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9ACVoVdiEeeUyIB-jtaMjQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_-i8S1FdiEeeUyIB-jtaMjQ" type="StereotypeCommentLink" source="_-hm2EFdiEeeUyIB-jtaMjQ" target="_-i8S0FdiEeeUyIB-jtaMjQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_-i8S1VdiEeeUyIB-jtaMjQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_-i854ldiEeeUyIB-jtaMjQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-i8S1ldiEeeUyIB-jtaMjQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-i854FdiEeeUyIB-jtaMjQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-i854VdiEeeUyIB-jtaMjQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__yhrYFdiEeeUyIB-jtaMjQ" type="Extension_Edge" source="_CPWvoFdiEeeUyIB-jtaMjQ" target="_7SWEwFdiEeeUyIB-jtaMjQ"> + <styles xmi:type="notation:FontStyle" xmi:id="__yhrYVdiEeeUyIB-jtaMjQ"/> + <element xmi:type="uml:Extension" href="StereotypePropertyReferenceEdgeTest.profile.uml#__xHWIFdiEeeUyIB-jtaMjQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__yhrYldiEeeUyIB-jtaMjQ" points="[260, 200, -643984, -643984]$[260, 150, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__0WQUFdiEeeUyIB-jtaMjQ" id="(0.4219409282700422,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__0W3YFdiEeeUyIB-jtaMjQ" id="(0.4,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_AMXHsFdjEeeUyIB-jtaMjQ" type="Extension_Edge" source="_U183UFdiEeeUyIB-jtaMjQ" target="_8-zmkFdiEeeUyIB-jtaMjQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_AMXHsVdjEeeUyIB-jtaMjQ"/> + <element xmi:type="uml:Extension" href="StereotypePropertyReferenceEdgeTest.profile.uml#_ALTXwFdjEeeUyIB-jtaMjQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_AMXHsldjEeeUyIB-jtaMjQ" points="[620, 200, -643984, -643984]$[620, 150, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_AOVdoFdjEeeUyIB-jtaMjQ" id="(0.4,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_AOVdoVdjEeeUyIB-jtaMjQ" id="(0.4,1.0)"/> + </edges> +</notation:Diagram> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.profile.uml b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.profile.uml index 17525ca1aae..10df38041d2 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.profile.uml +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.profile.uml @@ -1,84 +1,84 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<uml:Profile xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_6trG4FdhEeeUyIB-jtaMjQ" name="StereotypePropertyReferenceEdgeTest" metaclassReference="_7STBcFdiEeeUyIB-jtaMjQ _8-wjQFdiEeeUyIB-jtaMjQ _-hkZ0FdiEeeUyIB-jtaMjQ">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_R5FQkFfxEeehb73Gpbl1-Q" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <contents xmi:type="ecore:EPackage" xmi:id="_R5GesFfxEeehb73Gpbl1-Q" name="StereotypePropertyReferenceEdgeTest" nsURI="http:///schemas/StereotypePropertyReferenceEdgeTest/_R5DbYFfxEeehb73Gpbl1-Q/0" nsPrefix="StereotypePropertyReferenceEdgeTest">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_R5I68FfxEeehb73Gpbl1-Q" source="PapyrusVersion">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_R5I68VfxEeehb73Gpbl1-Q" key="Version" value="0.0.1"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_R5I68lfxEeehb73Gpbl1-Q" key="Comment" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_R5I681fxEeehb73Gpbl1-Q" key="Copyright" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_R5I69FfxEeehb73Gpbl1-Q" key="Date" value="2017-06-23"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_R5I69VfxEeehb73Gpbl1-Q" key="Author" value=""/>
- </eAnnotations>
- <eClassifiers xmi:type="ecore:EClass" xmi:id="_R5GesVfxEeehb73Gpbl1-Q" name="SourceStereotype">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_R5GeslfxEeehb73Gpbl1-Q" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_CPDNoFdiEeeUyIB-jtaMjQ"/>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_R5Ges1fxEeehb73Gpbl1-Q" name="SingleStereoRef" ordered="false" lowerBound="1" eType="_R5GevVfxEeehb73Gpbl1-Q"/>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_R5GetVfxEeehb73Gpbl1-Q" name="MultiStereoRef" ordered="false" upperBound="-1" eType="_R5GevVfxEeehb73Gpbl1-Q"/>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_R5Get1fxEeehb73Gpbl1-Q" name="SingleEClassRef" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DataType"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_R5GeuVfxEeehb73Gpbl1-Q" name="MultiEClassRef" ordered="false" upperBound="-1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DataType"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_R5Geu1fxEeehb73Gpbl1-Q" name="base_Class" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xmi:type="ecore:EClass" xmi:id="_R5GevVfxEeehb73Gpbl1-Q" name="TargetStereotype">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_R5GevlfxEeehb73Gpbl1-Q" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_U16bEFdiEeeUyIB-jtaMjQ"/>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_R5Gev1fxEeehb73Gpbl1-Q" name="base_Component" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Component"/>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xmi:type="ecore:EClass" xmi:id="_R5GewVfxEeehb73Gpbl1-Q" name="SubSourceStereotype" eSuperTypes="_R5GesVfxEeehb73Gpbl1-Q">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_R5GewlfxEeehb73Gpbl1-Q" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_v5HisFdiEeeUyIB-jtaMjQ"/>
- </eClassifiers>
- <eClassifiers xmi:type="ecore:EClass" xmi:id="_R5GexFfxEeehb73Gpbl1-Q" name="SubTargetStereotype" eSuperTypes="_R5GevVfxEeehb73Gpbl1-Q">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_R5GexVfxEeehb73Gpbl1-Q" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_y1UOEFdiEeeUyIB-jtaMjQ"/>
- </eClassifiers>
- </contents>
- </eAnnotations>
- <elementImport xmi:type="uml:ElementImport" xmi:id="_7STBcFdiEeeUyIB-jtaMjQ" alias="Class">
- <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/>
- </elementImport>
- <elementImport xmi:type="uml:ElementImport" xmi:id="_8-wjQFdiEeeUyIB-jtaMjQ" alias="Component">
- <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/>
- </elementImport>
- <elementImport xmi:type="uml:ElementImport" xmi:id="_-hkZ0FdiEeeUyIB-jtaMjQ" alias="DataType">
- <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/>
- </elementImport>
- <packagedElement xmi:type="uml:Stereotype" xmi:id="_CPDNoFdiEeeUyIB-jtaMjQ" name="SourceStereotype">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_ECmO4FdiEeeUyIB-jtaMjQ" name="SingleStereoRef" type="_U16bEFdiEeeUyIB-jtaMjQ"/>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_IHluUFdiEeeUyIB-jtaMjQ" name="MultiStereoRef" type="_U16bEFdiEeeUyIB-jtaMjQ">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_iWJF4FdiEeeUyIB-jtaMjQ"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_iWbZwFdiEeeUyIB-jtaMjQ" value="*"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_IZrj4FdiEeeUyIB-jtaMjQ" name="SingleEClassRef">
- <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_IgWMkFdiEeeUyIB-jtaMjQ" name="MultiEClassRef">
- <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/>
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_hUs3AFdiEeeUyIB-jtaMjQ"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_hVrHYFdiEeeUyIB-jtaMjQ" value="*"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="__xP5AFdiEeeUyIB-jtaMjQ" name="base_Class" association="__xHWIFdiEeeUyIB-jtaMjQ">
- <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Stereotype" xmi:id="_U16bEFdiEeeUyIB-jtaMjQ" name="TargetStereotype">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_ALT-0VdjEeeUyIB-jtaMjQ" name="base_Component" association="_ALTXwFdjEeeUyIB-jtaMjQ">
- <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Stereotype" xmi:id="_v5HisFdiEeeUyIB-jtaMjQ" name="SubSourceStereotype">
- <generalization xmi:type="uml:Generalization" xmi:id="_1weXoFdiEeeUyIB-jtaMjQ" general="_CPDNoFdiEeeUyIB-jtaMjQ"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Stereotype" xmi:id="_y1UOEFdiEeeUyIB-jtaMjQ" name="SubTargetStereotype">
- <generalization xmi:type="uml:Generalization" xmi:id="_2YUawFdiEeeUyIB-jtaMjQ" general="_U16bEFdiEeeUyIB-jtaMjQ"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Extension" xmi:id="__xHWIFdiEeeUyIB-jtaMjQ" name="E_SourceStereotype_Class1" memberEnd="__xPR8FdiEeeUyIB-jtaMjQ __xP5AFdiEeeUyIB-jtaMjQ">
- <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="__xPR8FdiEeeUyIB-jtaMjQ" name="extension_SourceStereotype" type="_CPDNoFdiEeeUyIB-jtaMjQ" aggregation="composite" association="__xHWIFdiEeeUyIB-jtaMjQ"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Extension" xmi:id="_ALTXwFdjEeeUyIB-jtaMjQ" name="E_TargetStereotype_Component1" memberEnd="_ALT-0FdjEeeUyIB-jtaMjQ _ALT-0VdjEeeUyIB-jtaMjQ">
- <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_ALT-0FdjEeeUyIB-jtaMjQ" name="extension_TargetStereotype" type="_U16bEFdiEeeUyIB-jtaMjQ" aggregation="composite" association="_ALTXwFdjEeeUyIB-jtaMjQ"/>
- </packagedElement>
-</uml:Profile>
+<?xml version="1.0" encoding="UTF-8"?> +<uml:Profile xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_6trG4FdhEeeUyIB-jtaMjQ" name="StereotypePropertyReferenceEdgeTest" metaclassReference="_7STBcFdiEeeUyIB-jtaMjQ _8-wjQFdiEeeUyIB-jtaMjQ _-hkZ0FdiEeeUyIB-jtaMjQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_R5FQkFfxEeehb73Gpbl1-Q" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <contents xmi:type="ecore:EPackage" xmi:id="_R5GesFfxEeehb73Gpbl1-Q" name="StereotypePropertyReferenceEdgeTest" nsURI="http:///schemas/StereotypePropertyReferenceEdgeTest/_R5DbYFfxEeehb73Gpbl1-Q/0" nsPrefix="StereotypePropertyReferenceEdgeTest"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_R5I68FfxEeehb73Gpbl1-Q" source="PapyrusVersion"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_R5I68VfxEeehb73Gpbl1-Q" key="Version" value="0.0.1"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_R5I68lfxEeehb73Gpbl1-Q" key="Comment" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_R5I681fxEeehb73Gpbl1-Q" key="Copyright" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_R5I69FfxEeehb73Gpbl1-Q" key="Date" value="2017-06-23"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_R5I69VfxEeehb73Gpbl1-Q" key="Author" value=""/> + </eAnnotations> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_R5GesVfxEeehb73Gpbl1-Q" name="SourceStereotype"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_R5GeslfxEeehb73Gpbl1-Q" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_CPDNoFdiEeeUyIB-jtaMjQ"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_R5Ges1fxEeehb73Gpbl1-Q" name="SingleStereoRef" ordered="false" lowerBound="1" eType="_R5GevVfxEeehb73Gpbl1-Q"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_R5GetVfxEeehb73Gpbl1-Q" name="MultiStereoRef" ordered="false" upperBound="-1" eType="_R5GevVfxEeehb73Gpbl1-Q"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_R5Get1fxEeehb73Gpbl1-Q" name="SingleEClassRef" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DataType"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_R5GeuVfxEeehb73Gpbl1-Q" name="MultiEClassRef" ordered="false" upperBound="-1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DataType"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_R5Geu1fxEeehb73Gpbl1-Q" name="base_Class" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + </eStructuralFeatures> + </eClassifiers> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_R5GevVfxEeehb73Gpbl1-Q" name="TargetStereotype"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_R5GevlfxEeehb73Gpbl1-Q" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_U16bEFdiEeeUyIB-jtaMjQ"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_R5Gev1fxEeehb73Gpbl1-Q" name="base_Component" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Component"/> + </eStructuralFeatures> + </eClassifiers> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_R5GewVfxEeehb73Gpbl1-Q" name="SubSourceStereotype" eSuperTypes="_R5GesVfxEeehb73Gpbl1-Q"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_R5GewlfxEeehb73Gpbl1-Q" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_v5HisFdiEeeUyIB-jtaMjQ"/> + </eClassifiers> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_R5GexFfxEeehb73Gpbl1-Q" name="SubTargetStereotype" eSuperTypes="_R5GevVfxEeehb73Gpbl1-Q"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_R5GexVfxEeehb73Gpbl1-Q" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_y1UOEFdiEeeUyIB-jtaMjQ"/> + </eClassifiers> + </contents> + </eAnnotations> + <elementImport xmi:type="uml:ElementImport" xmi:id="_7STBcFdiEeeUyIB-jtaMjQ" alias="Class"> + <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + </elementImport> + <elementImport xmi:type="uml:ElementImport" xmi:id="_8-wjQFdiEeeUyIB-jtaMjQ" alias="Component"> + <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/> + </elementImport> + <elementImport xmi:type="uml:ElementImport" xmi:id="_-hkZ0FdiEeeUyIB-jtaMjQ" alias="DataType"> + <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/> + </elementImport> + <packagedElement xmi:type="uml:Stereotype" xmi:id="_CPDNoFdiEeeUyIB-jtaMjQ" name="SourceStereotype"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_ECmO4FdiEeeUyIB-jtaMjQ" name="SingleStereoRef" type="_U16bEFdiEeeUyIB-jtaMjQ"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="_IHluUFdiEeeUyIB-jtaMjQ" name="MultiStereoRef" type="_U16bEFdiEeeUyIB-jtaMjQ"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_iWJF4FdiEeeUyIB-jtaMjQ"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_iWbZwFdiEeeUyIB-jtaMjQ" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_IZrj4FdiEeeUyIB-jtaMjQ" name="SingleEClassRef"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_IgWMkFdiEeeUyIB-jtaMjQ" name="MultiEClassRef"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_hUs3AFdiEeeUyIB-jtaMjQ"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_hVrHYFdiEeeUyIB-jtaMjQ" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="__xP5AFdiEeeUyIB-jtaMjQ" name="base_Class" association="__xHWIFdiEeeUyIB-jtaMjQ"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="_U16bEFdiEeeUyIB-jtaMjQ" name="TargetStereotype"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_ALT-0VdjEeeUyIB-jtaMjQ" name="base_Component" association="_ALTXwFdjEeeUyIB-jtaMjQ"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="_v5HisFdiEeeUyIB-jtaMjQ" name="SubSourceStereotype"> + <generalization xmi:type="uml:Generalization" xmi:id="_1weXoFdiEeeUyIB-jtaMjQ" general="_CPDNoFdiEeeUyIB-jtaMjQ"/> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="_y1UOEFdiEeeUyIB-jtaMjQ" name="SubTargetStereotype"> + <generalization xmi:type="uml:Generalization" xmi:id="_2YUawFdiEeeUyIB-jtaMjQ" general="_U16bEFdiEeeUyIB-jtaMjQ"/> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="__xHWIFdiEeeUyIB-jtaMjQ" name="E_SourceStereotype_Class1" memberEnd="__xPR8FdiEeeUyIB-jtaMjQ __xP5AFdiEeeUyIB-jtaMjQ"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="__xPR8FdiEeeUyIB-jtaMjQ" name="extension_SourceStereotype" type="_CPDNoFdiEeeUyIB-jtaMjQ" aggregation="composite" association="__xHWIFdiEeeUyIB-jtaMjQ"/> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="_ALTXwFdjEeeUyIB-jtaMjQ" name="E_TargetStereotype_Component1" memberEnd="_ALT-0FdjEeeUyIB-jtaMjQ _ALT-0VdjEeeUyIB-jtaMjQ"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_ALT-0FdjEeeUyIB-jtaMjQ" name="extension_TargetStereotype" type="_U16bEFdiEeeUyIB-jtaMjQ" aggregation="composite" association="_ALTXwFdjEeeUyIB-jtaMjQ"/> + </packagedElement> +</uml:Profile> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.uml b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.uml index 966cfac7dd6..0b56927ce9b 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.uml +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/518645/StereotypePropertyReferenceEdgeTest.uml @@ -1,28 +1,28 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:StereotypePropertyReferenceEdgeTest="http:///schemas/StereotypePropertyReferenceEdgeTest/_R5DbYFfxEeehb73Gpbl1-Q/0" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http:///schemas/StereotypePropertyReferenceEdgeTest/_R5DbYFfxEeehb73Gpbl1-Q/0 StereotypePropertyReferenceEdgeTest.profile.uml#_R5GesFfxEeehb73Gpbl1-Q">
- <uml:Model xmi:id="_I2B4cFZAEeeZNqfuXnrULQ" name="StereotypPropertyReferenceEdgeModelTest">
- <packagedElement xmi:type="uml:Class" xmi:id="_Fs7x4FfzEeehb73Gpbl1-Q" name="Class1"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_GEZPoFfzEeehb73Gpbl1-Q" name="Class2"/>
- <packagedElement xmi:type="uml:Component" xmi:id="_GsJMIFfzEeehb73Gpbl1-Q" name="Component1"/>
- <packagedElement xmi:type="uml:Component" xmi:id="_HHY9sFfzEeehb73Gpbl1-Q" name="Component2"/>
- <packagedElement xmi:type="uml:DataType" xmi:id="_IT_TsFfzEeehb73Gpbl1-Q" name="DataType1"/>
- <packagedElement xmi:type="uml:DataType" xmi:id="_Iw7HUFfzEeehb73Gpbl1-Q" name="DataType2"/>
- <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Sk-bUFfzEeehb73Gpbl1-Q">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_SlBeoFfzEeehb73Gpbl1-Q" source="PapyrusVersion">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SlBeoVfzEeehb73Gpbl1-Q" key="Version" value="0.0.1"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SlBeolfzEeehb73Gpbl1-Q" key="Comment" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SlBeo1fzEeehb73Gpbl1-Q" key="Copyright" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SlBepFfzEeehb73Gpbl1-Q" key="Date" value="2017-06-23"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SlBepVfzEeehb73Gpbl1-Q" key="Author" value=""/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_SlA3kFfzEeehb73Gpbl1-Q" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="StereotypePropertyReferenceEdgeTest.profile.uml#_R5GesFfxEeehb73Gpbl1-Q"/>
- </eAnnotations>
- <appliedProfile xmi:type="uml:Profile" href="StereotypePropertyReferenceEdgeTest.profile.uml#_6trG4FdhEeeUyIB-jtaMjQ"/>
- </profileApplication>
- </uml:Model>
- <StereotypePropertyReferenceEdgeTest:SubSourceStereotype xmi:id="_UL25kFfzEeehb73Gpbl1-Q" base_Class="_Fs7x4FfzEeehb73Gpbl1-Q"/>
- <StereotypePropertyReferenceEdgeTest:SubSourceStereotype xmi:id="_VStz8FfzEeehb73Gpbl1-Q" base_Class="_GEZPoFfzEeehb73Gpbl1-Q"/>
- <StereotypePropertyReferenceEdgeTest:SubTargetStereotype xmi:id="_X8134FfzEeehb73Gpbl1-Q" base_Component="_GsJMIFfzEeehb73Gpbl1-Q"/>
- <StereotypePropertyReferenceEdgeTest:SubTargetStereotype xmi:id="_Z5bgYFfzEeehb73Gpbl1-Q" base_Component="_HHY9sFfzEeehb73Gpbl1-Q"/>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:StereotypePropertyReferenceEdgeTest="http:///schemas/StereotypePropertyReferenceEdgeTest/_R5DbYFfxEeehb73Gpbl1-Q/0" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http:///schemas/StereotypePropertyReferenceEdgeTest/_R5DbYFfxEeehb73Gpbl1-Q/0 StereotypePropertyReferenceEdgeTest.profile.uml#_R5GesFfxEeehb73Gpbl1-Q"> + <uml:Model xmi:id="_I2B4cFZAEeeZNqfuXnrULQ" name="StereotypPropertyReferenceEdgeModelTest"> + <packagedElement xmi:type="uml:Class" xmi:id="_Fs7x4FfzEeehb73Gpbl1-Q" name="Class1"/> + <packagedElement xmi:type="uml:Class" xmi:id="_GEZPoFfzEeehb73Gpbl1-Q" name="Class2"/> + <packagedElement xmi:type="uml:Component" xmi:id="_GsJMIFfzEeehb73Gpbl1-Q" name="Component1"/> + <packagedElement xmi:type="uml:Component" xmi:id="_HHY9sFfzEeehb73Gpbl1-Q" name="Component2"/> + <packagedElement xmi:type="uml:DataType" xmi:id="_IT_TsFfzEeehb73Gpbl1-Q" name="DataType1"/> + <packagedElement xmi:type="uml:DataType" xmi:id="_Iw7HUFfzEeehb73Gpbl1-Q" name="DataType2"/> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Sk-bUFfzEeehb73Gpbl1-Q"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_SlBeoFfzEeehb73Gpbl1-Q" source="PapyrusVersion"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SlBeoVfzEeehb73Gpbl1-Q" key="Version" value="0.0.1"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SlBeolfzEeehb73Gpbl1-Q" key="Comment" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SlBeo1fzEeehb73Gpbl1-Q" key="Copyright" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SlBepFfzEeehb73Gpbl1-Q" key="Date" value="2017-06-23"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_SlBepVfzEeehb73Gpbl1-Q" key="Author" value=""/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_SlA3kFfzEeehb73Gpbl1-Q" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="StereotypePropertyReferenceEdgeTest.profile.uml#_R5GesFfxEeehb73Gpbl1-Q"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="StereotypePropertyReferenceEdgeTest.profile.uml#_6trG4FdhEeeUyIB-jtaMjQ"/> + </profileApplication> + </uml:Model> + <StereotypePropertyReferenceEdgeTest:SubSourceStereotype xmi:id="_UL25kFfzEeehb73Gpbl1-Q" base_Class="_Fs7x4FfzEeehb73Gpbl1-Q"/> + <StereotypePropertyReferenceEdgeTest:SubSourceStereotype xmi:id="_VStz8FfzEeehb73Gpbl1-Q" base_Class="_GEZPoFfzEeehb73Gpbl1-Q"/> + <StereotypePropertyReferenceEdgeTest:SubTargetStereotype xmi:id="_X8134FfzEeehb73Gpbl1-Q" base_Component="_GsJMIFfzEeehb73Gpbl1-Q"/> + <StereotypePropertyReferenceEdgeTest:SubTargetStereotype xmi:id="_Z5bgYFfzEeehb73Gpbl1-Q" base_Component="_HHY9sFfzEeehb73Gpbl1-Q"/> +</xmi:XMI> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.di b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.di index 8634d4c00e0..bf9abab340f 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.di +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.di @@ -1,2 +1,2 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
+<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.notation b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.notation index d19fa74c5c7..de46f306eed 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.notation +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.notation @@ -1,220 +1,220 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_EZXygBT5EeWgELX9raxvAA" type="PapyrusUMLProfileDiagram" name="Profile Diagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_KDjuIBT5EeWgELX9raxvAA" type="1026">
- <children xmi:type="notation:DecorationNode" xmi:id="_KDk8QBT5EeWgELX9raxvAA" type="1034"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_KDk8QRT5EeWgELX9raxvAA" type="1071">
- <children xmi:type="notation:Shape" xmi:id="_0dGGkBT5EeWgELX9raxvAA" type="3002">
- <element xmi:type="uml:Property" href="ProfileForStereotypeDisplayTests.profile.uml#_0cuTIBT5EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_0dGGkRT5EeWgELX9raxvAA"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_8Gv_kBT5EeWgELX9raxvAA" type="3002">
- <element xmi:type="uml:Property" href="ProfileForStereotypeDisplayTests.profile.uml#_8GlAcBT5EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_8Gv_kRT5EeWgELX9raxvAA"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_KDk8QhT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_KDk8QxT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_KDk8RBT5EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KDk8RRT5EeWgELX9raxvAA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_KDk8RhT5EeWgELX9raxvAA" type="1019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_KDk8RxT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_KDljUBT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_KDljURT5EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KDljUhT5EeWgELX9raxvAA"/>
- </children>
- <element xmi:type="uml:Stereotype" href="ProfileForStereotypeDisplayTests.profile.uml#_KDfcsBT5EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KDjuIRT5EeWgELX9raxvAA" x="512" y="308" width="163" height="98"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_Kk4SgBT5EeWgELX9raxvAA" type="1026">
- <children xmi:type="notation:DecorationNode" xmi:id="_Kk4SghT5EeWgELX9raxvAA" type="1034"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_Kk45kBT5EeWgELX9raxvAA" type="1071">
- <children xmi:type="notation:Shape" xmi:id="_K7yhMBT6EeWgELX9raxvAA" type="3002">
- <element xmi:type="uml:Property" href="ProfileForStereotypeDisplayTests.profile.uml#_K7ls4BT6EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_K7yhMRT6EeWgELX9raxvAA"/>
- </children>
- <styles xmi:type="notation:TitleStyle" xmi:id="_Kk45kRT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_Kk45khT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_Kk45kxT5EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Kk45lBT5EeWgELX9raxvAA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_Kk45lRT5EeWgELX9raxvAA" type="1019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_Kk45lhT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_Kk45lxT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_Kk45mBT5EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Kk45mRT5EeWgELX9raxvAA"/>
- </children>
- <element xmi:type="uml:Stereotype" href="ProfileForStereotypeDisplayTests.profile.uml#_Kk3EYBT5EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Kk4SgRT5EeWgELX9raxvAA" x="509" y="187" width="164" height="97"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_LDEqYBT5EeWgELX9raxvAA" type="1026">
- <children xmi:type="notation:DecorationNode" xmi:id="_LDFRcBT5EeWgELX9raxvAA" type="1034"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_LDFRcRT5EeWgELX9raxvAA" type="1071">
- <styles xmi:type="notation:TitleStyle" xmi:id="_LDFRchT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_LDFRcxT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_LDFRdBT5EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LDFRdRT5EeWgELX9raxvAA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_LDFRdhT5EeWgELX9raxvAA" type="1019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_LDFRdxT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_LDFReBT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_LDFReRT5EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LDFRehT5EeWgELX9raxvAA"/>
- </children>
- <element xmi:type="uml:Stereotype" href="ProfileForStereotypeDisplayTests.profile.uml#_LDEDUBT5EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LDEqYRT5EeWgELX9raxvAA" x="507" y="72" width="165" height="98"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_UMIgoBT5EeWgELX9raxvAA" type="1031">
- <children xmi:type="notation:DecorationNode" xmi:id="_UMJHsBT5EeWgELX9raxvAA" type="1084"/>
- <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UMJHsRT5EeWgELX9raxvAA" x="54" y="82"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_UMK84BT5EeWgELX9raxvAA" type="1031">
- <children xmi:type="notation:DecorationNode" xmi:id="_UMK84hT5EeWgELX9raxvAA" type="1084"/>
- <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UMK84xT5EeWgELX9raxvAA" x="54" y="162"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_UMLj8xT5EeWgELX9raxvAA" type="1031">
- <children xmi:type="notation:DecorationNode" xmi:id="_UMLj9RT5EeWgELX9raxvAA" type="1084"/>
- <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UMLj9hT5EeWgELX9raxvAA" x="54" y="242"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_UMMLAxT5EeWgELX9raxvAA" type="1031">
- <children xmi:type="notation:DecorationNode" xmi:id="_UMMLBRT5EeWgELX9raxvAA" type="1084"/>
- <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UMMLBhT5EeWgELX9raxvAA" x="54" y="322"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_UOq3QBT5EeWgELX9raxvAA" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_UOq3QRT5EeWgELX9raxvAA" showTitle="true"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UOreUBT5EeWgELX9raxvAA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UOq3QhT5EeWgELX9raxvAA" x="383" y="63"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_UPn5gBT5EeWgELX9raxvAA" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_UPn5gRT5EeWgELX9raxvAA" showTitle="true"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UPn5gxT5EeWgELX9raxvAA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UPn5ghT5EeWgELX9raxvAA" x="383" y="143"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_UQJd8BT5EeWgELX9raxvAA" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_UQJd8RT5EeWgELX9raxvAA" showTitle="true"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UQJd8xT5EeWgELX9raxvAA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UQJd8hT5EeWgELX9raxvAA" x="383" y="223"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_UQvT0xT5EeWgELX9raxvAA" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_UQvT1BT5EeWgELX9raxvAA" showTitle="true"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UQvT1hT5EeWgELX9raxvAA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UQvT1RT5EeWgELX9raxvAA" x="383" y="303"/>
- </children>
- <styles xmi:type="notation:StringValueStyle" xmi:id="_EZXygRT5EeWgELX9raxvAA" name="diagram_compatibility_version" stringValue="1.1.0"/>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_EZXyghT5EeWgELX9raxvAA"/>
- <styles xmi:type="style:PapyrusViewStyle" xmi:id="_EZXygxT5EeWgELX9raxvAA">
- <owner xmi:type="uml:Profile" href="ProfileForStereotypeDisplayTests.profile.uml#_EU0CoBT5EeWgELX9raxvAA"/>
- </styles>
- <element xmi:type="uml:Profile" href="ProfileForStereotypeDisplayTests.profile.uml#_EU0CoBT5EeWgELX9raxvAA"/>
- <edges xmi:type="notation:Connector" xmi:id="_UOsFYBT5EeWgELX9raxvAA" type="StereotypeCommentLink" source="_UMIgoBT5EeWgELX9raxvAA" target="_UOq3QBT5EeWgELX9raxvAA">
- <styles xmi:type="notation:FontStyle" xmi:id="_UOsFYRT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UOsschT5EeWgELX9raxvAA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_UOsFYhT5EeWgELX9raxvAA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UOsscBT5EeWgELX9raxvAA"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UOsscRT5EeWgELX9raxvAA"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_UPn5hBT5EeWgELX9raxvAA" type="StereotypeCommentLink" source="_UMK84BT5EeWgELX9raxvAA" target="_UPn5gBT5EeWgELX9raxvAA">
- <styles xmi:type="notation:FontStyle" xmi:id="_UPn5hRT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UPn5iRT5EeWgELX9raxvAA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_UPn5hhT5EeWgELX9raxvAA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UPn5hxT5EeWgELX9raxvAA"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UPn5iBT5EeWgELX9raxvAA"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_UQJd9BT5EeWgELX9raxvAA" type="StereotypeCommentLink" source="_UMLj8xT5EeWgELX9raxvAA" target="_UQJd8BT5EeWgELX9raxvAA">
- <styles xmi:type="notation:FontStyle" xmi:id="_UQJd9RT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UQJd-RT5EeWgELX9raxvAA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_UQJd9hT5EeWgELX9raxvAA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UQJd9xT5EeWgELX9raxvAA"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UQJd-BT5EeWgELX9raxvAA"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_UQvT1xT5EeWgELX9raxvAA" type="StereotypeCommentLink" source="_UMMLAxT5EeWgELX9raxvAA" target="_UQvT0xT5EeWgELX9raxvAA">
- <styles xmi:type="notation:FontStyle" xmi:id="_UQvT2BT5EeWgELX9raxvAA"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UQvT3BT5EeWgELX9raxvAA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_UQvT2RT5EeWgELX9raxvAA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UQvT2hT5EeWgELX9raxvAA"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UQvT2xT5EeWgELX9raxvAA"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_erVDYBT5EeWgELX9raxvAA" type="1013" source="_KDjuIBT5EeWgELX9raxvAA" target="_UMMLAxT5EeWgELX9raxvAA">
- <styles xmi:type="notation:FontStyle" xmi:id="_erVDYRT5EeWgELX9raxvAA"/>
- <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_epaX0BT5EeWgELX9raxvAA"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_erVDYhT5EeWgELX9raxvAA" points="[-18, 0, 408, -18]$[-476, 19, -50, 1]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_etY44BT5EeWgELX9raxvAA" id="(0.0,0.21428571428571427)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_etY44RT5EeWgELX9raxvAA" id="(1.0,0.46)"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_l-Am0BT5EeWgELX9raxvAA" type="1013" source="_Kk4SgBT5EeWgELX9raxvAA" target="_UMIgoBT5EeWgELX9raxvAA">
- <styles xmi:type="notation:FontStyle" xmi:id="_l-Am0RT5EeWgELX9raxvAA"/>
- <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_l9zygBT5EeWgELX9raxvAA"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_l-Am0hT5EeWgELX9raxvAA" points="[-17, -6, 405, 128]$[-372, -128, 50, 6]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_l-l1oBT5EeWgELX9raxvAA" id="(0.0,0.4948453608247423)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_l-l1oRT5EeWgELX9raxvAA" id="(1.0,0.8)"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_neXmUBT5EeWgELX9raxvAA" type="1013" source="_KDjuIBT5EeWgELX9raxvAA" target="_UMIgoBT5EeWgELX9raxvAA">
- <styles xmi:type="notation:FontStyle" xmi:id="_neXmURT5EeWgELX9raxvAA"/>
- <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_nd-kwBT5EeWgELX9raxvAA"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_neXmUhT5EeWgELX9raxvAA" points="[-24, -13, 408, 210]$[-382, -215, 50, 8]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ne-qUBT5EeWgELX9raxvAA" id="(0.0,0.09183673469387756)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ne-qURT5EeWgELX9raxvAA" id="(1.0,0.96)"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_oucuIBT5EeWgELX9raxvAA" type="1013" source="_Kk4SgBT5EeWgELX9raxvAA" target="_UMLj8xT5EeWgELX9raxvAA">
- <styles xmi:type="notation:FontStyle" xmi:id="_oucuIRT5EeWgELX9raxvAA"/>
- <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_ouLBUBT5EeWgELX9raxvAA"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_oucuIhT5EeWgELX9raxvAA" points="[-18, 2, 379, -60]$[-373, 66, 24, 4]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ovIDkBT5EeWgELX9raxvAA" id="(0.0,0.25773195876288657)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ovIDkRT5EeWgELX9raxvAA" id="(1.0,0.52)"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_qWpbABT5EeWgELX9raxvAA" type="1013" source="_LDEqYBT5EeWgELX9raxvAA" target="_UMK84BT5EeWgELX9raxvAA">
- <styles xmi:type="notation:FontStyle" xmi:id="_qWpbART5EeWgELX9raxvAA"/>
- <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_qWcmsBT5EeWgELX9raxvAA"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qWpbAhT5EeWgELX9raxvAA" points="[-22, 5, 364, -98]$[-375, 104, 11, 1]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qXOp0BT5EeWgELX9raxvAA" id="(0.0,0.23469387755102042)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qXPQ4BT5EeWgELX9raxvAA" id="(1.0,0.56)"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_rUotQBT5EeWgELX9raxvAA" type="1013" source="_KDjuIBT5EeWgELX9raxvAA" target="_UMLj8xT5EeWgELX9raxvAA">
- <styles xmi:type="notation:FontStyle" xmi:id="_rUotQRT5EeWgELX9raxvAA"/>
- <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_rURg4BT5EeWgELX9raxvAA"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_rUotQhT5EeWgELX9raxvAA" points="[-27, -4, 380, 42]$[-385, -35, 22, 11]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_rVYUIBT5EeWgELX9raxvAA" id="(0.0,0.15306122448979592)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_rVYUIRT5EeWgELX9raxvAA" id="(1.0,0.82)"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_r9GbcBT5EeWgELX9raxvAA" type="1013" source="_LDEqYBT5EeWgELX9raxvAA" target="_UMIgoBT5EeWgELX9raxvAA">
- <styles xmi:type="notation:FontStyle" xmi:id="_r9GbcRT5EeWgELX9raxvAA"/>
- <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_r85AEBT5EeWgELX9raxvAA"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_r9GbchT5EeWgELX9raxvAA" points="[-35, 1, 371, -19]$[-388, 21, 18, 1]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_r9nY0BT5EeWgELX9raxvAA" id="(0.0,0.1836734693877551)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_r9nY0RT5EeWgELX9raxvAA" id="(1.0,0.52)"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_uEZfIBT5EeWgELX9raxvAA" type="1013" source="_Kk4SgBT5EeWgELX9raxvAA" target="_UMMLAxT5EeWgELX9raxvAA">
- <styles xmi:type="notation:FontStyle" xmi:id="_uEZfIRT5EeWgELX9raxvAA"/>
- <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_uEMq0BT5EeWgELX9raxvAA"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_uEZfIhT5EeWgELX9raxvAA" points="[-18, 6, 405, -133]$[-373, 137, 50, -2]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uFBKMBT5EeWgELX9raxvAA" id="(0.0,0.27835051546391754)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uFBxQBT5EeWgELX9raxvAA" id="(1.0,0.24)"/>
- </edges>
-</notation:Diagram>
+<?xml version="1.0" encoding="UTF-8"?> +<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_EZXygBT5EeWgELX9raxvAA" type="PapyrusUMLProfileDiagram" name="Profile Diagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_KDjuIBT5EeWgELX9raxvAA" type="1026"> + <children xmi:type="notation:DecorationNode" xmi:id="_KDk8QBT5EeWgELX9raxvAA" type="1034"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_KDk8QRT5EeWgELX9raxvAA" type="1071"> + <children xmi:type="notation:Shape" xmi:id="_0dGGkBT5EeWgELX9raxvAA" type="3002"> + <element xmi:type="uml:Property" href="ProfileForStereotypeDisplayTests.profile.uml#_0cuTIBT5EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_0dGGkRT5EeWgELX9raxvAA"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_8Gv_kBT5EeWgELX9raxvAA" type="3002"> + <element xmi:type="uml:Property" href="ProfileForStereotypeDisplayTests.profile.uml#_8GlAcBT5EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_8Gv_kRT5EeWgELX9raxvAA"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_KDk8QhT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_KDk8QxT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_KDk8RBT5EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KDk8RRT5EeWgELX9raxvAA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_KDk8RhT5EeWgELX9raxvAA" type="1019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_KDk8RxT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_KDljUBT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_KDljURT5EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KDljUhT5EeWgELX9raxvAA"/> + </children> + <element xmi:type="uml:Stereotype" href="ProfileForStereotypeDisplayTests.profile.uml#_KDfcsBT5EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_KDjuIRT5EeWgELX9raxvAA" x="512" y="308" width="163" height="98"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Kk4SgBT5EeWgELX9raxvAA" type="1026"> + <children xmi:type="notation:DecorationNode" xmi:id="_Kk4SghT5EeWgELX9raxvAA" type="1034"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_Kk45kBT5EeWgELX9raxvAA" type="1071"> + <children xmi:type="notation:Shape" xmi:id="_K7yhMBT6EeWgELX9raxvAA" type="3002"> + <element xmi:type="uml:Property" href="ProfileForStereotypeDisplayTests.profile.uml#_K7ls4BT6EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_K7yhMRT6EeWgELX9raxvAA"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_Kk45kRT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_Kk45khT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_Kk45kxT5EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Kk45lBT5EeWgELX9raxvAA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_Kk45lRT5EeWgELX9raxvAA" type="1019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Kk45lhT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_Kk45lxT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_Kk45mBT5EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Kk45mRT5EeWgELX9raxvAA"/> + </children> + <element xmi:type="uml:Stereotype" href="ProfileForStereotypeDisplayTests.profile.uml#_Kk3EYBT5EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Kk4SgRT5EeWgELX9raxvAA" x="509" y="187" width="164" height="97"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_LDEqYBT5EeWgELX9raxvAA" type="1026"> + <children xmi:type="notation:DecorationNode" xmi:id="_LDFRcBT5EeWgELX9raxvAA" type="1034"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_LDFRcRT5EeWgELX9raxvAA" type="1071"> + <styles xmi:type="notation:TitleStyle" xmi:id="_LDFRchT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_LDFRcxT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_LDFRdBT5EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LDFRdRT5EeWgELX9raxvAA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_LDFRdhT5EeWgELX9raxvAA" type="1019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_LDFRdxT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_LDFReBT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_LDFReRT5EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LDFRehT5EeWgELX9raxvAA"/> + </children> + <element xmi:type="uml:Stereotype" href="ProfileForStereotypeDisplayTests.profile.uml#_LDEDUBT5EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LDEqYRT5EeWgELX9raxvAA" x="507" y="72" width="165" height="98"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_UMIgoBT5EeWgELX9raxvAA" type="1031"> + <children xmi:type="notation:DecorationNode" xmi:id="_UMJHsBT5EeWgELX9raxvAA" type="1084"/> + <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UMJHsRT5EeWgELX9raxvAA" x="54" y="82"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_UMK84BT5EeWgELX9raxvAA" type="1031"> + <children xmi:type="notation:DecorationNode" xmi:id="_UMK84hT5EeWgELX9raxvAA" type="1084"/> + <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UMK84xT5EeWgELX9raxvAA" x="54" y="162"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_UMLj8xT5EeWgELX9raxvAA" type="1031"> + <children xmi:type="notation:DecorationNode" xmi:id="_UMLj9RT5EeWgELX9raxvAA" type="1084"/> + <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UMLj9hT5EeWgELX9raxvAA" x="54" y="242"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_UMMLAxT5EeWgELX9raxvAA" type="1031"> + <children xmi:type="notation:DecorationNode" xmi:id="_UMMLBRT5EeWgELX9raxvAA" type="1084"/> + <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UMMLBhT5EeWgELX9raxvAA" x="54" y="322"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_UOq3QBT5EeWgELX9raxvAA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_UOq3QRT5EeWgELX9raxvAA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UOreUBT5EeWgELX9raxvAA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UOq3QhT5EeWgELX9raxvAA" x="383" y="63"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_UPn5gBT5EeWgELX9raxvAA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_UPn5gRT5EeWgELX9raxvAA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UPn5gxT5EeWgELX9raxvAA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UPn5ghT5EeWgELX9raxvAA" x="383" y="143"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_UQJd8BT5EeWgELX9raxvAA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_UQJd8RT5EeWgELX9raxvAA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UQJd8xT5EeWgELX9raxvAA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UQJd8hT5EeWgELX9raxvAA" x="383" y="223"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_UQvT0xT5EeWgELX9raxvAA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_UQvT1BT5EeWgELX9raxvAA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UQvT1hT5EeWgELX9raxvAA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_UQvT1RT5EeWgELX9raxvAA" x="383" y="303"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_EZXygRT5EeWgELX9raxvAA" name="diagram_compatibility_version" stringValue="1.1.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_EZXyghT5EeWgELX9raxvAA"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_EZXygxT5EeWgELX9raxvAA"> + <owner xmi:type="uml:Profile" href="ProfileForStereotypeDisplayTests.profile.uml#_EU0CoBT5EeWgELX9raxvAA"/> + </styles> + <element xmi:type="uml:Profile" href="ProfileForStereotypeDisplayTests.profile.uml#_EU0CoBT5EeWgELX9raxvAA"/> + <edges xmi:type="notation:Connector" xmi:id="_UOsFYBT5EeWgELX9raxvAA" type="StereotypeCommentLink" source="_UMIgoBT5EeWgELX9raxvAA" target="_UOq3QBT5EeWgELX9raxvAA"> + <styles xmi:type="notation:FontStyle" xmi:id="_UOsFYRT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UOsschT5EeWgELX9raxvAA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_UOsFYhT5EeWgELX9raxvAA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UOsscBT5EeWgELX9raxvAA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UOsscRT5EeWgELX9raxvAA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_UPn5hBT5EeWgELX9raxvAA" type="StereotypeCommentLink" source="_UMK84BT5EeWgELX9raxvAA" target="_UPn5gBT5EeWgELX9raxvAA"> + <styles xmi:type="notation:FontStyle" xmi:id="_UPn5hRT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UPn5iRT5EeWgELX9raxvAA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_UPn5hhT5EeWgELX9raxvAA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UPn5hxT5EeWgELX9raxvAA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UPn5iBT5EeWgELX9raxvAA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_UQJd9BT5EeWgELX9raxvAA" type="StereotypeCommentLink" source="_UMLj8xT5EeWgELX9raxvAA" target="_UQJd8BT5EeWgELX9raxvAA"> + <styles xmi:type="notation:FontStyle" xmi:id="_UQJd9RT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UQJd-RT5EeWgELX9raxvAA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_UQJd9hT5EeWgELX9raxvAA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UQJd9xT5EeWgELX9raxvAA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UQJd-BT5EeWgELX9raxvAA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_UQvT1xT5EeWgELX9raxvAA" type="StereotypeCommentLink" source="_UMMLAxT5EeWgELX9raxvAA" target="_UQvT0xT5EeWgELX9raxvAA"> + <styles xmi:type="notation:FontStyle" xmi:id="_UQvT2BT5EeWgELX9raxvAA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_UQvT3BT5EeWgELX9raxvAA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_UQvT2RT5EeWgELX9raxvAA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UQvT2hT5EeWgELX9raxvAA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_UQvT2xT5EeWgELX9raxvAA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_erVDYBT5EeWgELX9raxvAA" type="1013" source="_KDjuIBT5EeWgELX9raxvAA" target="_UMMLAxT5EeWgELX9raxvAA"> + <styles xmi:type="notation:FontStyle" xmi:id="_erVDYRT5EeWgELX9raxvAA"/> + <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_epaX0BT5EeWgELX9raxvAA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_erVDYhT5EeWgELX9raxvAA" points="[-18, 0, 408, -18]$[-476, 19, -50, 1]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_etY44BT5EeWgELX9raxvAA" id="(0.0,0.21428571428571427)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_etY44RT5EeWgELX9raxvAA" id="(1.0,0.46)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_l-Am0BT5EeWgELX9raxvAA" type="1013" source="_Kk4SgBT5EeWgELX9raxvAA" target="_UMIgoBT5EeWgELX9raxvAA"> + <styles xmi:type="notation:FontStyle" xmi:id="_l-Am0RT5EeWgELX9raxvAA"/> + <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_l9zygBT5EeWgELX9raxvAA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_l-Am0hT5EeWgELX9raxvAA" points="[-17, -6, 405, 128]$[-372, -128, 50, 6]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_l-l1oBT5EeWgELX9raxvAA" id="(0.0,0.4948453608247423)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_l-l1oRT5EeWgELX9raxvAA" id="(1.0,0.8)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_neXmUBT5EeWgELX9raxvAA" type="1013" source="_KDjuIBT5EeWgELX9raxvAA" target="_UMIgoBT5EeWgELX9raxvAA"> + <styles xmi:type="notation:FontStyle" xmi:id="_neXmURT5EeWgELX9raxvAA"/> + <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_nd-kwBT5EeWgELX9raxvAA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_neXmUhT5EeWgELX9raxvAA" points="[-24, -13, 408, 210]$[-382, -215, 50, 8]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ne-qUBT5EeWgELX9raxvAA" id="(0.0,0.09183673469387756)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ne-qURT5EeWgELX9raxvAA" id="(1.0,0.96)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_oucuIBT5EeWgELX9raxvAA" type="1013" source="_Kk4SgBT5EeWgELX9raxvAA" target="_UMLj8xT5EeWgELX9raxvAA"> + <styles xmi:type="notation:FontStyle" xmi:id="_oucuIRT5EeWgELX9raxvAA"/> + <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_ouLBUBT5EeWgELX9raxvAA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_oucuIhT5EeWgELX9raxvAA" points="[-18, 2, 379, -60]$[-373, 66, 24, 4]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ovIDkBT5EeWgELX9raxvAA" id="(0.0,0.25773195876288657)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ovIDkRT5EeWgELX9raxvAA" id="(1.0,0.52)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_qWpbABT5EeWgELX9raxvAA" type="1013" source="_LDEqYBT5EeWgELX9raxvAA" target="_UMK84BT5EeWgELX9raxvAA"> + <styles xmi:type="notation:FontStyle" xmi:id="_qWpbART5EeWgELX9raxvAA"/> + <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_qWcmsBT5EeWgELX9raxvAA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qWpbAhT5EeWgELX9raxvAA" points="[-22, 5, 364, -98]$[-375, 104, 11, 1]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qXOp0BT5EeWgELX9raxvAA" id="(0.0,0.23469387755102042)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qXPQ4BT5EeWgELX9raxvAA" id="(1.0,0.56)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_rUotQBT5EeWgELX9raxvAA" type="1013" source="_KDjuIBT5EeWgELX9raxvAA" target="_UMLj8xT5EeWgELX9raxvAA"> + <styles xmi:type="notation:FontStyle" xmi:id="_rUotQRT5EeWgELX9raxvAA"/> + <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_rURg4BT5EeWgELX9raxvAA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_rUotQhT5EeWgELX9raxvAA" points="[-27, -4, 380, 42]$[-385, -35, 22, 11]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_rVYUIBT5EeWgELX9raxvAA" id="(0.0,0.15306122448979592)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_rVYUIRT5EeWgELX9raxvAA" id="(1.0,0.82)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_r9GbcBT5EeWgELX9raxvAA" type="1013" source="_LDEqYBT5EeWgELX9raxvAA" target="_UMIgoBT5EeWgELX9raxvAA"> + <styles xmi:type="notation:FontStyle" xmi:id="_r9GbcRT5EeWgELX9raxvAA"/> + <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_r85AEBT5EeWgELX9raxvAA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_r9GbchT5EeWgELX9raxvAA" points="[-35, 1, 371, -19]$[-388, 21, 18, 1]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_r9nY0BT5EeWgELX9raxvAA" id="(0.0,0.1836734693877551)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_r9nY0RT5EeWgELX9raxvAA" id="(1.0,0.52)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_uEZfIBT5EeWgELX9raxvAA" type="1013" source="_Kk4SgBT5EeWgELX9raxvAA" target="_UMMLAxT5EeWgELX9raxvAA"> + <styles xmi:type="notation:FontStyle" xmi:id="_uEZfIRT5EeWgELX9raxvAA"/> + <element xmi:type="uml:Extension" href="ProfileForStereotypeDisplayTests.profile.uml#_uEMq0BT5EeWgELX9raxvAA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_uEZfIhT5EeWgELX9raxvAA" points="[-18, 6, 405, -133]$[-373, 137, 50, -2]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uFBKMBT5EeWgELX9raxvAA" id="(0.0,0.27835051546391754)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uFBxQBT5EeWgELX9raxvAA" id="(1.0,0.24)"/> + </edges> +</notation:Diagram> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.uml b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.uml index a1346c83333..84f84df6fa7 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.uml +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/ProfileForStereotypeDisplayTests.profile.uml @@ -1,188 +1,188 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<uml:Profile xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_EU0CoBT5EeWgELX9raxvAA" name="NominalTestProfile" metaclassReference="_UMFdUBT5EeWgELX9raxvAA _UMGEYBT5EeWgELX9raxvAA _UMGrcBT5EeWgELX9raxvAA _UMGrcRT5EeWgELX9raxvAA">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_QhygYBT6EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <contents xmi:type="ecore:EPackage" xmi:id="_Fh_VgBT7EeWgELX9raxvAA" name="NominalTestProfile" nsURI="http:///schemas/NominalTestProfile/_Fh-HYBT7EeWgELX9raxvAA/1" nsPrefix="NominalTestProfile">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_FiBKuBT7EeWgELX9raxvAA" source="PapyrusVersion">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FiBKuRT7EeWgELX9raxvAA" key="Version" value="0.0.2"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FiBKuhT7EeWgELX9raxvAA" key="Comment" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FiBKuxT7EeWgELX9raxvAA" key="Copyright" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FiBKvBT7EeWgELX9raxvAA" key="Date" value="2015-06-17"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FiBKvRT7EeWgELX9raxvAA" key="Author" value=""/>
- </eAnnotations>
- <eClassifiers xmi:type="ecore:EClass" xmi:id="_Fh_VgRT7EeWgELX9raxvAA" name="stereoA">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Fh_VghT7EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_KDfcsBT5EeWgELX9raxvAA"/>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VgxT7EeWgELX9raxvAA" name="base_Package" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VhRT7EeWgELX9raxvAA" name="base_Class" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VhxT7EeWgELX9raxvAA" name="base_Operation" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_Fh_ViRT7EeWgELX9raxvAA" name="propertyA1" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_Fh_VixT7EeWgELX9raxvAA" name="propertyA2" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xmi:type="ecore:EClass" xmi:id="_Fh_VjRT7EeWgELX9raxvAA" name="stereoB">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Fh_VjhT7EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_Kk3EYBT5EeWgELX9raxvAA"/>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VjxT7EeWgELX9raxvAA" name="base_Class" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VkRT7EeWgELX9raxvAA" name="base_Operation" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VkxT7EeWgELX9raxvAA" name="base_Package" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_Fh_VlRT7EeWgELX9raxvAA" name="propertyB1" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xmi:type="ecore:EClass" xmi:id="_Fh_VlxT7EeWgELX9raxvAA" name="stereoC">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Fh_VmBT7EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_LDEDUBT5EeWgELX9raxvAA"/>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VmRT7EeWgELX9raxvAA" name="base_Property" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VmxT7EeWgELX9raxvAA" name="base_Class" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
- </eStructuralFeatures>
- </eClassifiers>
- </contents>
- <contents xmi:type="ecore:EPackage" xmi:id="_QhygYRT6EeWgELX9raxvAA" name="NominalTestProfile" nsURI="http:///schemas/NominalTestProfile/_QhwrMBT6EeWgELX9raxvAA/0" nsPrefix="NominalTestProfile">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_QiqqIBT6EeWgELX9raxvAA" source="PapyrusVersion">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QiqqIRT6EeWgELX9raxvAA" key="Version" value="0.0.1"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QiqqIhT6EeWgELX9raxvAA" key="Comment" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QiqqIxT6EeWgELX9raxvAA" key="Copyright" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QiqqJBT6EeWgELX9raxvAA" key="Date" value="2015-06-17"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QiqqJRT6EeWgELX9raxvAA" key="Author" value=""/>
- </eAnnotations>
- <eClassifiers xmi:type="ecore:EClass" xmi:id="_QhygYhT6EeWgELX9raxvAA" name="stereoA">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_QhygYxT6EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_KDfcsBT5EeWgELX9raxvAA"/>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygZBT6EeWgELX9raxvAA" name="base_Package" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygZhT6EeWgELX9raxvAA" name="base_Class" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygaBT6EeWgELX9raxvAA" name="base_Operation" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_QhygahT6EeWgELX9raxvAA" name="propertyA1" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_QhygbBT6EeWgELX9raxvAA" name="propertyA2" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xmi:type="ecore:EClass" xmi:id="_QhygbhT6EeWgELX9raxvAA" name="stereoB">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_QhygbxT6EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_Kk3EYBT5EeWgELX9raxvAA"/>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygcBT6EeWgELX9raxvAA" name="base_Class" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygchT6EeWgELX9raxvAA" name="base_Operation" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygdBT6EeWgELX9raxvAA" name="base_Package" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_QhygdhT6EeWgELX9raxvAA" name="propertyB1" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xmi:type="ecore:EClass" xmi:id="_QhygeBT6EeWgELX9raxvAA" name="stereoC">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_QhygeRT6EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_LDEDUBT5EeWgELX9raxvAA"/>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygehT6EeWgELX9raxvAA" name="base_Property" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/>
- </eStructuralFeatures>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygfBT6EeWgELX9raxvAA" name="base_Class" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
- </eStructuralFeatures>
- </eClassifiers>
- </contents>
- </eAnnotations>
- <elementImport xmi:type="uml:ElementImport" xmi:id="_UMFdUBT5EeWgELX9raxvAA" alias="Class">
- <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/>
- </elementImport>
- <elementImport xmi:type="uml:ElementImport" xmi:id="_UMGEYBT5EeWgELX9raxvAA" alias="Property">
- <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/>
- </elementImport>
- <elementImport xmi:type="uml:ElementImport" xmi:id="_UMGrcBT5EeWgELX9raxvAA" alias="Operation">
- <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/>
- </elementImport>
- <elementImport xmi:type="uml:ElementImport" xmi:id="_UMGrcRT5EeWgELX9raxvAA" alias="Package">
- <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/>
- </elementImport>
- <packageImport xmi:type="uml:PackageImport" xmi:id="_EgkmsBT5EeWgELX9raxvAA">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
- </packageImport>
- <packageImport xmi:type="uml:PackageImport" xmi:id="_EgkmsRT5EeWgELX9raxvAA">
- <importedPackage xmi:type="uml:Model" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_0"/>
- </packageImport>
- <packagedElement xmi:type="uml:Stereotype" xmi:id="_KDfcsBT5EeWgELX9raxvAA" name="stereoA">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_eqWzABT5EeWgELX9raxvAA" name="base_Package" association="_epaX0BT5EeWgELX9raxvAA">
- <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_nd_y4RT5EeWgELX9raxvAA" name="base_Class" association="_nd-kwBT5EeWgELX9raxvAA">
- <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_rUSH8RT5EeWgELX9raxvAA" name="base_Operation" association="_rURg4BT5EeWgELX9raxvAA">
- <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_0cuTIBT5EeWgELX9raxvAA" name="propertyA1">
- <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/EcorePrimitiveTypes.library.uml#EString"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_8GlAcBT5EeWgELX9raxvAA" name="propertyA2">
- <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/EcorePrimitiveTypes.library.uml#EInt"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Stereotype" xmi:id="_Kk3EYBT5EeWgELX9raxvAA" name="stereoB">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_l90ZkRT5EeWgELX9raxvAA" name="base_Class" association="_l9zygBT5EeWgELX9raxvAA">
- <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_ouMPcBT5EeWgELX9raxvAA" name="base_Operation" association="_ouLBUBT5EeWgELX9raxvAA">
- <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_uENR4RT5EeWgELX9raxvAA" name="base_Package" association="_uEMq0BT5EeWgELX9raxvAA">
- <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_K7ls4BT6EeWgELX9raxvAA" name="propertyB1">
- <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/EcorePrimitiveTypes.library.uml#EBoolean"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Stereotype" xmi:id="_LDEDUBT5EeWgELX9raxvAA" name="stereoC">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_qWd00BT5EeWgELX9raxvAA" name="base_Property" association="_qWcmsBT5EeWgELX9raxvAA">
- <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_r85nIRT5EeWgELX9raxvAA" name="base_Class" association="_r85AEBT5EeWgELX9raxvAA">
- <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Extension" xmi:id="_epaX0BT5EeWgELX9raxvAA" name="E_stereoA_Package1" memberEnd="_eqWL8BT5EeWgELX9raxvAA _eqWzABT5EeWgELX9raxvAA">
- <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_eqWL8BT5EeWgELX9raxvAA" name="extension_stereoA" type="_KDfcsBT5EeWgELX9raxvAA" aggregation="composite" association="_epaX0BT5EeWgELX9raxvAA"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Extension" xmi:id="_l9zygBT5EeWgELX9raxvAA" name="E_stereoB_Class1" memberEnd="_l90ZkBT5EeWgELX9raxvAA _l90ZkRT5EeWgELX9raxvAA">
- <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_l90ZkBT5EeWgELX9raxvAA" name="extension_stereoB" type="_Kk3EYBT5EeWgELX9raxvAA" aggregation="composite" association="_l9zygBT5EeWgELX9raxvAA"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Extension" xmi:id="_nd-kwBT5EeWgELX9raxvAA" name="E_stereoA_Class1" memberEnd="_nd_y4BT5EeWgELX9raxvAA _nd_y4RT5EeWgELX9raxvAA">
- <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_nd_y4BT5EeWgELX9raxvAA" name="extension_stereoA" type="_KDfcsBT5EeWgELX9raxvAA" aggregation="composite" association="_nd-kwBT5EeWgELX9raxvAA"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Extension" xmi:id="_ouLBUBT5EeWgELX9raxvAA" name="E_stereoB_Operation1" memberEnd="_ouLoYBT5EeWgELX9raxvAA _ouMPcBT5EeWgELX9raxvAA">
- <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_ouLoYBT5EeWgELX9raxvAA" name="extension_stereoB" type="_Kk3EYBT5EeWgELX9raxvAA" aggregation="composite" association="_ouLBUBT5EeWgELX9raxvAA"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Extension" xmi:id="_qWcmsBT5EeWgELX9raxvAA" name="E_stereoC_Property1" memberEnd="_qWdNwBT5EeWgELX9raxvAA _qWd00BT5EeWgELX9raxvAA">
- <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_qWdNwBT5EeWgELX9raxvAA" name="extension_stereoC" type="_LDEDUBT5EeWgELX9raxvAA" aggregation="composite" association="_qWcmsBT5EeWgELX9raxvAA"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Extension" xmi:id="_rURg4BT5EeWgELX9raxvAA" name="E_stereoA_Operation1" memberEnd="_rUSH8BT5EeWgELX9raxvAA _rUSH8RT5EeWgELX9raxvAA">
- <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_rUSH8BT5EeWgELX9raxvAA" name="extension_stereoA" type="_KDfcsBT5EeWgELX9raxvAA" aggregation="composite" association="_rURg4BT5EeWgELX9raxvAA"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Extension" xmi:id="_r85AEBT5EeWgELX9raxvAA" name="E_stereoC_Class1" memberEnd="_r85nIBT5EeWgELX9raxvAA _r85nIRT5EeWgELX9raxvAA">
- <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_r85nIBT5EeWgELX9raxvAA" name="extension_stereoC" type="_LDEDUBT5EeWgELX9raxvAA" aggregation="composite" association="_r85AEBT5EeWgELX9raxvAA"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Extension" xmi:id="_uEMq0BT5EeWgELX9raxvAA" name="E_stereoB_Package1" memberEnd="_uENR4BT5EeWgELX9raxvAA _uENR4RT5EeWgELX9raxvAA">
- <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_uENR4BT5EeWgELX9raxvAA" name="extension_stereoB" type="_Kk3EYBT5EeWgELX9raxvAA" aggregation="composite" association="_uEMq0BT5EeWgELX9raxvAA"/>
- </packagedElement>
-</uml:Profile>
+<?xml version="1.0" encoding="UTF-8"?> +<uml:Profile xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_EU0CoBT5EeWgELX9raxvAA" name="NominalTestProfile" metaclassReference="_UMFdUBT5EeWgELX9raxvAA _UMGEYBT5EeWgELX9raxvAA _UMGrcBT5EeWgELX9raxvAA _UMGrcRT5EeWgELX9raxvAA"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_QhygYBT6EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <contents xmi:type="ecore:EPackage" xmi:id="_Fh_VgBT7EeWgELX9raxvAA" name="NominalTestProfile" nsURI="http:///schemas/NominalTestProfile/_Fh-HYBT7EeWgELX9raxvAA/1" nsPrefix="NominalTestProfile"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_FiBKuBT7EeWgELX9raxvAA" source="PapyrusVersion"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FiBKuRT7EeWgELX9raxvAA" key="Version" value="0.0.2"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FiBKuhT7EeWgELX9raxvAA" key="Comment" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FiBKuxT7EeWgELX9raxvAA" key="Copyright" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FiBKvBT7EeWgELX9raxvAA" key="Date" value="2015-06-17"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FiBKvRT7EeWgELX9raxvAA" key="Author" value=""/> + </eAnnotations> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_Fh_VgRT7EeWgELX9raxvAA" name="stereoA"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Fh_VghT7EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_KDfcsBT5EeWgELX9raxvAA"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VgxT7EeWgELX9raxvAA" name="base_Package" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VhRT7EeWgELX9raxvAA" name="base_Class" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VhxT7EeWgELX9raxvAA" name="base_Operation" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_Fh_ViRT7EeWgELX9raxvAA" name="propertyA1" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_Fh_VixT7EeWgELX9raxvAA" name="propertyA2" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/> + </eStructuralFeatures> + </eClassifiers> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_Fh_VjRT7EeWgELX9raxvAA" name="stereoB"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Fh_VjhT7EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_Kk3EYBT5EeWgELX9raxvAA"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VjxT7EeWgELX9raxvAA" name="base_Class" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VkRT7EeWgELX9raxvAA" name="base_Operation" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VkxT7EeWgELX9raxvAA" name="base_Package" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_Fh_VlRT7EeWgELX9raxvAA" name="propertyB1" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> + </eStructuralFeatures> + </eClassifiers> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_Fh_VlxT7EeWgELX9raxvAA" name="stereoC"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Fh_VmBT7EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_LDEDUBT5EeWgELX9raxvAA"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VmRT7EeWgELX9raxvAA" name="base_Property" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_Fh_VmxT7EeWgELX9raxvAA" name="base_Class" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + </eStructuralFeatures> + </eClassifiers> + </contents> + <contents xmi:type="ecore:EPackage" xmi:id="_QhygYRT6EeWgELX9raxvAA" name="NominalTestProfile" nsURI="http:///schemas/NominalTestProfile/_QhwrMBT6EeWgELX9raxvAA/0" nsPrefix="NominalTestProfile"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_QiqqIBT6EeWgELX9raxvAA" source="PapyrusVersion"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QiqqIRT6EeWgELX9raxvAA" key="Version" value="0.0.1"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QiqqIhT6EeWgELX9raxvAA" key="Comment" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QiqqIxT6EeWgELX9raxvAA" key="Copyright" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QiqqJBT6EeWgELX9raxvAA" key="Date" value="2015-06-17"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QiqqJRT6EeWgELX9raxvAA" key="Author" value=""/> + </eAnnotations> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_QhygYhT6EeWgELX9raxvAA" name="stereoA"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_QhygYxT6EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_KDfcsBT5EeWgELX9raxvAA"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygZBT6EeWgELX9raxvAA" name="base_Package" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygZhT6EeWgELX9raxvAA" name="base_Class" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygaBT6EeWgELX9raxvAA" name="base_Operation" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_QhygahT6EeWgELX9raxvAA" name="propertyA1" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_QhygbBT6EeWgELX9raxvAA" name="propertyA2" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/> + </eStructuralFeatures> + </eClassifiers> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_QhygbhT6EeWgELX9raxvAA" name="stereoB"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_QhygbxT6EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_Kk3EYBT5EeWgELX9raxvAA"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygcBT6EeWgELX9raxvAA" name="base_Class" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygchT6EeWgELX9raxvAA" name="base_Operation" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygdBT6EeWgELX9raxvAA" name="base_Package" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_QhygdhT6EeWgELX9raxvAA" name="propertyB1" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> + </eStructuralFeatures> + </eClassifiers> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_QhygeBT6EeWgELX9raxvAA" name="stereoC"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_QhygeRT6EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_LDEDUBT5EeWgELX9raxvAA"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygehT6EeWgELX9raxvAA" name="base_Property" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> + </eStructuralFeatures> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_QhygfBT6EeWgELX9raxvAA" name="base_Class" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + </eStructuralFeatures> + </eClassifiers> + </contents> + </eAnnotations> + <elementImport xmi:type="uml:ElementImport" xmi:id="_UMFdUBT5EeWgELX9raxvAA" alias="Class"> + <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + </elementImport> + <elementImport xmi:type="uml:ElementImport" xmi:id="_UMGEYBT5EeWgELX9raxvAA" alias="Property"> + <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + </elementImport> + <elementImport xmi:type="uml:ElementImport" xmi:id="_UMGrcBT5EeWgELX9raxvAA" alias="Operation"> + <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> + </elementImport> + <elementImport xmi:type="uml:ElementImport" xmi:id="_UMGrcRT5EeWgELX9raxvAA" alias="Package"> + <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/> + </elementImport> + <packageImport xmi:type="uml:PackageImport" xmi:id="_EgkmsBT5EeWgELX9raxvAA"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packageImport xmi:type="uml:PackageImport" xmi:id="_EgkmsRT5EeWgELX9raxvAA"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_0"/> + </packageImport> + <packagedElement xmi:type="uml:Stereotype" xmi:id="_KDfcsBT5EeWgELX9raxvAA" name="stereoA"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_eqWzABT5EeWgELX9raxvAA" name="base_Package" association="_epaX0BT5EeWgELX9raxvAA"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_nd_y4RT5EeWgELX9raxvAA" name="base_Class" association="_nd-kwBT5EeWgELX9raxvAA"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_rUSH8RT5EeWgELX9raxvAA" name="base_Operation" association="_rURg4BT5EeWgELX9raxvAA"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_0cuTIBT5EeWgELX9raxvAA" name="propertyA1"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/EcorePrimitiveTypes.library.uml#EString"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_8GlAcBT5EeWgELX9raxvAA" name="propertyA2"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/EcorePrimitiveTypes.library.uml#EInt"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="_Kk3EYBT5EeWgELX9raxvAA" name="stereoB"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_l90ZkRT5EeWgELX9raxvAA" name="base_Class" association="_l9zygBT5EeWgELX9raxvAA"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_ouMPcBT5EeWgELX9raxvAA" name="base_Operation" association="_ouLBUBT5EeWgELX9raxvAA"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_uENR4RT5EeWgELX9raxvAA" name="base_Package" association="_uEMq0BT5EeWgELX9raxvAA"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Package"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_K7ls4BT6EeWgELX9raxvAA" name="propertyB1"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/EcorePrimitiveTypes.library.uml#EBoolean"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="_LDEDUBT5EeWgELX9raxvAA" name="stereoC"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_qWd00BT5EeWgELX9raxvAA" name="base_Property" association="_qWcmsBT5EeWgELX9raxvAA"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_r85nIRT5EeWgELX9raxvAA" name="base_Class" association="_r85AEBT5EeWgELX9raxvAA"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="_epaX0BT5EeWgELX9raxvAA" name="E_stereoA_Package1" memberEnd="_eqWL8BT5EeWgELX9raxvAA _eqWzABT5EeWgELX9raxvAA"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_eqWL8BT5EeWgELX9raxvAA" name="extension_stereoA" type="_KDfcsBT5EeWgELX9raxvAA" aggregation="composite" association="_epaX0BT5EeWgELX9raxvAA"/> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="_l9zygBT5EeWgELX9raxvAA" name="E_stereoB_Class1" memberEnd="_l90ZkBT5EeWgELX9raxvAA _l90ZkRT5EeWgELX9raxvAA"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_l90ZkBT5EeWgELX9raxvAA" name="extension_stereoB" type="_Kk3EYBT5EeWgELX9raxvAA" aggregation="composite" association="_l9zygBT5EeWgELX9raxvAA"/> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="_nd-kwBT5EeWgELX9raxvAA" name="E_stereoA_Class1" memberEnd="_nd_y4BT5EeWgELX9raxvAA _nd_y4RT5EeWgELX9raxvAA"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_nd_y4BT5EeWgELX9raxvAA" name="extension_stereoA" type="_KDfcsBT5EeWgELX9raxvAA" aggregation="composite" association="_nd-kwBT5EeWgELX9raxvAA"/> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="_ouLBUBT5EeWgELX9raxvAA" name="E_stereoB_Operation1" memberEnd="_ouLoYBT5EeWgELX9raxvAA _ouMPcBT5EeWgELX9raxvAA"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_ouLoYBT5EeWgELX9raxvAA" name="extension_stereoB" type="_Kk3EYBT5EeWgELX9raxvAA" aggregation="composite" association="_ouLBUBT5EeWgELX9raxvAA"/> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="_qWcmsBT5EeWgELX9raxvAA" name="E_stereoC_Property1" memberEnd="_qWdNwBT5EeWgELX9raxvAA _qWd00BT5EeWgELX9raxvAA"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_qWdNwBT5EeWgELX9raxvAA" name="extension_stereoC" type="_LDEDUBT5EeWgELX9raxvAA" aggregation="composite" association="_qWcmsBT5EeWgELX9raxvAA"/> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="_rURg4BT5EeWgELX9raxvAA" name="E_stereoA_Operation1" memberEnd="_rUSH8BT5EeWgELX9raxvAA _rUSH8RT5EeWgELX9raxvAA"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_rUSH8BT5EeWgELX9raxvAA" name="extension_stereoA" type="_KDfcsBT5EeWgELX9raxvAA" aggregation="composite" association="_rURg4BT5EeWgELX9raxvAA"/> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="_r85AEBT5EeWgELX9raxvAA" name="E_stereoC_Class1" memberEnd="_r85nIBT5EeWgELX9raxvAA _r85nIRT5EeWgELX9raxvAA"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_r85nIBT5EeWgELX9raxvAA" name="extension_stereoC" type="_LDEDUBT5EeWgELX9raxvAA" aggregation="composite" association="_r85AEBT5EeWgELX9raxvAA"/> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="_uEMq0BT5EeWgELX9raxvAA" name="E_stereoB_Package1" memberEnd="_uENR4BT5EeWgELX9raxvAA _uENR4RT5EeWgELX9raxvAA"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_uENR4BT5EeWgELX9raxvAA" name="extension_stereoB" type="_Kk3EYBT5EeWgELX9raxvAA" aggregation="composite" association="_uEMq0BT5EeWgELX9raxvAA"/> + </packagedElement> +</uml:Profile> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.di b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.di index 8634d4c00e0..bf9abab340f 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.di +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.di @@ -1,2 +1,2 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
+<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.notation b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.notation index f6cc088106a..ba8ee2f7ba0 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.notation +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.notation @@ -1,53 +1,53 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_cTnvsBT6EeWgELX9raxvAA" type="PapyrusUMLClassDiagram" name="Class Diagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_fB1pcBT6EeWgELX9raxvAA" type="2008">
- <children xmi:type="notation:DecorationNode" xmi:id="_fB2QgBT6EeWgELX9raxvAA" type="5029"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_fB2QgRT6EeWgELX9raxvAA" type="8510">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_fB2QghT6EeWgELX9raxvAA" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_fB23kBT6EeWgELX9raxvAA" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_fB23kRT6EeWgELX9raxvAA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_fB23khT6EeWgELX9raxvAA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_fB23kxT6EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fB23lBT6EeWgELX9raxvAA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_fB23lRT6EeWgELX9raxvAA" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_fB23lhT6EeWgELX9raxvAA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_fB23lxT6EeWgELX9raxvAA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_fB23mBT6EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fB23mRT6EeWgELX9raxvAA"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_fB23mhT6EeWgELX9raxvAA" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_fB23mxT6EeWgELX9raxvAA"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_fB23nBT6EeWgELX9raxvAA"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_fB23nRT6EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fB23nhT6EeWgELX9raxvAA"/>
- </children>
- <element xmi:type="uml:Class" href="StereotypeDisplayModel.uml#_fBymIBT6EeWgELX9raxvAA"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fB1pcRT6EeWgELX9raxvAA" x="258" y="78" width="346" height="252"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_kDovYBT6EeWgELX9raxvAA" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_kDovYRT6EeWgELX9raxvAA" showTitle="true"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_kDpWcBT6EeWgELX9raxvAA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="StereotypeDisplayModel.uml#_fBymIBT6EeWgELX9raxvAA"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kDovYhT6EeWgELX9raxvAA" x="458" y="78"/>
- </children>
- <styles xmi:type="notation:StringValueStyle" xmi:id="_cTnvsRT6EeWgELX9raxvAA" name="diagram_compatibility_version" stringValue="1.1.0"/>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_cTnvshT6EeWgELX9raxvAA"/>
- <styles xmi:type="style:PapyrusViewStyle" xmi:id="_cTnvsxT6EeWgELX9raxvAA">
- <owner xmi:type="uml:Model" href="StereotypeDisplayModel.uml#_cTi3MBT6EeWgELX9raxvAA"/>
- </styles>
- <element xmi:type="uml:Model" href="StereotypeDisplayModel.uml#_cTi3MBT6EeWgELX9raxvAA"/>
- <edges xmi:type="notation:Connector" xmi:id="_kDpWcRT6EeWgELX9raxvAA" type="StereotypeCommentLink" source="_fB1pcBT6EeWgELX9raxvAA" target="_kDovYBT6EeWgELX9raxvAA">
- <styles xmi:type="notation:FontStyle" xmi:id="_kDpWchT6EeWgELX9raxvAA"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_kDpWdhT6EeWgELX9raxvAA" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="StereotypeDisplayModel.uml#_fBymIBT6EeWgELX9raxvAA"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_kDpWcxT6EeWgELX9raxvAA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_kDpWdBT6EeWgELX9raxvAA"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_kDpWdRT6EeWgELX9raxvAA"/>
- </edges>
-</notation:Diagram>
+<?xml version="1.0" encoding="UTF-8"?> +<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_cTnvsBT6EeWgELX9raxvAA" type="PapyrusUMLClassDiagram" name="Class Diagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_fB1pcBT6EeWgELX9raxvAA" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_fB2QgBT6EeWgELX9raxvAA" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_fB2QgRT6EeWgELX9raxvAA" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_fB2QghT6EeWgELX9raxvAA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_fB23kBT6EeWgELX9raxvAA" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_fB23kRT6EeWgELX9raxvAA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_fB23khT6EeWgELX9raxvAA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_fB23kxT6EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fB23lBT6EeWgELX9raxvAA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_fB23lRT6EeWgELX9raxvAA" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_fB23lhT6EeWgELX9raxvAA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_fB23lxT6EeWgELX9raxvAA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_fB23mBT6EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fB23mRT6EeWgELX9raxvAA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_fB23mhT6EeWgELX9raxvAA" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_fB23mxT6EeWgELX9raxvAA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_fB23nBT6EeWgELX9raxvAA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_fB23nRT6EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fB23nhT6EeWgELX9raxvAA"/> + </children> + <element xmi:type="uml:Class" href="StereotypeDisplayModel.uml#_fBymIBT6EeWgELX9raxvAA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fB1pcRT6EeWgELX9raxvAA" x="258" y="78" width="346" height="252"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_kDovYBT6EeWgELX9raxvAA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_kDovYRT6EeWgELX9raxvAA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_kDpWcBT6EeWgELX9raxvAA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="StereotypeDisplayModel.uml#_fBymIBT6EeWgELX9raxvAA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kDovYhT6EeWgELX9raxvAA" x="458" y="78"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_cTnvsRT6EeWgELX9raxvAA" name="diagram_compatibility_version" stringValue="1.1.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_cTnvshT6EeWgELX9raxvAA"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_cTnvsxT6EeWgELX9raxvAA"> + <owner xmi:type="uml:Model" href="StereotypeDisplayModel.uml#_cTi3MBT6EeWgELX9raxvAA"/> + </styles> + <element xmi:type="uml:Model" href="StereotypeDisplayModel.uml#_cTi3MBT6EeWgELX9raxvAA"/> + <edges xmi:type="notation:Connector" xmi:id="_kDpWcRT6EeWgELX9raxvAA" type="StereotypeCommentLink" source="_fB1pcBT6EeWgELX9raxvAA" target="_kDovYBT6EeWgELX9raxvAA"> + <styles xmi:type="notation:FontStyle" xmi:id="_kDpWchT6EeWgELX9raxvAA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_kDpWdhT6EeWgELX9raxvAA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="StereotypeDisplayModel.uml#_fBymIBT6EeWgELX9raxvAA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_kDpWcxT6EeWgELX9raxvAA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_kDpWdBT6EeWgELX9raxvAA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_kDpWdRT6EeWgELX9raxvAA"/> + </edges> +</notation:Diagram> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.uml b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.uml index 06cb00bcefd..19950eab211 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.uml +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/StereotypeDisplay/StereotypeDisplayModel.uml @@ -1,20 +1,20 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:NominalTestProfile="http:///schemas/NominalTestProfile/_Fh-HYBT7EeWgELX9raxvAA/1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http:///schemas/NominalTestProfile/_Fh-HYBT7EeWgELX9raxvAA/1 ProfileForStereotypeDisplayTests.profile.uml#_Fh_VgBT7EeWgELX9raxvAA">
- <uml:Model xmi:id="_cTi3MBT6EeWgELX9raxvAA" name="RootElement">
- <packagedElement xmi:type="uml:Class" xmi:id="_fBymIBT6EeWgELX9raxvAA" name="Class1"/>
- <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_cUCmcBT6EeWgELX9raxvAA">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__TVCMB5uEeWDnczPNXv6Rg" source="PapyrusVersion">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__TVCMR5uEeWDnczPNXv6Rg" key="Version" value="0.0.2"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__TVCMh5uEeWDnczPNXv6Rg" key="Comment" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__TVCMx5uEeWDnczPNXv6Rg" key="Copyright" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__TVCNB5uEeWDnczPNXv6Rg" key="Date" value="2015-06-17"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__TVCNR5uEeWDnczPNXv6Rg" key="Author" value=""/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_cUDNgBT6EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="ProfileForStereotypeDisplayTests.profile.uml#_Fh_VgBT7EeWgELX9raxvAA"/>
- </eAnnotations>
- <appliedProfile xmi:type="uml:Profile" href="ProfileForStereotypeDisplayTests.profile.uml#_EU0CoBT5EeWgELX9raxvAA"/>
- </profileApplication>
- </uml:Model>
- <NominalTestProfile:stereoA xmi:id="_kDT_QBT6EeWgELX9raxvAA" base_Class="_fBymIBT6EeWgELX9raxvAA"/>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:NominalTestProfile="http:///schemas/NominalTestProfile/_Fh-HYBT7EeWgELX9raxvAA/1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http:///schemas/NominalTestProfile/_Fh-HYBT7EeWgELX9raxvAA/1 ProfileForStereotypeDisplayTests.profile.uml#_Fh_VgBT7EeWgELX9raxvAA"> + <uml:Model xmi:id="_cTi3MBT6EeWgELX9raxvAA" name="RootElement"> + <packagedElement xmi:type="uml:Class" xmi:id="_fBymIBT6EeWgELX9raxvAA" name="Class1"/> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_cUCmcBT6EeWgELX9raxvAA"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__TVCMB5uEeWDnczPNXv6Rg" source="PapyrusVersion"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__TVCMR5uEeWDnczPNXv6Rg" key="Version" value="0.0.2"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__TVCMh5uEeWDnczPNXv6Rg" key="Comment" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__TVCMx5uEeWDnczPNXv6Rg" key="Copyright" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__TVCNB5uEeWDnczPNXv6Rg" key="Date" value="2015-06-17"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__TVCNR5uEeWDnczPNXv6Rg" key="Author" value=""/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_cUDNgBT6EeWgELX9raxvAA" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="ProfileForStereotypeDisplayTests.profile.uml#_Fh_VgBT7EeWgELX9raxvAA"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="ProfileForStereotypeDisplayTests.profile.uml#_EU0CoBT5EeWgELX9raxvAA"/> + </profileApplication> + </uml:Model> + <NominalTestProfile:stereoA xmi:id="_kDT_QBT6EeWgELX9raxvAA" base_Class="_fBymIBT6EeWgELX9raxvAA"/> +</xmi:XMI> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/edgeCustomisation/edgeCustomisation.di b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/edgeCustomisation/edgeCustomisation.di index 08128862c28..8c549eecdc6 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/edgeCustomisation/edgeCustomisation.di +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/edgeCustomisation/edgeCustomisation.di @@ -1,2 +1,2 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<architecture:ArchitectureDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" contextId="org.eclipse.papyrus.infra.services.edit.TypeContext"/>
+<?xml version="1.0" encoding="UTF-8"?> +<architecture:ArchitectureDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" contextId="org.eclipse.papyrus.infra.services.edit.TypeContext"/> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/edgeCustomisation/edgeCustomisation.notation b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/edgeCustomisation/edgeCustomisation.notation index 16c24c9f7dd..569e2a19277 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/edgeCustomisation/edgeCustomisation.notation +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/edgeCustomisation/edgeCustomisation.notation @@ -1,119 +1,119 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML">
- <notation:Diagram xmi:id="_L3wvYHaSEeeEHdA8pJmIgQ" type="CompositeStructure" name="Composite Structure Diagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_BPhI4HaTEeeEHdA8pJmIgQ" type="Class_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_BPkzQHaTEeeEHdA8pJmIgQ" type="Class_NameLabel"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_BPkzQXaTEeeEHdA8pJmIgQ" type="Class_FloatingNameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_BPkzQnaTEeeEHdA8pJmIgQ" y="15"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_BPlaUHaTEeeEHdA8pJmIgQ" type="Class_StructureCompartment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_BPlaUXaTEeeEHdA8pJmIgQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BPlaUnaTEeeEHdA8pJmIgQ"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_BP8msHaTEeeEHdA8pJmIgQ" type="compartment_shape_display">
- <styles xmi:type="notation:TitleStyle" xmi:id="_BP8msXaTEeeEHdA8pJmIgQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BP8msnaTEeeEHdA8pJmIgQ"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_Bq-84HaTEeeEHdA8pJmIgQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_Bq_j8HaTEeeEHdA8pJmIgQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_Bq_j8XaTEeeEHdA8pJmIgQ" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_Bq_j8naTEeeEHdA8pJmIgQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_Bq_j83aTEeeEHdA8pJmIgQ" x="25" y="-10"/>
- </children>
- <element xmi:type="uml:Port" href="edgeCustomisation.uml#_BqZHAHaTEeeEHdA8pJmIgQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Bq-84XaTEeeEHdA8pJmIgQ" x="531" y="50" width="20" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_COAxcHaTEeeEHdA8pJmIgQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_COBYgHaTEeeEHdA8pJmIgQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_COBYgXaTEeeEHdA8pJmIgQ" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_COBYgnaTEeeEHdA8pJmIgQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_COBYg3aTEeeEHdA8pJmIgQ" x="25" y="-10"/>
- </children>
- <element xmi:type="uml:Port" href="edgeCustomisation.uml#_CN3ngHaTEeeEHdA8pJmIgQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_COAxcXaTEeeEHdA8pJmIgQ" x="531" y="210" width="20" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_IlDyEHaeEeeEHdA8pJmIgQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_IlEZIHaeEeeEHdA8pJmIgQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_IlEZIXaeEeeEHdA8pJmIgQ" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_IlEZInaeEeeEHdA8pJmIgQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_IlEZI3aeEeeEHdA8pJmIgQ" x="25" y="-10"/>
- </children>
- <element xmi:type="uml:Port" href="edgeCustomisation.uml#_Ik4y8HaeEeeEHdA8pJmIgQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IlDyEXaeEeeEHdA8pJmIgQ" x="110" y="311" width="20" height="20"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_JEccwHaeEeeEHdA8pJmIgQ" type="Port_Shape">
- <children xmi:type="notation:DecorationNode" xmi:id="_JEccwnaeEeeEHdA8pJmIgQ" type="Port_NameLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_JEccw3aeEeeEHdA8pJmIgQ" x="25" y="3"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_JEdD0HaeEeeEHdA8pJmIgQ" type="Port_StereotypeLabel">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_JEdD0XaeEeeEHdA8pJmIgQ" x="25" y="-10"/>
- </children>
- <element xmi:type="uml:Port" href="edgeCustomisation.uml#_JEVIAHaeEeeEHdA8pJmIgQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JEccwXaeEeeEHdA8pJmIgQ" x="310" y="311" width="20" height="20"/>
- </children>
- <element xmi:type="uml:Class" href="edgeCustomisation.uml#_BPZNEHaTEeeEHdA8pJmIgQ"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BPhI4XaTEeeEHdA8pJmIgQ" x="60" y="60" width="541" height="321"/>
- </children>
- <styles xmi:type="notation:StringValueStyle" xmi:id="_L3wvYXaSEeeEHdA8pJmIgQ" name="diagram_compatibility_version" stringValue="1.3.0"/>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_L3wvYnaSEeeEHdA8pJmIgQ"/>
- <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_L3wvY3aSEeeEHdA8pJmIgQ" diagramKindId="org.eclipse.papyrus.uml.diagram.compositeStructure.root.package">
- <owner xmi:type="uml:Model" href="edgeCustomisation.uml#_L12q4HaSEeeEHdA8pJmIgQ"/>
- </styles>
- <styles xmi:type="notation:EObjectListValueStyle" xmi:id="_rnyVAHaeEeeEHdA8pJmIgQ" name="css_stylesheets" eObjectListValue="_rnzjIHaeEeeEHdA8pJmIgQ"/>
- <element xmi:type="uml:Model" href="edgeCustomisation.uml#_L12q4HaSEeeEHdA8pJmIgQ"/>
- <edges xmi:type="notation:Connector" xmi:id="_DWT2QHaTEeeEHdA8pJmIgQ" type="Connector_Edge" source="_Bq-84HaTEeeEHdA8pJmIgQ" target="_COAxcHaTEeeEHdA8pJmIgQ">
- <children xmi:type="notation:DecorationNode" xmi:id="_DWVEYHaTEeeEHdA8pJmIgQ" type="Connector_StereotypeLabel">
- <styles xmi:type="notation:BooleanValueStyle" xmi:id="_QgXbwHaeEeeEHdA8pJmIgQ" name="IS_UPDATED_POSITION" booleanValue="true"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_DWVEYXaTEeeEHdA8pJmIgQ" x="-1" y="58"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_DWVEYnaTEeeEHdA8pJmIgQ" type="Connector_NameLabel">
- <styles xmi:type="notation:BooleanValueStyle" xmi:id="_Qgia4HaeEeeEHdA8pJmIgQ" name="IS_UPDATED_POSITION" booleanValue="true"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_DWVEY3aTEeeEHdA8pJmIgQ" x="1" y="-16"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_DWT2QXaTEeeEHdA8pJmIgQ"/>
- <element xmi:type="uml:Connector" href="edgeCustomisation.uml#_DV2jQHaTEeeEHdA8pJmIgQ"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_DWT2QnaTEeeEHdA8pJmIgQ" points="[611, 126, -643984, -643984]$[680, 200, -643984, -643984]$[611, 273, -643984, -643984]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Dy9WAHaTEeeEHdA8pJmIgQ" id="(1.0,0.8)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DWy-cHaTEeeEHdA8pJmIgQ" id="(1.0,0.15)"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_KTKSoHaeEeeEHdA8pJmIgQ" type="Connector_Edge" source="_IlDyEHaeEeeEHdA8pJmIgQ" target="_JEccwHaeEeeEHdA8pJmIgQ">
- <children xmi:type="notation:DecorationNode" xmi:id="_KTKSo3aeEeeEHdA8pJmIgQ" type="Connector_StereotypeLabel">
- <styles xmi:type="notation:BooleanValueStyle" xmi:id="_K-2T8HaeEeeEHdA8pJmIgQ" name="IS_UPDATED_POSITION" booleanValue="true"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_KTKSpHaeEeeEHdA8pJmIgQ" x="-1" y="57"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_KTKSpXaeEeeEHdA8pJmIgQ" type="Connector_NameLabel">
- <styles xmi:type="notation:BooleanValueStyle" xmi:id="_K_B6IHaeEeeEHdA8pJmIgQ" name="IS_UPDATED_POSITION" booleanValue="true"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_KTK5sHaeEeeEHdA8pJmIgQ" x="1" y="-19"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_KTKSoXaeEeeEHdA8pJmIgQ"/>
- <styles xmi:type="notation:StringListValueStyle" xmi:id="_6Eh18HafEeeEHdA8pJmIgQ" name="cssClass">
- <stringListValue>edgeCusto</stringListValue>
- </styles>
- <element xmi:type="uml:Connector" href="edgeCustomisation.uml#_KTBvwHaeEeeEHdA8pJmIgQ"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_KTKSonaeEeeEHdA8pJmIgQ" points="[190, 391, -643984, -643984]$[280, 460, -643984, -643984]$[370, 391, -643984, -643984]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_K-rU0HaeEeeEHdA8pJmIgQ" id="(1.0,1.0)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KTkiUHaeEeeEHdA8pJmIgQ" id="(0.0,1.0)"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_M8AkMHaeEeeEHdA8pJmIgQ" type="Connector_Edge" source="_JEccwHaeEeeEHdA8pJmIgQ" target="_COAxcHaTEeeEHdA8pJmIgQ">
- <children xmi:type="notation:DecorationNode" xmi:id="_M8AkM3aeEeeEHdA8pJmIgQ" type="Connector_StereotypeLabel">
- <styles xmi:type="notation:BooleanValueStyle" xmi:id="_NoyxsHaeEeeEHdA8pJmIgQ" name="IS_UPDATED_POSITION" booleanValue="true"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_M8AkNHaeEeeEHdA8pJmIgQ" x="1" y="59"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_M8AkNXaeEeeEHdA8pJmIgQ" type="Connector_NameLabel">
- <styles xmi:type="notation:BooleanValueStyle" xmi:id="_NpXZcHaeEeeEHdA8pJmIgQ" name="IS_UPDATED_POSITION" booleanValue="true"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_M8AkNnaeEeeEHdA8pJmIgQ" x="1" y="-18"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_M8AkMXaeEeeEHdA8pJmIgQ"/>
- <styles xmi:type="notation:StringValueStyle" xmi:id="_XzqDMHaeEeeEHdA8pJmIgQ" name="sourceDecoration" stringValue="solid_diamond_filled"/>
- <styles xmi:type="notation:StringValueStyle" xmi:id="_ZAseEHaeEeeEHdA8pJmIgQ" name="targetDecoration" stringValue="open_arrow"/>
- <element xmi:type="uml:Connector" href="edgeCustomisation.uml#_M7zv4HaeEeeEHdA8pJmIgQ"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_M8AkMnaeEeeEHdA8pJmIgQ" points="[390, 381, -643984, -643984]$[600, 460, -643984, -643984]$[680, 380, -643984, -643984]$[607, 290, -643984, -643984]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NooZoHaeEeeEHdA8pJmIgQ" id="(1.0,0.5)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NooZoXaeEeeEHdA8pJmIgQ" id="(0.8,1.0)"/>
- </edges>
- </notation:Diagram>
- <css:EmbeddedStyleSheet xmi:id="_rnzjIHaeEeeEHdA8pJmIgQ" label="" content=".edgeCusto{
sourceDecoration: "open_arrow";
targetDecoration: "open_arrow";
}"/>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> + <notation:Diagram xmi:id="_L3wvYHaSEeeEHdA8pJmIgQ" type="CompositeStructure" name="Composite Structure Diagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_BPhI4HaTEeeEHdA8pJmIgQ" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_BPkzQHaTEeeEHdA8pJmIgQ" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_BPkzQXaTEeeEHdA8pJmIgQ" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_BPkzQnaTEeeEHdA8pJmIgQ" y="15"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_BPlaUHaTEeeEHdA8pJmIgQ" type="Class_StructureCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_BPlaUXaTEeeEHdA8pJmIgQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BPlaUnaTEeeEHdA8pJmIgQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_BP8msHaTEeeEHdA8pJmIgQ" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_BP8msXaTEeeEHdA8pJmIgQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BP8msnaTEeeEHdA8pJmIgQ"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Bq-84HaTEeeEHdA8pJmIgQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_Bq_j8HaTEeeEHdA8pJmIgQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Bq_j8XaTEeeEHdA8pJmIgQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_Bq_j8naTEeeEHdA8pJmIgQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Bq_j83aTEeeEHdA8pJmIgQ" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="edgeCustomisation.uml#_BqZHAHaTEeeEHdA8pJmIgQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Bq-84XaTEeeEHdA8pJmIgQ" x="531" y="50" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_COAxcHaTEeeEHdA8pJmIgQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_COBYgHaTEeeEHdA8pJmIgQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_COBYgXaTEeeEHdA8pJmIgQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_COBYgnaTEeeEHdA8pJmIgQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_COBYg3aTEeeEHdA8pJmIgQ" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="edgeCustomisation.uml#_CN3ngHaTEeeEHdA8pJmIgQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_COAxcXaTEeeEHdA8pJmIgQ" x="531" y="210" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_IlDyEHaeEeeEHdA8pJmIgQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_IlEZIHaeEeeEHdA8pJmIgQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_IlEZIXaeEeeEHdA8pJmIgQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_IlEZInaeEeeEHdA8pJmIgQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_IlEZI3aeEeeEHdA8pJmIgQ" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="edgeCustomisation.uml#_Ik4y8HaeEeeEHdA8pJmIgQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IlDyEXaeEeeEHdA8pJmIgQ" x="110" y="311" width="20" height="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_JEccwHaeEeeEHdA8pJmIgQ" type="Port_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_JEccwnaeEeeEHdA8pJmIgQ" type="Port_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_JEccw3aeEeeEHdA8pJmIgQ" x="25" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_JEdD0HaeEeeEHdA8pJmIgQ" type="Port_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_JEdD0XaeEeeEHdA8pJmIgQ" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="edgeCustomisation.uml#_JEVIAHaeEeeEHdA8pJmIgQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JEccwXaeEeeEHdA8pJmIgQ" x="310" y="311" width="20" height="20"/> + </children> + <element xmi:type="uml:Class" href="edgeCustomisation.uml#_BPZNEHaTEeeEHdA8pJmIgQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BPhI4XaTEeeEHdA8pJmIgQ" x="60" y="60" width="541" height="321"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_L3wvYXaSEeeEHdA8pJmIgQ" name="diagram_compatibility_version" stringValue="1.3.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_L3wvYnaSEeeEHdA8pJmIgQ"/> + <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_L3wvY3aSEeeEHdA8pJmIgQ" diagramKindId="org.eclipse.papyrus.uml.diagram.compositeStructure.root.package"> + <owner xmi:type="uml:Model" href="edgeCustomisation.uml#_L12q4HaSEeeEHdA8pJmIgQ"/> + </styles> + <styles xmi:type="notation:EObjectListValueStyle" xmi:id="_rnyVAHaeEeeEHdA8pJmIgQ" name="css_stylesheets" eObjectListValue="_rnzjIHaeEeeEHdA8pJmIgQ"/> + <element xmi:type="uml:Model" href="edgeCustomisation.uml#_L12q4HaSEeeEHdA8pJmIgQ"/> + <edges xmi:type="notation:Connector" xmi:id="_DWT2QHaTEeeEHdA8pJmIgQ" type="Connector_Edge" source="_Bq-84HaTEeeEHdA8pJmIgQ" target="_COAxcHaTEeeEHdA8pJmIgQ"> + <children xmi:type="notation:DecorationNode" xmi:id="_DWVEYHaTEeeEHdA8pJmIgQ" type="Connector_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_QgXbwHaeEeeEHdA8pJmIgQ" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_DWVEYXaTEeeEHdA8pJmIgQ" x="-1" y="58"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_DWVEYnaTEeeEHdA8pJmIgQ" type="Connector_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_Qgia4HaeEeeEHdA8pJmIgQ" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_DWVEY3aTEeeEHdA8pJmIgQ" x="1" y="-16"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_DWT2QXaTEeeEHdA8pJmIgQ"/> + <element xmi:type="uml:Connector" href="edgeCustomisation.uml#_DV2jQHaTEeeEHdA8pJmIgQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_DWT2QnaTEeeEHdA8pJmIgQ" points="[611, 126, -643984, -643984]$[680, 200, -643984, -643984]$[611, 273, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Dy9WAHaTEeeEHdA8pJmIgQ" id="(1.0,0.8)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DWy-cHaTEeeEHdA8pJmIgQ" id="(1.0,0.15)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_KTKSoHaeEeeEHdA8pJmIgQ" type="Connector_Edge" source="_IlDyEHaeEeeEHdA8pJmIgQ" target="_JEccwHaeEeeEHdA8pJmIgQ"> + <children xmi:type="notation:DecorationNode" xmi:id="_KTKSo3aeEeeEHdA8pJmIgQ" type="Connector_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_K-2T8HaeEeeEHdA8pJmIgQ" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_KTKSpHaeEeeEHdA8pJmIgQ" x="-1" y="57"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_KTKSpXaeEeeEHdA8pJmIgQ" type="Connector_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_K_B6IHaeEeeEHdA8pJmIgQ" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_KTK5sHaeEeeEHdA8pJmIgQ" x="1" y="-19"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_KTKSoXaeEeeEHdA8pJmIgQ"/> + <styles xmi:type="notation:StringListValueStyle" xmi:id="_6Eh18HafEeeEHdA8pJmIgQ" name="cssClass"> + <stringListValue>edgeCusto</stringListValue> + </styles> + <element xmi:type="uml:Connector" href="edgeCustomisation.uml#_KTBvwHaeEeeEHdA8pJmIgQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_KTKSonaeEeeEHdA8pJmIgQ" points="[190, 391, -643984, -643984]$[280, 460, -643984, -643984]$[370, 391, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_K-rU0HaeEeeEHdA8pJmIgQ" id="(1.0,1.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KTkiUHaeEeeEHdA8pJmIgQ" id="(0.0,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_M8AkMHaeEeeEHdA8pJmIgQ" type="Connector_Edge" source="_JEccwHaeEeeEHdA8pJmIgQ" target="_COAxcHaTEeeEHdA8pJmIgQ"> + <children xmi:type="notation:DecorationNode" xmi:id="_M8AkM3aeEeeEHdA8pJmIgQ" type="Connector_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_NoyxsHaeEeeEHdA8pJmIgQ" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_M8AkNHaeEeeEHdA8pJmIgQ" x="1" y="59"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_M8AkNXaeEeeEHdA8pJmIgQ" type="Connector_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_NpXZcHaeEeeEHdA8pJmIgQ" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_M8AkNnaeEeeEHdA8pJmIgQ" x="1" y="-18"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_M8AkMXaeEeeEHdA8pJmIgQ"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_XzqDMHaeEeeEHdA8pJmIgQ" name="sourceDecoration" stringValue="solid_diamond_filled"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_ZAseEHaeEeeEHdA8pJmIgQ" name="targetDecoration" stringValue="open_arrow"/> + <element xmi:type="uml:Connector" href="edgeCustomisation.uml#_M7zv4HaeEeeEHdA8pJmIgQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_M8AkMnaeEeeEHdA8pJmIgQ" points="[390, 381, -643984, -643984]$[600, 460, -643984, -643984]$[680, 380, -643984, -643984]$[607, 290, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NooZoHaeEeeEHdA8pJmIgQ" id="(1.0,0.5)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NooZoXaeEeeEHdA8pJmIgQ" id="(0.8,1.0)"/> + </edges> + </notation:Diagram> + <css:EmbeddedStyleSheet xmi:id="_rnzjIHaeEeeEHdA8pJmIgQ" label="" content=".edgeCusto{
sourceDecoration: "open_arrow";
targetDecoration: "open_arrow";
}"/> +</xmi:XMI> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/edgeCustomisation/edgeCustomisation.uml b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/edgeCustomisation/edgeCustomisation.uml index 5cd95853a7b..cc521594442 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/edgeCustomisation/edgeCustomisation.uml +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/edgeCustomisation/edgeCustomisation.uml @@ -1,21 +1,21 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_L12q4HaSEeeEHdA8pJmIgQ" name="edgeCustomisation">
- <packagedElement xmi:type="uml:Class" xmi:id="_BPZNEHaTEeeEHdA8pJmIgQ" name="Class1">
- <ownedAttribute xmi:type="uml:Port" xmi:id="_BqZHAHaTEeeEHdA8pJmIgQ" name="Port1" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_CN3ngHaTEeeEHdA8pJmIgQ" name="Port2" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_Ik4y8HaeEeeEHdA8pJmIgQ" name="Port3" aggregation="composite"/>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_JEVIAHaeEeeEHdA8pJmIgQ" name="Port4" aggregation="composite"/>
- <ownedConnector xmi:type="uml:Connector" xmi:id="_DV2jQHaTEeeEHdA8pJmIgQ" name="DefaultConnector">
- <end xmi:type="uml:ConnectorEnd" xmi:id="_DV6NoHaTEeeEHdA8pJmIgQ" role="_BqZHAHaTEeeEHdA8pJmIgQ"/>
- <end xmi:type="uml:ConnectorEnd" xmi:id="_DV60sHaTEeeEHdA8pJmIgQ" role="_CN3ngHaTEeeEHdA8pJmIgQ"/>
- </ownedConnector>
- <ownedConnector xmi:type="uml:Connector" xmi:id="_KTBvwHaeEeeEHdA8pJmIgQ" name="CSSConnector">
- <end xmi:type="uml:ConnectorEnd" xmi:id="_KTCW0HaeEeeEHdA8pJmIgQ" role="_Ik4y8HaeEeeEHdA8pJmIgQ"/>
- <end xmi:type="uml:ConnectorEnd" xmi:id="_KTCW0XaeEeeEHdA8pJmIgQ" role="_JEVIAHaeEeeEHdA8pJmIgQ"/>
- </ownedConnector>
- <ownedConnector xmi:type="uml:Connector" xmi:id="_M7zv4HaeEeeEHdA8pJmIgQ" name="PropertiesSetConnector">
- <end xmi:type="uml:ConnectorEnd" xmi:id="_M70W8HaeEeeEHdA8pJmIgQ" role="_JEVIAHaeEeeEHdA8pJmIgQ"/>
- <end xmi:type="uml:ConnectorEnd" xmi:id="_M70W8XaeEeeEHdA8pJmIgQ" role="_CN3ngHaTEeeEHdA8pJmIgQ"/>
- </ownedConnector>
- </packagedElement>
-</uml:Model>
+<?xml version="1.0" encoding="UTF-8"?> +<uml:Model xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_L12q4HaSEeeEHdA8pJmIgQ" name="edgeCustomisation"> + <packagedElement xmi:type="uml:Class" xmi:id="_BPZNEHaTEeeEHdA8pJmIgQ" name="Class1"> + <ownedAttribute xmi:type="uml:Port" xmi:id="_BqZHAHaTEeeEHdA8pJmIgQ" name="Port1" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_CN3ngHaTEeeEHdA8pJmIgQ" name="Port2" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_Ik4y8HaeEeeEHdA8pJmIgQ" name="Port3" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Port" xmi:id="_JEVIAHaeEeeEHdA8pJmIgQ" name="Port4" aggregation="composite"/> + <ownedConnector xmi:type="uml:Connector" xmi:id="_DV2jQHaTEeeEHdA8pJmIgQ" name="DefaultConnector"> + <end xmi:type="uml:ConnectorEnd" xmi:id="_DV6NoHaTEeeEHdA8pJmIgQ" role="_BqZHAHaTEeeEHdA8pJmIgQ"/> + <end xmi:type="uml:ConnectorEnd" xmi:id="_DV60sHaTEeeEHdA8pJmIgQ" role="_CN3ngHaTEeeEHdA8pJmIgQ"/> + </ownedConnector> + <ownedConnector xmi:type="uml:Connector" xmi:id="_KTBvwHaeEeeEHdA8pJmIgQ" name="CSSConnector"> + <end xmi:type="uml:ConnectorEnd" xmi:id="_KTCW0HaeEeeEHdA8pJmIgQ" role="_Ik4y8HaeEeeEHdA8pJmIgQ"/> + <end xmi:type="uml:ConnectorEnd" xmi:id="_KTCW0XaeEeeEHdA8pJmIgQ" role="_JEVIAHaeEeeEHdA8pJmIgQ"/> + </ownedConnector> + <ownedConnector xmi:type="uml:Connector" xmi:id="_M7zv4HaeEeeEHdA8pJmIgQ" name="PropertiesSetConnector"> + <end xmi:type="uml:ConnectorEnd" xmi:id="_M70W8HaeEeeEHdA8pJmIgQ" role="_JEVIAHaeEeeEHdA8pJmIgQ"/> + <end xmi:type="uml:ConnectorEnd" xmi:id="_M70W8XaeEeeEHdA8pJmIgQ" role="_CN3ngHaTEeeEHdA8pJmIgQ"/> + </ownedConnector> + </packagedElement> +</uml:Model> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/model.di b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/model.di index bb3ccc71939..ac2c4602fe1 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/model.di +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/model.di @@ -1,17 +1,17 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="model.notation#_JJpbcAZ6EeSBoZZVjT_gSA"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="model.notation#_JJpbcAZ6EeSBoZZVjT_gSA"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
+<?xml version="1.0" encoding="UTF-8"?> +<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi"> + <pageList> + <availablePage> + <emfPageIdentifier href="model.notation#_JJpbcAZ6EeSBoZZVjT_gSA"/> + </availablePage> + </pageList> + <sashModel currentSelection="//@sashModel/@windows.0/@children.0"> + <windows> + <children xsi:type="di:TabFolder"> + <children> + <emfPageIdentifier href="model.notation#_JJpbcAZ6EeSBoZZVjT_gSA"/> + </children> + </children> + </windows> + </sashModel> +</di:SashWindowsMngr> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/model.uml b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/model.uml index 2406a58e5b8..4c851c9f3ef 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/model.uml +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/model.uml @@ -1,302 +1,302 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_JJC-gAZ6EeSBoZZVjT_gSA" name="model">
- <ownedComment xmi:type="uml:Comment" xmi:id="_we-fwBCxEeSJbdueZ0I1wQ">
- <body>Test1</body>
- </ownedComment>
- <ownedComment xmi:type="uml:Comment" xmi:id="_hNGbsBCyEeSJbdueZ0I1wQ">
- <body>Test2</body>
- </ownedComment>
- <ownedComment xmi:type="uml:Comment" xmi:id="_lndHIBCyEeSJbdueZ0I1wQ">
- <body>Test3</body>
- </ownedComment>
- <ownedComment xmi:type="uml:Comment" xmi:id="_-N0Y4BCyEeSJbdueZ0I1wQ">
- <body>Test4</body>
- </ownedComment>
- <ownedComment xmi:type="uml:Comment" xmi:id="_C8KXUBCzEeSJbdueZ0I1wQ">
- <body>Test5</body>
- </ownedComment>
- <ownedComment xmi:type="uml:Comment" xmi:id="_JojW0BCzEeSJbdueZ0I1wQ">
- <body>Test6</body>
- </ownedComment>
- <ownedComment xmi:type="uml:Comment" xmi:id="_WOcgUBCzEeSJbdueZ0I1wQ">
- <body>Test7</body>
- </ownedComment>
- <ownedComment xmi:type="uml:Comment" xmi:id="_eSMUUBCzEeSJbdueZ0I1wQ">
- <body>Test8</body>
- </ownedComment>
- <ownedComment xmi:type="uml:Comment" xmi:id="_ic7PYBCzEeSJbdueZ0I1wQ">
- <body>Test9</body>
- </ownedComment>
- <ownedComment xmi:type="uml:Comment" xmi:id="_pndjcBCzEeSJbdueZ0I1wQ">
- <body>Test10</body>
- </ownedComment>
- <ownedComment xmi:type="uml:Comment" xmi:id="_149xUBCzEeSJbdueZ0I1wQ">
- <body>Test11</body>
- </ownedComment>
- <packagedElement xmi:type="uml:Class" xmi:id="_kpL3wAaQEeSBoZZVjT_gSA" name="Class1">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_ngSnwAaQEeSBoZZVjT_gSA" name="class2" type="_lQUJMAaQEeSBoZZVjT_gSA" association="_ngTO0AaQEeSBoZZVjT_gSA">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ngSnwQaQEeSBoZZVjT_gSA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ngSnwgaQEeSBoZZVjT_gSA" value="1"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_oOnGUAaQEeSBoZZVjT_gSA" name="class3" type="_l0qMYAaQEeSBoZZVjT_gSA" association="_oOntYAaQEeSBoZZVjT_gSA">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_oOnGUQaQEeSBoZZVjT_gSA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_oOnGUgaQEeSBoZZVjT_gSA" value="1"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_lQUJMAaQEeSBoZZVjT_gSA" name="Class2"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_l0qMYAaQEeSBoZZVjT_gSA" name="Class3"/>
- <packagedElement xmi:type="uml:Association" xmi:id="_ngTO0AaQEeSBoZZVjT_gSA" name="Association1" memberEnd="_ngTO0QaQEeSBoZZVjT_gSA _ngSnwAaQEeSBoZZVjT_gSA">
- <ownedEnd xmi:type="uml:Property" xmi:id="_ngTO0QaQEeSBoZZVjT_gSA" name="class1" type="_kpL3wAaQEeSBoZZVjT_gSA" association="_ngTO0AaQEeSBoZZVjT_gSA">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ngTO0gaQEeSBoZZVjT_gSA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ngTO0waQEeSBoZZVjT_gSA" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Association" xmi:id="_oOntYAaQEeSBoZZVjT_gSA" name="Association2" memberEnd="_oOntYQaQEeSBoZZVjT_gSA _oOnGUAaQEeSBoZZVjT_gSA">
- <ownedEnd xmi:type="uml:Property" xmi:id="_oOntYQaQEeSBoZZVjT_gSA" name="class1" type="_kpL3wAaQEeSBoZZVjT_gSA" association="_oOntYAaQEeSBoZZVjT_gSA">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_oOntYgaQEeSBoZZVjT_gSA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_oOntYwaQEeSBoZZVjT_gSA" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_nLMEAAacEeSBoZZVjT_gSA" name="Class4">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_qC6fEAacEeSBoZZVjT_gSA" name="class5" type="_oCKvUAacEeSBoZZVjT_gSA" association="_qC6fEwacEeSBoZZVjT_gSA">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_qC6fEQacEeSBoZZVjT_gSA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_qC6fEgacEeSBoZZVjT_gSA" value="1"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_oCKvUAacEeSBoZZVjT_gSA" name="Class5"/>
- <packagedElement xmi:type="uml:Association" xmi:id="_qC6fEwacEeSBoZZVjT_gSA" name="Association3" memberEnd="_qC6fFAacEeSBoZZVjT_gSA _qC6fEAacEeSBoZZVjT_gSA">
- <ownedEnd xmi:type="uml:Property" xmi:id="_qC6fFAacEeSBoZZVjT_gSA" name="class4" type="_nLMEAAacEeSBoZZVjT_gSA" association="_qC6fEwacEeSBoZZVjT_gSA">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_qC6fFQacEeSBoZZVjT_gSA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_qC6fFgacEeSBoZZVjT_gSA" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_tjqpAAacEeSBoZZVjT_gSA" name="Class6">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_uiK4oAacEeSBoZZVjT_gSA" name="class7" type="_uGCWQAacEeSBoZZVjT_gSA" association="_uiLfsgacEeSBoZZVjT_gSA">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_uiLfsAacEeSBoZZVjT_gSA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_uiLfsQacEeSBoZZVjT_gSA" value="1"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_uGCWQAacEeSBoZZVjT_gSA" name="Class7"/>
- <packagedElement xmi:type="uml:Association" xmi:id="_uiLfsgacEeSBoZZVjT_gSA" name="Association4" memberEnd="_uiLfswacEeSBoZZVjT_gSA _uiK4oAacEeSBoZZVjT_gSA">
- <ownedEnd xmi:type="uml:Property" xmi:id="_uiLfswacEeSBoZZVjT_gSA" name="class6" type="_tjqpAAacEeSBoZZVjT_gSA" association="_uiLfsgacEeSBoZZVjT_gSA">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_uiLftAacEeSBoZZVjT_gSA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_uiLftQacEeSBoZZVjT_gSA" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_F4MucAaeEeSBoZZVjT_gSA" clientDependency="_-WDO0AahEeSBoZZVjT_gSA" name="Class8">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_9zFEoAahEeSBoZZVjT_gSA" name="class9" type="_8oVv0AahEeSBoZZVjT_gSA" association="_9zFrsAahEeSBoZZVjT_gSA">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_9zFEoQahEeSBoZZVjT_gSA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_9zFEogahEeSBoZZVjT_gSA" value="1"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_8oVv0AahEeSBoZZVjT_gSA" name="Class9"/>
- <packagedElement xmi:type="uml:Association" xmi:id="_9zFrsAahEeSBoZZVjT_gSA" name="Association5" memberEnd="_9zFrsQahEeSBoZZVjT_gSA _9zFEoAahEeSBoZZVjT_gSA">
- <ownedEnd xmi:type="uml:Property" xmi:id="_9zFrsQahEeSBoZZVjT_gSA" name="class8" type="_F4MucAaeEeSBoZZVjT_gSA" association="_9zFrsAahEeSBoZZVjT_gSA">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_9zFrsgahEeSBoZZVjT_gSA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_9zFrswahEeSBoZZVjT_gSA" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Dependency" xmi:id="_-WDO0AahEeSBoZZVjT_gSA" name="Dependency1" client="_F4MucAaeEeSBoZZVjT_gSA" supplier="_8oVv0AahEeSBoZZVjT_gSA"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_MpjwsAaiEeSBoZZVjT_gSA" name="Class10">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_Qo-zoAaiEeSBoZZVjT_gSA" name="class11" type="_NDq50AaiEeSBoZZVjT_gSA" association="_Qo-zowaiEeSBoZZVjT_gSA">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Qo-zoQaiEeSBoZZVjT_gSA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Qo-zogaiEeSBoZZVjT_gSA" value="1"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_R5YrkAaiEeSBoZZVjT_gSA" name="class12" type="_PvF-QAaiEeSBoZZVjT_gSA" association="_R5YrkwaiEeSBoZZVjT_gSA">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_R5YrkQaiEeSBoZZVjT_gSA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_R5YrkgaiEeSBoZZVjT_gSA" value="1"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_NDq50AaiEeSBoZZVjT_gSA" name="Class11"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_PvF-QAaiEeSBoZZVjT_gSA" name="Class12"/>
- <packagedElement xmi:type="uml:Association" xmi:id="_Qo-zowaiEeSBoZZVjT_gSA" name="Association6" memberEnd="_Qo-zpAaiEeSBoZZVjT_gSA _Qo-zoAaiEeSBoZZVjT_gSA">
- <ownedEnd xmi:type="uml:Property" xmi:id="_Qo-zpAaiEeSBoZZVjT_gSA" name="class10" type="_MpjwsAaiEeSBoZZVjT_gSA" association="_Qo-zowaiEeSBoZZVjT_gSA">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Qo-zpQaiEeSBoZZVjT_gSA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Qo-zpgaiEeSBoZZVjT_gSA" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Association" xmi:id="_R5YrkwaiEeSBoZZVjT_gSA" name="Association7" memberEnd="_R5YrlAaiEeSBoZZVjT_gSA _R5YrkAaiEeSBoZZVjT_gSA">
- <ownedEnd xmi:type="uml:Property" xmi:id="_R5YrlAaiEeSBoZZVjT_gSA" name="class10" type="_MpjwsAaiEeSBoZZVjT_gSA" association="_R5YrkwaiEeSBoZZVjT_gSA">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_R5YrlQaiEeSBoZZVjT_gSA" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_R5YrlgaiEeSBoZZVjT_gSA" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_upr04AanEeSjBLKX2Tfccg" name="Class13">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_x1JrUAanEeSjBLKX2Tfccg" name="class14" type="_v1jLEAanEeSjBLKX2Tfccg" association="_x1JrUwanEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_x1JrUQanEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_x1JrUganEeSjBLKX2Tfccg" value="1"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_z3J_UAanEeSjBLKX2Tfccg" name="class15" type="_xDrLEAanEeSjBLKX2Tfccg" association="_z3J_UwanEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_z3J_UQanEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_z3J_UganEeSjBLKX2Tfccg" value="1"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_v1jLEAanEeSjBLKX2Tfccg" name="Class14"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_xDrLEAanEeSjBLKX2Tfccg" name="Class15"/>
- <packagedElement xmi:type="uml:Association" xmi:id="_x1JrUwanEeSjBLKX2Tfccg" name="Association8" memberEnd="_x1JrVAanEeSjBLKX2Tfccg _x1JrUAanEeSjBLKX2Tfccg">
- <ownedEnd xmi:type="uml:Property" xmi:id="_x1JrVAanEeSjBLKX2Tfccg" name="class13" type="_upr04AanEeSjBLKX2Tfccg" association="_x1JrUwanEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_x1JrVQanEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_x1JrVganEeSjBLKX2Tfccg" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Association" xmi:id="_z3J_UwanEeSjBLKX2Tfccg" name="Association9" memberEnd="_z3J_VAanEeSjBLKX2Tfccg _z3J_UAanEeSjBLKX2Tfccg">
- <ownedEnd xmi:type="uml:Property" xmi:id="_z3J_VAanEeSjBLKX2Tfccg" name="class13" type="_upr04AanEeSjBLKX2Tfccg" association="_z3J_UwanEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_z3J_VQanEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_z3J_VganEeSjBLKX2Tfccg" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_9FySEAanEeSjBLKX2Tfccg" name="Class16">
- <ownedAttribute xmi:type="uml:Property" xmi:id="__xqpgAanEeSjBLKX2Tfccg" name="class17" type="_-KtSwAanEeSjBLKX2Tfccg" association="__xqpgwanEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="__xqpgQanEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="__xqpgganEeSjBLKX2Tfccg" value="1"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_DQ3UQAaoEeSjBLKX2Tfccg" name="class18" type="_-wYLoAanEeSjBLKX2Tfccg" association="_DQ3UQwaoEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_DQ3UQQaoEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_DQ3UQgaoEeSjBLKX2Tfccg" value="1"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_-KtSwAanEeSjBLKX2Tfccg" name="Class17"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_-wYLoAanEeSjBLKX2Tfccg" name="Class18"/>
- <packagedElement xmi:type="uml:Association" xmi:id="__xqpgwanEeSjBLKX2Tfccg" name="Association11" memberEnd="__xqphAanEeSjBLKX2Tfccg __xqpgAanEeSjBLKX2Tfccg">
- <ownedEnd xmi:type="uml:Property" xmi:id="__xqphAanEeSjBLKX2Tfccg" name="class16" type="_9FySEAanEeSjBLKX2Tfccg" association="__xqpgwanEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="__xqphQanEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="__xqphganEeSjBLKX2Tfccg" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Association" xmi:id="_DQ3UQwaoEeSjBLKX2Tfccg" name="Association10" memberEnd="_DQ3URAaoEeSjBLKX2Tfccg _DQ3UQAaoEeSjBLKX2Tfccg">
- <ownedEnd xmi:type="uml:Property" xmi:id="_DQ3URAaoEeSjBLKX2Tfccg" name="class16" type="_9FySEAanEeSjBLKX2Tfccg" association="_DQ3UQwaoEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_DQ3URQaoEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_DQ3URgaoEeSjBLKX2Tfccg" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_k1C1kAaoEeSjBLKX2Tfccg" name="Class19">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_oIs-sAaoEeSjBLKX2Tfccg" name="class20" type="_lWeHoAaoEeSjBLKX2Tfccg" association="_oIs-swaoEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_oIs-sQaoEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_oIs-sgaoEeSjBLKX2Tfccg" value="1"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_ow4ZAAaoEeSjBLKX2Tfccg" name="class21" type="_mCQ2oAaoEeSjBLKX2Tfccg" association="_ow4ZAwaoEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ow4ZAQaoEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ow4ZAgaoEeSjBLKX2Tfccg" value="1"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_lWeHoAaoEeSjBLKX2Tfccg" name="Class20"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_mCQ2oAaoEeSjBLKX2Tfccg" name="Class21"/>
- <packagedElement xmi:type="uml:Association" xmi:id="_oIs-swaoEeSjBLKX2Tfccg" name="Association12" memberEnd="_oIs-tAaoEeSjBLKX2Tfccg _oIs-sAaoEeSjBLKX2Tfccg">
- <ownedEnd xmi:type="uml:Property" xmi:id="_oIs-tAaoEeSjBLKX2Tfccg" name="class19" type="_k1C1kAaoEeSjBLKX2Tfccg" association="_oIs-swaoEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_oIs-tQaoEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_oIs-tgaoEeSjBLKX2Tfccg" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Association" xmi:id="_ow4ZAwaoEeSjBLKX2Tfccg" name="Association13" memberEnd="_ow4ZBAaoEeSjBLKX2Tfccg _ow4ZAAaoEeSjBLKX2Tfccg">
- <ownedEnd xmi:type="uml:Property" xmi:id="_ow4ZBAaoEeSjBLKX2Tfccg" name="class19" type="_k1C1kAaoEeSjBLKX2Tfccg" association="_ow4ZAwaoEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ow4ZBQaoEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ow4ZBgaoEeSjBLKX2Tfccg" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_0ynFgAaoEeSjBLKX2Tfccg" name="Class22">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_4kv6YAaoEeSjBLKX2Tfccg" name="class23" type="_3_qQUAaoEeSjBLKX2Tfccg" association="_4kwhcAaoEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_4kv6YQaoEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_4kv6YgaoEeSjBLKX2Tfccg" value="1"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_6TvLwAaoEeSjBLKX2Tfccg" name="class23" type="_3_qQUAaoEeSjBLKX2Tfccg" association="_6Tvy0AaoEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6TvLwQaoEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6TvLwgaoEeSjBLKX2Tfccg" value="1"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_3_qQUAaoEeSjBLKX2Tfccg" name="Class23"/>
- <packagedElement xmi:type="uml:Association" xmi:id="_4kwhcAaoEeSjBLKX2Tfccg" name="Association14" memberEnd="_4kwhcQaoEeSjBLKX2Tfccg _4kv6YAaoEeSjBLKX2Tfccg">
- <ownedEnd xmi:type="uml:Property" xmi:id="_4kwhcQaoEeSjBLKX2Tfccg" name="class22" type="_0ynFgAaoEeSjBLKX2Tfccg" association="_4kwhcAaoEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_4kwhcgaoEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_4kwhcwaoEeSjBLKX2Tfccg" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Association" xmi:id="_6Tvy0AaoEeSjBLKX2Tfccg" name="Association15" memberEnd="_6Tvy0QaoEeSjBLKX2Tfccg _6TvLwAaoEeSjBLKX2Tfccg">
- <ownedEnd xmi:type="uml:Property" xmi:id="_6Tvy0QaoEeSjBLKX2Tfccg" name="class22" type="_0ynFgAaoEeSjBLKX2Tfccg" association="_6Tvy0AaoEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6Tvy0gaoEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6Tvy0waoEeSjBLKX2Tfccg" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_OSTncAazEeSjBLKX2Tfccg" name="Class24">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_QL4YMAazEeSjBLKX2Tfccg" name="class25" type="_PaWNkAazEeSjBLKX2Tfccg" association="_QL4_QAazEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_QL4YMQazEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_QL4YMgazEeSjBLKX2Tfccg" value="1"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_T8p7IAazEeSjBLKX2Tfccg" name="class25" type="_PaWNkAazEeSjBLKX2Tfccg" association="_T8qiMAazEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_T8p7IQazEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_T8p7IgazEeSjBLKX2Tfccg" value="1"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_PaWNkAazEeSjBLKX2Tfccg" name="Class25"/>
- <packagedElement xmi:type="uml:Association" xmi:id="_QL4_QAazEeSjBLKX2Tfccg" name="Association23" memberEnd="_QL4_QQazEeSjBLKX2Tfccg _QL4YMAazEeSjBLKX2Tfccg">
- <ownedEnd xmi:type="uml:Property" xmi:id="_QL4_QQazEeSjBLKX2Tfccg" name="class24" type="_OSTncAazEeSjBLKX2Tfccg" association="_QL4_QAazEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_QL4_QgazEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_QL4_QwazEeSjBLKX2Tfccg" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Association" xmi:id="_T8qiMAazEeSjBLKX2Tfccg" name="Association22" memberEnd="_T8qiMQazEeSjBLKX2Tfccg _T8p7IAazEeSjBLKX2Tfccg">
- <ownedEnd xmi:type="uml:Property" xmi:id="_T8qiMQazEeSjBLKX2Tfccg" name="class24" type="_OSTncAazEeSjBLKX2Tfccg" association="_T8qiMAazEeSjBLKX2Tfccg">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_T8qiMgazEeSjBLKX2Tfccg" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_T8qiMwazEeSjBLKX2Tfccg" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_-62WIAgvEeSOb7xxF0D0Yw" name="Class26">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_Bir7EAgwEeSOb7xxF0D0Yw" name="class28" type="_ADXdYAgwEeSOb7xxF0D0Yw" association="_Bir7EwgwEeSOb7xxF0D0Yw">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Bir7EQgwEeSOb7xxF0D0Yw" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Bir7EggwEeSOb7xxF0D0Yw" value="1"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="__mVjIAgvEeSOb7xxF0D0Yw" name="Class27">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_CLSMIAgwEeSOb7xxF0D0Yw" name="class28" type="_ADXdYAgwEeSOb7xxF0D0Yw" association="_CLSMIwgwEeSOb7xxF0D0Yw">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_CLSMIQgwEeSOb7xxF0D0Yw" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_CLSMIggwEeSOb7xxF0D0Yw" value="1"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_ADXdYAgwEeSOb7xxF0D0Yw" name="Class28"/>
- <packagedElement xmi:type="uml:Association" xmi:id="_Bir7EwgwEeSOb7xxF0D0Yw" name="Association17" memberEnd="_Bir7FAgwEeSOb7xxF0D0Yw _Bir7EAgwEeSOb7xxF0D0Yw">
- <ownedEnd xmi:type="uml:Property" xmi:id="_Bir7FAgwEeSOb7xxF0D0Yw" name="class26" type="_-62WIAgvEeSOb7xxF0D0Yw" association="_Bir7EwgwEeSOb7xxF0D0Yw">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Bir7FQgwEeSOb7xxF0D0Yw" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Bir7FggwEeSOb7xxF0D0Yw" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Association" xmi:id="_CLSMIwgwEeSOb7xxF0D0Yw" name="Association16" memberEnd="_CLSMJAgwEeSOb7xxF0D0Yw _CLSMIAgwEeSOb7xxF0D0Yw">
- <ownedEnd xmi:type="uml:Property" xmi:id="_CLSMJAgwEeSOb7xxF0D0Yw" name="class27" type="__mVjIAgvEeSOb7xxF0D0Yw" association="_CLSMIwgwEeSOb7xxF0D0Yw">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_CLSMJQgwEeSOb7xxF0D0Yw" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_CLSMJggwEeSOb7xxF0D0Yw" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_wZrlgBCwEeSJbdueZ0I1wQ" name="Class29">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_y-lyQBCwEeSJbdueZ0I1wQ" name="class30" type="_xLFNQBCwEeSJbdueZ0I1wQ" association="_y-mZUBCwEeSJbdueZ0I1wQ">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_y-lyQRCwEeSJbdueZ0I1wQ" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_y-lyQhCwEeSJbdueZ0I1wQ" value="1"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_ztuJIBCwEeSJbdueZ0I1wQ" name="class31" type="_yA6CABCwEeSJbdueZ0I1wQ" association="_ztuJIxCwEeSJbdueZ0I1wQ">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ztuJIRCwEeSJbdueZ0I1wQ" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ztuJIhCwEeSJbdueZ0I1wQ" value="1"/>
- </ownedAttribute>
- <ownedAttribute xmi:type="uml:Property" xmi:id="_1QduQBCwEeSJbdueZ0I1wQ" name="class32" type="_0uebgBCwEeSJbdueZ0I1wQ" association="_1QduQxCwEeSJbdueZ0I1wQ">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_1QduQRCwEeSJbdueZ0I1wQ" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_1QduQhCwEeSJbdueZ0I1wQ" value="1"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_xLFNQBCwEeSJbdueZ0I1wQ" name="Class30"/>
- <packagedElement xmi:type="uml:Class" xmi:id="_yA6CABCwEeSJbdueZ0I1wQ" name="Class31"/>
- <packagedElement xmi:type="uml:Association" xmi:id="_y-mZUBCwEeSJbdueZ0I1wQ" name="Association20" memberEnd="_y-mZURCwEeSJbdueZ0I1wQ _y-lyQBCwEeSJbdueZ0I1wQ">
- <ownedEnd xmi:type="uml:Property" xmi:id="_y-mZURCwEeSJbdueZ0I1wQ" name="class29" type="_wZrlgBCwEeSJbdueZ0I1wQ" association="_y-mZUBCwEeSJbdueZ0I1wQ">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_y-nAYBCwEeSJbdueZ0I1wQ" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_y-nAYRCwEeSJbdueZ0I1wQ" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Association" xmi:id="_ztuJIxCwEeSJbdueZ0I1wQ" name="Association21" memberEnd="_ztuJJBCwEeSJbdueZ0I1wQ _ztuJIBCwEeSJbdueZ0I1wQ">
- <ownedEnd xmi:type="uml:Property" xmi:id="_ztuJJBCwEeSJbdueZ0I1wQ" name="class29" type="_wZrlgBCwEeSJbdueZ0I1wQ" association="_ztuJIxCwEeSJbdueZ0I1wQ">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ztuJJRCwEeSJbdueZ0I1wQ" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ztuJJhCwEeSJbdueZ0I1wQ" value="1"/>
- </ownedEnd>
- </packagedElement>
- <packagedElement xmi:type="uml:Class" xmi:id="_0uebgBCwEeSJbdueZ0I1wQ" name="Class32"/>
- <packagedElement xmi:type="uml:Association" xmi:id="_1QduQxCwEeSJbdueZ0I1wQ" name="Association19" memberEnd="_1QduRBCwEeSJbdueZ0I1wQ _1QduQBCwEeSJbdueZ0I1wQ">
- <ownedEnd xmi:type="uml:Property" xmi:id="_1QduRBCwEeSJbdueZ0I1wQ" name="class29" type="_wZrlgBCwEeSJbdueZ0I1wQ" association="_1QduQxCwEeSJbdueZ0I1wQ">
- <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_1QduRRCwEeSJbdueZ0I1wQ" value="1"/>
- <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_1QduRhCwEeSJbdueZ0I1wQ" value="1"/>
- </ownedEnd>
- </packagedElement>
-</uml:Model>
+<?xml version="1.0" encoding="UTF-8"?> +<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_JJC-gAZ6EeSBoZZVjT_gSA" name="model"> + <ownedComment xmi:type="uml:Comment" xmi:id="_we-fwBCxEeSJbdueZ0I1wQ"> + <body>Test1</body> + </ownedComment> + <ownedComment xmi:type="uml:Comment" xmi:id="_hNGbsBCyEeSJbdueZ0I1wQ"> + <body>Test2</body> + </ownedComment> + <ownedComment xmi:type="uml:Comment" xmi:id="_lndHIBCyEeSJbdueZ0I1wQ"> + <body>Test3</body> + </ownedComment> + <ownedComment xmi:type="uml:Comment" xmi:id="_-N0Y4BCyEeSJbdueZ0I1wQ"> + <body>Test4</body> + </ownedComment> + <ownedComment xmi:type="uml:Comment" xmi:id="_C8KXUBCzEeSJbdueZ0I1wQ"> + <body>Test5</body> + </ownedComment> + <ownedComment xmi:type="uml:Comment" xmi:id="_JojW0BCzEeSJbdueZ0I1wQ"> + <body>Test6</body> + </ownedComment> + <ownedComment xmi:type="uml:Comment" xmi:id="_WOcgUBCzEeSJbdueZ0I1wQ"> + <body>Test7</body> + </ownedComment> + <ownedComment xmi:type="uml:Comment" xmi:id="_eSMUUBCzEeSJbdueZ0I1wQ"> + <body>Test8</body> + </ownedComment> + <ownedComment xmi:type="uml:Comment" xmi:id="_ic7PYBCzEeSJbdueZ0I1wQ"> + <body>Test9</body> + </ownedComment> + <ownedComment xmi:type="uml:Comment" xmi:id="_pndjcBCzEeSJbdueZ0I1wQ"> + <body>Test10</body> + </ownedComment> + <ownedComment xmi:type="uml:Comment" xmi:id="_149xUBCzEeSJbdueZ0I1wQ"> + <body>Test11</body> + </ownedComment> + <packagedElement xmi:type="uml:Class" xmi:id="_kpL3wAaQEeSBoZZVjT_gSA" name="Class1"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_ngSnwAaQEeSBoZZVjT_gSA" name="class2" type="_lQUJMAaQEeSBoZZVjT_gSA" association="_ngTO0AaQEeSBoZZVjT_gSA"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ngSnwQaQEeSBoZZVjT_gSA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ngSnwgaQEeSBoZZVjT_gSA" value="1"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_oOnGUAaQEeSBoZZVjT_gSA" name="class3" type="_l0qMYAaQEeSBoZZVjT_gSA" association="_oOntYAaQEeSBoZZVjT_gSA"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_oOnGUQaQEeSBoZZVjT_gSA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_oOnGUgaQEeSBoZZVjT_gSA" value="1"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_lQUJMAaQEeSBoZZVjT_gSA" name="Class2"/> + <packagedElement xmi:type="uml:Class" xmi:id="_l0qMYAaQEeSBoZZVjT_gSA" name="Class3"/> + <packagedElement xmi:type="uml:Association" xmi:id="_ngTO0AaQEeSBoZZVjT_gSA" name="Association1" memberEnd="_ngTO0QaQEeSBoZZVjT_gSA _ngSnwAaQEeSBoZZVjT_gSA"> + <ownedEnd xmi:type="uml:Property" xmi:id="_ngTO0QaQEeSBoZZVjT_gSA" name="class1" type="_kpL3wAaQEeSBoZZVjT_gSA" association="_ngTO0AaQEeSBoZZVjT_gSA"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ngTO0gaQEeSBoZZVjT_gSA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ngTO0waQEeSBoZZVjT_gSA" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="_oOntYAaQEeSBoZZVjT_gSA" name="Association2" memberEnd="_oOntYQaQEeSBoZZVjT_gSA _oOnGUAaQEeSBoZZVjT_gSA"> + <ownedEnd xmi:type="uml:Property" xmi:id="_oOntYQaQEeSBoZZVjT_gSA" name="class1" type="_kpL3wAaQEeSBoZZVjT_gSA" association="_oOntYAaQEeSBoZZVjT_gSA"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_oOntYgaQEeSBoZZVjT_gSA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_oOntYwaQEeSBoZZVjT_gSA" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_nLMEAAacEeSBoZZVjT_gSA" name="Class4"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_qC6fEAacEeSBoZZVjT_gSA" name="class5" type="_oCKvUAacEeSBoZZVjT_gSA" association="_qC6fEwacEeSBoZZVjT_gSA"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_qC6fEQacEeSBoZZVjT_gSA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_qC6fEgacEeSBoZZVjT_gSA" value="1"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_oCKvUAacEeSBoZZVjT_gSA" name="Class5"/> + <packagedElement xmi:type="uml:Association" xmi:id="_qC6fEwacEeSBoZZVjT_gSA" name="Association3" memberEnd="_qC6fFAacEeSBoZZVjT_gSA _qC6fEAacEeSBoZZVjT_gSA"> + <ownedEnd xmi:type="uml:Property" xmi:id="_qC6fFAacEeSBoZZVjT_gSA" name="class4" type="_nLMEAAacEeSBoZZVjT_gSA" association="_qC6fEwacEeSBoZZVjT_gSA"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_qC6fFQacEeSBoZZVjT_gSA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_qC6fFgacEeSBoZZVjT_gSA" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_tjqpAAacEeSBoZZVjT_gSA" name="Class6"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_uiK4oAacEeSBoZZVjT_gSA" name="class7" type="_uGCWQAacEeSBoZZVjT_gSA" association="_uiLfsgacEeSBoZZVjT_gSA"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_uiLfsAacEeSBoZZVjT_gSA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_uiLfsQacEeSBoZZVjT_gSA" value="1"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_uGCWQAacEeSBoZZVjT_gSA" name="Class7"/> + <packagedElement xmi:type="uml:Association" xmi:id="_uiLfsgacEeSBoZZVjT_gSA" name="Association4" memberEnd="_uiLfswacEeSBoZZVjT_gSA _uiK4oAacEeSBoZZVjT_gSA"> + <ownedEnd xmi:type="uml:Property" xmi:id="_uiLfswacEeSBoZZVjT_gSA" name="class6" type="_tjqpAAacEeSBoZZVjT_gSA" association="_uiLfsgacEeSBoZZVjT_gSA"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_uiLftAacEeSBoZZVjT_gSA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_uiLftQacEeSBoZZVjT_gSA" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_F4MucAaeEeSBoZZVjT_gSA" clientDependency="_-WDO0AahEeSBoZZVjT_gSA" name="Class8"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_9zFEoAahEeSBoZZVjT_gSA" name="class9" type="_8oVv0AahEeSBoZZVjT_gSA" association="_9zFrsAahEeSBoZZVjT_gSA"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_9zFEoQahEeSBoZZVjT_gSA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_9zFEogahEeSBoZZVjT_gSA" value="1"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_8oVv0AahEeSBoZZVjT_gSA" name="Class9"/> + <packagedElement xmi:type="uml:Association" xmi:id="_9zFrsAahEeSBoZZVjT_gSA" name="Association5" memberEnd="_9zFrsQahEeSBoZZVjT_gSA _9zFEoAahEeSBoZZVjT_gSA"> + <ownedEnd xmi:type="uml:Property" xmi:id="_9zFrsQahEeSBoZZVjT_gSA" name="class8" type="_F4MucAaeEeSBoZZVjT_gSA" association="_9zFrsAahEeSBoZZVjT_gSA"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_9zFrsgahEeSBoZZVjT_gSA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_9zFrswahEeSBoZZVjT_gSA" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Dependency" xmi:id="_-WDO0AahEeSBoZZVjT_gSA" name="Dependency1" client="_F4MucAaeEeSBoZZVjT_gSA" supplier="_8oVv0AahEeSBoZZVjT_gSA"/> + <packagedElement xmi:type="uml:Class" xmi:id="_MpjwsAaiEeSBoZZVjT_gSA" name="Class10"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_Qo-zoAaiEeSBoZZVjT_gSA" name="class11" type="_NDq50AaiEeSBoZZVjT_gSA" association="_Qo-zowaiEeSBoZZVjT_gSA"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Qo-zoQaiEeSBoZZVjT_gSA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Qo-zogaiEeSBoZZVjT_gSA" value="1"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_R5YrkAaiEeSBoZZVjT_gSA" name="class12" type="_PvF-QAaiEeSBoZZVjT_gSA" association="_R5YrkwaiEeSBoZZVjT_gSA"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_R5YrkQaiEeSBoZZVjT_gSA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_R5YrkgaiEeSBoZZVjT_gSA" value="1"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_NDq50AaiEeSBoZZVjT_gSA" name="Class11"/> + <packagedElement xmi:type="uml:Class" xmi:id="_PvF-QAaiEeSBoZZVjT_gSA" name="Class12"/> + <packagedElement xmi:type="uml:Association" xmi:id="_Qo-zowaiEeSBoZZVjT_gSA" name="Association6" memberEnd="_Qo-zpAaiEeSBoZZVjT_gSA _Qo-zoAaiEeSBoZZVjT_gSA"> + <ownedEnd xmi:type="uml:Property" xmi:id="_Qo-zpAaiEeSBoZZVjT_gSA" name="class10" type="_MpjwsAaiEeSBoZZVjT_gSA" association="_Qo-zowaiEeSBoZZVjT_gSA"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Qo-zpQaiEeSBoZZVjT_gSA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Qo-zpgaiEeSBoZZVjT_gSA" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="_R5YrkwaiEeSBoZZVjT_gSA" name="Association7" memberEnd="_R5YrlAaiEeSBoZZVjT_gSA _R5YrkAaiEeSBoZZVjT_gSA"> + <ownedEnd xmi:type="uml:Property" xmi:id="_R5YrlAaiEeSBoZZVjT_gSA" name="class10" type="_MpjwsAaiEeSBoZZVjT_gSA" association="_R5YrkwaiEeSBoZZVjT_gSA"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_R5YrlQaiEeSBoZZVjT_gSA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_R5YrlgaiEeSBoZZVjT_gSA" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_upr04AanEeSjBLKX2Tfccg" name="Class13"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_x1JrUAanEeSjBLKX2Tfccg" name="class14" type="_v1jLEAanEeSjBLKX2Tfccg" association="_x1JrUwanEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_x1JrUQanEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_x1JrUganEeSjBLKX2Tfccg" value="1"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_z3J_UAanEeSjBLKX2Tfccg" name="class15" type="_xDrLEAanEeSjBLKX2Tfccg" association="_z3J_UwanEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_z3J_UQanEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_z3J_UganEeSjBLKX2Tfccg" value="1"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_v1jLEAanEeSjBLKX2Tfccg" name="Class14"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xDrLEAanEeSjBLKX2Tfccg" name="Class15"/> + <packagedElement xmi:type="uml:Association" xmi:id="_x1JrUwanEeSjBLKX2Tfccg" name="Association8" memberEnd="_x1JrVAanEeSjBLKX2Tfccg _x1JrUAanEeSjBLKX2Tfccg"> + <ownedEnd xmi:type="uml:Property" xmi:id="_x1JrVAanEeSjBLKX2Tfccg" name="class13" type="_upr04AanEeSjBLKX2Tfccg" association="_x1JrUwanEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_x1JrVQanEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_x1JrVganEeSjBLKX2Tfccg" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="_z3J_UwanEeSjBLKX2Tfccg" name="Association9" memberEnd="_z3J_VAanEeSjBLKX2Tfccg _z3J_UAanEeSjBLKX2Tfccg"> + <ownedEnd xmi:type="uml:Property" xmi:id="_z3J_VAanEeSjBLKX2Tfccg" name="class13" type="_upr04AanEeSjBLKX2Tfccg" association="_z3J_UwanEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_z3J_VQanEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_z3J_VganEeSjBLKX2Tfccg" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_9FySEAanEeSjBLKX2Tfccg" name="Class16"> + <ownedAttribute xmi:type="uml:Property" xmi:id="__xqpgAanEeSjBLKX2Tfccg" name="class17" type="_-KtSwAanEeSjBLKX2Tfccg" association="__xqpgwanEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="__xqpgQanEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="__xqpgganEeSjBLKX2Tfccg" value="1"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_DQ3UQAaoEeSjBLKX2Tfccg" name="class18" type="_-wYLoAanEeSjBLKX2Tfccg" association="_DQ3UQwaoEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_DQ3UQQaoEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_DQ3UQgaoEeSjBLKX2Tfccg" value="1"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_-KtSwAanEeSjBLKX2Tfccg" name="Class17"/> + <packagedElement xmi:type="uml:Class" xmi:id="_-wYLoAanEeSjBLKX2Tfccg" name="Class18"/> + <packagedElement xmi:type="uml:Association" xmi:id="__xqpgwanEeSjBLKX2Tfccg" name="Association11" memberEnd="__xqphAanEeSjBLKX2Tfccg __xqpgAanEeSjBLKX2Tfccg"> + <ownedEnd xmi:type="uml:Property" xmi:id="__xqphAanEeSjBLKX2Tfccg" name="class16" type="_9FySEAanEeSjBLKX2Tfccg" association="__xqpgwanEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="__xqphQanEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="__xqphganEeSjBLKX2Tfccg" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="_DQ3UQwaoEeSjBLKX2Tfccg" name="Association10" memberEnd="_DQ3URAaoEeSjBLKX2Tfccg _DQ3UQAaoEeSjBLKX2Tfccg"> + <ownedEnd xmi:type="uml:Property" xmi:id="_DQ3URAaoEeSjBLKX2Tfccg" name="class16" type="_9FySEAanEeSjBLKX2Tfccg" association="_DQ3UQwaoEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_DQ3URQaoEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_DQ3URgaoEeSjBLKX2Tfccg" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_k1C1kAaoEeSjBLKX2Tfccg" name="Class19"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_oIs-sAaoEeSjBLKX2Tfccg" name="class20" type="_lWeHoAaoEeSjBLKX2Tfccg" association="_oIs-swaoEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_oIs-sQaoEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_oIs-sgaoEeSjBLKX2Tfccg" value="1"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_ow4ZAAaoEeSjBLKX2Tfccg" name="class21" type="_mCQ2oAaoEeSjBLKX2Tfccg" association="_ow4ZAwaoEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ow4ZAQaoEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ow4ZAgaoEeSjBLKX2Tfccg" value="1"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_lWeHoAaoEeSjBLKX2Tfccg" name="Class20"/> + <packagedElement xmi:type="uml:Class" xmi:id="_mCQ2oAaoEeSjBLKX2Tfccg" name="Class21"/> + <packagedElement xmi:type="uml:Association" xmi:id="_oIs-swaoEeSjBLKX2Tfccg" name="Association12" memberEnd="_oIs-tAaoEeSjBLKX2Tfccg _oIs-sAaoEeSjBLKX2Tfccg"> + <ownedEnd xmi:type="uml:Property" xmi:id="_oIs-tAaoEeSjBLKX2Tfccg" name="class19" type="_k1C1kAaoEeSjBLKX2Tfccg" association="_oIs-swaoEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_oIs-tQaoEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_oIs-tgaoEeSjBLKX2Tfccg" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="_ow4ZAwaoEeSjBLKX2Tfccg" name="Association13" memberEnd="_ow4ZBAaoEeSjBLKX2Tfccg _ow4ZAAaoEeSjBLKX2Tfccg"> + <ownedEnd xmi:type="uml:Property" xmi:id="_ow4ZBAaoEeSjBLKX2Tfccg" name="class19" type="_k1C1kAaoEeSjBLKX2Tfccg" association="_ow4ZAwaoEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ow4ZBQaoEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ow4ZBgaoEeSjBLKX2Tfccg" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_0ynFgAaoEeSjBLKX2Tfccg" name="Class22"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_4kv6YAaoEeSjBLKX2Tfccg" name="class23" type="_3_qQUAaoEeSjBLKX2Tfccg" association="_4kwhcAaoEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_4kv6YQaoEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_4kv6YgaoEeSjBLKX2Tfccg" value="1"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_6TvLwAaoEeSjBLKX2Tfccg" name="class23" type="_3_qQUAaoEeSjBLKX2Tfccg" association="_6Tvy0AaoEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6TvLwQaoEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6TvLwgaoEeSjBLKX2Tfccg" value="1"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_3_qQUAaoEeSjBLKX2Tfccg" name="Class23"/> + <packagedElement xmi:type="uml:Association" xmi:id="_4kwhcAaoEeSjBLKX2Tfccg" name="Association14" memberEnd="_4kwhcQaoEeSjBLKX2Tfccg _4kv6YAaoEeSjBLKX2Tfccg"> + <ownedEnd xmi:type="uml:Property" xmi:id="_4kwhcQaoEeSjBLKX2Tfccg" name="class22" type="_0ynFgAaoEeSjBLKX2Tfccg" association="_4kwhcAaoEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_4kwhcgaoEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_4kwhcwaoEeSjBLKX2Tfccg" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="_6Tvy0AaoEeSjBLKX2Tfccg" name="Association15" memberEnd="_6Tvy0QaoEeSjBLKX2Tfccg _6TvLwAaoEeSjBLKX2Tfccg"> + <ownedEnd xmi:type="uml:Property" xmi:id="_6Tvy0QaoEeSjBLKX2Tfccg" name="class22" type="_0ynFgAaoEeSjBLKX2Tfccg" association="_6Tvy0AaoEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6Tvy0gaoEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6Tvy0waoEeSjBLKX2Tfccg" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_OSTncAazEeSjBLKX2Tfccg" name="Class24"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_QL4YMAazEeSjBLKX2Tfccg" name="class25" type="_PaWNkAazEeSjBLKX2Tfccg" association="_QL4_QAazEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_QL4YMQazEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_QL4YMgazEeSjBLKX2Tfccg" value="1"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_T8p7IAazEeSjBLKX2Tfccg" name="class25" type="_PaWNkAazEeSjBLKX2Tfccg" association="_T8qiMAazEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_T8p7IQazEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_T8p7IgazEeSjBLKX2Tfccg" value="1"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_PaWNkAazEeSjBLKX2Tfccg" name="Class25"/> + <packagedElement xmi:type="uml:Association" xmi:id="_QL4_QAazEeSjBLKX2Tfccg" name="Association23" memberEnd="_QL4_QQazEeSjBLKX2Tfccg _QL4YMAazEeSjBLKX2Tfccg"> + <ownedEnd xmi:type="uml:Property" xmi:id="_QL4_QQazEeSjBLKX2Tfccg" name="class24" type="_OSTncAazEeSjBLKX2Tfccg" association="_QL4_QAazEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_QL4_QgazEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_QL4_QwazEeSjBLKX2Tfccg" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="_T8qiMAazEeSjBLKX2Tfccg" name="Association22" memberEnd="_T8qiMQazEeSjBLKX2Tfccg _T8p7IAazEeSjBLKX2Tfccg"> + <ownedEnd xmi:type="uml:Property" xmi:id="_T8qiMQazEeSjBLKX2Tfccg" name="class24" type="_OSTncAazEeSjBLKX2Tfccg" association="_T8qiMAazEeSjBLKX2Tfccg"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_T8qiMgazEeSjBLKX2Tfccg" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_T8qiMwazEeSjBLKX2Tfccg" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_-62WIAgvEeSOb7xxF0D0Yw" name="Class26"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_Bir7EAgwEeSOb7xxF0D0Yw" name="class28" type="_ADXdYAgwEeSOb7xxF0D0Yw" association="_Bir7EwgwEeSOb7xxF0D0Yw"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Bir7EQgwEeSOb7xxF0D0Yw" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Bir7EggwEeSOb7xxF0D0Yw" value="1"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="__mVjIAgvEeSOb7xxF0D0Yw" name="Class27"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_CLSMIAgwEeSOb7xxF0D0Yw" name="class28" type="_ADXdYAgwEeSOb7xxF0D0Yw" association="_CLSMIwgwEeSOb7xxF0D0Yw"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_CLSMIQgwEeSOb7xxF0D0Yw" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_CLSMIggwEeSOb7xxF0D0Yw" value="1"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_ADXdYAgwEeSOb7xxF0D0Yw" name="Class28"/> + <packagedElement xmi:type="uml:Association" xmi:id="_Bir7EwgwEeSOb7xxF0D0Yw" name="Association17" memberEnd="_Bir7FAgwEeSOb7xxF0D0Yw _Bir7EAgwEeSOb7xxF0D0Yw"> + <ownedEnd xmi:type="uml:Property" xmi:id="_Bir7FAgwEeSOb7xxF0D0Yw" name="class26" type="_-62WIAgvEeSOb7xxF0D0Yw" association="_Bir7EwgwEeSOb7xxF0D0Yw"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Bir7FQgwEeSOb7xxF0D0Yw" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Bir7FggwEeSOb7xxF0D0Yw" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="_CLSMIwgwEeSOb7xxF0D0Yw" name="Association16" memberEnd="_CLSMJAgwEeSOb7xxF0D0Yw _CLSMIAgwEeSOb7xxF0D0Yw"> + <ownedEnd xmi:type="uml:Property" xmi:id="_CLSMJAgwEeSOb7xxF0D0Yw" name="class27" type="__mVjIAgvEeSOb7xxF0D0Yw" association="_CLSMIwgwEeSOb7xxF0D0Yw"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_CLSMJQgwEeSOb7xxF0D0Yw" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_CLSMJggwEeSOb7xxF0D0Yw" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_wZrlgBCwEeSJbdueZ0I1wQ" name="Class29"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_y-lyQBCwEeSJbdueZ0I1wQ" name="class30" type="_xLFNQBCwEeSJbdueZ0I1wQ" association="_y-mZUBCwEeSJbdueZ0I1wQ"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_y-lyQRCwEeSJbdueZ0I1wQ" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_y-lyQhCwEeSJbdueZ0I1wQ" value="1"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_ztuJIBCwEeSJbdueZ0I1wQ" name="class31" type="_yA6CABCwEeSJbdueZ0I1wQ" association="_ztuJIxCwEeSJbdueZ0I1wQ"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ztuJIRCwEeSJbdueZ0I1wQ" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ztuJIhCwEeSJbdueZ0I1wQ" value="1"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="_1QduQBCwEeSJbdueZ0I1wQ" name="class32" type="_0uebgBCwEeSJbdueZ0I1wQ" association="_1QduQxCwEeSJbdueZ0I1wQ"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_1QduQRCwEeSJbdueZ0I1wQ" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_1QduQhCwEeSJbdueZ0I1wQ" value="1"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_xLFNQBCwEeSJbdueZ0I1wQ" name="Class30"/> + <packagedElement xmi:type="uml:Class" xmi:id="_yA6CABCwEeSJbdueZ0I1wQ" name="Class31"/> + <packagedElement xmi:type="uml:Association" xmi:id="_y-mZUBCwEeSJbdueZ0I1wQ" name="Association20" memberEnd="_y-mZURCwEeSJbdueZ0I1wQ _y-lyQBCwEeSJbdueZ0I1wQ"> + <ownedEnd xmi:type="uml:Property" xmi:id="_y-mZURCwEeSJbdueZ0I1wQ" name="class29" type="_wZrlgBCwEeSJbdueZ0I1wQ" association="_y-mZUBCwEeSJbdueZ0I1wQ"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_y-nAYBCwEeSJbdueZ0I1wQ" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_y-nAYRCwEeSJbdueZ0I1wQ" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="_ztuJIxCwEeSJbdueZ0I1wQ" name="Association21" memberEnd="_ztuJJBCwEeSJbdueZ0I1wQ _ztuJIBCwEeSJbdueZ0I1wQ"> + <ownedEnd xmi:type="uml:Property" xmi:id="_ztuJJBCwEeSJbdueZ0I1wQ" name="class29" type="_wZrlgBCwEeSJbdueZ0I1wQ" association="_ztuJIxCwEeSJbdueZ0I1wQ"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ztuJJRCwEeSJbdueZ0I1wQ" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ztuJJhCwEeSJbdueZ0I1wQ" value="1"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_0uebgBCwEeSJbdueZ0I1wQ" name="Class32"/> + <packagedElement xmi:type="uml:Association" xmi:id="_1QduQxCwEeSJbdueZ0I1wQ" name="Association19" memberEnd="_1QduRBCwEeSJbdueZ0I1wQ _1QduQBCwEeSJbdueZ0I1wQ"> + <ownedEnd xmi:type="uml:Property" xmi:id="_1QduRBCwEeSJbdueZ0I1wQ" name="class29" type="_wZrlgBCwEeSJbdueZ0I1wQ" association="_1QduQxCwEeSJbdueZ0I1wQ"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_1QduRRCwEeSJbdueZ0I1wQ" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_1QduRhCwEeSJbdueZ0I1wQ" value="1"/> + </ownedEnd> + </packagedElement> +</uml:Model> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.di b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.di index 8634d4c00e0..bf9abab340f 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.di +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.di @@ -1,2 +1,2 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
+<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.notation b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.notation index 0f95c9ce28f..a09e9b5806e 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.notation +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.notation @@ -1,57 +1,57 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML">
- <notation:Diagram xmi:id="_t3lX0BXNEeWs_bTNvrOd5w" type="PapyrusUMLComponentDiagram" name="ComponentDiagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_uiJXwBXNEeWs_bTNvrOd5w" type="2002">
- <children xmi:type="notation:DecorationNode" xmi:id="_uiLM8BXNEeWs_bTNvrOd5w" type="5004"/>
- <children xmi:type="notation:DecorationNode" xmi:id="_uiL0ABXNEeWs_bTNvrOd5w" type="6030">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_uiL0ARXNEeWs_bTNvrOd5w" y="5"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_uiMbEBXNEeWs_bTNvrOd5w" type="7001">
- <styles xmi:type="notation:TitleStyle" xmi:id="_uiMbERXNEeWs_bTNvrOd5w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uiMbEhXNEeWs_bTNvrOd5w"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_uilcoBXNEeWs_bTNvrOd5w" type="compartment_shape_display">
- <styles xmi:type="notation:TitleStyle" xmi:id="_uilcoRXNEeWs_bTNvrOd5w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uilcohXNEeWs_bTNvrOd5w"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_vqLW0BXNEeWs_bTNvrOd5w" type="3069">
- <children xmi:type="notation:DecorationNode" xmi:id="_vqLW0hXNEeWs_bTNvrOd5w" type="5006">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_vqLW0xXNEeWs_bTNvrOd5w" x="28" y="4"/>
- </children>
- <children xmi:type="notation:DecorationNode" xmi:id="_vqLW1BXNEeWs_bTNvrOd5w" type="5007">
- <layoutConstraint xmi:type="notation:Location" xmi:id="_vqLW1RXNEeWs_bTNvrOd5w" x="25" y="-10"/>
- </children>
- <element xmi:type="uml:Port" href="model.uml#_vp_JkBXNEeWs_bTNvrOd5w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vqLW0RXNEeWs_bTNvrOd5w" x="150" y="30"/>
- </children>
- <element xmi:type="uml:Component" href="model.uml#_uhnMQBXNEeWs_bTNvrOd5w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uiJXwRXNEeWs_bTNvrOd5w" x="92" y="147"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_cK0QUBjcEeWMjJEqhdMs0g" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_cK0QURjcEeWMjJEqhdMs0g" showTitle="true"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_cK0QUxjcEeWMjJEqhdMs0g" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Component" href="model.uml#_uhnMQBXNEeWs_bTNvrOd5w"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cK0QUhjcEeWMjJEqhdMs0g" x="292" y="147"/>
- </children>
- <styles xmi:type="notation:StringValueStyle" xmi:id="_t3lX0RXNEeWs_bTNvrOd5w" name="diagram_compatibility_version" stringValue="1.1.0"/>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_t3lX0hXNEeWs_bTNvrOd5w"/>
- <styles xmi:type="style:PapyrusViewStyle" xmi:id="_t3lX0xXNEeWs_bTNvrOd5w">
- <owner xmi:type="uml:Model" href="model.uml#_ANMzQP4fEeSePJTjmnYBcA"/>
- </styles>
- <styles xmi:type="notation:EObjectListValueStyle" xmi:id="_Rtt6IBjuEeWMjJEqhdMs0g" name="css_stylesheets" eObjectListValue="_RtvvUBjuEeWMjJEqhdMs0g"/>
- <element xmi:type="uml:Model" href="model.uml#_ANMzQP4fEeSePJTjmnYBcA"/>
- <edges xmi:type="notation:Connector" xmi:id="_cK0QVBjcEeWMjJEqhdMs0g" type="StereotypeCommentLink" source="_uiJXwBXNEeWs_bTNvrOd5w" target="_cK0QUBjcEeWMjJEqhdMs0g">
- <styles xmi:type="notation:FontStyle" xmi:id="_cK0QVRjcEeWMjJEqhdMs0g"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_cK0QWRjcEeWMjJEqhdMs0g" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Component" href="model.uml#_uhnMQBXNEeWs_bTNvrOd5w"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_cK0QVhjcEeWMjJEqhdMs0g" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_cK0QVxjcEeWMjJEqhdMs0g"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_cK0QWBjcEeWMjJEqhdMs0g"/>
- </edges>
- </notation:Diagram>
- <css:EmbeddedStyleSheet xmi:id="_RtvvUBjuEeWMjJEqhdMs0g" label="CSSTest" content=""/>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> + <notation:Diagram xmi:id="_t3lX0BXNEeWs_bTNvrOd5w" type="PapyrusUMLComponentDiagram" name="ComponentDiagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_uiJXwBXNEeWs_bTNvrOd5w" type="2002"> + <children xmi:type="notation:DecorationNode" xmi:id="_uiLM8BXNEeWs_bTNvrOd5w" type="5004"/> + <children xmi:type="notation:DecorationNode" xmi:id="_uiL0ABXNEeWs_bTNvrOd5w" type="6030"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_uiL0ARXNEeWs_bTNvrOd5w" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_uiMbEBXNEeWs_bTNvrOd5w" type="7001"> + <styles xmi:type="notation:TitleStyle" xmi:id="_uiMbERXNEeWs_bTNvrOd5w"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uiMbEhXNEeWs_bTNvrOd5w"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_uilcoBXNEeWs_bTNvrOd5w" type="compartment_shape_display"> + <styles xmi:type="notation:TitleStyle" xmi:id="_uilcoRXNEeWs_bTNvrOd5w"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uilcohXNEeWs_bTNvrOd5w"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_vqLW0BXNEeWs_bTNvrOd5w" type="3069"> + <children xmi:type="notation:DecorationNode" xmi:id="_vqLW0hXNEeWs_bTNvrOd5w" type="5006"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_vqLW0xXNEeWs_bTNvrOd5w" x="28" y="4"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_vqLW1BXNEeWs_bTNvrOd5w" type="5007"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_vqLW1RXNEeWs_bTNvrOd5w" x="25" y="-10"/> + </children> + <element xmi:type="uml:Port" href="model.uml#_vp_JkBXNEeWs_bTNvrOd5w"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vqLW0RXNEeWs_bTNvrOd5w" x="150" y="30"/> + </children> + <element xmi:type="uml:Component" href="model.uml#_uhnMQBXNEeWs_bTNvrOd5w"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_uiJXwRXNEeWs_bTNvrOd5w" x="92" y="147"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_cK0QUBjcEeWMjJEqhdMs0g" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_cK0QURjcEeWMjJEqhdMs0g" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_cK0QUxjcEeWMjJEqhdMs0g" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Component" href="model.uml#_uhnMQBXNEeWs_bTNvrOd5w"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cK0QUhjcEeWMjJEqhdMs0g" x="292" y="147"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_t3lX0RXNEeWs_bTNvrOd5w" name="diagram_compatibility_version" stringValue="1.1.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_t3lX0hXNEeWs_bTNvrOd5w"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_t3lX0xXNEeWs_bTNvrOd5w"> + <owner xmi:type="uml:Model" href="model.uml#_ANMzQP4fEeSePJTjmnYBcA"/> + </styles> + <styles xmi:type="notation:EObjectListValueStyle" xmi:id="_Rtt6IBjuEeWMjJEqhdMs0g" name="css_stylesheets" eObjectListValue="_RtvvUBjuEeWMjJEqhdMs0g"/> + <element xmi:type="uml:Model" href="model.uml#_ANMzQP4fEeSePJTjmnYBcA"/> + <edges xmi:type="notation:Connector" xmi:id="_cK0QVBjcEeWMjJEqhdMs0g" type="StereotypeCommentLink" source="_uiJXwBXNEeWs_bTNvrOd5w" target="_cK0QUBjcEeWMjJEqhdMs0g"> + <styles xmi:type="notation:FontStyle" xmi:id="_cK0QVRjcEeWMjJEqhdMs0g"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_cK0QWRjcEeWMjJEqhdMs0g" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Component" href="model.uml#_uhnMQBXNEeWs_bTNvrOd5w"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_cK0QVhjcEeWMjJEqhdMs0g" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_cK0QVxjcEeWMjJEqhdMs0g"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_cK0QWBjcEeWMjJEqhdMs0g"/> + </edges> + </notation:Diagram> + <css:EmbeddedStyleSheet xmi:id="_RtvvUBjuEeWMjJEqhdMs0g" label="CSSTest" content=""/> +</xmi:XMI> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.profile.di b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.profile.di index 8634d4c00e0..bf9abab340f 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.profile.di +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.profile.di @@ -1,2 +1,2 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
+<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.profile.notation b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.profile.notation index 89351c645ca..f7d6538c8ca 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.profile.notation +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.profile.notation @@ -1,56 +1,56 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_Pk7t4BjcEeWMjJEqhdMs0g" type="PapyrusUMLProfileDiagram" name="Profile Diagram" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_R92tEBjcEeWMjJEqhdMs0g" type="1031">
- <children xmi:type="notation:DecorationNode" xmi:id="_R93UIBjcEeWMjJEqhdMs0g" type="1084"/>
- <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_R93UIRjcEeWMjJEqhdMs0g" x="241" y="58"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_R-JA8BjcEeWMjJEqhdMs0g" type="StereotypeComment">
- <styles xmi:type="notation:TitleStyle" xmi:id="_R-JA8RjcEeWMjJEqhdMs0g" showTitle="true"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_R-JA8xjcEeWMjJEqhdMs0g" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/>
- </styles>
- <element xsi:nil="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_R-JA8hjcEeWMjJEqhdMs0g" x="956" y="201"/>
- </children>
- <children xmi:type="notation:Shape" xmi:id="_ShjQABjcEeWMjJEqhdMs0g" type="1026">
- <children xmi:type="notation:DecorationNode" xmi:id="_Shj3EBjcEeWMjJEqhdMs0g" type="1034"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_Shj3ERjcEeWMjJEqhdMs0g" type="1071">
- <styles xmi:type="notation:TitleStyle" xmi:id="_Shj3EhjcEeWMjJEqhdMs0g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_Shj3ExjcEeWMjJEqhdMs0g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_Shj3FBjcEeWMjJEqhdMs0g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Shj3FRjcEeWMjJEqhdMs0g"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_Shj3FhjcEeWMjJEqhdMs0g" type="1019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_Shj3FxjcEeWMjJEqhdMs0g"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_Shj3GBjcEeWMjJEqhdMs0g"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_Shj3GRjcEeWMjJEqhdMs0g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Shj3GhjcEeWMjJEqhdMs0g"/>
- </children>
- <element xmi:type="uml:Stereotype" href="model.profile.uml#_ShiB4BjcEeWMjJEqhdMs0g"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ShjQARjcEeWMjJEqhdMs0g" x="247" y="157"/>
- </children>
- <styles xmi:type="notation:StringValueStyle" xmi:id="_Pk7t4RjcEeWMjJEqhdMs0g" name="diagram_compatibility_version" stringValue="1.1.0"/>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_Pk7t4hjcEeWMjJEqhdMs0g"/>
- <styles xmi:type="style:PapyrusViewStyle" xmi:id="_Pk7t4xjcEeWMjJEqhdMs0g">
- <owner xmi:type="uml:Profile" href="model.profile.uml#_PkuSgBjcEeWMjJEqhdMs0g"/>
- </styles>
- <element xmi:type="uml:Profile" href="model.profile.uml#_PkuSgBjcEeWMjJEqhdMs0g"/>
- <edges xmi:type="notation:Connector" xmi:id="_R-JA9BjcEeWMjJEqhdMs0g" type="StereotypeCommentLink" source="_R92tEBjcEeWMjJEqhdMs0g" target="_R-JA8BjcEeWMjJEqhdMs0g">
- <styles xmi:type="notation:FontStyle" xmi:id="_R-JA9RjcEeWMjJEqhdMs0g"/>
- <styles xmi:type="notation:EObjectValueStyle" xmi:id="_R-JA-RjcEeWMjJEqhdMs0g" name="BASE_ELEMENT">
- <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/>
- </styles>
- <element xsi:nil="true"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_R-JA9hjcEeWMjJEqhdMs0g" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_R-JA9xjcEeWMjJEqhdMs0g"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_R-JA-BjcEeWMjJEqhdMs0g"/>
- </edges>
- <edges xmi:type="notation:Connector" xmi:id="_TKFPoBjcEeWMjJEqhdMs0g" type="1013" source="_ShjQABjcEeWMjJEqhdMs0g" target="_R92tEBjcEeWMjJEqhdMs0g">
- <styles xmi:type="notation:FontStyle" xmi:id="_TKFPoRjcEeWMjJEqhdMs0g"/>
- <element xmi:type="uml:Extension" href="model.profile.uml#_TJ-h8BjcEeWMjJEqhdMs0g"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_TKFPohjcEeWMjJEqhdMs0g" points="[-3, -16, 2, 129]$[-3, -120, 2, 25]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WlXDsBjcEeWMjJEqhdMs0g" id="(0.55,0.0)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WUOQYBjcEeWMjJEqhdMs0g" id="(0.61,1.0)"/>
- </edges>
-</notation:Diagram>
+<?xml version="1.0" encoding="UTF-8"?> +<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_Pk7t4BjcEeWMjJEqhdMs0g" type="PapyrusUMLProfileDiagram" name="Profile Diagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_R92tEBjcEeWMjJEqhdMs0g" type="1031"> + <children xmi:type="notation:DecorationNode" xmi:id="_R93UIBjcEeWMjJEqhdMs0g" type="1084"/> + <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_R93UIRjcEeWMjJEqhdMs0g" x="241" y="58"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_R-JA8BjcEeWMjJEqhdMs0g" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_R-JA8RjcEeWMjJEqhdMs0g" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_R-JA8xjcEeWMjJEqhdMs0g" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_R-JA8hjcEeWMjJEqhdMs0g" x="956" y="201"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_ShjQABjcEeWMjJEqhdMs0g" type="1026"> + <children xmi:type="notation:DecorationNode" xmi:id="_Shj3EBjcEeWMjJEqhdMs0g" type="1034"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_Shj3ERjcEeWMjJEqhdMs0g" type="1071"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Shj3EhjcEeWMjJEqhdMs0g"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_Shj3ExjcEeWMjJEqhdMs0g"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_Shj3FBjcEeWMjJEqhdMs0g"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Shj3FRjcEeWMjJEqhdMs0g"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_Shj3FhjcEeWMjJEqhdMs0g" type="1019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Shj3FxjcEeWMjJEqhdMs0g"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_Shj3GBjcEeWMjJEqhdMs0g"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_Shj3GRjcEeWMjJEqhdMs0g"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Shj3GhjcEeWMjJEqhdMs0g"/> + </children> + <element xmi:type="uml:Stereotype" href="model.profile.uml#_ShiB4BjcEeWMjJEqhdMs0g"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ShjQARjcEeWMjJEqhdMs0g" x="247" y="157"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_Pk7t4RjcEeWMjJEqhdMs0g" name="diagram_compatibility_version" stringValue="1.1.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_Pk7t4hjcEeWMjJEqhdMs0g"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_Pk7t4xjcEeWMjJEqhdMs0g"> + <owner xmi:type="uml:Profile" href="model.profile.uml#_PkuSgBjcEeWMjJEqhdMs0g"/> + </styles> + <element xmi:type="uml:Profile" href="model.profile.uml#_PkuSgBjcEeWMjJEqhdMs0g"/> + <edges xmi:type="notation:Connector" xmi:id="_R-JA9BjcEeWMjJEqhdMs0g" type="StereotypeCommentLink" source="_R92tEBjcEeWMjJEqhdMs0g" target="_R-JA8BjcEeWMjJEqhdMs0g"> + <styles xmi:type="notation:FontStyle" xmi:id="_R-JA9RjcEeWMjJEqhdMs0g"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_R-JA-RjcEeWMjJEqhdMs0g" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_R-JA9hjcEeWMjJEqhdMs0g" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_R-JA9xjcEeWMjJEqhdMs0g"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_R-JA-BjcEeWMjJEqhdMs0g"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_TKFPoBjcEeWMjJEqhdMs0g" type="1013" source="_ShjQABjcEeWMjJEqhdMs0g" target="_R92tEBjcEeWMjJEqhdMs0g"> + <styles xmi:type="notation:FontStyle" xmi:id="_TKFPoRjcEeWMjJEqhdMs0g"/> + <element xmi:type="uml:Extension" href="model.profile.uml#_TJ-h8BjcEeWMjJEqhdMs0g"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_TKFPohjcEeWMjJEqhdMs0g" points="[-3, -16, 2, 129]$[-3, -120, 2, 25]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WlXDsBjcEeWMjJEqhdMs0g" id="(0.55,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WUOQYBjcEeWMjJEqhdMs0g" id="(0.61,1.0)"/> + </edges> +</notation:Diagram> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.profile.uml b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.profile.uml index 6487eb0dba0..a86ed6b7d48 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.profile.uml +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.profile.uml @@ -1,31 +1,31 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<uml:Profile xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_PkuSgBjcEeWMjJEqhdMs0g" name="RootElement" metaclassReference="_R9tjIBjcEeWMjJEqhdMs0g">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_YON34BjcEeWMjJEqhdMs0g" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <contents xmi:type="ecore:EPackage" xmi:id="_YON34RjcEeWMjJEqhdMs0g" name="RootElement" nsURI="http:///schemas/RootElement/_YOMpwBjcEeWMjJEqhdMs0g/0" nsPrefix="RootElement">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_YOPtERjcEeWMjJEqhdMs0g" source="PapyrusVersion">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YOPtEhjcEeWMjJEqhdMs0g" key="Version" value="0.0.1"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YOPtExjcEeWMjJEqhdMs0g" key="Comment" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YOPtFBjcEeWMjJEqhdMs0g" key="Copyright" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YOPtFRjcEeWMjJEqhdMs0g" key="Date" value="2015-06-22"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YOPtFhjcEeWMjJEqhdMs0g" key="Author" value=""/>
- </eAnnotations>
- <eClassifiers xmi:type="ecore:EClass" xmi:id="_YON34hjcEeWMjJEqhdMs0g" name="StereotypeTest">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_YON34xjcEeWMjJEqhdMs0g" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_ShiB4BjcEeWMjJEqhdMs0g"/>
- <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_YON35BjcEeWMjJEqhdMs0g" name="base_Component" ordered="false" lowerBound="1">
- <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Component"/>
- </eStructuralFeatures>
- </eClassifiers>
- </contents>
- </eAnnotations>
- <elementImport xmi:type="uml:ElementImport" xmi:id="_R9tjIBjcEeWMjJEqhdMs0g" alias="Component">
- <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/>
- </elementImport>
- <packagedElement xmi:type="uml:Stereotype" xmi:id="_ShiB4BjcEeWMjJEqhdMs0g" name="StereotypeTest">
- <ownedAttribute xmi:type="uml:Property" xmi:id="_TJ_JABjcEeWMjJEqhdMs0g" name="base_Component" association="_TJ-h8BjcEeWMjJEqhdMs0g">
- <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/>
- </ownedAttribute>
- </packagedElement>
- <packagedElement xmi:type="uml:Extension" xmi:id="_TJ-h8BjcEeWMjJEqhdMs0g" name="E_StereotypeTest_Component1" memberEnd="_TJ-h8RjcEeWMjJEqhdMs0g _TJ_JABjcEeWMjJEqhdMs0g">
- <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_TJ-h8RjcEeWMjJEqhdMs0g" name="extension_StereotypeTest" type="_ShiB4BjcEeWMjJEqhdMs0g" aggregation="composite" association="_TJ-h8BjcEeWMjJEqhdMs0g"/>
- </packagedElement>
-</uml:Profile>
+<?xml version="1.0" encoding="UTF-8"?> +<uml:Profile xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_PkuSgBjcEeWMjJEqhdMs0g" name="RootElement" metaclassReference="_R9tjIBjcEeWMjJEqhdMs0g"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_YON34BjcEeWMjJEqhdMs0g" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <contents xmi:type="ecore:EPackage" xmi:id="_YON34RjcEeWMjJEqhdMs0g" name="RootElement" nsURI="http:///schemas/RootElement/_YOMpwBjcEeWMjJEqhdMs0g/0" nsPrefix="RootElement"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_YOPtERjcEeWMjJEqhdMs0g" source="PapyrusVersion"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YOPtEhjcEeWMjJEqhdMs0g" key="Version" value="0.0.1"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YOPtExjcEeWMjJEqhdMs0g" key="Comment" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YOPtFBjcEeWMjJEqhdMs0g" key="Copyright" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YOPtFRjcEeWMjJEqhdMs0g" key="Date" value="2015-06-22"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YOPtFhjcEeWMjJEqhdMs0g" key="Author" value=""/> + </eAnnotations> + <eClassifiers xmi:type="ecore:EClass" xmi:id="_YON34hjcEeWMjJEqhdMs0g" name="StereotypeTest"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_YON34xjcEeWMjJEqhdMs0g" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_ShiB4BjcEeWMjJEqhdMs0g"/> + <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_YON35BjcEeWMjJEqhdMs0g" name="base_Component" ordered="false" lowerBound="1"> + <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Component"/> + </eStructuralFeatures> + </eClassifiers> + </contents> + </eAnnotations> + <elementImport xmi:type="uml:ElementImport" xmi:id="_R9tjIBjcEeWMjJEqhdMs0g" alias="Component"> + <importedElement xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/> + </elementImport> + <packagedElement xmi:type="uml:Stereotype" xmi:id="_ShiB4BjcEeWMjJEqhdMs0g" name="StereotypeTest"> + <ownedAttribute xmi:type="uml:Property" xmi:id="_TJ_JABjcEeWMjJEqhdMs0g" name="base_Component" association="_TJ-h8BjcEeWMjJEqhdMs0g"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Component"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="_TJ-h8BjcEeWMjJEqhdMs0g" name="E_StereotypeTest_Component1" memberEnd="_TJ-h8RjcEeWMjJEqhdMs0g _TJ_JABjcEeWMjJEqhdMs0g"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_TJ-h8RjcEeWMjJEqhdMs0g" name="extension_StereotypeTest" type="_ShiB4BjcEeWMjJEqhdMs0g" aggregation="composite" association="_TJ-h8BjcEeWMjJEqhdMs0g"/> + </packagedElement> +</uml:Profile> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.uml b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.uml index 0971878c71f..48444374db7 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.uml +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/resources/shapeCustomisation/model.uml @@ -1,22 +1,22 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:RootElement="http:///schemas/RootElement/_YOMpwBjcEeWMjJEqhdMs0g/0" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http:///schemas/RootElement/_YOMpwBjcEeWMjJEqhdMs0g/0 model.profile.uml#_YON34RjcEeWMjJEqhdMs0g">
- <uml:Model xmi:id="_ANMzQP4fEeSePJTjmnYBcA" name="RootElement">
- <packagedElement xmi:type="uml:Component" xmi:id="_uhnMQBXNEeWs_bTNvrOd5w" name="Component1">
- <ownedAttribute xmi:type="uml:Port" xmi:id="_vp_JkBXNEeWs_bTNvrOd5w" name="Port1" aggregation="composite"/>
- </packagedElement>
- <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_bJmD4BjcEeWMjJEqhdMs0g">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_bJogIBjcEeWMjJEqhdMs0g" source="PapyrusVersion">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_bJogIRjcEeWMjJEqhdMs0g" key="Version" value="0.0.1"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_bJogIhjcEeWMjJEqhdMs0g" key="Comment" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_bJogIxjcEeWMjJEqhdMs0g" key="Copyright" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_bJogJBjcEeWMjJEqhdMs0g" key="Date" value="2015-06-22"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_bJogJRjcEeWMjJEqhdMs0g" key="Author" value=""/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_bJn5EBjcEeWMjJEqhdMs0g" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="model.profile.uml#_YON34RjcEeWMjJEqhdMs0g"/>
- </eAnnotations>
- <appliedProfile xmi:type="uml:Profile" href="model.profile.uml#_PkuSgBjcEeWMjJEqhdMs0g"/>
- </profileApplication>
- </uml:Model>
- <RootElement:StereotypeTest xmi:id="_cKsUgBjcEeWMjJEqhdMs0g" base_Component="_uhnMQBXNEeWs_bTNvrOd5w"/>
-</xmi:XMI>
+<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:RootElement="http:///schemas/RootElement/_YOMpwBjcEeWMjJEqhdMs0g/0" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http:///schemas/RootElement/_YOMpwBjcEeWMjJEqhdMs0g/0 model.profile.uml#_YON34RjcEeWMjJEqhdMs0g"> + <uml:Model xmi:id="_ANMzQP4fEeSePJTjmnYBcA" name="RootElement"> + <packagedElement xmi:type="uml:Component" xmi:id="_uhnMQBXNEeWs_bTNvrOd5w" name="Component1"> + <ownedAttribute xmi:type="uml:Port" xmi:id="_vp_JkBXNEeWs_bTNvrOd5w" name="Port1" aggregation="composite"/> + </packagedElement> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_bJmD4BjcEeWMjJEqhdMs0g"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_bJogIBjcEeWMjJEqhdMs0g" source="PapyrusVersion"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_bJogIRjcEeWMjJEqhdMs0g" key="Version" value="0.0.1"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_bJogIhjcEeWMjJEqhdMs0g" key="Comment" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_bJogIxjcEeWMjJEqhdMs0g" key="Copyright" value=""/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_bJogJBjcEeWMjJEqhdMs0g" key="Date" value="2015-06-22"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_bJogJRjcEeWMjJEqhdMs0g" key="Author" value=""/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_bJn5EBjcEeWMjJEqhdMs0g" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="model.profile.uml#_YON34RjcEeWMjJEqhdMs0g"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="model.profile.uml#_PkuSgBjcEeWMjJEqhdMs0g"/> + </profileApplication> + </uml:Model> + <RootElement:StereotypeTest xmi:id="_cKsUgBjcEeWMjJEqhdMs0g" base_Component="_uhnMQBXNEeWs_bTNvrOd5w"/> +</xmi:XMI> diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/Activator.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/Activator.java index b66ddcd0dfd..52e9d4e6f90 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/Activator.java +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/Activator.java @@ -1,67 +1,67 @@ -/*****************************************************************************
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.diagram.common.tests;
-
-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.uml.diagram.common.tests"; //$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;
- }
-
-}
+/***************************************************************************** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.uml.diagram.common.tests; + +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.uml.diagram.common.tests"; //$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/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/css/Bug431694_UndoDeleteTest.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/css/Bug431694_UndoDeleteTest.java index 9c6eea30fdc..5752d074c96 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/css/Bug431694_UndoDeleteTest.java +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/css/Bug431694_UndoDeleteTest.java @@ -1,267 +1,267 @@ -/*****************************************************************************
- * Copyright (c) 2014 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.uml.diagram.common.tests.css;
-
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-
-import org.eclipse.emf.common.command.CommandStack;
-import org.eclipse.gef.Request;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.UnexecutableCommand;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
-import org.eclipse.gmf.runtime.diagram.ui.requests.EditCommandRequestWrapper;
-import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
-import org.eclipse.gmf.runtime.notation.Diagram;
-import org.eclipse.gmf.runtime.notation.GradientStyle;
-import org.eclipse.gmf.runtime.notation.Shape;
-import org.eclipse.papyrus.commands.wrappers.GEFtoEMFCommandWrapper;
-import org.eclipse.papyrus.infra.core.services.ServiceException;
-import org.eclipse.papyrus.infra.gmfdiag.css.helper.CSSHelper;
-import org.eclipse.papyrus.junit.utils.DiagramUtils;
-import org.eclipse.papyrus.junit.utils.tests.AbstractEditorTest;
-import org.eclipse.papyrus.uml.diagram.tests.canonical.AbstractPapyrusTestCase;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.uml2.uml.Package;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-import org.osgi.framework.Bundle;
-
-/**
- * Test for bug 431694: [All diagrams] Problem with Surfboard display after Delete -> Undo
- * https://bugs.eclipse.org/bugs/show_bug.cgi?id=431694
- */
-public class Bug431694_UndoDeleteTest extends AbstractEditorTest {
-
- private static final String PACKAGE1 = "Package1";
-
- private static final String CLASS_NAMED_STYLE_FONT = "ClassNamedStyleFont";
-
- private static final String DIAGRAM_MAIN_NAME = "Main";
-
- private static final String PROJECT_NAME = "431694_UndoDeleteTest";
-
- public final static String SOURCE_PATH = "resources/431694/";
-
- protected boolean operationFailed = false;
-
-
- @Before
- public void prepareTest() throws Exception {
- initModel(PROJECT_NAME, "model", getBundle());
- }
-
- /**
- * Test with a {@link Package} with a css style already applied
- */
- @Test
- public void testDeleteOnPackageWithStyle() throws Exception {
- // check css on the package P1
- // get Package 1 view on the open diagram
- // get the rootModel
- Assert.assertNotNull("RootModel is null", getRootUMLModel());
-
- Diagram mainDiagram = DiagramUtils.getNotationDiagram(getModelSet(), DIAGRAM_MAIN_NAME);
- getPageManager().openPage(mainDiagram);
- Assert.assertEquals("current opened diagram is not the expected one", mainDiagram.getName(), DIAGRAM_MAIN_NAME);
-
- // check css is working
- Assert.assertTrue("CSS is not supported on the given model", CSSHelper.isCSSSupported(getModelSet()));
- Shape package1View = DiagramUtils.findShape(mainDiagram, PACKAGE1);
- if(package1View == null) {
- return;
- }
- checkPackage1CSS(package1View);
-
- // delete P1
- // get edit part for this view and send a delete request
- IGraphicalEditPart packageEditPart = DiagramUtils.findEditPartforView(editor, package1View, IGraphicalEditPart.class);
- Assert.assertNotNull("Impossible to find package edit part", packageEditPart);
- Request deleteViewRequest = new EditCommandRequestWrapper(new DestroyElementRequest(false));
- Command command = packageEditPart.getCommand(deleteViewRequest);
- assertNotNull("Impossible to create a delete command", command);
- Assert.assertNotEquals("This should not be an unexecutable command", command, UnexecutableCommand.INSTANCE);
- assertTrue("command should be executable", command.canExecute());
- execute(command);
- Assert.assertNull("There should be no shape for this element: " + PACKAGE1, DiagramUtils.findShape(mainDiagram, PACKAGE1));
-
- // undo
- undo();
-
- // check css on P1
- Shape newPackage1View = DiagramUtils.findShape(mainDiagram, PACKAGE1);
- Assert.assertNotNull("There should be a shape for this element: " + PACKAGE1, newPackage1View);
- checkPackage1CSS(newPackage1View);
-
- }
-
- /**
- * Test with a {@link Package} with a css style already applied
- */
- @Test
- public void testDeleteOnClassNamedStyleFont() throws Exception {
- // check css on the class ClassNamedStyleFont
- Assert.assertNotNull("RootModel is null", getRootUMLModel());
-
- Diagram mainDiagram = DiagramUtils.getNotationDiagram(getModelSet(), DIAGRAM_MAIN_NAME);
- getPageManager().openPage(mainDiagram);
- Assert.assertEquals("current opened diagram is not the expected one", mainDiagram.getName(), DIAGRAM_MAIN_NAME);
-
- // check css is working
- Assert.assertTrue("CSS is not supported on the given model", CSSHelper.isCSSSupported(getModelSet()));
- Shape ClassNamedStyleFontView = DiagramUtils.findShape(mainDiagram, CLASS_NAMED_STYLE_FONT);
- if(ClassNamedStyleFontView == null) {
- return;
- }
- checkClassNamedStyleFontCSS(ClassNamedStyleFontView);
-
- // delete ClassNamedStyleFont
- // get edit part for this view and send a delete request
- IGraphicalEditPart ClassNamedStyleFontEditPart = DiagramUtils.findEditPartforView(editor, ClassNamedStyleFontView, IGraphicalEditPart.class);
- Assert.assertNotNull("Impossible to find the edit part", ClassNamedStyleFontEditPart);
- Request deleteViewRequest = new EditCommandRequestWrapper(new DestroyElementRequest(false));
- Command command = ClassNamedStyleFontEditPart.getCommand(deleteViewRequest);
- assertNotNull("Impossible to create a delete command", command);
- Assert.assertNotEquals("This should not be an unexecutable command", command, UnexecutableCommand.INSTANCE);
- assertTrue("command should be executable", command.canExecute());
- execute(command);
- Assert.assertNull("There should be no shape for this element: " + CLASS_NAMED_STYLE_FONT, DiagramUtils.findShape(mainDiagram, CLASS_NAMED_STYLE_FONT));
-
- // undo
- undo();
-
- // check css on the new view for ClassNamedStyleFont
- Shape newClassNamedStyleFontView = DiagramUtils.findShape(mainDiagram, CLASS_NAMED_STYLE_FONT);
- Assert.assertNotNull("There should be a shape for this element: " + CLASS_NAMED_STYLE_FONT, newClassNamedStyleFontView);
- checkClassNamedStyleFontCSS(newClassNamedStyleFontView);
-
- }
-
- private void checkClassNamedStyleFontCSS(Shape classNamedStyleFontView) {
- // default style: papyrus theme
- Assert.assertEquals("Invalid Fill color (Default): " + DiagramUtils.integerToRGBString(classNamedStyleFontView.getFillColor()), DiagramUtils.rgb(195, 215, 221), classNamedStyleFontView.getFillColor()); // Papyrus Theme =
- Assert.assertEquals("Gradient should be default (vertical)", classNamedStyleFontView.getGradient().getGradientStyle(), GradientStyle.VERTICAL); // Papyrus Theme =
- Assert.assertEquals("Invalid Gradient Color (Default)", DiagramUtils.rgb(255, 255, 255), classNamedStyleFontView.getGradient().getGradientColor1()); // Papyrus Theme =
-
- // named style: font color is white
- Assert.assertEquals("Invalid Font Color", DiagramUtils.rgb(255, 255, 255), classNamedStyleFontView.getFontColor()); // White font by the named style
- }
-
- protected void checkPackage1CSS(Shape packageShape) {
- // named style: fill red and horizontal green gradient
- Assert.assertEquals("Invalid Fill color", DiagramUtils.rgb(255, 0, 0), packageShape.getFillColor()); //Red = #FF0000
- Assert.assertEquals("Gradient should be horizontal", packageShape.getGradient().getGradientStyle(), GradientStyle.HORIZONTAL);
- Assert.assertEquals("Invalid Gradient Color", DiagramUtils.rgb(0, 255, 0), packageShape.getGradient().getGradientColor1()); // GREEN
-
- // unnamed style: font color is blue
- Assert.assertEquals("Invalid gradient", DiagramUtils.rgb(0, 0, 255), packageShape.getFontColor()); // Blue font by the named style
- }
-
-
- @Override
- protected String getSourcePath() {
- return SOURCE_PATH;
- }
-
- @Override
- protected Bundle getBundle() {
- return org.eclipse.papyrus.uml.diagram.common.Activator.getDefault().getBundle();
- }
-
- /**
- * Call {@link AbstractPapyrusTestCase#execute(Command) execute} on the UI
- * thread.
- */
- protected void executeOnUIThread(final Command command) {
- Display.getDefault().syncExec(new Runnable() {
-
- @Override
- public void run() {
- execute(command);
- }
- });
- }
-
- /** Call {@link AbstractPapyrusTestCase#undo() undo} on the UI thread. */
- protected void undoOnUIThread() {
- Display.getDefault().syncExec(new Runnable() {
-
- @Override
- public void run() {
- undo();
- }
- });
- }
-
- /** Call {@link AbstractPapyrusTestCase#redo() redo} on the UI thread. */
- protected void redoOnUIThread() {
- Display.getDefault().syncExec(new Runnable() {
-
- @Override
- public void run() {
- redo();
- }
- });
- }
-
- protected void assertLastOperationSuccessful() {
- Assert.assertFalse("The operation failed. Look at the log, or put a breakpoint on ExecutionException or DefaultOperationHistory#notifyNotOK to find the cause.", this.operationFailed);
- }
-
- /**
- * Reset the "operation failed" state. Call this before executing each
- * operation for which you want to test whether if failed with {@link AbstractPapyrusTestCase#assertLastOperationSuccessful()}.
- */
- protected void resetLastOperationFailedState() {
- this.operationFailed = false;
- }
-
- /** Execute the given command in the diagram editor. */
- protected void execute(final Command command) {
- resetLastOperationFailedState();
- getCommandStack().execute(new GEFtoEMFCommandWrapper(command));
- assertLastOperationSuccessful();
- }
-
- /** Undo the last command done in the diagram editor. */
- protected void undo() {
- resetLastOperationFailedState();
- final CommandStack commandStack = getCommandStack();
- Assert.assertTrue("We should be able to undo", commandStack.canUndo());
- commandStack.undo();
- assertLastOperationSuccessful();
- }
-
- /** Redo the last command undone in the diagram editor. */
- protected void redo() {
- resetLastOperationFailedState();
- final CommandStack commandStack = getCommandStack();
- Assert.assertTrue("We should be able to redo", commandStack.canRedo());
- commandStack.redo();
- assertLastOperationSuccessful();
- }
-
- /** The command stack to use to execute commands on the diagram. */
- protected CommandStack getCommandStack() {
- // not "diagramEditor.getDiagramEditDomain().getDiagramCommandStack()"
- // because it messes up undo contexts
- try {
- return getTransactionalEditingDomain().getCommandStack();
- } catch (ServiceException e) {
- Assert.fail(e.getMessage());
- }
- return null;
- }
-
-
-}
+/***************************************************************************** + * Copyright (c) 2014 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.uml.diagram.common.tests.css; + +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertTrue; + +import org.eclipse.emf.common.command.CommandStack; +import org.eclipse.gef.Request; +import org.eclipse.gef.commands.Command; +import org.eclipse.gef.commands.UnexecutableCommand; +import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart; +import org.eclipse.gmf.runtime.diagram.ui.requests.EditCommandRequestWrapper; +import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest; +import org.eclipse.gmf.runtime.notation.Diagram; +import org.eclipse.gmf.runtime.notation.GradientStyle; +import org.eclipse.gmf.runtime.notation.Shape; +import org.eclipse.papyrus.commands.wrappers.GEFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.core.services.ServiceException; +import org.eclipse.papyrus.infra.gmfdiag.css.helper.CSSHelper; +import org.eclipse.papyrus.junit.utils.DiagramUtils; +import org.eclipse.papyrus.junit.utils.tests.AbstractEditorTest; +import org.eclipse.papyrus.uml.diagram.tests.canonical.AbstractPapyrusTestCase; +import org.eclipse.swt.widgets.Display; +import org.eclipse.uml2.uml.Package; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; +import org.osgi.framework.Bundle; + +/** + * Test for bug 431694: [All diagrams] Problem with Surfboard display after Delete -> Undo + * https://bugs.eclipse.org/bugs/show_bug.cgi?id=431694 + */ +public class Bug431694_UndoDeleteTest extends AbstractEditorTest { + + private static final String PACKAGE1 = "Package1"; + + private static final String CLASS_NAMED_STYLE_FONT = "ClassNamedStyleFont"; + + private static final String DIAGRAM_MAIN_NAME = "Main"; + + private static final String PROJECT_NAME = "431694_UndoDeleteTest"; + + public final static String SOURCE_PATH = "resources/431694/"; + + protected boolean operationFailed = false; + + + @Before + public void prepareTest() throws Exception { + initModel(PROJECT_NAME, "model", getBundle()); + } + + /** + * Test with a {@link Package} with a css style already applied + */ + @Test + public void testDeleteOnPackageWithStyle() throws Exception { + // check css on the package P1 + // get Package 1 view on the open diagram + // get the rootModel + Assert.assertNotNull("RootModel is null", getRootUMLModel()); + + Diagram mainDiagram = DiagramUtils.getNotationDiagram(getModelSet(), DIAGRAM_MAIN_NAME); + getPageManager().openPage(mainDiagram); + Assert.assertEquals("current opened diagram is not the expected one", mainDiagram.getName(), DIAGRAM_MAIN_NAME); + + // check css is working + Assert.assertTrue("CSS is not supported on the given model", CSSHelper.isCSSSupported(getModelSet())); + Shape package1View = DiagramUtils.findShape(mainDiagram, PACKAGE1); + if(package1View == null) { + return; + } + checkPackage1CSS(package1View); + + // delete P1 + // get edit part for this view and send a delete request + IGraphicalEditPart packageEditPart = DiagramUtils.findEditPartforView(editor, package1View, IGraphicalEditPart.class); + Assert.assertNotNull("Impossible to find package edit part", packageEditPart); + Request deleteViewRequest = new EditCommandRequestWrapper(new DestroyElementRequest(false)); + Command command = packageEditPart.getCommand(deleteViewRequest); + assertNotNull("Impossible to create a delete command", command); + Assert.assertNotEquals("This should not be an unexecutable command", command, UnexecutableCommand.INSTANCE); + assertTrue("command should be executable", command.canExecute()); + execute(command); + Assert.assertNull("There should be no shape for this element: " + PACKAGE1, DiagramUtils.findShape(mainDiagram, PACKAGE1)); + + // undo + undo(); + + // check css on P1 + Shape newPackage1View = DiagramUtils.findShape(mainDiagram, PACKAGE1); + Assert.assertNotNull("There should be a shape for this element: " + PACKAGE1, newPackage1View); + checkPackage1CSS(newPackage1View); + + } + + /** + * Test with a {@link Package} with a css style already applied + */ + @Test + public void testDeleteOnClassNamedStyleFont() throws Exception { + // check css on the class ClassNamedStyleFont + Assert.assertNotNull("RootModel is null", getRootUMLModel()); + + Diagram mainDiagram = DiagramUtils.getNotationDiagram(getModelSet(), DIAGRAM_MAIN_NAME); + getPageManager().openPage(mainDiagram); + Assert.assertEquals("current opened diagram is not the expected one", mainDiagram.getName(), DIAGRAM_MAIN_NAME); + + // check css is working + Assert.assertTrue("CSS is not supported on the given model", CSSHelper.isCSSSupported(getModelSet())); + Shape ClassNamedStyleFontView = DiagramUtils.findShape(mainDiagram, CLASS_NAMED_STYLE_FONT); + if(ClassNamedStyleFontView == null) { + return; + } + checkClassNamedStyleFontCSS(ClassNamedStyleFontView); + + // delete ClassNamedStyleFont + // get edit part for this view and send a delete request + IGraphicalEditPart ClassNamedStyleFontEditPart = DiagramUtils.findEditPartforView(editor, ClassNamedStyleFontView, IGraphicalEditPart.class); + Assert.assertNotNull("Impossible to find the edit part", ClassNamedStyleFontEditPart); + Request deleteViewRequest = new EditCommandRequestWrapper(new DestroyElementRequest(false)); + Command command = ClassNamedStyleFontEditPart.getCommand(deleteViewRequest); + assertNotNull("Impossible to create a delete command", command); + Assert.assertNotEquals("This should not be an unexecutable command", command, UnexecutableCommand.INSTANCE); + assertTrue("command should be executable", command.canExecute()); + execute(command); + Assert.assertNull("There should be no shape for this element: " + CLASS_NAMED_STYLE_FONT, DiagramUtils.findShape(mainDiagram, CLASS_NAMED_STYLE_FONT)); + + // undo + undo(); + + // check css on the new view for ClassNamedStyleFont + Shape newClassNamedStyleFontView = DiagramUtils.findShape(mainDiagram, CLASS_NAMED_STYLE_FONT); + Assert.assertNotNull("There should be a shape for this element: " + CLASS_NAMED_STYLE_FONT, newClassNamedStyleFontView); + checkClassNamedStyleFontCSS(newClassNamedStyleFontView); + + } + + private void checkClassNamedStyleFontCSS(Shape classNamedStyleFontView) { + // default style: papyrus theme + Assert.assertEquals("Invalid Fill color (Default): " + DiagramUtils.integerToRGBString(classNamedStyleFontView.getFillColor()), DiagramUtils.rgb(195, 215, 221), classNamedStyleFontView.getFillColor()); // Papyrus Theme = + Assert.assertEquals("Gradient should be default (vertical)", classNamedStyleFontView.getGradient().getGradientStyle(), GradientStyle.VERTICAL); // Papyrus Theme = + Assert.assertEquals("Invalid Gradient Color (Default)", DiagramUtils.rgb(255, 255, 255), classNamedStyleFontView.getGradient().getGradientColor1()); // Papyrus Theme = + + // named style: font color is white + Assert.assertEquals("Invalid Font Color", DiagramUtils.rgb(255, 255, 255), classNamedStyleFontView.getFontColor()); // White font by the named style + } + + protected void checkPackage1CSS(Shape packageShape) { + // named style: fill red and horizontal green gradient + Assert.assertEquals("Invalid Fill color", DiagramUtils.rgb(255, 0, 0), packageShape.getFillColor()); //Red = #FF0000 + Assert.assertEquals("Gradient should be horizontal", packageShape.getGradient().getGradientStyle(), GradientStyle.HORIZONTAL); + Assert.assertEquals("Invalid Gradient Color", DiagramUtils.rgb(0, 255, 0), packageShape.getGradient().getGradientColor1()); // GREEN + + // unnamed style: font color is blue + Assert.assertEquals("Invalid gradient", DiagramUtils.rgb(0, 0, 255), packageShape.getFontColor()); // Blue font by the named style + } + + + @Override + protected String getSourcePath() { + return SOURCE_PATH; + } + + @Override + protected Bundle getBundle() { + return org.eclipse.papyrus.uml.diagram.common.Activator.getDefault().getBundle(); + } + + /** + * Call {@link AbstractPapyrusTestCase#execute(Command) execute} on the UI + * thread. + */ + protected void executeOnUIThread(final Command command) { + Display.getDefault().syncExec(new Runnable() { + + @Override + public void run() { + execute(command); + } + }); + } + + /** Call {@link AbstractPapyrusTestCase#undo() undo} on the UI thread. */ + protected void undoOnUIThread() { + Display.getDefault().syncExec(new Runnable() { + + @Override + public void run() { + undo(); + } + }); + } + + /** Call {@link AbstractPapyrusTestCase#redo() redo} on the UI thread. */ + protected void redoOnUIThread() { + Display.getDefault().syncExec(new Runnable() { + + @Override + public void run() { + redo(); + } + }); + } + + protected void assertLastOperationSuccessful() { + Assert.assertFalse("The operation failed. Look at the log, or put a breakpoint on ExecutionException or DefaultOperationHistory#notifyNotOK to find the cause.", this.operationFailed); + } + + /** + * Reset the "operation failed" state. Call this before executing each + * operation for which you want to test whether if failed with {@link AbstractPapyrusTestCase#assertLastOperationSuccessful()}. + */ + protected void resetLastOperationFailedState() { + this.operationFailed = false; + } + + /** Execute the given command in the diagram editor. */ + protected void execute(final Command command) { + resetLastOperationFailedState(); + getCommandStack().execute(new GEFtoEMFCommandWrapper(command)); + assertLastOperationSuccessful(); + } + + /** Undo the last command done in the diagram editor. */ + protected void undo() { + resetLastOperationFailedState(); + final CommandStack commandStack = getCommandStack(); + Assert.assertTrue("We should be able to undo", commandStack.canUndo()); + commandStack.undo(); + assertLastOperationSuccessful(); + } + + /** Redo the last command undone in the diagram editor. */ + protected void redo() { + resetLastOperationFailedState(); + final CommandStack commandStack = getCommandStack(); + Assert.assertTrue("We should be able to redo", commandStack.canRedo()); + commandStack.redo(); + assertLastOperationSuccessful(); + } + + /** The command stack to use to execute commands on the diagram. */ + protected CommandStack getCommandStack() { + // not "diagramEditor.getDiagramEditDomain().getDiagramCommandStack()" + // because it messes up undo contexts + try { + return getTransactionalEditingDomain().getCommandStack(); + } catch (ServiceException e) { + Assert.fail(e.getMessage()); + } + return null; + } + + +} diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/HTMLCleanerTestCase.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/HTMLCleanerTestCase.java index 7f8af6b32ac..527c3eefb87 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/HTMLCleanerTestCase.java +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/HTMLCleanerTestCase.java @@ -1,234 +1,234 @@ -/*****************************************************************************
- * Copyright (c) 2009 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Remi Schnekenburger (CEA LIST) remi.schnekenburger@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.diagram.common.tests.parser;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.fail;
-
-import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest;
-import org.eclipse.papyrus.uml.diagram.common.parser.HTMLCleaner;
-import org.junit.Test;
-
-/**
- * Test Case n°1 for HTML CLeaner class
- */
-public class HTMLCleanerTestCase extends AbstractPapyrusTest {
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}.
- */
- @Test
- public void testCleanHTMLTags1() {
- final String test = "This is a simple example (no html).";
- final String expectedResult = "This is a simple example (no html).";
- String result = null;
- try {
- result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test));
- } catch (Exception e) {
- fail(e.getMessage());
- }
- assertEquals(expectedResult, result);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}.
- */
- @Test
- public void testCleanHTMLTags2() {
- final String test = "<strong>P0_a < nnotateC0</strong>";
- final String expectedResult = "P0_a < nnotateC0";
- String result = null;
- try {
- result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test));
- } catch (Exception e) {
- fail(e.getMessage());
- }
- assertEquals(expectedResult, result);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}.
- */
- @Test
- public void testCleanHTMLTags3() {
- final String test = "<h3>This is the title</h3><p>This is a part of the body.</p><p>This is the second part of the body.</p><br /><br />";
- final String expectedResult = "This is the title\nThis is a part of the body.\nThis is the second part of the body.\n";
- String result = null;
- try {
- result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test));
- } catch (Exception e) {
- fail(e.getMessage());
- }
- assertEquals(expectedResult, result);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}.
- */
- @Test
- public void testCleanHTMLTags4() {
- final String test = "<h3>\r\n" + " Houston\r\n" + "</h3>";
- final String expectedResult = " Houston\n";
- String result = null;
- try {
- result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test));
- } catch (Exception e) {
- fail(e.getMessage());
- }
- assertEquals(expectedResult, result);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}.
- */
- @Test
- public void testCleanHTMLTags5() {
- final String test = "";
- final String expectedResult = "";
- String result = null;
- try {
- result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test));
- } catch (Exception e) {
- fail(e.getMessage());
- }
- assertEquals(expectedResult, result);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}.
- */
- @Test
- public void testCleanHTMLTags6() {
- final String test = "\n";
- final String expectedResult = "";
- String result = null;
- try {
- result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test));
- } catch (Exception e) {
- fail(e.getMessage());
- }
- assertEquals(expectedResult, result);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}.
- */
- @Test
- public void testCleanHTMLTags7() {
- final String test = "&";
- final String expectedResult = "&";
- String result = null;
- try {
- result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test));
- } catch (Exception e) {
- fail(e.getMessage());
- }
- assertEquals(expectedResult, result);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}.
- */
- @Test
- public void testCleanHTMLTags8() {
- final String test = "Houston & Ariane";
- final String expectedResult = "Houston & Ariane";
- String result = null;
- try {
- result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test));
- } catch (Exception e) {
- fail(e.getMessage());
- }
- assertEquals(expectedResult, result);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}.
- */
- @Test
- public void testCleanHTMLTags9() {
- final String test = "&<h3>\r\n" + " Houston\r\n" + "</h3>";
- final String expectedResult = "& Houston\n";
- String result = null;
- try {
- result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test));
- } catch (Exception e) {
- fail(e.getMessage());
- }
- assertEquals(expectedResult, result);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}.
- */
- @Test
- public void testCleanHTMLTags10() {
- final String test = "<";
- final String expectedResult = "<";
- String result = null;
- try {
- result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test));
- } catch (Exception e) {
- fail(e.getMessage());
- }
- assertEquals(expectedResult, result);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}.
- */
- @Test
- public void testCleanHTMLTags11() {
- final String test = "< toto";
- final String expectedResult = "< toto";
- String result = null;
- try {
- result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test));
- } catch (Exception e) {
- fail(e.getMessage());
- }
- assertEquals(expectedResult, result);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}.
- */
- @Test
- public void testCleanHTMLTags12() {
- final String test = "< toto >";
- final String expectedResult = "< toto >";
- String result = null;
- try {
- result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test));
- } catch (Exception e) {
- fail(e.getMessage());
- }
- assertEquals(expectedResult, result);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}.
- */
- @Test
- public void testCleanHTMLTags13() {
- final String test = "<test>some random text</test>";
- final String expectedResult = "<test>some random text</test>";
- String result = null;
- try {
- result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test));
- } catch (Exception e) {
- fail(e.getMessage());
- }
- assertEquals(expectedResult, result);
- }
-}
+/***************************************************************************** + * Copyright (c) 2009 CEA LIST. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Remi Schnekenburger (CEA LIST) remi.schnekenburger@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.uml.diagram.common.tests.parser; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.fail; + +import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest; +import org.eclipse.papyrus.uml.diagram.common.parser.HTMLCleaner; +import org.junit.Test; + +/** + * Test Case n°1 for HTML CLeaner class + */ +public class HTMLCleanerTestCase extends AbstractPapyrusTest { + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}. + */ + @Test + public void testCleanHTMLTags1() { + final String test = "This is a simple example (no html)."; + final String expectedResult = "This is a simple example (no html)."; + String result = null; + try { + result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test)); + } catch (Exception e) { + fail(e.getMessage()); + } + assertEquals(expectedResult, result); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}. + */ + @Test + public void testCleanHTMLTags2() { + final String test = "<strong>P0_a < nnotateC0</strong>"; + final String expectedResult = "P0_a < nnotateC0"; + String result = null; + try { + result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test)); + } catch (Exception e) { + fail(e.getMessage()); + } + assertEquals(expectedResult, result); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}. + */ + @Test + public void testCleanHTMLTags3() { + final String test = "<h3>This is the title</h3><p>This is a part of the body.</p><p>This is the second part of the body.</p><br /><br />"; + final String expectedResult = "This is the title\nThis is a part of the body.\nThis is the second part of the body.\n"; + String result = null; + try { + result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test)); + } catch (Exception e) { + fail(e.getMessage()); + } + assertEquals(expectedResult, result); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}. + */ + @Test + public void testCleanHTMLTags4() { + final String test = "<h3>\r\n" + " Houston\r\n" + "</h3>"; + final String expectedResult = " Houston\n"; + String result = null; + try { + result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test)); + } catch (Exception e) { + fail(e.getMessage()); + } + assertEquals(expectedResult, result); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}. + */ + @Test + public void testCleanHTMLTags5() { + final String test = ""; + final String expectedResult = ""; + String result = null; + try { + result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test)); + } catch (Exception e) { + fail(e.getMessage()); + } + assertEquals(expectedResult, result); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}. + */ + @Test + public void testCleanHTMLTags6() { + final String test = "\n"; + final String expectedResult = ""; + String result = null; + try { + result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test)); + } catch (Exception e) { + fail(e.getMessage()); + } + assertEquals(expectedResult, result); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}. + */ + @Test + public void testCleanHTMLTags7() { + final String test = "&"; + final String expectedResult = "&"; + String result = null; + try { + result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test)); + } catch (Exception e) { + fail(e.getMessage()); + } + assertEquals(expectedResult, result); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}. + */ + @Test + public void testCleanHTMLTags8() { + final String test = "Houston & Ariane"; + final String expectedResult = "Houston & Ariane"; + String result = null; + try { + result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test)); + } catch (Exception e) { + fail(e.getMessage()); + } + assertEquals(expectedResult, result); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}. + */ + @Test + public void testCleanHTMLTags9() { + final String test = "&<h3>\r\n" + " Houston\r\n" + "</h3>"; + final String expectedResult = "& Houston\n"; + String result = null; + try { + result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test)); + } catch (Exception e) { + fail(e.getMessage()); + } + assertEquals(expectedResult, result); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}. + */ + @Test + public void testCleanHTMLTags10() { + final String test = "<"; + final String expectedResult = "<"; + String result = null; + try { + result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test)); + } catch (Exception e) { + fail(e.getMessage()); + } + assertEquals(expectedResult, result); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}. + */ + @Test + public void testCleanHTMLTags11() { + final String test = "< toto"; + final String expectedResult = "< toto"; + String result = null; + try { + result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test)); + } catch (Exception e) { + fail(e.getMessage()); + } + assertEquals(expectedResult, result); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}. + */ + @Test + public void testCleanHTMLTags12() { + final String test = "< toto >"; + final String expectedResult = "< toto >"; + String result = null; + try { + result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test)); + } catch (Exception e) { + fail(e.getMessage()); + } + assertEquals(expectedResult, result); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.parser.HTMLCleaner#cleanHTMLTags(java.lang.String)}. + */ + @Test + public void testCleanHTMLTags13() { + final String test = "<test>some random text</test>"; + final String expectedResult = "<test>some random text</test>"; + String result = null; + try { + result = HTMLCleaner.removeHTMLTags(HTMLCleaner.preClean(test)); + } catch (Exception e) { + fail(e.getMessage()); + } + assertEquals(expectedResult, result); + } +} diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/HTMLCornerBentFigureTestCase.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/HTMLCornerBentFigureTestCase.java index 050722bea77..c017e39f6bd 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/HTMLCornerBentFigureTestCase.java +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/HTMLCornerBentFigureTestCase.java @@ -1,269 +1,269 @@ -/*****************************************************************************
- * Copyright (c) 2010, 2014 CEA LIST and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Remi Schnekenburger (CEA LIST) remi.schnekenburger@cea.fr - Initial API and implementation
- * Christian W. Damus (CEA) - skip tests on Mac that use unavailable fonts
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.diagram.common.tests.parser;
-
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.draw2d.Figure;
-import org.eclipse.draw2d.text.FlowPage;
-import org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx;
-import org.eclipse.papyrus.junit.framework.classification.ClassificationRunner;
-import org.eclipse.papyrus.junit.framework.classification.rules.Condition;
-import org.eclipse.papyrus.junit.framework.classification.rules.Conditional;
-import org.eclipse.papyrus.uml.diagram.common.figure.node.HTMLCornerBentFigure;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Font;
-import org.eclipse.swt.graphics.FontData;
-import org.junit.Before;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-
-/**
- * Test Case for the class {@link HTMLCornerBentFigure}
- */
-@RunWith(ClassificationRunner.class)
-public class HTMLCornerBentFigureTestCase extends HTMLCornerBentFigure {
-
- public final String TEST_CASE_1 = "not a html text";
-
- public final String TEST_CASE_1_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : not a html text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n";
-
- public final String TEST_CASE_2 = "text <strong>strong</strong> text";
-
- public final String TEST_CASE_2_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : strong; Font : name=Arial; size=8; bold=true; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n";
-
- public final String TEST_CASE_3 = "text <u>underline</u> text";
-
- public final String TEST_CASE_3_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : underline; Font : name=Arial; size=8; bold=false; italic=false; underline= true}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n";
-
- public final String TEST_CASE_4 = "text <strong><em><u>bold-underline</u></em></strong> text";
-
- public final String TEST_CASE_4_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : bold-underline; Font : name=Arial; size=8; bold=true; italic=true; underline= true}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n";;
-
- public final String TEST_CASE_5 = "text <p>new paragraph</p> text";
-
- public final String TEST_CASE_5_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : new paragraph; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n";
-
- public final String TEST_CASE_6 = "text <p>1st paragraph</p><p>2nd paragraph</p>";
-
- public final String TEST_CASE_6_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : 1st paragraph; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : 2nd paragraph; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n";
-
- public final String TEST_CASE_7 = "text <p class=\"codeSample\">code sample</p> text";
-
- public final String TEST_CASE_7_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : code sample; Font : name=Lucida Console; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n";
-
- public final String TEST_CASE_8 = "text <p class=\"quote\">quote</p> text";
-
- public final String TEST_CASE_8_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : quote; Font : name=Monotype Corsiva; size=10; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n";
-
- public final String TEST_CASE_9 = "text <font face=\"Times New Roman\">specific font</font> text";
-
- public final String TEST_CASE_9_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : specific font; Font : name=Times New Roman; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n";
-
- public final String TEST_CASE_10 = "text <font size=\"6\">specific font size</font> text";
-
- public final String TEST_CASE_10_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : specific font size; Font : name=Arial; size=16; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n";
-
- public final String TEST_CASE_11 = "text <font face=\"Lucida Console\" size=\"5\">specific font size/kind</font> text";
-
- public final String TEST_CASE_11_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : specific font size/kind; Font : name=Lucida Console; size=14; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n";
-
- @Condition
- public final boolean notMac = !Platform.OS_MACOSX.equals(Platform.getOS());
-
- /**
- * @throws java.lang.Exception
- */
- @Before
- public void setUp() throws Exception {
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}.
- */
- @Test
- public void testGenerateBlockForText1() {
- testGenerateBlockForText("No html test", TEST_CASE_1, TEST_CASE_1_EXPECTED);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}.
- */
- @Test
- public void testGenerateBlockForText2() {
- testGenerateBlockForText("test for strong text", TEST_CASE_2, TEST_CASE_2_EXPECTED);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}.
- */
- @Test
- public void testGenerateBlockForText3() {
- testGenerateBlockForText("test for underlined text", TEST_CASE_3, TEST_CASE_3_EXPECTED);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}.
- */
- @Test
- public void testGenerateBlockForText4() {
- testGenerateBlockForText("test for emphasised text", TEST_CASE_4, TEST_CASE_4_EXPECTED);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}.
- */
- @Test
- public void testGenerateBlockForText5() {
- testGenerateBlockForText("test for paragraph", TEST_CASE_5, TEST_CASE_5_EXPECTED);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}.
- */
- @Test
- public void testGenerateBlockForText6() {
- testGenerateBlockForText("test for double paragraph", TEST_CASE_6, TEST_CASE_6_EXPECTED);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}.
- */
- @Test
- @Conditional(key="notMac")
- public void testGenerateBlockForText7() {
- testGenerateBlockForText("test for code Sample paragraph", TEST_CASE_7, TEST_CASE_7_EXPECTED);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}.
- */
- @Test
- @Conditional(key="notMac")
- public void testGenerateBlockForText8() {
- testGenerateBlockForText("test for quote paragraph", TEST_CASE_8, TEST_CASE_8_EXPECTED);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}.
- */
- @Test
- public void testGenerateBlockForText9() {
- testGenerateBlockForText("test for font kind change", TEST_CASE_9, TEST_CASE_9_EXPECTED);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}.
- */
- @Test
- public void testGenerateBlockForText10() {
- testGenerateBlockForText("test for font height change", TEST_CASE_10, TEST_CASE_10_EXPECTED);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}.
- */
- @Test
- @Conditional(key="notMac")
- public void testGenerateBlockForText11() {
- testGenerateBlockForText("test for font height and kind", TEST_CASE_11, TEST_CASE_11_EXPECTED);
- }
-
- public void testGenerateBlockForText(String testName, String testString, String expectedString) {
- // launch the method that should parse the element
- FlowPage resultPage = new FlowPage();
- this.generateBlockForText(testString, resultPage);
- String resultPageString = generateTree(resultPage, "");
-
- // test the differences
- org.junit.Assert.assertEquals("\"" + testName + "\" did not match!", expectedString, resultPageString);
-
- }
-
- /**
- * Generates the result string from a Block Flow
- *
- * @param expectedResult
- * the block flow to display
- * @return the result string from a Block Flow
- */
- private String generateTree(Figure flow, String indent) {
- StringBuffer buffer = new StringBuffer();
- buffer.append(indent);
- buffer.append('[');
- buffer.append(flow.getClass().getName());
- if(flow instanceof TextFlowEx) {
- buffer.append(" {");
-
- buffer.append("Text : ");
- buffer.append(((TextFlowEx)flow).getText());
- buffer.append("; Font : ");
- buffer.append(prettyPrint(((TextFlowEx)flow).getFont()));
- buffer.append("; underline= ");
- buffer.append(((TextFlowEx)flow).isTextUnderlined());
- buffer.append("}");
-
- }
-
- buffer.append(']');
- buffer.append('\n');
-
- for(Object child : flow.getChildren()) {
- // child should always be a figure
- if(child instanceof Figure) {
- buffer.append(generateTree((Figure)child, indent + " "));
- } else {
- buffer.append(generateTree(child, indent + " "));
- }
- }
- return buffer.toString();
- }
-
- /**
- * @param font
- * @return
- */
- private String prettyPrint(Font font) {
- FontData data = font.getFontData()[0];
- StringBuffer buffer = new StringBuffer();
- buffer.append("name=");
- buffer.append(data.getName());
- buffer.append("; size=");
- buffer.append(data.getHeight());
- int style = data.getStyle();
- buffer.append("; bold=");
- buffer.append((style & SWT.BOLD) > 0);
- buffer.append("; italic=");
- buffer.append((style & SWT.ITALIC) > 0);
- return buffer.toString();
- }
-
- /**
- * Generates the result string from a Block Flow
- *
- * @param expectedResult
- * the block flow to display
- * @return the result string from a Block Flow
- */
- private String generateTree(Object flow, String indent) {
- StringBuffer buffer = new StringBuffer();
- buffer.append(indent);
- buffer.append('[');
- buffer.append(flow.toString());
- buffer.append(']');
- buffer.append('\n');
- return buffer.toString();
- }
-
-}
+/***************************************************************************** + * Copyright (c) 2010, 2014 CEA LIST and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Remi Schnekenburger (CEA LIST) remi.schnekenburger@cea.fr - Initial API and implementation + * Christian W. Damus (CEA) - skip tests on Mac that use unavailable fonts + * + *****************************************************************************/ +package org.eclipse.papyrus.uml.diagram.common.tests.parser; + +import org.eclipse.core.runtime.Platform; +import org.eclipse.draw2d.Figure; +import org.eclipse.draw2d.text.FlowPage; +import org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx; +import org.eclipse.papyrus.junit.framework.classification.ClassificationRunner; +import org.eclipse.papyrus.junit.framework.classification.rules.Condition; +import org.eclipse.papyrus.junit.framework.classification.rules.Conditional; +import org.eclipse.papyrus.uml.diagram.common.figure.node.HTMLCornerBentFigure; +import org.eclipse.swt.SWT; +import org.eclipse.swt.graphics.Font; +import org.eclipse.swt.graphics.FontData; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; + + +/** + * Test Case for the class {@link HTMLCornerBentFigure} + */ +@RunWith(ClassificationRunner.class) +public class HTMLCornerBentFigureTestCase extends HTMLCornerBentFigure { + + public final String TEST_CASE_1 = "not a html text"; + + public final String TEST_CASE_1_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : not a html text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n"; + + public final String TEST_CASE_2 = "text <strong>strong</strong> text"; + + public final String TEST_CASE_2_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : strong; Font : name=Arial; size=8; bold=true; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n"; + + public final String TEST_CASE_3 = "text <u>underline</u> text"; + + public final String TEST_CASE_3_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : underline; Font : name=Arial; size=8; bold=false; italic=false; underline= true}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n"; + + public final String TEST_CASE_4 = "text <strong><em><u>bold-underline</u></em></strong> text"; + + public final String TEST_CASE_4_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : bold-underline; Font : name=Arial; size=8; bold=true; italic=true; underline= true}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n";; + + public final String TEST_CASE_5 = "text <p>new paragraph</p> text"; + + public final String TEST_CASE_5_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : new paragraph; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n"; + + public final String TEST_CASE_6 = "text <p>1st paragraph</p><p>2nd paragraph</p>"; + + public final String TEST_CASE_6_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : 1st paragraph; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : 2nd paragraph; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n"; + + public final String TEST_CASE_7 = "text <p class=\"codeSample\">code sample</p> text"; + + public final String TEST_CASE_7_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : code sample; Font : name=Lucida Console; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n"; + + public final String TEST_CASE_8 = "text <p class=\"quote\">quote</p> text"; + + public final String TEST_CASE_8_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : quote; Font : name=Monotype Corsiva; size=10; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n"; + + public final String TEST_CASE_9 = "text <font face=\"Times New Roman\">specific font</font> text"; + + public final String TEST_CASE_9_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : specific font; Font : name=Times New Roman; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n"; + + public final String TEST_CASE_10 = "text <font size=\"6\">specific font size</font> text"; + + public final String TEST_CASE_10_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : specific font size; Font : name=Arial; size=16; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n"; + + public final String TEST_CASE_11 = "text <font face=\"Lucida Console\" size=\"5\">specific font size/kind</font> text"; + + public final String TEST_CASE_11_EXPECTED = "[org.eclipse.draw2d.text.FlowPage]\n" + " [org.eclipse.draw2d.text.BlockFlow]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text ; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : specific font size/kind; Font : name=Lucida Console; size=14; bold=false; italic=false; underline= false}]\n" + " [org.eclipse.gmf.runtime.draw2d.ui.text.TextFlowEx {Text : text; Font : name=Arial; size=8; bold=false; italic=false; underline= false}]\n"; + + @Condition + public final boolean notMac = !Platform.OS_MACOSX.equals(Platform.getOS()); + + /** + * @throws java.lang.Exception + */ + @Before + public void setUp() throws Exception { + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}. + */ + @Test + public void testGenerateBlockForText1() { + testGenerateBlockForText("No html test", TEST_CASE_1, TEST_CASE_1_EXPECTED); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}. + */ + @Test + public void testGenerateBlockForText2() { + testGenerateBlockForText("test for strong text", TEST_CASE_2, TEST_CASE_2_EXPECTED); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}. + */ + @Test + public void testGenerateBlockForText3() { + testGenerateBlockForText("test for underlined text", TEST_CASE_3, TEST_CASE_3_EXPECTED); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}. + */ + @Test + public void testGenerateBlockForText4() { + testGenerateBlockForText("test for emphasised text", TEST_CASE_4, TEST_CASE_4_EXPECTED); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}. + */ + @Test + public void testGenerateBlockForText5() { + testGenerateBlockForText("test for paragraph", TEST_CASE_5, TEST_CASE_5_EXPECTED); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}. + */ + @Test + public void testGenerateBlockForText6() { + testGenerateBlockForText("test for double paragraph", TEST_CASE_6, TEST_CASE_6_EXPECTED); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}. + */ + @Test + @Conditional(key="notMac") + public void testGenerateBlockForText7() { + testGenerateBlockForText("test for code Sample paragraph", TEST_CASE_7, TEST_CASE_7_EXPECTED); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}. + */ + @Test + @Conditional(key="notMac") + public void testGenerateBlockForText8() { + testGenerateBlockForText("test for quote paragraph", TEST_CASE_8, TEST_CASE_8_EXPECTED); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}. + */ + @Test + public void testGenerateBlockForText9() { + testGenerateBlockForText("test for font kind change", TEST_CASE_9, TEST_CASE_9_EXPECTED); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}. + */ + @Test + public void testGenerateBlockForText10() { + testGenerateBlockForText("test for font height change", TEST_CASE_10, TEST_CASE_10_EXPECTED); + } + + /** + * Test method for {@link org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure#generateBlockForText(java.lang.String)}. + */ + @Test + @Conditional(key="notMac") + public void testGenerateBlockForText11() { + testGenerateBlockForText("test for font height and kind", TEST_CASE_11, TEST_CASE_11_EXPECTED); + } + + public void testGenerateBlockForText(String testName, String testString, String expectedString) { + // launch the method that should parse the element + FlowPage resultPage = new FlowPage(); + this.generateBlockForText(testString, resultPage); + String resultPageString = generateTree(resultPage, ""); + + // test the differences + org.junit.Assert.assertEquals("\"" + testName + "\" did not match!", expectedString, resultPageString); + + } + + /** + * Generates the result string from a Block Flow + * + * @param expectedResult + * the block flow to display + * @return the result string from a Block Flow + */ + private String generateTree(Figure flow, String indent) { + StringBuffer buffer = new StringBuffer(); + buffer.append(indent); + buffer.append('['); + buffer.append(flow.getClass().getName()); + if(flow instanceof TextFlowEx) { + buffer.append(" {"); + + buffer.append("Text : "); + buffer.append(((TextFlowEx)flow).getText()); + buffer.append("; Font : "); + buffer.append(prettyPrint(((TextFlowEx)flow).getFont())); + buffer.append("; underline= "); + buffer.append(((TextFlowEx)flow).isTextUnderlined()); + buffer.append("}"); + + } + + buffer.append(']'); + buffer.append('\n'); + + for(Object child : flow.getChildren()) { + // child should always be a figure + if(child instanceof Figure) { + buffer.append(generateTree((Figure)child, indent + " ")); + } else { + buffer.append(generateTree(child, indent + " ")); + } + } + return buffer.toString(); + } + + /** + * @param font + * @return + */ + private String prettyPrint(Font font) { + FontData data = font.getFontData()[0]; + StringBuffer buffer = new StringBuffer(); + buffer.append("name="); + buffer.append(data.getName()); + buffer.append("; size="); + buffer.append(data.getHeight()); + int style = data.getStyle(); + buffer.append("; bold="); + buffer.append((style & SWT.BOLD) > 0); + buffer.append("; italic="); + buffer.append((style & SWT.ITALIC) > 0); + return buffer.toString(); + } + + /** + * Generates the result string from a Block Flow + * + * @param expectedResult + * the block flow to display + * @return the result string from a Block Flow + */ + private String generateTree(Object flow, String indent) { + StringBuffer buffer = new StringBuffer(); + buffer.append(indent); + buffer.append('['); + buffer.append(flow.toString()); + buffer.append(']'); + buffer.append('\n'); + return buffer.toString(); + } + +} diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/MultiplicityStringFormatterTestCase.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/MultiplicityStringFormatterTestCase.java index c1ed2c8acab..2d1f7092e1c 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/MultiplicityStringFormatterTestCase.java +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/MultiplicityStringFormatterTestCase.java @@ -1,236 +1,236 @@ -package org.eclipse.papyrus.uml.diagram.common.tests.parser;
-
-import static org.junit.Assert.assertEquals;
-
-import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest;
-import org.eclipse.papyrus.uml.tools.utils.MultiplicityElementUtil;
-import org.eclipse.uml2.uml.LiteralInteger;
-import org.eclipse.uml2.uml.LiteralString;
-import org.eclipse.uml2.uml.LiteralUnlimitedNatural;
-import org.eclipse.uml2.uml.MultiplicityElement;
-import org.eclipse.uml2.uml.Property;
-import org.eclipse.uml2.uml.UMLFactory;
-import org.eclipse.uml2.uml.ValueSpecification;
-import org.junit.Assert;
-import org.junit.Test;
-
-public class MultiplicityStringFormatterTestCase extends AbstractPapyrusTest {
-
- private UMLFactory factory;
-
- @Test
- public void testMultiplicityLiteralLowerUpper() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(1), createLiteralUnlimitedNatural(5));
- Assert.assertEquals("1..5", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityIntValues() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), 1, 5);
- assertEquals("1..5", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityInfinityIntRange() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), 1, -1);
- assertEquals("1..*", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityInfinityLiteralRange() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(1), createLiteralUnlimitedNatural(-1));
- assertEquals("1..*", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityInfinityLiteral() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(0), createLiteralUnlimitedNatural(-1));
- assertEquals("*", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityInfinity() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), 0, -1);
- assertEquals("*", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityEqualsLiteralLowerUpper() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(1), createLiteralUnlimitedNatural(1));
- assertEquals("1", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityLiteralLowerEqualsUpperWithBrackets() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(2), createLiteralUnlimitedNatural(2));
- assertEquals("[2]", getMultiplicityWithBrackets(element).trim());
- }
-
- @Test
- public void testMultiplicityLowerEqualsUpperWithBrackets() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), 2, 2);
- assertEquals("[2]", getMultiplicityWithBrackets(element).trim());
- }
-
- @Test
- public void testMultiplicityStringLiteralEqualsWithBrackets() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("EXACT"), createLiteralString("EXACT"));
- assertEquals("[EXACT]", getMultiplicityWithBrackets(element).trim());
- }
-
- @Test
- public void testMultiplicityLiteralLowerIsNull() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), null, createLiteralString("UPPER"));
- assertEquals("1..UPPER", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityLiteralUpperIsNull() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("LOWER"), null);
- assertEquals("LOWER..1", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityLiteralLowerIntUpper() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("LOWER"), 20);
- assertEquals("LOWER..20", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityStringLiteralLowerIntLiteralUpper() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("LOWER"), createLiteralUnlimitedNatural(20));
- assertEquals("LOWER..20", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityIntLiteralLowerStringLiteralUpper() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(10), createLiteralString("UPPER"));
- assertEquals("10..UPPER", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityIntLowerStringLiteralUpper() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), 10, createLiteralString("UPPER"));
- assertEquals("10..UPPER", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityStringLiteralLowerLiteralInfinity() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("LOWER"), createLiteralUnlimitedNatural(-1));
- assertEquals("LOWER..*", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityStringLiteralLowerInfinity() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("LOWER"), -1);
- assertEquals("LOWER..*", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityIntLowerStringUpper() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(1), createLiteralString("1"));
- assertEquals("1", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityInfinityIntLowerStringUpper() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(-1), createLiteralString("1"));
- assertEquals("-1..1", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityInfinityLowerUpper() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), -1, -1);
- assertEquals("-1", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityIntLowerIntUpperInfinity() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), -2, -1);
- assertEquals("-2..*", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityInfinityIntLowerIntUpper() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), -1, 1);
- assertEquals("-1..1", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityDefault() {
- assertEquals("1", getMultiplicityWithoutBrackets(createProperty()));
- }
-
- @Test
- public void testMultiplicityStringLowerUpper() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("LOWER"), createLiteralString("UPPER"));
- assertEquals("LOWER..UPPER", getMultiplicityWithoutBrackets(element));
- }
-
- @Test
- public void testMultiplicityStringInfinityLowerUpper() {
- MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("*"), createLiteralString("UPPER"));
- assertEquals("", getMultiplicityWithoutBrackets(element));
- }
-
- private Property createProperty() {
- return getFactory().createProperty();
- }
-
- private UMLFactory getFactory() {
- if (factory == null) {
- factory = UMLFactory.eINSTANCE;
- }
- return factory;
- }
-
- private String getMultiplicityWithoutBrackets(MultiplicityElement element) {
- return MultiplicityElementUtil.formatMultiplicityNoBrackets(element);
- }
-
- private String getMultiplicityWithBrackets(MultiplicityElement element) {
- return MultiplicityElementUtil.getMultiplicityAsString(element);
- }
-
- private MultiplicityElement setupMultiplicityElement(MultiplicityElement element, ValueSpecification lower, ValueSpecification upper) {
- element.setLowerValue(lower);
- element.setUpperValue(upper);
- return element;
- }
-
- private MultiplicityElement setupMultiplicityElement(MultiplicityElement element, int lower, int upper) {
- element.setLower(lower);
- element.setUpper(upper);
- return element;
- }
-
- private MultiplicityElement setupMultiplicityElement(MultiplicityElement element, ValueSpecification lower, int upper) {
- element.setLowerValue(lower);
- element.setUpper(upper);
- return element;
- }
-
- private MultiplicityElement setupMultiplicityElement(MultiplicityElement element, int lower, ValueSpecification upper) {
- element.setLower(lower);
- element.setUpperValue(upper);
- return element;
- }
-
- private LiteralInteger createLiteralInteger(int value) {
- LiteralInteger result = getFactory().createLiteralInteger();
- result.setValue(value);
- return result;
- }
-
- private LiteralUnlimitedNatural createLiteralUnlimitedNatural(int value) {
- LiteralUnlimitedNatural result = getFactory().createLiteralUnlimitedNatural();
- result.setValue(value);
- return result;
- }
-
- private LiteralString createLiteralString(String value) {
- LiteralString result = getFactory().createLiteralString();
- result.setValue(value);
- return result;
- }
-}
+package org.eclipse.papyrus.uml.diagram.common.tests.parser; + +import static org.junit.Assert.assertEquals; + +import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest; +import org.eclipse.papyrus.uml.tools.utils.MultiplicityElementUtil; +import org.eclipse.uml2.uml.LiteralInteger; +import org.eclipse.uml2.uml.LiteralString; +import org.eclipse.uml2.uml.LiteralUnlimitedNatural; +import org.eclipse.uml2.uml.MultiplicityElement; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.ValueSpecification; +import org.junit.Assert; +import org.junit.Test; + +public class MultiplicityStringFormatterTestCase extends AbstractPapyrusTest { + + private UMLFactory factory; + + @Test + public void testMultiplicityLiteralLowerUpper() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(1), createLiteralUnlimitedNatural(5)); + Assert.assertEquals("1..5", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityIntValues() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), 1, 5); + assertEquals("1..5", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityInfinityIntRange() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), 1, -1); + assertEquals("1..*", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityInfinityLiteralRange() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(1), createLiteralUnlimitedNatural(-1)); + assertEquals("1..*", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityInfinityLiteral() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(0), createLiteralUnlimitedNatural(-1)); + assertEquals("*", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityInfinity() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), 0, -1); + assertEquals("*", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityEqualsLiteralLowerUpper() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(1), createLiteralUnlimitedNatural(1)); + assertEquals("1", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityLiteralLowerEqualsUpperWithBrackets() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(2), createLiteralUnlimitedNatural(2)); + assertEquals("[2]", getMultiplicityWithBrackets(element).trim()); + } + + @Test + public void testMultiplicityLowerEqualsUpperWithBrackets() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), 2, 2); + assertEquals("[2]", getMultiplicityWithBrackets(element).trim()); + } + + @Test + public void testMultiplicityStringLiteralEqualsWithBrackets() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("EXACT"), createLiteralString("EXACT")); + assertEquals("[EXACT]", getMultiplicityWithBrackets(element).trim()); + } + + @Test + public void testMultiplicityLiteralLowerIsNull() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), null, createLiteralString("UPPER")); + assertEquals("1..UPPER", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityLiteralUpperIsNull() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("LOWER"), null); + assertEquals("LOWER..1", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityLiteralLowerIntUpper() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("LOWER"), 20); + assertEquals("LOWER..20", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityStringLiteralLowerIntLiteralUpper() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("LOWER"), createLiteralUnlimitedNatural(20)); + assertEquals("LOWER..20", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityIntLiteralLowerStringLiteralUpper() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(10), createLiteralString("UPPER")); + assertEquals("10..UPPER", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityIntLowerStringLiteralUpper() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), 10, createLiteralString("UPPER")); + assertEquals("10..UPPER", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityStringLiteralLowerLiteralInfinity() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("LOWER"), createLiteralUnlimitedNatural(-1)); + assertEquals("LOWER..*", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityStringLiteralLowerInfinity() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("LOWER"), -1); + assertEquals("LOWER..*", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityIntLowerStringUpper() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(1), createLiteralString("1")); + assertEquals("1", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityInfinityIntLowerStringUpper() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralInteger(-1), createLiteralString("1")); + assertEquals("-1..1", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityInfinityLowerUpper() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), -1, -1); + assertEquals("-1", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityIntLowerIntUpperInfinity() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), -2, -1); + assertEquals("-2..*", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityInfinityIntLowerIntUpper() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), -1, 1); + assertEquals("-1..1", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityDefault() { + assertEquals("1", getMultiplicityWithoutBrackets(createProperty())); + } + + @Test + public void testMultiplicityStringLowerUpper() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("LOWER"), createLiteralString("UPPER")); + assertEquals("LOWER..UPPER", getMultiplicityWithoutBrackets(element)); + } + + @Test + public void testMultiplicityStringInfinityLowerUpper() { + MultiplicityElement element = setupMultiplicityElement(createProperty(), createLiteralString("*"), createLiteralString("UPPER")); + assertEquals("", getMultiplicityWithoutBrackets(element)); + } + + private Property createProperty() { + return getFactory().createProperty(); + } + + private UMLFactory getFactory() { + if (factory == null) { + factory = UMLFactory.eINSTANCE; + } + return factory; + } + + private String getMultiplicityWithoutBrackets(MultiplicityElement element) { + return MultiplicityElementUtil.formatMultiplicityNoBrackets(element); + } + + private String getMultiplicityWithBrackets(MultiplicityElement element) { + return MultiplicityElementUtil.getMultiplicityAsString(element); + } + + private MultiplicityElement setupMultiplicityElement(MultiplicityElement element, ValueSpecification lower, ValueSpecification upper) { + element.setLowerValue(lower); + element.setUpperValue(upper); + return element; + } + + private MultiplicityElement setupMultiplicityElement(MultiplicityElement element, int lower, int upper) { + element.setLower(lower); + element.setUpper(upper); + return element; + } + + private MultiplicityElement setupMultiplicityElement(MultiplicityElement element, ValueSpecification lower, int upper) { + element.setLowerValue(lower); + element.setUpper(upper); + return element; + } + + private MultiplicityElement setupMultiplicityElement(MultiplicityElement element, int lower, ValueSpecification upper) { + element.setLower(lower); + element.setUpperValue(upper); + return element; + } + + private LiteralInteger createLiteralInteger(int value) { + LiteralInteger result = getFactory().createLiteralInteger(); + result.setValue(value); + return result; + } + + private LiteralUnlimitedNatural createLiteralUnlimitedNatural(int value) { + LiteralUnlimitedNatural result = getFactory().createLiteralUnlimitedNatural(); + result.setValue(value); + return result; + } + + private LiteralString createLiteralString(String value) { + LiteralString result = getFactory().createLiteralString(); + result.setValue(value); + return result; + } +} diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/ValueSpecificationUtilTestCase.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/ValueSpecificationUtilTestCase.java index 779c786e31c..8aceb8f6432 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/ValueSpecificationUtilTestCase.java +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/parser/ValueSpecificationUtilTestCase.java @@ -1,106 +1,106 @@ -package org.eclipse.papyrus.uml.diagram.common.tests.parser;
-
-import static org.junit.Assert.assertEquals;
-
-import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest;
-import org.eclipse.papyrus.uml.tools.utils.ValueSpecificationUtil;
-import org.eclipse.uml2.uml.LiteralBoolean;
-import org.eclipse.uml2.uml.LiteralInteger;
-import org.eclipse.uml2.uml.LiteralNull;
-import org.eclipse.uml2.uml.LiteralReal;
-import org.eclipse.uml2.uml.LiteralString;
-import org.eclipse.uml2.uml.LiteralUnlimitedNatural;
-import org.eclipse.uml2.uml.UMLFactory;
-import org.junit.Assert;
-import org.junit.Test;
-
-public class ValueSpecificationUtilTestCase extends AbstractPapyrusTest {
-
- private UMLFactory factory;
-
- @Test
- public void testLiteralInteger() {
- Assert.assertEquals("1", ValueSpecificationUtil.getSpecificationValue(createLiteralInteger(1)));
- }
-
- @Test
- public void testLiteralIntegerNegative() {
- Assert.assertEquals("-1", ValueSpecificationUtil.getSpecificationValue(createLiteralInteger(-1)));
- }
-
- @Test
- public void testLiteralUnlimitedNaturalInfinitive() {
- assertEquals("*", ValueSpecificationUtil.getSpecificationValue(createLiteralUnlimitedNatural(-1)));
- }
-
- @Test
- public void testLiteralUnlimitedNatural() {
- assertEquals("100", ValueSpecificationUtil.getSpecificationValue(createLiteralUnlimitedNatural(100)));
- }
-
- @Test
- public void testLiteralString() {
- assertEquals("EXACT", ValueSpecificationUtil.getSpecificationValue(createLiteralString("EXACT")));
- }
-
- @Test
- public void testLiteralBoolean() {
- Assert.assertEquals("true", ValueSpecificationUtil.getSpecificationValue(createLiteralBoolean(true)));
- }
-
- @Test
- public void testLiteralBooleanFalse() {
- Assert.assertEquals("false", ValueSpecificationUtil.getSpecificationValue(createLiteralBoolean(false)));
- }
-
- @Test
- public void testLiteralNull() {
- assertEquals("", ValueSpecificationUtil.getSpecificationValue(createLiteralNull()));
- }
-
- @Test
- public void testLiteralReal() {
- assertEquals("0.5", ValueSpecificationUtil.getSpecificationValue(createLiteralReal(0.5)));
- }
-
- private UMLFactory getFactory() {
- if (factory == null) {
- factory = UMLFactory.eINSTANCE;
- }
- return factory;
- }
-
- private LiteralInteger createLiteralInteger(int value) {
- LiteralInteger result = getFactory().createLiteralInteger();
- result.setValue(value);
- return result;
- }
-
- private LiteralUnlimitedNatural createLiteralUnlimitedNatural(int value) {
- LiteralUnlimitedNatural result = getFactory().createLiteralUnlimitedNatural();
- result.setValue(value);
- return result;
- }
-
- private LiteralString createLiteralString(String value) {
- LiteralString result = getFactory().createLiteralString();
- result.setValue(value);
- return result;
- }
-
- private LiteralBoolean createLiteralBoolean(boolean value) {
- LiteralBoolean result = getFactory().createLiteralBoolean();
- result.setValue(value);
- return result;
- }
-
- private LiteralNull createLiteralNull() {
- return getFactory().createLiteralNull();
- }
-
- private LiteralReal createLiteralReal(double value) {
- LiteralReal result = getFactory().createLiteralReal();
- result.setValue(value);
- return result;
- }
-}
+package org.eclipse.papyrus.uml.diagram.common.tests.parser; + +import static org.junit.Assert.assertEquals; + +import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest; +import org.eclipse.papyrus.uml.tools.utils.ValueSpecificationUtil; +import org.eclipse.uml2.uml.LiteralBoolean; +import org.eclipse.uml2.uml.LiteralInteger; +import org.eclipse.uml2.uml.LiteralNull; +import org.eclipse.uml2.uml.LiteralReal; +import org.eclipse.uml2.uml.LiteralString; +import org.eclipse.uml2.uml.LiteralUnlimitedNatural; +import org.eclipse.uml2.uml.UMLFactory; +import org.junit.Assert; +import org.junit.Test; + +public class ValueSpecificationUtilTestCase extends AbstractPapyrusTest { + + private UMLFactory factory; + + @Test + public void testLiteralInteger() { + Assert.assertEquals("1", ValueSpecificationUtil.getSpecificationValue(createLiteralInteger(1))); + } + + @Test + public void testLiteralIntegerNegative() { + Assert.assertEquals("-1", ValueSpecificationUtil.getSpecificationValue(createLiteralInteger(-1))); + } + + @Test + public void testLiteralUnlimitedNaturalInfinitive() { + assertEquals("*", ValueSpecificationUtil.getSpecificationValue(createLiteralUnlimitedNatural(-1))); + } + + @Test + public void testLiteralUnlimitedNatural() { + assertEquals("100", ValueSpecificationUtil.getSpecificationValue(createLiteralUnlimitedNatural(100))); + } + + @Test + public void testLiteralString() { + assertEquals("EXACT", ValueSpecificationUtil.getSpecificationValue(createLiteralString("EXACT"))); + } + + @Test + public void testLiteralBoolean() { + Assert.assertEquals("true", ValueSpecificationUtil.getSpecificationValue(createLiteralBoolean(true))); + } + + @Test + public void testLiteralBooleanFalse() { + Assert.assertEquals("false", ValueSpecificationUtil.getSpecificationValue(createLiteralBoolean(false))); + } + + @Test + public void testLiteralNull() { + assertEquals("", ValueSpecificationUtil.getSpecificationValue(createLiteralNull())); + } + + @Test + public void testLiteralReal() { + assertEquals("0.5", ValueSpecificationUtil.getSpecificationValue(createLiteralReal(0.5))); + } + + private UMLFactory getFactory() { + if (factory == null) { + factory = UMLFactory.eINSTANCE; + } + return factory; + } + + private LiteralInteger createLiteralInteger(int value) { + LiteralInteger result = getFactory().createLiteralInteger(); + result.setValue(value); + return result; + } + + private LiteralUnlimitedNatural createLiteralUnlimitedNatural(int value) { + LiteralUnlimitedNatural result = getFactory().createLiteralUnlimitedNatural(); + result.setValue(value); + return result; + } + + private LiteralString createLiteralString(String value) { + LiteralString result = getFactory().createLiteralString(); + result.setValue(value); + return result; + } + + private LiteralBoolean createLiteralBoolean(boolean value) { + LiteralBoolean result = getFactory().createLiteralBoolean(); + result.setValue(value); + return result; + } + + private LiteralNull createLiteralNull() { + return getFactory().createLiteralNull(); + } + + private LiteralReal createLiteralReal(double value) { + LiteralReal result = getFactory().createLiteralReal(); + result.setValue(value); + return result; + } +} diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayStructureTest.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayStructureTest.java index 2b942570df0..ffdf80dfc4f 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayStructureTest.java +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayStructureTest.java @@ -1,411 +1,411 @@ -/*****************************************************************************
- * Copyright (c) 2015 CEA LIST and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Celine JANSSENS (ALL4TEC) celine.janssens@all4tec.net - Initial API
- * Celine JANSSENS (ALL4TEC) celine.janssens@all4tec.net - Bug 471337 : Stereotype Display Unit Tests
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.uml.diagram.common.tests.stereotype.display;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.gmf.runtime.notation.DecorationNode;
-import org.eclipse.gmf.runtime.notation.Diagram;
-import org.eclipse.gmf.runtime.notation.View;
-import org.eclipse.papyrus.infra.gmfdiag.common.model.NotationUtils;
-import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest;
-import org.eclipse.papyrus.junit.utils.DiagramUtils;
-import org.eclipse.papyrus.junit.utils.rules.PapyrusEditorFixture;
-import org.eclipse.papyrus.junit.utils.rules.PluginResource;
-import org.eclipse.papyrus.uml.diagram.common.stereotype.display.helper.StereotypeDisplayConstant;
-import org.eclipse.papyrus.uml.diagram.common.stereotype.display.helper.StereotypeDisplayUtil;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.Package;
-import org.eclipse.uml2.uml.Profile;
-import org.eclipse.uml2.uml.Property;
-import org.eclipse.uml2.uml.Stereotype;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Rule;
-import org.junit.Test;
-
-/**
- * This Class tests the Structure of a Nominal Case for the Stereotype Display
- *
- * @author Céline JANSSENS
- *
- */
-@PluginResource("/resources/StereotypeDisplay/StereotypeDisplayModel.di")
-public class AppliedStereotypeDisplayStructureTest extends AbstractPapyrusTest {
-
- /**
- * Stereotype Name
- */
- private static final String STEREO_A = "stereoA";//$NON-NLS-1$
-
- /**
- * First Property Name
- */
- private static final String PROPERTY1 = "propertyA1";//$NON-NLS-1$
-
- /**
- * Second Property Name
- */
- private static final String PROPERTY2 = "propertyA2";//$NON-NLS-1$
-
- /**
- * Diagram Name
- */
- private static final String CLASS_DIAGRAM_NAME = "Class Diagram"; //$NON-NLS-1$
-
- /**
- * Profile Name
- */
- private static final String PROFILE_NAME = "NominalTestProfile";//$NON-NLS-1$
-
- /**
- * Class name
- */
- private static final String CLASS_NAME = "Class1";//$NON-NLS-1$
-
-
- /** Model set rule to have an editing domain. */
- @Rule
- public final PapyrusEditorFixture editorFixture = new PapyrusEditorFixture();
-
- /**
- * UML Element of the Class
- */
- private Element element = null;
-
- /**
- * One of the applied Stereotype
- */
- private Stereotype stereotype = null;
-
- /**
- * Notation view of the class editPart
- */
- private View classView = null;
-
- /**
- * Profile that has been applied
- */
- private Profile profile = null;
-
- /**
- * Transactional Domain
- */
- private TransactionalEditingDomain domain = null;
-
- /**
- * UML Property of the stereotype "stereoA"
- */
- private Property prop1 = null;
- private Property prop2 = null;
-
- /**
- * Helper for Stereotype Display
- */
- private StereotypeDisplayUtil helper = StereotypeDisplayUtil.getInstance();
- /**
- * Helper for the Unit Test about Stereotype Display
- */
- private AppliedStereotypeDisplayTestUtils testHelper = AppliedStereotypeDisplayTestUtils.getInstance();
-
-
- /**
- * Initialization of members and diagram
- */
- @Before
- public void initialisation() {
- // Verify if profile is correctly imported
- Package model = editorFixture.getModel();
- Assert.assertNotNull("The model cannot be null", model);
- Assert.assertFalse(model.getProfileApplications().isEmpty());
-
- // Initialize data for test case
- element = model.getMember(CLASS_NAME);
- Assert.assertTrue("The element is a UML Named Element", element instanceof NamedElement);
- Assert.assertEquals("Element is not the one expected", CLASS_NAME, ((NamedElement) element).getName());
-
- profile = model.getAppliedProfile(PROFILE_NAME);
- Assert.assertEquals("Profile is not the one Expected", PROFILE_NAME, profile.getName());
-
- domain = editorFixture.getEditingDomain();
- Assert.assertNotNull("Domain should not be null", domain);
-
- stereotype = profile.getOwnedStereotype(STEREO_A);
- Assert.assertEquals("Stereotype is not the one expected", STEREO_A, stereotype.getName());
-
- // Open the diagram
- final Diagram mainDiagram = DiagramUtils.getNotationDiagram(editorFixture.getModelSet(), CLASS_DIAGRAM_NAME);
- Assert.assertEquals("Current opened diagram is not the expected one", CLASS_DIAGRAM_NAME, mainDiagram.getName());
- editorFixture.getPageManager().openPage(mainDiagram);
- editorFixture.getPageManager().selectPage(mainDiagram);
- editorFixture.flushDisplayEvents();
-
- // Get the class view
- classView = DiagramUtils.findShape(mainDiagram, CLASS_NAME);
- Assert.assertNotNull("Class view not present", classView);
-
- // Check that the stereotype is applied on the element.
- Stereotype appliedStereotype = element.getAppliedStereotype(stereotype.getQualifiedName());
- Assert.assertEquals("stereoA is applied on the element", stereotype, appliedStereotype);
-
-
- // Check that the stereotype Contains the Expected Properties.
- List<Property> properties = stereotype.getAllAttributes();
-
- prop1 = stereotype.getAttribute(PROPERTY1, null);
- prop2 = stereotype.getAttribute(PROPERTY2, null);
-
- Assert.assertTrue("The Properties contains PropertyA1", properties.contains(prop1));
- Assert.assertTrue("The Properties contains PropertyA2", properties.contains(prop2));
-
- }
-
- /**
- * Test the profile application of the Diagram
- */
- @Test
- public void testProfileApplication() {
-
- // Check if the profile name is the one expected
- Assert.assertEquals("The profile is not the one expected ", PROFILE_NAME, profile.getName());
-
- // Check if the applied Profile is the good one
- Assert.assertTrue("The Container has to be a Package", element.eContainer() instanceof org.eclipse.uml2.uml.Package);
- Profile appliedProfile = ((org.eclipse.uml2.uml.Package) element.eContainer()).getAppliedProfile(PROFILE_NAME);
- Assert.assertNotNull("The appliedProfile should not be null", appliedProfile);
- Assert.assertEquals("The profile is not the one expected", profile, appliedProfile);
- }
-
- /**
- * Test the label structure into the notation model and the depth of this label
- */
- @Test
- public void testStereotypeLabelStructure() {
-
- // Check that at least one label has been found for the specific Stereotype
- View label = helper.getStereotypeLabel(classView, stereotype);
- Assert.assertNotNull("Label should not be null", label);
- Assert.assertTrue("The Label must be visible", label.isVisible());
-
- // Check that there is as many label as appliedStereotypes.
- List<View> list = testHelper.getAllLabel(classView);
- Assert.assertEquals("There should have as many Labels as applied Stereotypes", element.getAppliedStereotypes().size(), list.size());
-
- // Test the depth of the Label
- testStereotypeLabelDepth(label);
- }
-
- /**
- * Test the name of the Label depending on the depth
- *
- * @param label
- * The Label View of the related Stereotype "stereoA"
- */
- private void testStereotypeLabelDepth(View label) {
-
- // test the method getDepth
- Assert.assertTrue("Label is a decoration Node", label instanceof DecorationNode);
- String depth = helper.getDepth((DecorationNode) label);
- Assert.assertEquals("The Depth is not the one expected", "none", depth);
-
- // test the method getMinimumDepth
- String minDepth = helper.getMinimumDepthName(stereotype.getQualifiedName());
- Assert.assertEquals("The minimum depth is not the one expected ", "stereoA", minDepth);
-
- // test the method getStereotypeNameWithDepth with different value
- String fullName = helper.getStereotypeNameWithDepth(stereotype.getQualifiedName(), "full");
- Assert.assertEquals("Label with depth full is not the one expected", PROFILE_NAME + "::" + STEREO_A, fullName);
- String noneDepthName = helper.getStereotypeNameWithDepth(stereotype.getQualifiedName(), "none");
- Assert.assertEquals("Label with depth none is not the one expected", "stereoA", noneDepthName);
- String minusName = helper.getStereotypeNameWithDepth(stereotype.getQualifiedName(), "-1");
- Assert.assertEquals("Label with depth -1 is not the one expected", STEREO_A, minusName);
- String outOfBoundsDepth = helper.getStereotypeNameWithDepth(stereotype.getQualifiedName(), "25");
- Assert.assertEquals("Label with depth 25 is not the one expected", PROFILE_NAME + "::" + STEREO_A, outOfBoundsDepth);
- String outOfBoundsDepth2 = helper.getStereotypeNameWithDepth(stereotype.getQualifiedName(), "-17");
- Assert.assertEquals("Label with depth -17 is not the one expected", STEREO_A, outOfBoundsDepth2);
-
- }
-
- /**
- * Test the structure of the Brace View
- */
- @Test
- public void testStereotypeBraceStructure() {
-
- // Check that there is a Brace view for the Stereotype A
- View brace = helper.getStereotypeBraceCompartment(classView, stereotype);
- Assert.assertNotNull("Brace should not be null", brace);
- Assert.assertFalse("The Brace properties must not be visible", brace.isVisible());
-
- // Check that there is as many Brace compartment as appliedStereotypes.
- List<View> list = testHelper.getAllBraceCompartment(classView);
- Assert.assertEquals("There should have as many Labels as applied Stereotypes", element.getAppliedStereotypes().size(), list.size());
- Assert.assertEquals("The Type of the Brace View is not the one expected", "StereotypeBrace", brace.getType());
-
-
- }
-
- /**
- * Test the Brace properties Structure
- */
- @Test
- public void testStereotypeBracePropertyStructure() {
- // Check that there is a Brace view for the Stereotype A
- View brace = helper.getStereotypeBraceCompartment(classView, stereotype);
- Assert.assertNotNull("Brace should not be null", brace);
-
- // Check that there is a Property View related to the Prop1 property
- View propertyViewInBrace = helper.getStereotypePropertyInBrace(classView, stereotype, prop1);
- Assert.assertNotNull("Property View In Brace should not be null", propertyViewInBrace);
- Assert.assertTrue("PropertyView must be visible by default", propertyViewInBrace.isVisible());
- Assert.assertEquals("The Type of the Brace Property View is not the one expected", "StereotypePropertyBrace", propertyViewInBrace.getType());
-
-
- // Check that the property is a Brace child.
- Object parent = propertyViewInBrace.eContainer();
- Assert.assertEquals("The Property should be contained into the Brace View", brace, parent);
- Assert.assertFalse("The Property should be Transcient by default ", brace.getPersistedChildren().contains(propertyViewInBrace));
- Assert.assertTrue("The Property should be Transcient by default ", brace.getTransientChildren().contains(propertyViewInBrace));
-
- }
-
-
- /**
- * Test The structure of the Compartment
- */
- @Test
- public void testStereotypeCompartmentStructure() {
-
- // Check that there is a Compartment view for the Stereotype A
- View compartment = helper.getStereotypeCompartment(classView, stereotype);
- Assert.assertNotNull("Compartment should not be null", compartment);
- Assert.assertFalse("The Brace properties must not be visible", compartment.isVisible());
-
- // Check that there is as many compartment as appliedStereotypes.
- List<View> list = testHelper.getAllCompartment(classView);
- Assert.assertEquals("There should have as many Labels as applied Stereotypes", element.getAppliedStereotypes().size(), list.size());
- Assert.assertEquals("The Type of the Compartment View is not the one expected", "StereotypeCompartment", compartment.getType());
-
- }
-
-
- /**
- * Test that the Structure of the Property into the Compartment is correct
- */
- @Test
- public void testStereotypePropertyStructure() {
- // Check that there is a compartment view for the Stereotype A
- View compartment = helper.getStereotypeCompartment(classView, stereotype);
- Assert.assertNotNull("Compartment should not be null", compartment);
-
- // Check that there is a Property View related to the Prop1 property
- View propertyView = helper.getStereotypePropertyInCompartment(classView, stereotype, prop1);
- Assert.assertNotNull("Property View should not be null", propertyView);
- Assert.assertTrue("Property View must be visible by default", propertyView.isVisible());
- Assert.assertEquals("The Type of the Property View is not the one expected", "StereotypeProperty", propertyView.getType());
-
- // Check that the property is a compartment child.
- Object parent = propertyView.eContainer();
- Assert.assertEquals("The Property should be contained into the Compartment View", compartment, parent);
- Assert.assertFalse("The Property should be Transcient by default ", compartment.getPersistedChildren().contains(propertyView));
- Assert.assertTrue("The Property should be Transcient by default ", compartment.getTransientChildren().contains(propertyView));
-
- }
-
-
- /**
- * Test the structure of the Comment
- */
- @Test
- public void testStereotypeCommentStructure() {
-
- // Check that there is a Comment view for the Stereotype A
- View comment = helper.getStereotypeComment(classView);
- Assert.assertNotNull("Comment should not be null", comment);
- Assert.assertFalse("The Brace properties must not be visible", comment.isVisible());
-
- // Check that there is only one comment by element
- List<View> list = testHelper.getAllComment(classView);
- Assert.assertEquals("There should have as many Labels as applied Stereotypes", 1, list.size());
- Assert.assertEquals("The Type of the comment View is not the one expected", "StereotypeComment", comment.getType());
-
- // Check that there is only 1 comment for the diagram.
- List<View> listOfAllComment = testHelper.getAllComment(classView.getDiagram());
- Assert.assertNotNull(listOfAllComment);
- Assert.assertEquals(1, listOfAllComment.size());
-
-
- // Check that the element on which the comment is based exists.
- for (View view : listOfAllComment) {
-
- EObject baseElement = NotationUtils.getEObjectValue(view, StereotypeDisplayConstant.STEREOTYPE_COMMENT_RELATION_NAME, null);
- Assert.assertNotNull(baseElement);
- Assert.assertEquals(0, view.getSourceEdges().size());
- Assert.assertEquals(1, view.getTargetEdges().size());
- }
-
- }
-
- /**
- * Test that the Structure of the Property into the Compartment is correct
- */
- @Test
- public void testStereotypeCompartmentInCommentStructure() {
- // Check that there is a Comment view for the Stereotype A
- View comment = helper.getStereotypeComment(classView);
- Assert.assertNotNull("Comment should not be null", comment);
- Assert.assertFalse("The Brace properties must not be visible", comment.isVisible());
-
- // Check that there is a Compartment view for the Stereotype A
- View compartment = helper.getStereotypeCompartment(comment, stereotype);
- Assert.assertNotNull("Compartment should not be null", compartment);
- Assert.assertFalse("The Brace properties must not be visible", compartment.isVisible());
-
- // Check that there is as many compartment as appliedStereotypes.
- List<View> list = testHelper.getAllCompartment(classView);
- Assert.assertEquals("There should have as many Labels as applied Stereotypes", element.getAppliedStereotypes().size(), list.size());
- Assert.assertEquals("The Type of the Compartment View is not the one expected", "StereotypeCompartment", compartment.getType());
-
- }
-
- /**
- * Test that the Structure of the Property into the Compartment is correct
- */
- @Test
- public void testStereotypePropertyInCommentStructure() {
- // Check that there is a compartment view for the Stereotype A
- View comment = helper.getStereotypeComment(classView);
- View compartment = helper.getStereotypeCompartment(comment, stereotype);
- Assert.assertNotNull("Compartment should not be null", compartment);
-
- // Check that there is a Property View related to the Prop1 property
- View propertyView = helper.getStereotypePropertyInComment(classView, stereotype, prop1);
- Assert.assertNotNull("Property View should not be null", propertyView);
- Assert.assertTrue("Property View must be visible by default", propertyView.isVisible());
- Assert.assertEquals("The Type of the Property View is not the one expected", "StereotypeProperty", propertyView.getType());
-
- // Check that the property is a compartment child.
- Object parent = propertyView.eContainer();
- Assert.assertEquals("The Property should be contained into the Compartment View", compartment, parent);
- Assert.assertFalse("The Property should be Transcient by default ", compartment.getPersistedChildren().contains(propertyView));
- Assert.assertTrue("The Property should be Transcient by default ", compartment.getTransientChildren().contains(propertyView));
-
- }
-
-
-}
+/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Celine JANSSENS (ALL4TEC) celine.janssens@all4tec.net - Initial API + * Celine JANSSENS (ALL4TEC) celine.janssens@all4tec.net - Bug 471337 : Stereotype Display Unit Tests + * + *****************************************************************************/ + +package org.eclipse.papyrus.uml.diagram.common.tests.stereotype.display; + +import java.util.List; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.gmf.runtime.notation.DecorationNode; +import org.eclipse.gmf.runtime.notation.Diagram; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.infra.gmfdiag.common.model.NotationUtils; +import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest; +import org.eclipse.papyrus.junit.utils.DiagramUtils; +import org.eclipse.papyrus.junit.utils.rules.PapyrusEditorFixture; +import org.eclipse.papyrus.junit.utils.rules.PluginResource; +import org.eclipse.papyrus.uml.diagram.common.stereotype.display.helper.StereotypeDisplayConstant; +import org.eclipse.papyrus.uml.diagram.common.stereotype.display.helper.StereotypeDisplayUtil; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.Profile; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Stereotype; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Rule; +import org.junit.Test; + +/** + * This Class tests the Structure of a Nominal Case for the Stereotype Display + * + * @author Céline JANSSENS + * + */ +@PluginResource("/resources/StereotypeDisplay/StereotypeDisplayModel.di") +public class AppliedStereotypeDisplayStructureTest extends AbstractPapyrusTest { + + /** + * Stereotype Name + */ + private static final String STEREO_A = "stereoA";//$NON-NLS-1$ + + /** + * First Property Name + */ + private static final String PROPERTY1 = "propertyA1";//$NON-NLS-1$ + + /** + * Second Property Name + */ + private static final String PROPERTY2 = "propertyA2";//$NON-NLS-1$ + + /** + * Diagram Name + */ + private static final String CLASS_DIAGRAM_NAME = "Class Diagram"; //$NON-NLS-1$ + + /** + * Profile Name + */ + private static final String PROFILE_NAME = "NominalTestProfile";//$NON-NLS-1$ + + /** + * Class name + */ + private static final String CLASS_NAME = "Class1";//$NON-NLS-1$ + + + /** Model set rule to have an editing domain. */ + @Rule + public final PapyrusEditorFixture editorFixture = new PapyrusEditorFixture(); + + /** + * UML Element of the Class + */ + private Element element = null; + + /** + * One of the applied Stereotype + */ + private Stereotype stereotype = null; + + /** + * Notation view of the class editPart + */ + private View classView = null; + + /** + * Profile that has been applied + */ + private Profile profile = null; + + /** + * Transactional Domain + */ + private TransactionalEditingDomain domain = null; + + /** + * UML Property of the stereotype "stereoA" + */ + private Property prop1 = null; + private Property prop2 = null; + + /** + * Helper for Stereotype Display + */ + private StereotypeDisplayUtil helper = StereotypeDisplayUtil.getInstance(); + /** + * Helper for the Unit Test about Stereotype Display + */ + private AppliedStereotypeDisplayTestUtils testHelper = AppliedStereotypeDisplayTestUtils.getInstance(); + + + /** + * Initialization of members and diagram + */ + @Before + public void initialisation() { + // Verify if profile is correctly imported + Package model = editorFixture.getModel(); + Assert.assertNotNull("The model cannot be null", model); + Assert.assertFalse(model.getProfileApplications().isEmpty()); + + // Initialize data for test case + element = model.getMember(CLASS_NAME); + Assert.assertTrue("The element is a UML Named Element", element instanceof NamedElement); + Assert.assertEquals("Element is not the one expected", CLASS_NAME, ((NamedElement) element).getName()); + + profile = model.getAppliedProfile(PROFILE_NAME); + Assert.assertEquals("Profile is not the one Expected", PROFILE_NAME, profile.getName()); + + domain = editorFixture.getEditingDomain(); + Assert.assertNotNull("Domain should not be null", domain); + + stereotype = profile.getOwnedStereotype(STEREO_A); + Assert.assertEquals("Stereotype is not the one expected", STEREO_A, stereotype.getName()); + + // Open the diagram + final Diagram mainDiagram = DiagramUtils.getNotationDiagram(editorFixture.getModelSet(), CLASS_DIAGRAM_NAME); + Assert.assertEquals("Current opened diagram is not the expected one", CLASS_DIAGRAM_NAME, mainDiagram.getName()); + editorFixture.getPageManager().openPage(mainDiagram); + editorFixture.getPageManager().selectPage(mainDiagram); + editorFixture.flushDisplayEvents(); + + // Get the class view + classView = DiagramUtils.findShape(mainDiagram, CLASS_NAME); + Assert.assertNotNull("Class view not present", classView); + + // Check that the stereotype is applied on the element. + Stereotype appliedStereotype = element.getAppliedStereotype(stereotype.getQualifiedName()); + Assert.assertEquals("stereoA is applied on the element", stereotype, appliedStereotype); + + + // Check that the stereotype Contains the Expected Properties. + List<Property> properties = stereotype.getAllAttributes(); + + prop1 = stereotype.getAttribute(PROPERTY1, null); + prop2 = stereotype.getAttribute(PROPERTY2, null); + + Assert.assertTrue("The Properties contains PropertyA1", properties.contains(prop1)); + Assert.assertTrue("The Properties contains PropertyA2", properties.contains(prop2)); + + } + + /** + * Test the profile application of the Diagram + */ + @Test + public void testProfileApplication() { + + // Check if the profile name is the one expected + Assert.assertEquals("The profile is not the one expected ", PROFILE_NAME, profile.getName()); + + // Check if the applied Profile is the good one + Assert.assertTrue("The Container has to be a Package", element.eContainer() instanceof org.eclipse.uml2.uml.Package); + Profile appliedProfile = ((org.eclipse.uml2.uml.Package) element.eContainer()).getAppliedProfile(PROFILE_NAME); + Assert.assertNotNull("The appliedProfile should not be null", appliedProfile); + Assert.assertEquals("The profile is not the one expected", profile, appliedProfile); + } + + /** + * Test the label structure into the notation model and the depth of this label + */ + @Test + public void testStereotypeLabelStructure() { + + // Check that at least one label has been found for the specific Stereotype + View label = helper.getStereotypeLabel(classView, stereotype); + Assert.assertNotNull("Label should not be null", label); + Assert.assertTrue("The Label must be visible", label.isVisible()); + + // Check that there is as many label as appliedStereotypes. + List<View> list = testHelper.getAllLabel(classView); + Assert.assertEquals("There should have as many Labels as applied Stereotypes", element.getAppliedStereotypes().size(), list.size()); + + // Test the depth of the Label + testStereotypeLabelDepth(label); + } + + /** + * Test the name of the Label depending on the depth + * + * @param label + * The Label View of the related Stereotype "stereoA" + */ + private void testStereotypeLabelDepth(View label) { + + // test the method getDepth + Assert.assertTrue("Label is a decoration Node", label instanceof DecorationNode); + String depth = helper.getDepth((DecorationNode) label); + Assert.assertEquals("The Depth is not the one expected", "none", depth); + + // test the method getMinimumDepth + String minDepth = helper.getMinimumDepthName(stereotype.getQualifiedName()); + Assert.assertEquals("The minimum depth is not the one expected ", "stereoA", minDepth); + + // test the method getStereotypeNameWithDepth with different value + String fullName = helper.getStereotypeNameWithDepth(stereotype.getQualifiedName(), "full"); + Assert.assertEquals("Label with depth full is not the one expected", PROFILE_NAME + "::" + STEREO_A, fullName); + String noneDepthName = helper.getStereotypeNameWithDepth(stereotype.getQualifiedName(), "none"); + Assert.assertEquals("Label with depth none is not the one expected", "stereoA", noneDepthName); + String minusName = helper.getStereotypeNameWithDepth(stereotype.getQualifiedName(), "-1"); + Assert.assertEquals("Label with depth -1 is not the one expected", STEREO_A, minusName); + String outOfBoundsDepth = helper.getStereotypeNameWithDepth(stereotype.getQualifiedName(), "25"); + Assert.assertEquals("Label with depth 25 is not the one expected", PROFILE_NAME + "::" + STEREO_A, outOfBoundsDepth); + String outOfBoundsDepth2 = helper.getStereotypeNameWithDepth(stereotype.getQualifiedName(), "-17"); + Assert.assertEquals("Label with depth -17 is not the one expected", STEREO_A, outOfBoundsDepth2); + + } + + /** + * Test the structure of the Brace View + */ + @Test + public void testStereotypeBraceStructure() { + + // Check that there is a Brace view for the Stereotype A + View brace = helper.getStereotypeBraceCompartment(classView, stereotype); + Assert.assertNotNull("Brace should not be null", brace); + Assert.assertFalse("The Brace properties must not be visible", brace.isVisible()); + + // Check that there is as many Brace compartment as appliedStereotypes. + List<View> list = testHelper.getAllBraceCompartment(classView); + Assert.assertEquals("There should have as many Labels as applied Stereotypes", element.getAppliedStereotypes().size(), list.size()); + Assert.assertEquals("The Type of the Brace View is not the one expected", "StereotypeBrace", brace.getType()); + + + } + + /** + * Test the Brace properties Structure + */ + @Test + public void testStereotypeBracePropertyStructure() { + // Check that there is a Brace view for the Stereotype A + View brace = helper.getStereotypeBraceCompartment(classView, stereotype); + Assert.assertNotNull("Brace should not be null", brace); + + // Check that there is a Property View related to the Prop1 property + View propertyViewInBrace = helper.getStereotypePropertyInBrace(classView, stereotype, prop1); + Assert.assertNotNull("Property View In Brace should not be null", propertyViewInBrace); + Assert.assertTrue("PropertyView must be visible by default", propertyViewInBrace.isVisible()); + Assert.assertEquals("The Type of the Brace Property View is not the one expected", "StereotypePropertyBrace", propertyViewInBrace.getType()); + + + // Check that the property is a Brace child. + Object parent = propertyViewInBrace.eContainer(); + Assert.assertEquals("The Property should be contained into the Brace View", brace, parent); + Assert.assertFalse("The Property should be Transcient by default ", brace.getPersistedChildren().contains(propertyViewInBrace)); + Assert.assertTrue("The Property should be Transcient by default ", brace.getTransientChildren().contains(propertyViewInBrace)); + + } + + + /** + * Test The structure of the Compartment + */ + @Test + public void testStereotypeCompartmentStructure() { + + // Check that there is a Compartment view for the Stereotype A + View compartment = helper.getStereotypeCompartment(classView, stereotype); + Assert.assertNotNull("Compartment should not be null", compartment); + Assert.assertFalse("The Brace properties must not be visible", compartment.isVisible()); + + // Check that there is as many compartment as appliedStereotypes. + List<View> list = testHelper.getAllCompartment(classView); + Assert.assertEquals("There should have as many Labels as applied Stereotypes", element.getAppliedStereotypes().size(), list.size()); + Assert.assertEquals("The Type of the Compartment View is not the one expected", "StereotypeCompartment", compartment.getType()); + + } + + + /** + * Test that the Structure of the Property into the Compartment is correct + */ + @Test + public void testStereotypePropertyStructure() { + // Check that there is a compartment view for the Stereotype A + View compartment = helper.getStereotypeCompartment(classView, stereotype); + Assert.assertNotNull("Compartment should not be null", compartment); + + // Check that there is a Property View related to the Prop1 property + View propertyView = helper.getStereotypePropertyInCompartment(classView, stereotype, prop1); + Assert.assertNotNull("Property View should not be null", propertyView); + Assert.assertTrue("Property View must be visible by default", propertyView.isVisible()); + Assert.assertEquals("The Type of the Property View is not the one expected", "StereotypeProperty", propertyView.getType()); + + // Check that the property is a compartment child. + Object parent = propertyView.eContainer(); + Assert.assertEquals("The Property should be contained into the Compartment View", compartment, parent); + Assert.assertFalse("The Property should be Transcient by default ", compartment.getPersistedChildren().contains(propertyView)); + Assert.assertTrue("The Property should be Transcient by default ", compartment.getTransientChildren().contains(propertyView)); + + } + + + /** + * Test the structure of the Comment + */ + @Test + public void testStereotypeCommentStructure() { + + // Check that there is a Comment view for the Stereotype A + View comment = helper.getStereotypeComment(classView); + Assert.assertNotNull("Comment should not be null", comment); + Assert.assertFalse("The Brace properties must not be visible", comment.isVisible()); + + // Check that there is only one comment by element + List<View> list = testHelper.getAllComment(classView); + Assert.assertEquals("There should have as many Labels as applied Stereotypes", 1, list.size()); + Assert.assertEquals("The Type of the comment View is not the one expected", "StereotypeComment", comment.getType()); + + // Check that there is only 1 comment for the diagram. + List<View> listOfAllComment = testHelper.getAllComment(classView.getDiagram()); + Assert.assertNotNull(listOfAllComment); + Assert.assertEquals(1, listOfAllComment.size()); + + + // Check that the element on which the comment is based exists. + for (View view : listOfAllComment) { + + EObject baseElement = NotationUtils.getEObjectValue(view, StereotypeDisplayConstant.STEREOTYPE_COMMENT_RELATION_NAME, null); + Assert.assertNotNull(baseElement); + Assert.assertEquals(0, view.getSourceEdges().size()); + Assert.assertEquals(1, view.getTargetEdges().size()); + } + + } + + /** + * Test that the Structure of the Property into the Compartment is correct + */ + @Test + public void testStereotypeCompartmentInCommentStructure() { + // Check that there is a Comment view for the Stereotype A + View comment = helper.getStereotypeComment(classView); + Assert.assertNotNull("Comment should not be null", comment); + Assert.assertFalse("The Brace properties must not be visible", comment.isVisible()); + + // Check that there is a Compartment view for the Stereotype A + View compartment = helper.getStereotypeCompartment(comment, stereotype); + Assert.assertNotNull("Compartment should not be null", compartment); + Assert.assertFalse("The Brace properties must not be visible", compartment.isVisible()); + + // Check that there is as many compartment as appliedStereotypes. + List<View> list = testHelper.getAllCompartment(classView); + Assert.assertEquals("There should have as many Labels as applied Stereotypes", element.getAppliedStereotypes().size(), list.size()); + Assert.assertEquals("The Type of the Compartment View is not the one expected", "StereotypeCompartment", compartment.getType()); + + } + + /** + * Test that the Structure of the Property into the Compartment is correct + */ + @Test + public void testStereotypePropertyInCommentStructure() { + // Check that there is a compartment view for the Stereotype A + View comment = helper.getStereotypeComment(classView); + View compartment = helper.getStereotypeCompartment(comment, stereotype); + Assert.assertNotNull("Compartment should not be null", compartment); + + // Check that there is a Property View related to the Prop1 property + View propertyView = helper.getStereotypePropertyInComment(classView, stereotype, prop1); + Assert.assertNotNull("Property View should not be null", propertyView); + Assert.assertTrue("Property View must be visible by default", propertyView.isVisible()); + Assert.assertEquals("The Type of the Property View is not the one expected", "StereotypeProperty", propertyView.getType()); + + // Check that the property is a compartment child. + Object parent = propertyView.eContainer(); + Assert.assertEquals("The Property should be contained into the Compartment View", compartment, parent); + Assert.assertFalse("The Property should be Transcient by default ", compartment.getPersistedChildren().contains(propertyView)); + Assert.assertTrue("The Property should be Transcient by default ", compartment.getTransientChildren().contains(propertyView)); + + } + + +} diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayTestUtils.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayTestUtils.java index 6ae71171045..e44eabe0a44 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayTestUtils.java +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/stereotype/display/AppliedStereotypeDisplayTestUtils.java @@ -1,179 +1,179 @@ -/*****************************************************************************
- * Copyright (c) 2015 CEA LIST and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.uml.diagram.common.tests.stereotype.display;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.gmf.runtime.notation.Diagram;
-import org.eclipse.gmf.runtime.notation.View;
-import org.eclipse.papyrus.infra.gmfdiag.common.model.NotationUtils;
-import org.eclipse.papyrus.uml.diagram.common.stereotype.display.helper.StereotypeDisplayConstant;
-import org.eclipse.uml2.uml.Element;
-import org.junit.Assert;
-
-/**
- * @author Céline JANSSENS
- *
- */
-public class AppliedStereotypeDisplayTestUtils {
-
-
- /**
- * singleton instance
- */
- private static AppliedStereotypeDisplayTestUtils labelHelper;
-
- /** Singleton contructor */
- private AppliedStereotypeDisplayTestUtils() {
- }
-
- /**
- * Returns the singleton instance of this class
- *
- * @return the singleton instance.
- */
- public static AppliedStereotypeDisplayTestUtils getInstance() {
- if (labelHelper == null) {
- labelHelper = new AppliedStereotypeDisplayTestUtils();
- }
- return labelHelper;
- }
-
- /**
- * Retrieve the list of all Label into a mainView.
- *
- * @param mainView
- * The view on which the stereotype is applied.
- * @return the list of all children of type StereotypeLabel
- */
- public List<View> getAllLabel(View mainView) {
- List<View> labelList = new ArrayList<View>();
-
- for (Object object : mainView.getChildren()) {
- if (object instanceof View) {
- if (((View) object).getType().equals("StereotypeLabel")) {
- labelList.add((View) object);
- }
- }
- }
-
- return labelList;
-
- }
-
-
- /**
- * Retrieve the list of all Brace Compartment into a mainView.
- *
- * @param mainView
- * The view on which the stereotype is applied.
- * @return the list of all children of type StereotypeBrace
- */
- public List<View> getAllBraceCompartment(View mainView) {
- List<View> braceList = new ArrayList<View>();
-
- for (Object object : mainView.getChildren()) {
- if (object instanceof View) {
- if (((View) object).getType().equals("StereotypeBrace")) {
- braceList.add((View) object);
- }
- }
- }
-
- return braceList;
-
- }
-
- /**
- * Retrieve the list of all Compartment into a mainView.
- *
- * @param mainView
- * The view on which the stereotype is applied.
- * @return the list of all children of type StereotypeCompartment"
- */
- public List<View> getAllCompartment(View mainView) {
- List<View> compartmentList = new ArrayList<View>();
-
- for (Object object : mainView.getChildren()) {
- if (object instanceof View) {
- if (((View) object).getType().equals("StereotypeCompartment")) {
- compartmentList.add((View) object);
- }
- }
- }
-
- return compartmentList;
-
- }
-
- /**
- * Retrieve all the Comment of a diagram.
- *
- * @param diagram
- * The diagram
- * @return list of all StereotypeComment View
- *
- *
- */
- public List<View> getAllComment(Diagram diagram) {
- List<View> commentList = new ArrayList<View>();
-
- for (Object object : diagram.getChildren()) {
- if (object instanceof View) {
- if (((View) object).getType().equals("StereotypeComment")) {
- commentList.add((View) object);
- }
- }
- }
-
-
- return commentList;
- }
-
- /**
- * Retrieve the list of all Comment related to a mainView.
- *
- * @param mainView
- * The view on which the stereotype is applied.
- * @return the list of all children of type StereotypeBrace
- */
- public List<View> getAllComment(View mainView) {
- List<View> commentList = new ArrayList<View>();
-
- EObject element = mainView.getElement();
- Assert.assertTrue(element instanceof Element);
-
- Assert.assertTrue("Main view Container must be a View", mainView.eContainer() instanceof View);
- View container = (View) mainView.eContainer();
-
- for (Object object : container.getChildren()) {
- if (object instanceof View) {
- if (((View) object).getType().equals("StereotypeComment")) {
- EObject baseElement = NotationUtils.getEObjectValue((View) object, StereotypeDisplayConstant.STEREOTYPE_COMMENT_RELATION_NAME, null);
- if (baseElement instanceof Element && baseElement.equals(element)) {
-
- commentList.add((View) object);
- }
-
- }
- }
- }
-
-
- return commentList;
-
- }
-}
+/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.uml.diagram.common.tests.stereotype.display; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.notation.Diagram; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.infra.gmfdiag.common.model.NotationUtils; +import org.eclipse.papyrus.uml.diagram.common.stereotype.display.helper.StereotypeDisplayConstant; +import org.eclipse.uml2.uml.Element; +import org.junit.Assert; + +/** + * @author Céline JANSSENS + * + */ +public class AppliedStereotypeDisplayTestUtils { + + + /** + * singleton instance + */ + private static AppliedStereotypeDisplayTestUtils labelHelper; + + /** Singleton contructor */ + private AppliedStereotypeDisplayTestUtils() { + } + + /** + * Returns the singleton instance of this class + * + * @return the singleton instance. + */ + public static AppliedStereotypeDisplayTestUtils getInstance() { + if (labelHelper == null) { + labelHelper = new AppliedStereotypeDisplayTestUtils(); + } + return labelHelper; + } + + /** + * Retrieve the list of all Label into a mainView. + * + * @param mainView + * The view on which the stereotype is applied. + * @return the list of all children of type StereotypeLabel + */ + public List<View> getAllLabel(View mainView) { + List<View> labelList = new ArrayList<View>(); + + for (Object object : mainView.getChildren()) { + if (object instanceof View) { + if (((View) object).getType().equals("StereotypeLabel")) { + labelList.add((View) object); + } + } + } + + return labelList; + + } + + + /** + * Retrieve the list of all Brace Compartment into a mainView. + * + * @param mainView + * The view on which the stereotype is applied. + * @return the list of all children of type StereotypeBrace + */ + public List<View> getAllBraceCompartment(View mainView) { + List<View> braceList = new ArrayList<View>(); + + for (Object object : mainView.getChildren()) { + if (object instanceof View) { + if (((View) object).getType().equals("StereotypeBrace")) { + braceList.add((View) object); + } + } + } + + return braceList; + + } + + /** + * Retrieve the list of all Compartment into a mainView. + * + * @param mainView + * The view on which the stereotype is applied. + * @return the list of all children of type StereotypeCompartment" + */ + public List<View> getAllCompartment(View mainView) { + List<View> compartmentList = new ArrayList<View>(); + + for (Object object : mainView.getChildren()) { + if (object instanceof View) { + if (((View) object).getType().equals("StereotypeCompartment")) { + compartmentList.add((View) object); + } + } + } + + return compartmentList; + + } + + /** + * Retrieve all the Comment of a diagram. + * + * @param diagram + * The diagram + * @return list of all StereotypeComment View + * + * + */ + public List<View> getAllComment(Diagram diagram) { + List<View> commentList = new ArrayList<View>(); + + for (Object object : diagram.getChildren()) { + if (object instanceof View) { + if (((View) object).getType().equals("StereotypeComment")) { + commentList.add((View) object); + } + } + } + + + return commentList; + } + + /** + * Retrieve the list of all Comment related to a mainView. + * + * @param mainView + * The view on which the stereotype is applied. + * @return the list of all children of type StereotypeBrace + */ + public List<View> getAllComment(View mainView) { + List<View> commentList = new ArrayList<View>(); + + EObject element = mainView.getElement(); + Assert.assertTrue(element instanceof Element); + + Assert.assertTrue("Main view Container must be a View", mainView.eContainer() instanceof View); + View container = (View) mainView.eContainer(); + + for (Object object : container.getChildren()) { + if (object instanceof View) { + if (((View) object).getType().equals("StereotypeComment")) { + EObject baseElement = NotationUtils.getEObjectValue((View) object, StereotypeDisplayConstant.STEREOTYPE_COMMENT_RELATION_NAME, null); + if (baseElement instanceof Element && baseElement.equals(element)) { + + commentList.add((View) object); + } + + } + } + } + + + return commentList; + + } +} diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/Bug477133MovePropertyWithAssociation.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/Bug477133MovePropertyWithAssociation.java index 5e5a0dba0a6..d0ed0078bfb 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/Bug477133MovePropertyWithAssociation.java +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/Bug477133MovePropertyWithAssociation.java @@ -1,389 +1,389 @@ -/*****************************************************************************
- * Copyright (c) 2015 CEA LIST and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Patrick Tessier(CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.uml.diagram.common.tests.tests;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
-import static org.junit.Assert.assertTrue;
-
-import org.eclipse.gef.ConnectionEditPart;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.RequestConstants;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.requests.ReconnectRequest;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
-import org.eclipse.gmf.runtime.diagram.ui.requests.EditCommandRequestWrapper;
-import org.eclipse.gmf.runtime.emf.type.core.commands.SetValueCommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.SetRequest;
-import org.eclipse.gmf.runtime.notation.Diagram;
-import org.eclipse.gmf.runtime.notation.View;
-import org.eclipse.papyrus.commands.wrappers.GEFtoEMFCommandWrapper;
-import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.infra.core.resource.ModelSet;
-import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest;
-import org.eclipse.papyrus.junit.utils.DiagramUtils;
-import org.eclipse.papyrus.junit.utils.rules.PapyrusEditorFixture;
-import org.eclipse.papyrus.junit.utils.rules.PluginResource;
-import org.eclipse.uml2.uml.Association;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.StructuredClassifier;
-import org.eclipse.uml2.uml.Type;
-import org.eclipse.uml2.uml.UMLPackage;
-import org.junit.Rule;
-import org.junit.Test;
-
-/**
- * The test class to verify that there is no regression in relation to Bug 477133.
- * bug 477133: when we move a property linked to an association the type is badly updated https://bugs.eclipse.org/bugs/show_bug.cgi?id=477133
- * For this test we do not load a model!
- * during the construction the member-end can be the inverse of end-types
- *
- * @author Patrick Tessier
- */
-public class Bug477133MovePropertyWithAssociation extends AbstractPapyrusTest {
-
- /** The model set fixture. */
- @Rule
- public final PapyrusEditorFixture modelSetFixture = new PapyrusEditorFixture();
-
-
- /**
- * Constructor.
- *
- */
- public Bug477133MovePropertyWithAssociation() {
- super();
- }
-
- /**
- * Case of an association between A and B, end a is owned by Class B and end b is owned by the association. End a is navigable but not End b. Test changes A to C.
- */
- @Test
- @PluginResource("/resources/477133/model.di")
- public void testUMLCase1() {
-
- // Get data test
- Association association = (Association) modelSetFixture.getModel().getMember("Association");
- NamedElement target = modelSetFixture.getModel().getMember("C");
- NamedElement source = modelSetFixture.getModel().getMember("A");
- StructuredClassifier sourceAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("B");
-
- Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133");
- EditPart targetEP = getEditPart(target, diagram);
-
- // Build a request and execute it
- ReconnectRequest reconnectReq = new ReconnectRequest(RequestConstants.REQ_RECONNECT_TARGET);
- reconnectReq.setConnectionEditPart((ConnectionEditPart) getEditPart(association, diagram));
- reconnectReq.setTargetEditPart(targetEP);
- Command command = targetEP.getCommand(reconnectReq);
- modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command));
-
- assertNotNull(association.getMemberEnd(source.getName().toLowerCase(), (Type) target));
- assertNotNull(sourceAssiociation.getOwnedAttribute(source.getName().toLowerCase(), (Type) target));
- assertNotNull(association.getOwnedEnd(sourceAssiociation.getName().toLowerCase(), sourceAssiociation));
-
-
- }
-
- /**
- * Case of an association between A and B, end a is owned by Class B and end b is owned by the association. End a is navigable but not End b. Test changes B to D.
- */
- @Test
- @PluginResource("/resources/477133/model.di")
- public void testUMLCase2() {
-
- // Get data test
- Association association = (Association) modelSetFixture.getModel().getMember("Association");
- StructuredClassifier target = (StructuredClassifier) modelSetFixture.getModel().getMember("D");
- StructuredClassifier source = (StructuredClassifier) modelSetFixture.getModel().getMember("B");
- StructuredClassifier targetAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("A");
-
- Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133");
- EditPart targetEP = getEditPart(target, diagram);
-
- // Build a request and execute it
- ReconnectRequest reconnectReq = new ReconnectRequest(RequestConstants.REQ_RECONNECT_SOURCE);
- reconnectReq.setConnectionEditPart((ConnectionEditPart) getEditPart(association, diagram));
- reconnectReq.setTargetEditPart(targetEP);
- Command command = targetEP.getCommand(reconnectReq);
- modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command));
-
- assertNotNull(association.getMemberEnd(source.getName().toLowerCase(), target));
- assertNotNull(target.getOwnedAttribute(targetAssiociation.getName().toLowerCase(), targetAssiociation));
- assertNotNull(association.getOwnedEnd(source.getName().toLowerCase(), target));
-
-
- }
-
- /**
- * Case of an association between A and B, end a is owned by Class B and end b is owned by Class A. Both ends are navigable. Test changes B to D.
- */
- @Test
- @PluginResource("/resources/477133/model.di")
- public void testUMLCase3() {
-
- // Get data test
- Association association = (Association) modelSetFixture.getModel().getMember("Association");
- StructuredClassifier target = (StructuredClassifier) modelSetFixture.getModel().getMember("D");
- StructuredClassifier source = (StructuredClassifier) modelSetFixture.getModel().getMember("B");
- StructuredClassifier targetAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("A");
-
- // Set End a to Class B
- SetValueCommand setCommand = new SetValueCommand(new SetRequest(targetAssiociation, UMLPackage.eINSTANCE.getStructuredClassifier_OwnedAttribute(), association.getMemberEnd(source.getName().toLowerCase(), source)));
- modelSetFixture.getEditingDomain().getCommandStack().execute(new GMFtoEMFCommandWrapper(setCommand));
-
- assertTrue(association.getOwnedEnds().isEmpty());
-
- Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133");
- EditPart targetEP = getEditPart(target, diagram);
-
- // Build a request and execute it
- ReconnectRequest reconnectReq = new ReconnectRequest(RequestConstants.REQ_RECONNECT_SOURCE);
- reconnectReq.setConnectionEditPart((ConnectionEditPart) getEditPart(association, diagram));
- reconnectReq.setTargetEditPart(targetEP);
- Command command = targetEP.getCommand(reconnectReq);
- modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command));
-
- assertTrue(association.getOwnedEnds().isEmpty());
- assertNotNull(association.getMemberEnd(source.getName().toLowerCase(), target));
- assertNotNull(target.getOwnedAttribute(targetAssiociation.getName().toLowerCase(), targetAssiociation));
- assertNull(source.getOwnedAttribute(targetAssiociation.getName().toLowerCase(), targetAssiociation));
-
-
- }
-
- /**
- * Case of an association between A and B, Both ends are not navigable and contained by the association. Test changes B to D.
- */
- @Test
- @PluginResource("/resources/477133/model.di")
- public void testUMLCase4() {
-
- // Get data test
- Association association = (Association) modelSetFixture.getModel().getMember("Association");
- StructuredClassifier target = (StructuredClassifier) modelSetFixture.getModel().getMember("D");
- StructuredClassifier source = (StructuredClassifier) modelSetFixture.getModel().getMember("B");
- StructuredClassifier targetAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("A");
-
- // Set End a to association
- SetValueCommand setCommand = new SetValueCommand(new SetRequest(association, UMLPackage.eINSTANCE.getAssociation_OwnedEnd(), association.getMemberEnd(targetAssiociation.getName().toLowerCase(), targetAssiociation)));
- modelSetFixture.getEditingDomain().getCommandStack().execute(new GMFtoEMFCommandWrapper(setCommand));
-
- assertEquals(2, association.getOwnedEnds().size());
-
- Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133");
- EditPart targetEP = getEditPart(target, diagram);
-
- // Build a request and execute it
- ReconnectRequest reconnectReq = new ReconnectRequest(RequestConstants.REQ_RECONNECT_SOURCE);
- reconnectReq.setConnectionEditPart((ConnectionEditPart) getEditPart(association, diagram));
- reconnectReq.setTargetEditPart(targetEP);
- Command command = targetEP.getCommand(reconnectReq);
- modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command));
-
- assertEquals(2, association.getOwnedEnds().size());
- assertNotNull(association.getOwnedEnd(source.getName().toLowerCase(), target));
- assertNotNull(association.getOwnedEnd(targetAssiociation.getName().toLowerCase(), targetAssiociation));
- assertFalse(target.eIsSet(UMLPackage.eINSTANCE.getStructuredClassifier_OwnedAttribute()));
- assertFalse(targetAssiociation.eIsSet(UMLPackage.eINSTANCE.getStructuredClassifier_OwnedAttribute()));
-
- }
-
- /**
- * Case of an association between A and B, end a is owned by Block B and end b is owned by the association. End a is navigable but not End b. Test changes A to C.
- *
- */
- @Test
- @PluginResource("/resources/477133/model.di")
- public void testSysMLCase1() {
-
- // Get data test
- Association association = (Association) modelSetFixture.getModel().getMember("Association");
- NamedElement target = modelSetFixture.getModel().getMember("C");
- NamedElement source = modelSetFixture.getModel().getMember("A");
- StructuredClassifier sourceAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("B");
-
- Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133");
- EditPart targetEP = getEditPart(target, diagram);
-
- // Build a request and execute it
- ReorientRelationshipRequest request = new ReorientRelationshipRequest(association, target, source, ReorientRequest.REORIENT_TARGET);
- Command command = targetEP.getCommand(new EditCommandRequestWrapper(request));
- modelSetFixture.getEditingDomain().getCommandStack().execute(new GEFtoEMFCommandWrapper(command));
-
- assertNotNull(association.getMemberEnd(source.getName().toLowerCase(), (Type) target));
- assertNotNull(sourceAssiociation.getOwnedAttribute(source.getName().toLowerCase(), (Type) target));
- assertNotNull(association.getOwnedEnd(sourceAssiociation.getName().toLowerCase(), sourceAssiociation));
-
-
- }
-
- /**
- * Case of an association between A and B, end a is owned by Block B and end b is owned by the association. End a is navigable but not End b. Test changes B to D.
- */
- @Test
- @PluginResource("/resources/477133/model.di")
- public void testSysMLCase2() {
-
- // Get data test
- Association association = (Association) modelSetFixture.getModel().getMember("Association");
- StructuredClassifier target = (StructuredClassifier) modelSetFixture.getModel().getMember("D");
- NamedElement source = modelSetFixture.getModel().getMember("B");
- StructuredClassifier targetAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("A");
-
- Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133");
- EditPart targetEP = getEditPart(target, diagram);
-
- // Build a request and execute it
- ReorientRelationshipRequest request = new ReorientRelationshipRequest(association, target, source, ReorientRequest.REORIENT_SOURCE);
- Command command = targetEP.getCommand(new EditCommandRequestWrapper(request));
- modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command));
-
- assertNotNull(association.getMemberEnd(source.getName().toLowerCase(), target));
- assertNotNull(target.getOwnedAttribute(targetAssiociation.getName().toLowerCase(), targetAssiociation));
- assertNotNull(association.getOwnedEnd(source.getName().toLowerCase(), target));
-
-
- }
-
- /**
- * Case of an association between A and B, end a is owned by Block B and end b is owned by Block A. Both ends are navigable. Test changes B to D.
- */
- @Test
- @PluginResource("/resources/477133/model.di")
- public void testSysMLCase3() {
-
- // Get data test
- Association association = (Association) modelSetFixture.getModel().getMember("Association");
- StructuredClassifier target = (StructuredClassifier) modelSetFixture.getModel().getMember("D");
- StructuredClassifier source = (StructuredClassifier) modelSetFixture.getModel().getMember("B");
- StructuredClassifier targetAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("A");
-
- // Set End a to Class B
- SetValueCommand setCommand = new SetValueCommand(new SetRequest(targetAssiociation, UMLPackage.eINSTANCE.getStructuredClassifier_OwnedAttribute(), association.getMemberEnd(source.getName().toLowerCase(), source)));
- modelSetFixture.getEditingDomain().getCommandStack().execute(new GMFtoEMFCommandWrapper(setCommand));
-
- assertTrue(association.getOwnedEnds().isEmpty());
-
- Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133");
- EditPart targetEP = getEditPart(target, diagram);
-
- // Build a request and execute it
- ReorientRelationshipRequest request = new ReorientRelationshipRequest(association, target, source, ReorientRequest.REORIENT_SOURCE);
- Command command = targetEP.getCommand(new EditCommandRequestWrapper(request));
- modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command));
-
- assertTrue(association.getOwnedEnds().isEmpty());
- assertNotNull(association.getMemberEnd(source.getName().toLowerCase(), target));
- assertNotNull(target.getOwnedAttribute(targetAssiociation.getName().toLowerCase(), targetAssiociation));
- assertNull(source.getOwnedAttribute(targetAssiociation.getName().toLowerCase(), targetAssiociation));
-
-
- }
-
- /**
- * Case of an association between A and B, Both ends are not navigable and contained by the association. Test changes B to D.
- */
- @Test
- @PluginResource("/resources/477133/model.di")
- public void testSysMLCase4() {
-
- // Get data test
- Association association = (Association) modelSetFixture.getModel().getMember("Association");
- StructuredClassifier target = (StructuredClassifier) modelSetFixture.getModel().getMember("D");
- StructuredClassifier source = (StructuredClassifier) modelSetFixture.getModel().getMember("B");
- StructuredClassifier targetAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("A");
-
- // Set End a to association
- SetValueCommand setCommand = new SetValueCommand(new SetRequest(association, UMLPackage.eINSTANCE.getAssociation_OwnedEnd(), association.getMemberEnd(targetAssiociation.getName().toLowerCase(), targetAssiociation)));
- modelSetFixture.getEditingDomain().getCommandStack().execute(new GMFtoEMFCommandWrapper(setCommand));
-
- assertEquals(2, association.getOwnedEnds().size());
-
- Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133");
- EditPart targetEP = getEditPart(target, diagram);
-
- // Build a request and execute it
- ReorientRelationshipRequest request = new ReorientRelationshipRequest(association, target, source, ReorientRequest.REORIENT_SOURCE);
- Command command = targetEP.getCommand(new EditCommandRequestWrapper(request));
- modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command));
-
- assertEquals(2, association.getOwnedEnds().size());
- assertNotNull(association.getOwnedEnd(source.getName().toLowerCase(), target));
- assertNotNull(association.getOwnedEnd(targetAssiociation.getName().toLowerCase(), targetAssiociation));
- assertFalse(target.eIsSet(UMLPackage.eINSTANCE.getStructuredClassifier_OwnedAttribute()));
- assertFalse(targetAssiociation.eIsSet(UMLPackage.eINSTANCE.getStructuredClassifier_OwnedAttribute()));
-
- }
-
- /**
- * Case of an Directed Composition association between B1 and B2, end B2 is owned by Block B1 and end B2 is owned by Association. Test changes B2 to B3.
- */
- @Test
- @PluginResource("/resources/477133/model.di")
- public void testSysMLCase5() {
-
- // Get data test
- Association association = (Association) modelSetFixture.getModel().getMember("Directed Composition");
- StructuredClassifier target = (StructuredClassifier) modelSetFixture.getModel().getMember("B3");
- StructuredClassifier source = (StructuredClassifier) modelSetFixture.getModel().getMember("B2");
- StructuredClassifier targetAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("B1");
-
- assertEquals(1, association.getOwnedEnds().size());
-
- Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "BDD 446668");
- EditPart targetEP = getEditPart(target, diagram);
-
- // Build a request and execute it
- ReorientRelationshipRequest request = new ReorientRelationshipRequest(association, target, source, ReorientRequest.REORIENT_TARGET);
- Command command = targetEP.getCommand(new EditCommandRequestWrapper(request));
- modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command));
-
- assertEquals(1, association.getOwnedEnds().size());
- assertNotNull(association.getOwnedEnd("b1_1", targetAssiociation));
- assertNotNull(targetAssiociation.getOwnedAttribute("b2_1", target));
-
-
- }
-
-
- /**
- * Gets the edits the part.
- *
- * @param semanticElement
- * the semantic element
- * @param diagram
- * the diagram
- * @return the edits the part
- */
- private EditPart getEditPart(NamedElement semanticElement, Diagram diagram) {
-
- modelSetFixture.getPageManager().openPage(diagram);
-
- View diagramView = DiagramUtils.findShape(diagram, semanticElement.getName());
- if (diagramView == null) {
- diagramView = DiagramUtils.findEdge(diagram, semanticElement.getName());
- }
- assertNotNull(diagramView);
-
- IGraphicalEditPart semanticEP = DiagramUtils.findEditPartforView(modelSetFixture.getEditor(), diagramView, IGraphicalEditPart.class);
- assertNotNull(semanticEP);
-
- return semanticEP;
- }
-}
+/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Patrick Tessier(CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.uml.diagram.common.tests.tests; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; + +import org.eclipse.gef.ConnectionEditPart; +import org.eclipse.gef.EditPart; +import org.eclipse.gef.RequestConstants; +import org.eclipse.gef.commands.Command; +import org.eclipse.gef.requests.ReconnectRequest; +import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart; +import org.eclipse.gmf.runtime.diagram.ui.requests.EditCommandRequestWrapper; +import org.eclipse.gmf.runtime.emf.type.core.commands.SetValueCommand; +import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.SetRequest; +import org.eclipse.gmf.runtime.notation.Diagram; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.commands.wrappers.GEFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.core.resource.ModelSet; +import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest; +import org.eclipse.papyrus.junit.utils.DiagramUtils; +import org.eclipse.papyrus.junit.utils.rules.PapyrusEditorFixture; +import org.eclipse.papyrus.junit.utils.rules.PluginResource; +import org.eclipse.uml2.uml.Association; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.StructuredClassifier; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.UMLPackage; +import org.junit.Rule; +import org.junit.Test; + +/** + * The test class to verify that there is no regression in relation to Bug 477133. + * bug 477133: when we move a property linked to an association the type is badly updated https://bugs.eclipse.org/bugs/show_bug.cgi?id=477133 + * For this test we do not load a model! + * during the construction the member-end can be the inverse of end-types + * + * @author Patrick Tessier + */ +public class Bug477133MovePropertyWithAssociation extends AbstractPapyrusTest { + + /** The model set fixture. */ + @Rule + public final PapyrusEditorFixture modelSetFixture = new PapyrusEditorFixture(); + + + /** + * Constructor. + * + */ + public Bug477133MovePropertyWithAssociation() { + super(); + } + + /** + * Case of an association between A and B, end a is owned by Class B and end b is owned by the association. End a is navigable but not End b. Test changes A to C. + */ + @Test + @PluginResource("/resources/477133/model.di") + public void testUMLCase1() { + + // Get data test + Association association = (Association) modelSetFixture.getModel().getMember("Association"); + NamedElement target = modelSetFixture.getModel().getMember("C"); + NamedElement source = modelSetFixture.getModel().getMember("A"); + StructuredClassifier sourceAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("B"); + + Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133"); + EditPart targetEP = getEditPart(target, diagram); + + // Build a request and execute it + ReconnectRequest reconnectReq = new ReconnectRequest(RequestConstants.REQ_RECONNECT_TARGET); + reconnectReq.setConnectionEditPart((ConnectionEditPart) getEditPart(association, diagram)); + reconnectReq.setTargetEditPart(targetEP); + Command command = targetEP.getCommand(reconnectReq); + modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command)); + + assertNotNull(association.getMemberEnd(source.getName().toLowerCase(), (Type) target)); + assertNotNull(sourceAssiociation.getOwnedAttribute(source.getName().toLowerCase(), (Type) target)); + assertNotNull(association.getOwnedEnd(sourceAssiociation.getName().toLowerCase(), sourceAssiociation)); + + + } + + /** + * Case of an association between A and B, end a is owned by Class B and end b is owned by the association. End a is navigable but not End b. Test changes B to D. + */ + @Test + @PluginResource("/resources/477133/model.di") + public void testUMLCase2() { + + // Get data test + Association association = (Association) modelSetFixture.getModel().getMember("Association"); + StructuredClassifier target = (StructuredClassifier) modelSetFixture.getModel().getMember("D"); + StructuredClassifier source = (StructuredClassifier) modelSetFixture.getModel().getMember("B"); + StructuredClassifier targetAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("A"); + + Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133"); + EditPart targetEP = getEditPart(target, diagram); + + // Build a request and execute it + ReconnectRequest reconnectReq = new ReconnectRequest(RequestConstants.REQ_RECONNECT_SOURCE); + reconnectReq.setConnectionEditPart((ConnectionEditPart) getEditPart(association, diagram)); + reconnectReq.setTargetEditPart(targetEP); + Command command = targetEP.getCommand(reconnectReq); + modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command)); + + assertNotNull(association.getMemberEnd(source.getName().toLowerCase(), target)); + assertNotNull(target.getOwnedAttribute(targetAssiociation.getName().toLowerCase(), targetAssiociation)); + assertNotNull(association.getOwnedEnd(source.getName().toLowerCase(), target)); + + + } + + /** + * Case of an association between A and B, end a is owned by Class B and end b is owned by Class A. Both ends are navigable. Test changes B to D. + */ + @Test + @PluginResource("/resources/477133/model.di") + public void testUMLCase3() { + + // Get data test + Association association = (Association) modelSetFixture.getModel().getMember("Association"); + StructuredClassifier target = (StructuredClassifier) modelSetFixture.getModel().getMember("D"); + StructuredClassifier source = (StructuredClassifier) modelSetFixture.getModel().getMember("B"); + StructuredClassifier targetAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("A"); + + // Set End a to Class B + SetValueCommand setCommand = new SetValueCommand(new SetRequest(targetAssiociation, UMLPackage.eINSTANCE.getStructuredClassifier_OwnedAttribute(), association.getMemberEnd(source.getName().toLowerCase(), source))); + modelSetFixture.getEditingDomain().getCommandStack().execute(new GMFtoEMFCommandWrapper(setCommand)); + + assertTrue(association.getOwnedEnds().isEmpty()); + + Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133"); + EditPart targetEP = getEditPart(target, diagram); + + // Build a request and execute it + ReconnectRequest reconnectReq = new ReconnectRequest(RequestConstants.REQ_RECONNECT_SOURCE); + reconnectReq.setConnectionEditPart((ConnectionEditPart) getEditPart(association, diagram)); + reconnectReq.setTargetEditPart(targetEP); + Command command = targetEP.getCommand(reconnectReq); + modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command)); + + assertTrue(association.getOwnedEnds().isEmpty()); + assertNotNull(association.getMemberEnd(source.getName().toLowerCase(), target)); + assertNotNull(target.getOwnedAttribute(targetAssiociation.getName().toLowerCase(), targetAssiociation)); + assertNull(source.getOwnedAttribute(targetAssiociation.getName().toLowerCase(), targetAssiociation)); + + + } + + /** + * Case of an association between A and B, Both ends are not navigable and contained by the association. Test changes B to D. + */ + @Test + @PluginResource("/resources/477133/model.di") + public void testUMLCase4() { + + // Get data test + Association association = (Association) modelSetFixture.getModel().getMember("Association"); + StructuredClassifier target = (StructuredClassifier) modelSetFixture.getModel().getMember("D"); + StructuredClassifier source = (StructuredClassifier) modelSetFixture.getModel().getMember("B"); + StructuredClassifier targetAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("A"); + + // Set End a to association + SetValueCommand setCommand = new SetValueCommand(new SetRequest(association, UMLPackage.eINSTANCE.getAssociation_OwnedEnd(), association.getMemberEnd(targetAssiociation.getName().toLowerCase(), targetAssiociation))); + modelSetFixture.getEditingDomain().getCommandStack().execute(new GMFtoEMFCommandWrapper(setCommand)); + + assertEquals(2, association.getOwnedEnds().size()); + + Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133"); + EditPart targetEP = getEditPart(target, diagram); + + // Build a request and execute it + ReconnectRequest reconnectReq = new ReconnectRequest(RequestConstants.REQ_RECONNECT_SOURCE); + reconnectReq.setConnectionEditPart((ConnectionEditPart) getEditPart(association, diagram)); + reconnectReq.setTargetEditPart(targetEP); + Command command = targetEP.getCommand(reconnectReq); + modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command)); + + assertEquals(2, association.getOwnedEnds().size()); + assertNotNull(association.getOwnedEnd(source.getName().toLowerCase(), target)); + assertNotNull(association.getOwnedEnd(targetAssiociation.getName().toLowerCase(), targetAssiociation)); + assertFalse(target.eIsSet(UMLPackage.eINSTANCE.getStructuredClassifier_OwnedAttribute())); + assertFalse(targetAssiociation.eIsSet(UMLPackage.eINSTANCE.getStructuredClassifier_OwnedAttribute())); + + } + + /** + * Case of an association between A and B, end a is owned by Block B and end b is owned by the association. End a is navigable but not End b. Test changes A to C. + * + */ + @Test + @PluginResource("/resources/477133/model.di") + public void testSysMLCase1() { + + // Get data test + Association association = (Association) modelSetFixture.getModel().getMember("Association"); + NamedElement target = modelSetFixture.getModel().getMember("C"); + NamedElement source = modelSetFixture.getModel().getMember("A"); + StructuredClassifier sourceAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("B"); + + Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133"); + EditPart targetEP = getEditPart(target, diagram); + + // Build a request and execute it + ReorientRelationshipRequest request = new ReorientRelationshipRequest(association, target, source, ReorientRequest.REORIENT_TARGET); + Command command = targetEP.getCommand(new EditCommandRequestWrapper(request)); + modelSetFixture.getEditingDomain().getCommandStack().execute(new GEFtoEMFCommandWrapper(command)); + + assertNotNull(association.getMemberEnd(source.getName().toLowerCase(), (Type) target)); + assertNotNull(sourceAssiociation.getOwnedAttribute(source.getName().toLowerCase(), (Type) target)); + assertNotNull(association.getOwnedEnd(sourceAssiociation.getName().toLowerCase(), sourceAssiociation)); + + + } + + /** + * Case of an association between A and B, end a is owned by Block B and end b is owned by the association. End a is navigable but not End b. Test changes B to D. + */ + @Test + @PluginResource("/resources/477133/model.di") + public void testSysMLCase2() { + + // Get data test + Association association = (Association) modelSetFixture.getModel().getMember("Association"); + StructuredClassifier target = (StructuredClassifier) modelSetFixture.getModel().getMember("D"); + NamedElement source = modelSetFixture.getModel().getMember("B"); + StructuredClassifier targetAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("A"); + + Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133"); + EditPart targetEP = getEditPart(target, diagram); + + // Build a request and execute it + ReorientRelationshipRequest request = new ReorientRelationshipRequest(association, target, source, ReorientRequest.REORIENT_SOURCE); + Command command = targetEP.getCommand(new EditCommandRequestWrapper(request)); + modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command)); + + assertNotNull(association.getMemberEnd(source.getName().toLowerCase(), target)); + assertNotNull(target.getOwnedAttribute(targetAssiociation.getName().toLowerCase(), targetAssiociation)); + assertNotNull(association.getOwnedEnd(source.getName().toLowerCase(), target)); + + + } + + /** + * Case of an association between A and B, end a is owned by Block B and end b is owned by Block A. Both ends are navigable. Test changes B to D. + */ + @Test + @PluginResource("/resources/477133/model.di") + public void testSysMLCase3() { + + // Get data test + Association association = (Association) modelSetFixture.getModel().getMember("Association"); + StructuredClassifier target = (StructuredClassifier) modelSetFixture.getModel().getMember("D"); + StructuredClassifier source = (StructuredClassifier) modelSetFixture.getModel().getMember("B"); + StructuredClassifier targetAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("A"); + + // Set End a to Class B + SetValueCommand setCommand = new SetValueCommand(new SetRequest(targetAssiociation, UMLPackage.eINSTANCE.getStructuredClassifier_OwnedAttribute(), association.getMemberEnd(source.getName().toLowerCase(), source))); + modelSetFixture.getEditingDomain().getCommandStack().execute(new GMFtoEMFCommandWrapper(setCommand)); + + assertTrue(association.getOwnedEnds().isEmpty()); + + Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133"); + EditPart targetEP = getEditPart(target, diagram); + + // Build a request and execute it + ReorientRelationshipRequest request = new ReorientRelationshipRequest(association, target, source, ReorientRequest.REORIENT_SOURCE); + Command command = targetEP.getCommand(new EditCommandRequestWrapper(request)); + modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command)); + + assertTrue(association.getOwnedEnds().isEmpty()); + assertNotNull(association.getMemberEnd(source.getName().toLowerCase(), target)); + assertNotNull(target.getOwnedAttribute(targetAssiociation.getName().toLowerCase(), targetAssiociation)); + assertNull(source.getOwnedAttribute(targetAssiociation.getName().toLowerCase(), targetAssiociation)); + + + } + + /** + * Case of an association between A and B, Both ends are not navigable and contained by the association. Test changes B to D. + */ + @Test + @PluginResource("/resources/477133/model.di") + public void testSysMLCase4() { + + // Get data test + Association association = (Association) modelSetFixture.getModel().getMember("Association"); + StructuredClassifier target = (StructuredClassifier) modelSetFixture.getModel().getMember("D"); + StructuredClassifier source = (StructuredClassifier) modelSetFixture.getModel().getMember("B"); + StructuredClassifier targetAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("A"); + + // Set End a to association + SetValueCommand setCommand = new SetValueCommand(new SetRequest(association, UMLPackage.eINSTANCE.getAssociation_OwnedEnd(), association.getMemberEnd(targetAssiociation.getName().toLowerCase(), targetAssiociation))); + modelSetFixture.getEditingDomain().getCommandStack().execute(new GMFtoEMFCommandWrapper(setCommand)); + + assertEquals(2, association.getOwnedEnds().size()); + + Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "477133"); + EditPart targetEP = getEditPart(target, diagram); + + // Build a request and execute it + ReorientRelationshipRequest request = new ReorientRelationshipRequest(association, target, source, ReorientRequest.REORIENT_SOURCE); + Command command = targetEP.getCommand(new EditCommandRequestWrapper(request)); + modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command)); + + assertEquals(2, association.getOwnedEnds().size()); + assertNotNull(association.getOwnedEnd(source.getName().toLowerCase(), target)); + assertNotNull(association.getOwnedEnd(targetAssiociation.getName().toLowerCase(), targetAssiociation)); + assertFalse(target.eIsSet(UMLPackage.eINSTANCE.getStructuredClassifier_OwnedAttribute())); + assertFalse(targetAssiociation.eIsSet(UMLPackage.eINSTANCE.getStructuredClassifier_OwnedAttribute())); + + } + + /** + * Case of an Directed Composition association between B1 and B2, end B2 is owned by Block B1 and end B2 is owned by Association. Test changes B2 to B3. + */ + @Test + @PluginResource("/resources/477133/model.di") + public void testSysMLCase5() { + + // Get data test + Association association = (Association) modelSetFixture.getModel().getMember("Directed Composition"); + StructuredClassifier target = (StructuredClassifier) modelSetFixture.getModel().getMember("B3"); + StructuredClassifier source = (StructuredClassifier) modelSetFixture.getModel().getMember("B2"); + StructuredClassifier targetAssiociation = (StructuredClassifier) modelSetFixture.getModel().getMember("B1"); + + assertEquals(1, association.getOwnedEnds().size()); + + Diagram diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "BDD 446668"); + EditPart targetEP = getEditPart(target, diagram); + + // Build a request and execute it + ReorientRelationshipRequest request = new ReorientRelationshipRequest(association, target, source, ReorientRequest.REORIENT_TARGET); + Command command = targetEP.getCommand(new EditCommandRequestWrapper(request)); + modelSetFixture.getEditingDomain().getCommandStack().execute(GEFtoEMFCommandWrapper.wrap(command)); + + assertEquals(1, association.getOwnedEnds().size()); + assertNotNull(association.getOwnedEnd("b1_1", targetAssiociation)); + assertNotNull(targetAssiociation.getOwnedAttribute("b2_1", target)); + + + } + + + /** + * Gets the edits the part. + * + * @param semanticElement + * the semantic element + * @param diagram + * the diagram + * @return the edits the part + */ + private EditPart getEditPart(NamedElement semanticElement, Diagram diagram) { + + modelSetFixture.getPageManager().openPage(diagram); + + View diagramView = DiagramUtils.findShape(diagram, semanticElement.getName()); + if (diagramView == null) { + diagramView = DiagramUtils.findEdge(diagram, semanticElement.getName()); + } + assertNotNull(diagramView); + + IGraphicalEditPart semanticEP = DiagramUtils.findEditPartforView(modelSetFixture.getEditor(), diagramView, IGraphicalEditPart.class); + assertNotNull(semanticEP); + + return semanticEP; + } +} diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/CommonBendpointsTest.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/CommonBendpointsTest.java index ddd3a439591..a218aa68dbd 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/CommonBendpointsTest.java +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/CommonBendpointsTest.java @@ -1,333 +1,333 @@ -/*****************************************************************************
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.diagram.common.tests.tests;
-
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
-import org.eclipse.gmf.runtime.notation.Diagram;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.papyrus.infra.core.services.ServiceException;
-import org.eclipse.papyrus.infra.gmfdiag.common.figure.edge.PapyrusEdgeFigure;
-import org.eclipse.papyrus.infra.widgets.util.IRevealSemanticElement;
-import org.eclipse.papyrus.junit.utils.tests.AbstractEditorTest;
-import org.eclipse.papyrus.uml.diagram.common.tests.Activator;
-import org.eclipse.ui.ISelectionService;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.uml2.uml.Model;
-import org.eclipse.uml2.uml.NamedElement;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-import org.osgi.framework.Bundle;
-
-/**
- *
- * @author Vincent Lorenzo
- *
- */
-public class CommonBendpointsTest extends AbstractEditorTest {
-
- protected Resource di;
-
- protected Resource notation;
-
- protected Resource uml;
-
- protected Diagram diag;
-
- protected Model root;
-
- /**
- *
- * Constructor.
- * This plugin test the ModelExplorerView
- */
- public CommonBendpointsTest() {
- super();
- }
-
-
- @Before
- public void initTests() throws CoreException, IOException {
- try {
- initModel("testBendpoints", "model", getBundle()); //$NON-NLS-1$ //$NON-NLS-2$
- } catch (Exception e) {
- e.printStackTrace();
- }
-
- ResourceSet set = null;
- try {
- set = getModelSet();
- } catch (ServiceException e) {
- e.printStackTrace();
- }
- // IEditorInput input = this.editor.getEditorInput();
- List<Resource> resources = set.getResources();
- for(Resource current : resources) {
- // current.load(null);
- if(current.getURI().lastSegment().equals("model.uml")) { //$NON-NLS-1$
- this.uml = current;
- } else if(current.getURI().lastSegment().equals("model.notation")) { //$NON-NLS-1$
- this.notation = current;
- } else if(current.getURI().lastSegment().equals("model.di")) { //$NON-NLS-1$
- this.di = current;
- }
-
-
- }
- this.diag = (Diagram)this.notation.getAllContents().next();
- this.root = (Model)this.uml.getContents().get(0);
- }
-
- protected void verifyCommonBendpoints(final List<Point> wantedPoints, final Collection<Point> pointsFound1) {
- List<Point> pointsFound = new ArrayList<Point>(pointsFound1);
- Assert.assertEquals(wantedPoints.size(), pointsFound.size());
- for(Point current : pointsFound) {
- Assert.assertTrue(wantedPoints.contains(current));
- }
-
- }
-
- /**
- *
- * @param name
- * the name of a uml element
- * @return
- * the link figure for the element
- */
- protected PapyrusEdgeFigure getLinkFigureFor(final String name) {
- final NamedElement element = this.root.getMember(name);
- Assert.assertTrue(this.editor.getActiveEditor() instanceof IRevealSemanticElement);
- ((IRevealSemanticElement)this.editor.getActiveEditor()).revealSemanticElement(Collections.singletonList(element));
- final ISelection selection = getSelectionService().getSelection();
- Assert.assertTrue(selection instanceof IStructuredSelection);
- Object current = ((IStructuredSelection)selection).getFirstElement();
- Assert.assertTrue(current instanceof IGraphicalEditPart);
- final IFigure fig = ((IGraphicalEditPart)current).getFigure();
- Assert.assertTrue(fig instanceof PapyrusEdgeFigure);
- return (PapyrusEdgeFigure)fig;
- }
-
- @Test
- public void commonBendpoints_Test1() {
- List<Point> wantedResult = new ArrayList<Point>();
- wantedResult.add(new Point(300, 140));
-
- PapyrusEdgeFigure fig = getLinkFigureFor("Association1"); //$NON-NLS-1$
- Collection<Point> res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
-
-
- fig = getLinkFigureFor("Association2"); //$NON-NLS-1$
- res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
-
-
- }
-
- //no common bendpoints when the link do not share their source or their target
- @Test
- public void commonBendpoints_Test2() {
- List<Point> wantedResult = new ArrayList<Point>();
-
- PapyrusEdgeFigure fig = getLinkFigureFor("Association3"); //$NON-NLS-1$
- Collection<Point> res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
-
-
- fig = getLinkFigureFor("Association4"); //$NON-NLS-1$
- res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
- }
-
- @Test
- public void commonBendpoints_Test3() {
- List<Point> wantedResult = new ArrayList<Point>();
- wantedResult.add(new Point(280, 840));
- wantedResult.add(new Point(280, 920));
-
- PapyrusEdgeFigure fig = getLinkFigureFor("Association6"); //$NON-NLS-1$
- Collection<Point> res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
-
-
- fig = getLinkFigureFor("Association7"); //$NON-NLS-1$
- res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
- }
-
- //no common bendpoints between 2 kind of uml link
- @Test
- public void testCommonbendpoints_Test4() {
- List<Point> wantedResult = new ArrayList<Point>();
-
- PapyrusEdgeFigure fig = getLinkFigureFor("Association5"); //$NON-NLS-1$
- Collection<Point> res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
-
-
- fig = getLinkFigureFor("Dependency1"); //$NON-NLS-1$
- res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
- }
-
- @Test
- public void commonBendpoints_Test5() {
- List<Point> wantedResult = new ArrayList<Point>();
- wantedResult.add(new Point(1000, 940));
- PapyrusEdgeFigure fig = getLinkFigureFor("Association8"); //$NON-NLS-1$
- Collection<Point> res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
-
-
- fig = getLinkFigureFor("Association9"); //$NON-NLS-1$
- res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
- }
-
- @Test
- public void commonBendpoints_Test6() {
- List<Point> wantedResult = new ArrayList<Point>();
- wantedResult.add(new Point(260, 1200));
- wantedResult.add(new Point(360, 1280));
- wantedResult.add(new Point(380, 1220));
- PapyrusEdgeFigure fig = getLinkFigureFor("Association10"); //$NON-NLS-1$
- Collection<Point> res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
-
-
- fig = getLinkFigureFor("Association1&"); //$NON-NLS-1$
- res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
- }
-
- @Test
- public void testCommonbendpoints_Test7() {
- List<Point> wantedResult = new ArrayList<Point>();
-
- PapyrusEdgeFigure fig = getLinkFigureFor("Association12"); //$NON-NLS-1$
- Collection<Point> res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
-
-
- fig = getLinkFigureFor("Association13"); //$NON-NLS-1$
- res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
- }
-
- @Test
- public void testCommonbendpoints_Test8() {
- List<Point> wantedResult = new ArrayList<Point>();
-
- PapyrusEdgeFigure fig = getLinkFigureFor("Association14"); //$NON-NLS-1$
- Collection<Point> res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
-
-
- fig = getLinkFigureFor("Association15"); //$NON-NLS-1$
- res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
- }
-
- @Test
- public void testCommonbendpoints_Test9() {
- List<Point> wantedResult = new ArrayList<Point>();
-
- PapyrusEdgeFigure fig = getLinkFigureFor("Association22"); //$NON-NLS-1$
- Collection<Point> res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
-
-
- fig = getLinkFigureFor("Association23"); //$NON-NLS-1$
- res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
- }
-
- @Test
- public void testCommonbendpoints_Test10() {
- List<Point> wantedResult = new ArrayList<Point>();
- wantedResult.add(new Point(280, 1900));
- wantedResult.add(new Point(280, 1940));
- wantedResult.add(new Point(280, 2000));
- wantedResult.add(new Point(280, 2040));
-
- PapyrusEdgeFigure fig = getLinkFigureFor("Association16"); //$NON-NLS-1$
- Collection<Point> res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
-
-
- fig = getLinkFigureFor("Association17"); //$NON-NLS-1$
- res = fig.getCommonBendpointsToDraw();
- verifyCommonBendpoints(wantedResult, res);
- }
-
- @Test
- public void testCommonbendpoints_Test11() {
-
- PapyrusEdgeFigure fig = getLinkFigureFor("Association19"); //$NON-NLS-1$
- Collection<Point> res = fig.getCommonBendpointsToDraw();
- List<Point> wantedResult = new ArrayList<Point>();
- wantedResult.add(new Point(740, 1980));
- verifyCommonBendpoints(wantedResult, res);
-
-
- fig = getLinkFigureFor("Association20"); //$NON-NLS-1$
- res = fig.getCommonBendpointsToDraw();
- wantedResult = new ArrayList<Point>();
- wantedResult.add(new Point(740, 1980));
- wantedResult.add(new Point(780, 2020));
- wantedResult.add(new Point(780, 2060));
- verifyCommonBendpoints(wantedResult, res);
-
-
- fig = getLinkFigureFor("Association21"); //$NON-NLS-1$
- res = fig.getCommonBendpointsToDraw();
- wantedResult = new ArrayList<Point>();
- wantedResult.add(new Point(780, 2020));
- wantedResult.add(new Point(780, 2060));
- verifyCommonBendpoints(wantedResult, res);
- }
-
- protected ISelectionService getSelectionService() {
- return PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService();
- }
-
- protected IStructuredSelection getCurrentSelection() {
- ISelectionService serv = getSelectionService();
- ISelection selection = serv.getSelection();
- return (IStructuredSelection)selection;
- }
-
-
- @Override
- protected Bundle getBundle() {
- return Activator.getDefault().getBundle();
- }
-
- @Override
- protected String getSourcePath() {
- return "resources/"; //$NON-NLS-1$
- }
-}
+/***************************************************************************** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.uml.diagram.common.tests.tests; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.Collection; +import java.util.Collections; +import java.util.List; + +import org.eclipse.core.runtime.CoreException; +import org.eclipse.draw2d.IFigure; +import org.eclipse.draw2d.geometry.Point; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.ResourceSet; +import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart; +import org.eclipse.gmf.runtime.notation.Diagram; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.papyrus.infra.core.services.ServiceException; +import org.eclipse.papyrus.infra.gmfdiag.common.figure.edge.PapyrusEdgeFigure; +import org.eclipse.papyrus.infra.widgets.util.IRevealSemanticElement; +import org.eclipse.papyrus.junit.utils.tests.AbstractEditorTest; +import org.eclipse.papyrus.uml.diagram.common.tests.Activator; +import org.eclipse.ui.ISelectionService; +import org.eclipse.ui.PlatformUI; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.NamedElement; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; +import org.osgi.framework.Bundle; + +/** + * + * @author Vincent Lorenzo + * + */ +public class CommonBendpointsTest extends AbstractEditorTest { + + protected Resource di; + + protected Resource notation; + + protected Resource uml; + + protected Diagram diag; + + protected Model root; + + /** + * + * Constructor. + * This plugin test the ModelExplorerView + */ + public CommonBendpointsTest() { + super(); + } + + + @Before + public void initTests() throws CoreException, IOException { + try { + initModel("testBendpoints", "model", getBundle()); //$NON-NLS-1$ //$NON-NLS-2$ + } catch (Exception e) { + e.printStackTrace(); + } + + ResourceSet set = null; + try { + set = getModelSet(); + } catch (ServiceException e) { + e.printStackTrace(); + } + // IEditorInput input = this.editor.getEditorInput(); + List<Resource> resources = set.getResources(); + for(Resource current : resources) { + // current.load(null); + if(current.getURI().lastSegment().equals("model.uml")) { //$NON-NLS-1$ + this.uml = current; + } else if(current.getURI().lastSegment().equals("model.notation")) { //$NON-NLS-1$ + this.notation = current; + } else if(current.getURI().lastSegment().equals("model.di")) { //$NON-NLS-1$ + this.di = current; + } + + + } + this.diag = (Diagram)this.notation.getAllContents().next(); + this.root = (Model)this.uml.getContents().get(0); + } + + protected void verifyCommonBendpoints(final List<Point> wantedPoints, final Collection<Point> pointsFound1) { + List<Point> pointsFound = new ArrayList<Point>(pointsFound1); + Assert.assertEquals(wantedPoints.size(), pointsFound.size()); + for(Point current : pointsFound) { + Assert.assertTrue(wantedPoints.contains(current)); + } + + } + + /** + * + * @param name + * the name of a uml element + * @return + * the link figure for the element + */ + protected PapyrusEdgeFigure getLinkFigureFor(final String name) { + final NamedElement element = this.root.getMember(name); + Assert.assertTrue(this.editor.getActiveEditor() instanceof IRevealSemanticElement); + ((IRevealSemanticElement)this.editor.getActiveEditor()).revealSemanticElement(Collections.singletonList(element)); + final ISelection selection = getSelectionService().getSelection(); + Assert.assertTrue(selection instanceof IStructuredSelection); + Object current = ((IStructuredSelection)selection).getFirstElement(); + Assert.assertTrue(current instanceof IGraphicalEditPart); + final IFigure fig = ((IGraphicalEditPart)current).getFigure(); + Assert.assertTrue(fig instanceof PapyrusEdgeFigure); + return (PapyrusEdgeFigure)fig; + } + + @Test + public void commonBendpoints_Test1() { + List<Point> wantedResult = new ArrayList<Point>(); + wantedResult.add(new Point(300, 140)); + + PapyrusEdgeFigure fig = getLinkFigureFor("Association1"); //$NON-NLS-1$ + Collection<Point> res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + + + fig = getLinkFigureFor("Association2"); //$NON-NLS-1$ + res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + + + } + + //no common bendpoints when the link do not share their source or their target + @Test + public void commonBendpoints_Test2() { + List<Point> wantedResult = new ArrayList<Point>(); + + PapyrusEdgeFigure fig = getLinkFigureFor("Association3"); //$NON-NLS-1$ + Collection<Point> res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + + + fig = getLinkFigureFor("Association4"); //$NON-NLS-1$ + res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + } + + @Test + public void commonBendpoints_Test3() { + List<Point> wantedResult = new ArrayList<Point>(); + wantedResult.add(new Point(280, 840)); + wantedResult.add(new Point(280, 920)); + + PapyrusEdgeFigure fig = getLinkFigureFor("Association6"); //$NON-NLS-1$ + Collection<Point> res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + + + fig = getLinkFigureFor("Association7"); //$NON-NLS-1$ + res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + } + + //no common bendpoints between 2 kind of uml link + @Test + public void testCommonbendpoints_Test4() { + List<Point> wantedResult = new ArrayList<Point>(); + + PapyrusEdgeFigure fig = getLinkFigureFor("Association5"); //$NON-NLS-1$ + Collection<Point> res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + + + fig = getLinkFigureFor("Dependency1"); //$NON-NLS-1$ + res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + } + + @Test + public void commonBendpoints_Test5() { + List<Point> wantedResult = new ArrayList<Point>(); + wantedResult.add(new Point(1000, 940)); + PapyrusEdgeFigure fig = getLinkFigureFor("Association8"); //$NON-NLS-1$ + Collection<Point> res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + + + fig = getLinkFigureFor("Association9"); //$NON-NLS-1$ + res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + } + + @Test + public void commonBendpoints_Test6() { + List<Point> wantedResult = new ArrayList<Point>(); + wantedResult.add(new Point(260, 1200)); + wantedResult.add(new Point(360, 1280)); + wantedResult.add(new Point(380, 1220)); + PapyrusEdgeFigure fig = getLinkFigureFor("Association10"); //$NON-NLS-1$ + Collection<Point> res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + + + fig = getLinkFigureFor("Association1&"); //$NON-NLS-1$ + res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + } + + @Test + public void testCommonbendpoints_Test7() { + List<Point> wantedResult = new ArrayList<Point>(); + + PapyrusEdgeFigure fig = getLinkFigureFor("Association12"); //$NON-NLS-1$ + Collection<Point> res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + + + fig = getLinkFigureFor("Association13"); //$NON-NLS-1$ + res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + } + + @Test + public void testCommonbendpoints_Test8() { + List<Point> wantedResult = new ArrayList<Point>(); + + PapyrusEdgeFigure fig = getLinkFigureFor("Association14"); //$NON-NLS-1$ + Collection<Point> res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + + + fig = getLinkFigureFor("Association15"); //$NON-NLS-1$ + res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + } + + @Test + public void testCommonbendpoints_Test9() { + List<Point> wantedResult = new ArrayList<Point>(); + + PapyrusEdgeFigure fig = getLinkFigureFor("Association22"); //$NON-NLS-1$ + Collection<Point> res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + + + fig = getLinkFigureFor("Association23"); //$NON-NLS-1$ + res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + } + + @Test + public void testCommonbendpoints_Test10() { + List<Point> wantedResult = new ArrayList<Point>(); + wantedResult.add(new Point(280, 1900)); + wantedResult.add(new Point(280, 1940)); + wantedResult.add(new Point(280, 2000)); + wantedResult.add(new Point(280, 2040)); + + PapyrusEdgeFigure fig = getLinkFigureFor("Association16"); //$NON-NLS-1$ + Collection<Point> res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + + + fig = getLinkFigureFor("Association17"); //$NON-NLS-1$ + res = fig.getCommonBendpointsToDraw(); + verifyCommonBendpoints(wantedResult, res); + } + + @Test + public void testCommonbendpoints_Test11() { + + PapyrusEdgeFigure fig = getLinkFigureFor("Association19"); //$NON-NLS-1$ + Collection<Point> res = fig.getCommonBendpointsToDraw(); + List<Point> wantedResult = new ArrayList<Point>(); + wantedResult.add(new Point(740, 1980)); + verifyCommonBendpoints(wantedResult, res); + + + fig = getLinkFigureFor("Association20"); //$NON-NLS-1$ + res = fig.getCommonBendpointsToDraw(); + wantedResult = new ArrayList<Point>(); + wantedResult.add(new Point(740, 1980)); + wantedResult.add(new Point(780, 2020)); + wantedResult.add(new Point(780, 2060)); + verifyCommonBendpoints(wantedResult, res); + + + fig = getLinkFigureFor("Association21"); //$NON-NLS-1$ + res = fig.getCommonBendpointsToDraw(); + wantedResult = new ArrayList<Point>(); + wantedResult.add(new Point(780, 2020)); + wantedResult.add(new Point(780, 2060)); + verifyCommonBendpoints(wantedResult, res); + } + + protected ISelectionService getSelectionService() { + return PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService(); + } + + protected IStructuredSelection getCurrentSelection() { + ISelectionService serv = getSelectionService(); + ISelection selection = serv.getSelection(); + return (IStructuredSelection)selection; + } + + + @Override + protected Bundle getBundle() { + return Activator.getDefault().getBundle(); + } + + @Override + protected String getSourcePath() { + return "resources/"; //$NON-NLS-1$ + } +} diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/EdgeCustomizationTest.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/EdgeCustomizationTest.java index d1f04b8a6e9..14a69c5f2ce 100644 --- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/EdgeCustomizationTest.java +++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/tests/EdgeCustomizationTest.java @@ -1,235 +1,235 @@ -/*****************************************************************************
- * Copyright (c) 2017 CEA LIST, ALL4TEC and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Mickaël ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and implementation
- *****************************************************************************/
-
-package org.eclipse.papyrus.uml.diagram.common.tests.tests;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
-import static org.junit.Assert.assertTrue;
-
-import java.util.Iterator;
-
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.RotatableDecoration;
-import org.eclipse.emf.common.command.CommandStack;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
-import org.eclipse.gmf.runtime.notation.Diagram;
-import org.eclipse.gmf.runtime.notation.NotationPackage;
-import org.eclipse.gmf.runtime.notation.StringValueStyle;
-import org.eclipse.gmf.runtime.notation.View;
-import org.eclipse.papyrus.infra.core.resource.ModelSet;
-import org.eclipse.papyrus.infra.gmfdiag.common.databinding.custom.CustomStyleValueCommand;
-import org.eclipse.papyrus.infra.gmfdiag.common.decoration.ConnectionDecorationRegistry;
-import org.eclipse.papyrus.infra.gmfdiag.common.decoration.OpenArrowConnectionDecoration;
-import org.eclipse.papyrus.infra.gmfdiag.common.editpart.ConnectionEditPart;
-import org.eclipse.papyrus.infra.gmfdiag.common.editpart.IPapyrusEditPart;
-import org.eclipse.papyrus.infra.gmfdiag.common.figure.edge.PapyrusEdgeFigure;
-import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper;
-import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest;
-import org.eclipse.papyrus.junit.utils.DiagramUtils;
-import org.eclipse.papyrus.junit.utils.rules.PapyrusEditorFixture;
-import org.eclipse.papyrus.junit.utils.rules.PluginResource;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Rule;
-import org.junit.Test;
-
-/**
- * <pre>
- * Tests for the edge source and target decoration customization.
- * </pre>
- *
- * @author Mickaël ADAM
- */
-@SuppressWarnings("nls")
-@PluginResource("/resources/edgeCustomisation/edgeCustomisation.di")
-public class EdgeCustomizationTest extends AbstractPapyrusTest {
-
- /** The model set fixture. */
- @Rule
- public final PapyrusEditorFixture modelSetFixture = new PapyrusEditorFixture();
-
- /** The diagram. */
- private Diagram diagram = null;
-
- /** The connector edit part with default style. */
- private EditPart defaultConnectorEditPart = null;
-
- /** The connector edit part with CSS style. */
- private EditPart cssConnectorEditPart = null;
-
- /** The connector edit part with style set with properties view. */
- private EditPart propertiesConnectorEditPart = null;
-
- /**
- * Initialize tests.
- */
- @Before
- public void init() {
- diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "Composite Structure Diagram");
- assertNotNull(diagram);
-
- defaultConnectorEditPart = getEditPart("DefaultConnector");
- Assert.assertTrue("The Edit Part must be a ConnectionEditPart", defaultConnectorEditPart instanceof ConnectionEditPart);
-
- cssConnectorEditPart = getEditPart("CSSConnector");
- Assert.assertTrue("The Edit Part must be a ConnectionEditPart", cssConnectorEditPart instanceof ConnectionEditPart);
-
- propertiesConnectorEditPart = getEditPart("PropertiesSetConnector");
- Assert.assertTrue("The Edit Part must be a ConnectionEditPart", propertiesConnectorEditPart instanceof ConnectionEditPart);
- }
-
-
- /**
- * Test the edge decoration customization.
- */
- @Test
- public void testEdgeDecoration() {
- testDefaultEdgeDecoration();
- testPropertiesEdgeDecoration();
- testCSSEdgeDecoration();
- }
-
- /**
- * Test the {@link ConnectionDecorationRegistry}.
- */
- @Test
- public void testConnectionDecorationRegistry() {
- Class<? extends RotatableDecoration> decorationClass = ConnectionDecorationRegistry.getInstance().getDecorationClass("open_arrow");
- assertNotNull("open_arrow decoration must exist", decorationClass);
- if (null != decorationClass) {
- // load the class
- RotatableDecoration decoration = ClassLoaderHelper.newInstance(decorationClass);
- assertTrue("Instanciate decoration must be instance of OpenArrowConnectionDecoration", decoration instanceof OpenArrowConnectionDecoration);
- }
- }
-
- /**
- * Test the connector with default edge decoration.
- */
- private void testDefaultEdgeDecoration() {
- IFigure primaryShape = ((IPapyrusEditPart) defaultConnectorEditPart).getPrimaryShape();
- Assert.assertTrue("The Figure must implement PapyrusEdgeFigure", primaryShape instanceof PapyrusEdgeFigure);
-
- // Default value test:
- String sourceDecoration = extract((StringValueStyle) ((View) defaultConnectorEditPart.getModel()).getNamedStyle(NotationPackage.eINSTANCE.getStringValueStyle(), ConnectionEditPart.SOURCE_DECORATION));
- assertNull("Default source decoration must be null", sourceDecoration);
-
- // Set Value Style
- getCommandStack().execute(
- new CustomStyleValueCommand((View) defaultConnectorEditPart.getModel(), "open_arrow", NotationPackage.eINSTANCE.getStringValueStyle(), NotationPackage.eINSTANCE.getStringValueStyle_StringValue(), ConnectionEditPart.SOURCE_DECORATION));
-
- // test of set command
- sourceDecoration = extract((StringValueStyle) ((View) defaultConnectorEditPart.getModel()).getNamedStyle(NotationPackage.eINSTANCE.getStringValueStyle(), ConnectionEditPart.SOURCE_DECORATION));
- assertEquals("SourceDecoration value style must be open_arrow", "open_arrow", sourceDecoration);
- }
-
- /**
- * Test the connector with edge decoration set with properties view.
- */
- private void testPropertiesEdgeDecoration() {
- IFigure primaryShape = ((IPapyrusEditPart) propertiesConnectorEditPart).getPrimaryShape();
- Assert.assertTrue("The Figure must implement PapyrusEdgeFigure", primaryShape instanceof PapyrusEdgeFigure);
-
- // Default value test:
- String sourceDecoration = extract((StringValueStyle) ((View) propertiesConnectorEditPart.getModel()).getNamedStyle(NotationPackage.eINSTANCE.getStringValueStyle(), ConnectionEditPart.SOURCE_DECORATION));
- assertEquals("SourceDecoration value style must be solid_diamond_filled", "solid_diamond_filled", sourceDecoration);
-
- // Set Value Style
- getCommandStack().execute(
- new CustomStyleValueCommand((View) propertiesConnectorEditPart.getModel(), "open_arrow", NotationPackage.eINSTANCE.getStringValueStyle(), NotationPackage.eINSTANCE.getStringValueStyle_StringValue(), ConnectionEditPart.SOURCE_DECORATION));
-
- // test of set command
- sourceDecoration = extract((StringValueStyle) ((View) propertiesConnectorEditPart.getModel()).getNamedStyle(NotationPackage.eINSTANCE.getStringValueStyle(), ConnectionEditPart.SOURCE_DECORATION));
- assertEquals("SourceDecoration value style must be open_arrow", "open_arrow", sourceDecoration);
- }
-
- /**
- * Test the connector with edge decoration set with CSS.
- */
- private void testCSSEdgeDecoration() {
- IFigure primaryShape = ((IPapyrusEditPart) cssConnectorEditPart).getPrimaryShape();
- Assert.assertTrue("The Figure must implement PapyrusEdgeFigure", primaryShape instanceof PapyrusEdgeFigure);
-
- // Default value test:
- String sourceDecoration = extract((StringValueStyle) ((View) cssConnectorEditPart.getModel()).getNamedStyle(NotationPackage.eINSTANCE.getStringValueStyle(), ConnectionEditPart.SOURCE_DECORATION));
- assertEquals("SourceDecoration value style must be open_arrow", "open_arrow", sourceDecoration);
-
- // Set Value Style
- getCommandStack().execute(
- new CustomStyleValueCommand((View) cssConnectorEditPart.getModel(), "solid_diamond_filled", NotationPackage.eINSTANCE.getStringValueStyle(), NotationPackage.eINSTANCE.getStringValueStyle_StringValue(), ConnectionEditPart.SOURCE_DECORATION));
-
- // test of set command
- sourceDecoration = extract((StringValueStyle) ((View) cssConnectorEditPart.getModel()).getNamedStyle(NotationPackage.eINSTANCE.getStringValueStyle(), ConnectionEditPart.SOURCE_DECORATION));
- assertEquals("SourceDecoration value style must be solid_diamond_filled", "solid_diamond_filled", sourceDecoration);
- }
-
-
- /**
- * Gets the command stack.
- *
- * @return the command stack
- */
- private CommandStack getCommandStack() {
- return modelSetFixture.getEditingDomain().getCommandStack();
- }
-
- /**
- * Gets the edit part.
- *
- * @param semanticElement
- * the semantic element name
- * @return the edit part
- */
- private EditPart getEditPart(final String semanticElement) {
- modelSetFixture.getPageManager().openPage(diagram);
-
- View diagramView = DiagramUtils.findShape(diagram, semanticElement);
- if (null == diagramView) {
- diagramView = DiagramUtils.findEdge(diagram, semanticElement);
- }
- if (null == diagramView) {
- Iterator<?> iterator = diagram.eAllContents();
- while (null == diagramView && iterator.hasNext()) {
- Object object = iterator.next();
- if (object instanceof View) {
- diagramView = DiagramUtils.findShape((View) object, semanticElement);
- if (null == diagramView) {
- diagramView = DiagramUtils.findEdge((View) object, semanticElement);
- }
- }
- }
- }
- assertNotNull(diagramView);
- IGraphicalEditPart semanticEP = DiagramUtils.findEditPartforView(modelSetFixture.getEditor(), diagramView, IGraphicalEditPart.class);
- assertNotNull(semanticEP);
-
- return semanticEP;
- }
-
- /**
- * Extracts the string value from the given style
- *
- * @param style
- * The style
- * @return The primitive value
- */
- private String extract(final StringValueStyle style) {
- if (null == style || null == style.getStringValue() || style.getStringValue().isEmpty()) {
- return null;
- }
- return style.getStringValue();
- }
-
-}
+/***************************************************************************** + * Copyright (c) 2017 CEA LIST, ALL4TEC and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Mickaël ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and implementation + *****************************************************************************/ + +package org.eclipse.papyrus.uml.diagram.common.tests.tests; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; + +import java.util.Iterator; + +import org.eclipse.draw2d.IFigure; +import org.eclipse.draw2d.RotatableDecoration; +import org.eclipse.emf.common.command.CommandStack; +import org.eclipse.gef.EditPart; +import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart; +import org.eclipse.gmf.runtime.notation.Diagram; +import org.eclipse.gmf.runtime.notation.NotationPackage; +import org.eclipse.gmf.runtime.notation.StringValueStyle; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.infra.core.resource.ModelSet; +import org.eclipse.papyrus.infra.gmfdiag.common.databinding.custom.CustomStyleValueCommand; +import org.eclipse.papyrus.infra.gmfdiag.common.decoration.ConnectionDecorationRegistry; +import org.eclipse.papyrus.infra.gmfdiag.common.decoration.OpenArrowConnectionDecoration; +import org.eclipse.papyrus.infra.gmfdiag.common.editpart.ConnectionEditPart; +import org.eclipse.papyrus.infra.gmfdiag.common.editpart.IPapyrusEditPart; +import org.eclipse.papyrus.infra.gmfdiag.common.figure.edge.PapyrusEdgeFigure; +import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper; +import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest; +import org.eclipse.papyrus.junit.utils.DiagramUtils; +import org.eclipse.papyrus.junit.utils.rules.PapyrusEditorFixture; +import org.eclipse.papyrus.junit.utils.rules.PluginResource; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Rule; +import org.junit.Test; + +/** + * <pre> + * Tests for the edge source and target decoration customization. + * </pre> + * + * @author Mickaël ADAM + */ +@SuppressWarnings("nls") +@PluginResource("/resources/edgeCustomisation/edgeCustomisation.di") +public class EdgeCustomizationTest extends AbstractPapyrusTest { + + /** The model set fixture. */ + @Rule + public final PapyrusEditorFixture modelSetFixture = new PapyrusEditorFixture(); + + /** The diagram. */ + private Diagram diagram = null; + + /** The connector edit part with default style. */ + private EditPart defaultConnectorEditPart = null; + + /** The connector edit part with CSS style. */ + private EditPart cssConnectorEditPart = null; + + /** The connector edit part with style set with properties view. */ + private EditPart propertiesConnectorEditPart = null; + + /** + * Initialize tests. + */ + @Before + public void init() { + diagram = DiagramUtils.getNotationDiagram((ModelSet) modelSetFixture.getResourceSet(), "Composite Structure Diagram"); + assertNotNull(diagram); + + defaultConnectorEditPart = getEditPart("DefaultConnector"); + Assert.assertTrue("The Edit Part must be a ConnectionEditPart", defaultConnectorEditPart instanceof ConnectionEditPart); + + cssConnectorEditPart = getEditPart("CSSConnector"); + Assert.assertTrue("The Edit Part must be a ConnectionEditPart", cssConnectorEditPart instanceof ConnectionEditPart); + + propertiesConnectorEditPart = getEditPart("PropertiesSetConnector"); + Assert.assertTrue("The Edit Part must be a ConnectionEditPart", propertiesConnectorEditPart instanceof ConnectionEditPart); + } + + + /** + * Test the edge decoration customization. + */ + @Test + public void testEdgeDecoration() { + testDefaultEdgeDecoration(); + testPropertiesEdgeDecoration(); + testCSSEdgeDecoration(); + } + + /** + * Test the {@link ConnectionDecorationRegistry}. + */ + @Test + public void testConnectionDecorationRegistry() { + Class<? extends RotatableDecoration> decorationClass = ConnectionDecorationRegistry.getInstance().getDecorationClass("open_arrow"); + assertNotNull("open_arrow decoration must exist", decorationClass); + if (null != decorationClass) { + // load the class + RotatableDecoration decoration = ClassLoaderHelper.newInstance(decorationClass); + assertTrue("Instanciate decoration must be instance of OpenArrowConnectionDecoration", decoration instanceof OpenArrowConnectionDecoration); + } + } + + /** + * Test the connector with default edge decoration. + */ + private void testDefaultEdgeDecoration() { + IFigure primaryShape = ((IPapyrusEditPart) defaultConnectorEditPart).getPrimaryShape(); + Assert.assertTrue("The Figure must implement PapyrusEdgeFigure", primaryShape instanceof PapyrusEdgeFigure); + + // Default value test: + String sourceDecoration = extract((StringValueStyle) ((View) defaultConnectorEditPart.getModel()).getNamedStyle(NotationPackage.eINSTANCE.getStringValueStyle(), ConnectionEditPart.SOURCE_DECORATION)); + assertNull("Default source decoration must be null", sourceDecoration); + + // Set Value Style + getCommandStack().execute( + new CustomStyleValueCommand((View) defaultConnectorEditPart.getModel(), "open_arrow", NotationPackage.eINSTANCE.getStringValueStyle(), NotationPackage.eINSTANCE.getStringValueStyle_StringValue(), ConnectionEditPart.SOURCE_DECORATION)); + + // test of set command + sourceDecoration = extract((StringValueStyle) ((View) defaultConnectorEditPart.getModel()).getNamedStyle(NotationPackage.eINSTANCE.getStringValueStyle(), ConnectionEditPart.SOURCE_DECORATION)); + assertEquals("SourceDecoration value style must be open_arrow", "open_arrow", sourceDecoration); + } + + /** + * Test the connector with edge decoration set with properties view. + */ + private void testPropertiesEdgeDecoration() { + IFigure primaryShape = ((IPapyrusEditPart) propertiesConnectorEditPart).getPrimaryShape(); + Assert.assertTrue("The Figure must implement PapyrusEdgeFigure", primaryShape instanceof PapyrusEdgeFigure); + + // Default value test: + String sourceDecoration = extract((StringValueStyle) ((View) propertiesConnectorEditPart.getModel()).getNamedStyle(NotationPackage.eINSTANCE.getStringValueStyle(), ConnectionEditPart.SOURCE_DECORATION)); + assertEquals("SourceDecoration value style must be solid_diamond_filled", "solid_diamond_filled", sourceDecoration); + + // Set Value Style + getCommandStack().execute( + new CustomStyleValueCommand((View) propertiesConnectorEditPart.getModel(), "open_arrow", NotationPackage.eINSTANCE.getStringValueStyle(), NotationPackage.eINSTANCE.getStringValueStyle_StringValue(), ConnectionEditPart.SOURCE_DECORATION)); + + // test of set command + sourceDecoration = extract((StringValueStyle) ((View) propertiesConnectorEditPart.getModel()).getNamedStyle(NotationPackage.eINSTANCE.getStringValueStyle(), ConnectionEditPart.SOURCE_DECORATION)); + assertEquals("SourceDecoration value style must be open_arrow", "open_arrow", sourceDecoration); + } + + /** + * Test the connector with edge decoration set with CSS. + */ + private void testCSSEdgeDecoration() { + IFigure primaryShape = ((IPapyrusEditPart) cssConnectorEditPart).getPrimaryShape(); + Assert.assertTrue("The Figure must implement PapyrusEdgeFigure", primaryShape instanceof PapyrusEdgeFigure); + + // Default value test: + String sourceDecoration = extract((StringValueStyle) ((View) cssConnectorEditPart.getModel()).getNamedStyle(NotationPackage.eINSTANCE.getStringValueStyle(), ConnectionEditPart.SOURCE_DECORATION)); + assertEquals("SourceDecoration value style must be open_arrow", "open_arrow", sourceDecoration); + + // Set Value Style + getCommandStack().execute( + new CustomStyleValueCommand((View) cssConnectorEditPart.getModel(), "solid_diamond_filled", NotationPackage.eINSTANCE.getStringValueStyle(), NotationPackage.eINSTANCE.getStringValueStyle_StringValue(), ConnectionEditPart.SOURCE_DECORATION)); + + // test of set command + sourceDecoration = extract((StringValueStyle) ((View) cssConnectorEditPart.getModel()).getNamedStyle(NotationPackage.eINSTANCE.getStringValueStyle(), ConnectionEditPart.SOURCE_DECORATION)); + assertEquals("SourceDecoration value style must be solid_diamond_filled", "solid_diamond_filled", sourceDecoration); + } + + + /** + * Gets the command stack. + * + * @return the command stack + */ + private CommandStack getCommandStack() { + return modelSetFixture.getEditingDomain().getCommandStack(); + } + + /** + * Gets the edit part. + * + * @param semanticElement + * the semantic element name + * @return the edit part + */ + private EditPart getEditPart(final String semanticElement) { + modelSetFixture.getPageManager().openPage(diagram); + + View diagramView = DiagramUtils.findShape(diagram, semanticElement); + if (null == diagramView) { + diagramView = DiagramUtils.findEdge(diagram, semanticElement); + } + if (null == diagramView) { + Iterator<?> iterator = diagram.eAllContents(); + while (null == diagramView && iterator.hasNext()) { + Object object = iterator.next(); + if (object instanceof View) { + diagramView = DiagramUtils.findShape((View) object, semanticElement); + if (null == diagramView) { + diagramView = DiagramUtils.findEdge((View) object, semanticElement); + } + } + } + } + assertNotNull(diagramView); + IGraphicalEditPart semanticEP = DiagramUtils.findEditPartforView(modelSetFixture.getEditor(), diagramView, IGraphicalEditPart.class); + assertNotNull(semanticEP); + + return semanticEP; + } + + /** + * Extracts the string value from the given style + * + * @param style + * The style + * @return The primitive value + */ + private String extract(final StringValueStyle style) { + if (null == style || null == style.getStringValue() || style.getStringValue().isEmpty()) { + return null; + } + return style.getStringValue(); + } + +} |