diff options
Diffstat (limited to 'extraplugins/alf')
199 files changed, 0 insertions, 192247 deletions
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/.classpath b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/.classpath deleted file mode 100644 index b1dabee3829..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/.classpath +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/.project b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/.project deleted file mode 100644 index 116c74ef06e..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/.project +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.uml.alf.text</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/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/.settings/org.eclipse.jdt.core.prefs b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 9ca8e68231b..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,291 +0,0 @@ -eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
-org.eclipse.jdt.core.compiler.compliance=1.7
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.7
-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/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/.settings/org.eclipse.jdt.ui.prefs b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index 954281dbc31..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,68 +0,0 @@ -cleanup.add_default_serial_version_id=true -cleanup.add_generated_serial_version_id=false -cleanup.add_missing_annotations=true -cleanup.add_missing_deprecated_annotations=true -cleanup.add_missing_methods=false -cleanup.add_missing_nls_tags=false -cleanup.add_missing_override_annotations=true -cleanup.add_missing_override_annotations_interface_methods=true -cleanup.add_serial_version_id=false -cleanup.always_use_blocks=true -cleanup.always_use_parentheses_in_expressions=false -cleanup.always_use_this_for_non_static_field_access=false -cleanup.always_use_this_for_non_static_method_access=false -cleanup.convert_functional_interfaces=false -cleanup.convert_to_enhanced_for_loop=false -cleanup.correct_indentation=false -cleanup.format_source_code=false -cleanup.format_source_code_changes_only=false -cleanup.insert_inferred_type_arguments=false -cleanup.make_local_variable_final=true -cleanup.make_parameters_final=false -cleanup.make_private_fields_final=true -cleanup.make_type_abstract_if_missing_method=false -cleanup.make_variable_declarations_final=false -cleanup.never_use_blocks=false -cleanup.never_use_parentheses_in_expressions=true -cleanup.organize_imports=false -cleanup.qualify_static_field_accesses_with_declaring_class=false -cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true -cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true -cleanup.qualify_static_member_accesses_with_declaring_class=true -cleanup.qualify_static_method_accesses_with_declaring_class=false -cleanup.remove_private_constructors=true -cleanup.remove_redundant_type_arguments=true -cleanup.remove_trailing_whitespaces=true -cleanup.remove_trailing_whitespaces_all=true -cleanup.remove_trailing_whitespaces_ignore_empty=false -cleanup.remove_unnecessary_casts=true -cleanup.remove_unnecessary_nls_tags=true -cleanup.remove_unused_imports=true -cleanup.remove_unused_local_variables=false -cleanup.remove_unused_private_fields=true -cleanup.remove_unused_private_members=false -cleanup.remove_unused_private_methods=true -cleanup.remove_unused_private_types=true -cleanup.sort_members=false -cleanup.sort_members_all=false -cleanup.use_anonymous_class_creation=false -cleanup.use_blocks=true -cleanup.use_blocks_only_for_return_and_throw=false -cleanup.use_lambda=true -cleanup.use_parentheses_in_expressions=false -cleanup.use_this_for_non_static_field_access=false -cleanup.use_this_for_non_static_field_access_only_if_necessary=true -cleanup.use_this_for_non_static_method_access=false -cleanup.use_this_for_non_static_method_access_only_if_necessary=true -cleanup.use_type_arguments=false -cleanup_profile=_Papyrus -cleanup_settings_version=2 -eclipse.preferences.version=1 -formatter_profile=_Papyrus -formatter_settings_version=12 -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=java;javax;org;com; -org.eclipse.jdt.ui.javadoc=true -org.eclipse.jdt.ui.ondemandthreshold=99 -org.eclipse.jdt.ui.staticondemandthreshold=99 -org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="false" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * Constructor.\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*****************************************************************************\n * Copyright (c) ${year} CEA LIST and others.\n * \n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which accompanies this distribution, and is available at\n * http\://www.eclipse.org/legal/epl-v10.html\n *\n * Contributors\:\n * CEA LIST - Initial API and implementation\n * \n *****************************************************************************/\n</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/**\n * ${see_to_overridden}\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${see_to_target}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates> diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/META-INF/MANIFEST.MF b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/META-INF/MANIFEST.MF deleted file mode 100644 index 5387153d4c8..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/META-INF/MANIFEST.MF +++ /dev/null @@ -1,23 +0,0 @@ -Manifest-Version: 1.0
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.uml2.uml,
- org.eclipse.papyrus.uml.alf;bundle-version="[3.0.0,4.0.0)",
- org.eclipse.papyrus.uml.alf.libraries;bundle-version="[2.0.0,3.0.0)",
- org.eclipse.compare,
- org.eclipse.gmf.runtime.common.core,
- org.eclipse.swt,
- org.eclipse.compare.core,
- org.eclipse.papyrus.infra.core.log;bundle-version="1.2.0"
-Export-Package: org.eclipse.papyrus.uml.alf.text.generation,
- org.eclipse.papyrus.uml.alf.text.merge.manual,
- org.eclipse.papyrus.uml.alf.text.representation,
- org.eclipse.papyrus.uml.alf.text.representation.util
-Bundle-Vendor: Eclipse Modeling Project
-Bundle-ActivationPolicy: lazy
-Bundle-Version: 0.7.0.qualifier
-Bundle-Name: ALF Text (Incubation)
-Bundle-ManifestVersion: 2
-Bundle-Activator: org.eclipse.papyrus.uml.alf.text.ActivatorText
-Bundle-SymbolicName: org.eclipse.papyrus.uml.alf.text
-Bundle-RequiredExecutionEnvironment: JavaSE-1.8
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/about.html b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/about.html deleted file mode 100644 index 209103075a7..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/about.html +++ /dev/null @@ -1,28 +0,0 @@ -<!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/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/build.properties b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/build.properties deleted file mode 100644 index 785a40c0ec7..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/build.properties +++ /dev/null @@ -1,6 +0,0 @@ -source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- about.html
-src.includes = about.html
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/pom.xml b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/pom.xml deleted file mode 100644 index 2d038ab45fd..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/pom.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>org.eclipse.papyrus.extra.releng</artifactId>
- <groupId>org.eclipse.papyrus</groupId>
- <version>3.0.0-SNAPSHOT</version>
- <relativePath>../../../../releng/extra</relativePath>
- </parent>
- <artifactId>org.eclipse.papyrus.uml.alf.text</artifactId>
- <groupId>org.eclipse.papyrus</groupId>
- <version>0.7.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-</project>
\ No newline at end of file diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/ActivatorText.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/ActivatorText.java deleted file mode 100644 index c9089ee5ab1..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/ActivatorText.java +++ /dev/null @@ -1,67 +0,0 @@ -package org.eclipse.papyrus.uml.alf.text;
-
-import org.eclipse.papyrus.infra.core.log.LogHelper;
-import org.eclipse.papyrus.uml.alf.AlfRuntimeModule;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-import com.google.inject.Guice;
-import com.google.inject.Injector;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class ActivatorText extends AbstractUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.papyrus.uml.alf.text"; //$NON-NLS-1$
-
- // The shared instance
- private static ActivatorText plugin;
-
- private Injector injector;
-
- public static LogHelper logger;
-
- /**
- * The constructor
- */
- public ActivatorText() {
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- this.injector = Guice.createInjector(new AlfRuntimeModule());
- logger = new LogHelper(this);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext context) throws Exception {
- plugin = null;
- super.stop(context);
- logger = null;
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static ActivatorText getDefault() {
- return plugin;
- }
-
- public Injector getInjector() {
- return this.injector;
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/generation/DefaultEditStringRetrievalStrategy.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/generation/DefaultEditStringRetrievalStrategy.java deleted file mode 100644 index 85ad34e43bb..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/generation/DefaultEditStringRetrievalStrategy.java +++ /dev/null @@ -1,121 +0,0 @@ -package org.eclipse.papyrus.uml.alf.text.generation;
-
-/*****************************************************************************
- * 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:
- * Jeremie Tatibouet (CEA LIST);
- *****************************************************************************/
-import java.util.Iterator;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.papyrus.uml.alf.Member;
-import org.eclipse.papyrus.uml.alf.PropertyDefinition;
-import org.eclipse.papyrus.uml.alf.text.ActivatorText;
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-import org.eclipse.papyrus.uml.alf.text.representation.util.RepresentationParser;
-import org.eclipse.papyrus.uml.alf.text.representation.util.RepresentationParsingError;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.Property;
-import org.eclipse.xtext.resource.SaveOptions;
-import org.eclipse.xtext.serializer.ISerializer;
-
-public class DefaultEditStringRetrievalStrategy extends EditStringRetrievalStrategy {
-
- /**
- * The serializer associated to the ALF grammar
- */
- private ISerializer serializer;
-
- public DefaultEditStringRetrievalStrategy() {
- this.serializer = ActivatorText.getDefault().getInjector().getInstance(ISerializer.class);
- }
-
- /**
- * Return the textual representation associated to a given model element
- *
- * @param element
- * - the element for which the textual representation is computed
- * @return generated - the textual representation computed for this element
- */
- public String getGeneratedEditString(Element element) {
- String generated = "";
- Resource alfModel = this.getAlfModel((NamedElement) element);
- if (this.serializer != null) {
- EObject serializationTarget = null;
- if (element instanceof Property) {
- serializationTarget = this.getPropertyDefinition((Property) element, alfModel);
- } else {
- serializationTarget = alfModel.getContents().get(0);
- }
- generated = this.serializer.serialize(serializationTarget, SaveOptions.newBuilder().noValidation().getOptions());
- }
- return generated;
- }
-
- /**
- * When opened the editor retrieve the based string on which the user is going to work.
- * There are two possibilities:
- * 1 - The element already has a textual representation associated. Then the return string is the registered representation
- * 2 - The element does not have an associated textual representation. Then the return string is the one dynamically calculated
- *
- * @param element
- * - the element for which the textual representation is computed
- * @return registered - the textual representation computed for this element
- */
- public String getEditString(Element element) {
- AlfTextualRepresentation registeredRep = null;
- /* 1. Parse the representation associated to model element */
- try {
- registeredRep = RepresentationParser.getInstance().
- parse((NamedElement) element);
- } catch (RepresentationParsingError e) {
- e.printStackTrace();
- }
- /* 2. If the representation is in detached state (i.e. there is no model element owning it) then rely on the issued from a snapshot */
- if (registeredRep != null && registeredRep.isDetached()) {
- AlfTextualRepresentation generatedRep = null;
- try {
- generatedRep = RepresentationParser.getInstance().
- getSnapshot((NamedElement) element);
- } catch (RepresentationParsingError e) {
- e.printStackTrace();
- }
- if (generatedRep != null) {
- registeredRep.setText(generatedRep.getContent());
- }
- }
- return registeredRep.getContent();
- }
-
-
- private EObject getPropertyDefinition(Property property, Resource alfModelResource) {
- EObject memberDefinition = null;
- Iterator<EObject> contentIterator = alfModelResource.getAllContents();
- boolean found = false;
- while (contentIterator.hasNext() && !found) {
- EObject currentObject = contentIterator.next();
- if (currentObject instanceof Member) {
- Member member = (Member) currentObject;
- if (member.getVisibility().equals(property.getVisibility().toString())
- && member.getDefinition() instanceof PropertyDefinition) {
- PropertyDefinition definition = (PropertyDefinition) member.getDefinition();
- if (definition.getName().equals(property.getName())) {
- found = (definition.getTypePart().isIsAny() && property.getType() == null)
- || definition.getTypePart().getTypeName().toString().equals(property.getType().toString());
- memberDefinition = member;
- }
- }
- }
- }
- return memberDefinition;
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/generation/EditStringRetrievalStrategy.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/generation/EditStringRetrievalStrategy.java deleted file mode 100644 index 752469be8e5..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/generation/EditStringRetrievalStrategy.java +++ /dev/null @@ -1,47 +0,0 @@ -/*****************************************************************************
- * 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:
- * Jeremie Tatibouet (CEA LIST)
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.text.generation;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.papyrus.uml.alf.MappingError;
-import org.eclipse.papyrus.uml.alf.UMLMapper;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.Property;
-
-public abstract class EditStringRetrievalStrategy {
-
- /**
- * Provide a resource containing the ALF model corresponding to the given UML element
- *
- * @param UMLelement
- * - the element from which the ALF model is computed
- * @return alfModelResource - the resource containing the ALF model
- */
- protected Resource getAlfModel(NamedElement UMLelement) {
- UMLMapper mapper = new UMLMapper();
- Resource alfModelResource = null;
- try {
- if (UMLelement instanceof Property) {
- alfModelResource = mapper.map(((Property) UMLelement).getNamespace());
- } else {
- alfModelResource = mapper.map(UMLelement);
- }
- } catch (MappingError e) {
- e.printStackTrace();
- }
- return alfModelResource;
- }
-
- public abstract String getEditString(Element element);
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/merge/manual/AlfCompareEditor.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/merge/manual/AlfCompareEditor.java deleted file mode 100644 index 9388f4f7de1..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/merge/manual/AlfCompareEditor.java +++ /dev/null @@ -1,46 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet (CEA LIST)
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.text.merge.manual;
-
-import java.lang.reflect.InvocationTargetException;
-
-import org.eclipse.compare.CompareConfiguration;
-import org.eclipse.compare.CompareEditorInput;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-
-public class AlfCompareEditor extends CompareEditorInput {
-
- protected final AlfTextualRepresentation registeredRep;
-
- protected final AlfTextualRepresentation generatedRep;
-
- public AlfCompareEditor(AlfTextualRepresentation registeredTextualRepresentation,
- AlfTextualRepresentation generatedTextualRepresentation) {
- super(new CompareConfiguration());
- this.registeredRep = registeredTextualRepresentation;
- this.generatedRep = generatedTextualRepresentation;
- }
-
- @Override
- protected Object prepareInput(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
- return null;
- }
-
- @Override
- public void saveChanges(IProgressMonitor monitor) throws CoreException {
- super.saveChanges(monitor);
- }
-
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/merge/manual/MergeActionDialog.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/merge/manual/MergeActionDialog.java deleted file mode 100644 index 66d79baa526..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/merge/manual/MergeActionDialog.java +++ /dev/null @@ -1,137 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.text.merge.manual;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.jface.dialogs.IMessageProvider;
-import org.eclipse.jface.dialogs.TitleAreaDialog;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.graphics.Rectangle;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.layout.RowLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Group;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.uml2.uml.NamedElement;
-
-public class MergeActionDialog extends TitleAreaDialog {
-
- protected NamedElement modelElement;
-
- protected final int WIDTH = 590;
-
- protected final int HEIGHT = 280;
-
- private List<Button> checkboxes;
-
- private int returnCode;
-
- private final String REBASE_MSG = "Abandon the modifications you previously saved for this element";
- private final String MERGE_MSG = "Merge your ongoing modifications with the current state of this element [under construction]";
- private final String RECONCILE_MSG = "Try to automatically reconcile your ongoing modifications with the current state of this element (risky)";
-
- public static final int REBASE = 0;
- public static final int MERGE = 1;
- public static final int RECONCILE = 2;
-
- public MergeActionDialog(Shell parent, NamedElement modelElement) {
- super(parent);
- this.returnCode = 0;
- this.modelElement = modelElement;
- this.checkboxes = new ArrayList<Button>();
- }
-
- public void create() {
- super.create();
- this.setTitle("Warning");
- String value = "You have ongoing changes this model element: ";
- value += this.modelElement.getName() == null ? "<unknown>" : this.modelElement.getName();
- value += " (" + this.modelElement.eClass().getInstanceTypeName() + ")";
- this.setMessage(value, IMessageProvider.WARNING);
- this.getShell().setText("Potential conflict(s) detected");
- this.getShell().setSize(WIDTH, HEIGHT);
- Rectangle parentShellBounds = this.getParentShell().getBounds();
- this.getShell().setLocation((parentShellBounds.width - WIDTH) / 2 + parentShellBounds.x,
- (parentShellBounds.height - HEIGHT) / 2 + parentShellBounds.y);
- }
-
- protected Control createDialogArea(Composite parent) {
- Composite area = (Composite) super.createDialogArea(parent);
- Composite container = new Composite(area, SWT.NONE);
- GridLayout layout = new GridLayout();
- GridData data = new GridData(SWT.FILL, SWT.FILL, true, true);
- container.setLayoutData(data);
- container.setLayout(layout);
- this.createActionGroup(container);
- return area;
- }
-
- private void createActionGroup(Composite parent) {
- Group actionsGroup = new Group(parent, SWT.NONE);
- actionsGroup.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
- RowLayout layout = new RowLayout();
- layout.type = SWT.VERTICAL;
- layout.spacing = 12;
- actionsGroup.setLayout(layout);
- this.checkboxes.add(this.createAction(actionsGroup, true, REBASE_MSG));
- Button merge = this.createAction(actionsGroup, false, MERGE_MSG);
- merge.setEnabled(false);
- this.checkboxes.add(merge);
- this.checkboxes.add(this.createAction(actionsGroup, false, RECONCILE_MSG));
- this.returnCode = REBASE;
- }
-
- private Button createAction(Composite parent, final boolean checked, final String message) {
- Button checkbox = new Button(parent, SWT.CHECK);
- checkbox.setSelection(checked);
- checkbox.setText(message);
- checkbox.addSelectionListener(new CheckboxSelectionListener());
- return checkbox;
- }
-
- @Override
- public int getReturnCode() {
- if (super.getReturnCode() != 0) {
- this.returnCode = super.getReturnCode();
- }
- return this.returnCode;
- }
-
- private class CheckboxSelectionListener extends SelectionAdapter {
-
- public void widgetSelected(SelectionEvent e) {
- for (Button checkbox : MergeActionDialog.this.checkboxes) {
- if (checkbox == e.getSource()) {
- checkbox.setSelection(true);
- if (checkbox.getText().equals(REBASE_MSG)) {
- MergeActionDialog.this.returnCode = REBASE;
- } else if (checkbox.getText().equals(MERGE_MSG)) {
- MergeActionDialog.this.returnCode = MERGE;
- } else {
- MergeActionDialog.this.returnCode = RECONCILE;
- }
- } else {
- checkbox.setSelection(false);
- }
- }
- }
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/AlfTextualRepresentation.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/AlfTextualRepresentation.java deleted file mode 100644 index 8616893ffb1..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/AlfTextualRepresentation.java +++ /dev/null @@ -1,187 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet (CEA LIST)
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.text.representation;
-
-import java.sql.Timestamp;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.compare.IModificationDate;
-import org.eclipse.compare.rangedifferencer.IRangeComparator;
-import org.eclipse.compare.rangedifferencer.RangeDifference;
-import org.eclipse.compare.rangedifferencer.RangeDifferencer;
-import org.eclipse.papyrus.uml.alf.libraries.helper.BackupState;
-import org.eclipse.papyrus.uml.alf.libraries.helper.BackupState.EditionStatus;
-import org.eclipse.papyrus.uml.alf.text.representation.compare.LineComparator;
-import org.eclipse.papyrus.uml.alf.text.representation.compare.LineDifference;
-import org.eclipse.papyrus.uml.alf.text.representation.compare.StringUtil;
-import org.eclipse.swt.graphics.Point;
-import org.eclipse.uml2.uml.NamedElement;
-
-public class AlfTextualRepresentation extends TextualRepresentation
- implements IAlfTextualRepresentation, IModificationDate {
-
- protected BackupState editionState;
-
- public AlfTextualRepresentation(NamedElement owner) {
- super(owner);
- this.editionState = new BackupState();
- }
-
- public boolean isSaved() {
- return this.editionState.status.equals(EditionStatus.SAVED);
- }
-
- public boolean isMerged() {
- return this.editionState.status.equals(EditionStatus.MERGED);
- }
-
- public void setEditionState(BackupState state) {
- this.editionState.timestamp = state.timestamp;
- this.editionState.status = state.status;
- }
-
- public BackupState getEditionState() {
- return this.editionState;
- }
-
- public EditionStatus getStatus() {
- if (this.editionState != null) {
- return this.editionState.status;
- }
- return null;
- }
-
- public long getModificationDate() {
- return this.editionState.timestamp.getTime();
- }
-
- /**
- * Two representations are considered as different since the set of differences is not empty
- */
- public boolean isDifferent(AlfTextualRepresentation representation) {
- return !this.compare(representation).isEmpty();
- }
-
- /**
- * Returns the set of differences found between two representations
- */
- public List<LineDifference> compare(AlfTextualRepresentation representation) {
- /* 1. Build comparator for each representation */
- IRangeComparator left = this.getRangeComparator();
- IRangeComparator right = representation.getRangeComparator();
- /* 2. Perform the differencing */
- RangeDifference[] differences = RangeDifferencer.findDifferences(left, right);
- /* 3. Build the result list */
- List<LineDifference> results = new ArrayList<LineDifference>();
- for (RangeDifference difference : differences) {
- results.add(new LineDifference(difference, this, representation, left, right));
- }
- return results;
- }
-
- public boolean merge(AlfTextualRepresentation representation) {
- // TODO
- return true;
- }
-
- /**
- * Heuristic to reconcile to different textual representation of the same model element.
- * If possible changes in <code>representation</code> are propagated into the current textual representation.
- * There is no guarantee that the reconciliation phase does not introduce loss of data.
- *
- * @return this - the current textual representation
- */
- public AlfTextualRepresentation reconcile(AlfTextualRepresentation representation) {
- StringBuilder builder = new StringBuilder(this.text);
- int offset = 0;
- /* 1. Compute the list of differences */
- Iterator<LineDifference> differenceIterator = this.compare(representation).iterator();
- /* 2. Try to reconcile differences */
- while (differenceIterator.hasNext()) {
-
- /* 2.1. Retrieve the current difference and extract the position of the region to change (left) */
- LineDifference difference = differenceIterator.next();
- Point leftFragmentPosition = difference.getLeftFragmentPosition();
-
- /* 2.2. Split the regions impacted by the difference into lines */
- StringBuilder leftHandSideBuilder = new StringBuilder();
- String[] leftLines = difference.getLeftState().split(StringUtil.EOL);
- String[] rightLines = difference.getRightState().split(StringUtil.EOL);
- int maxLineCount = Math.max(leftLines.length, rightLines.length);
-
- /*
- * 2.3. Integrate changes from left to right. In case where left hand side and right side
- * have different sizes:
- * A. right > left -> remaining lines in the right are preserved
- * B. left > right -> remaining lines are integrated to the right
- */
- for (int i = 0; i < maxLineCount; i++) {
-
- /* 2.3.1 Both sides have a definition of the same line */
- if (i < leftLines.length && i < rightLines.length) {
- if (!StringUtil.isNegligible(rightLines[i])) {
- leftHandSideBuilder.append(rightLines[i] + StringUtil.EOL);
- } else {
- leftHandSideBuilder.append(leftLines[i] + StringUtil.EOL);
- }
- } else {
- /* 2.3.2. The left side is larger than the right hand side */
- if (i < leftLines.length) {
- leftHandSideBuilder.append(leftLines[i] + StringUtil.EOL);
- } else {
- leftHandSideBuilder.append(rightLines[i] + StringUtil.EOL);
- }
- }
- }
-
- /* 2.4. Apply the change in the original representation */
- builder.delete(leftFragmentPosition.x + offset, leftFragmentPosition.y + offset);
- builder.insert(leftFragmentPosition.x + offset, leftHandSideBuilder);
- offset += leftHandSideBuilder.length() - difference.getLeftState().length();
- }
-
- /* 3. Delete the EOF separator added previously at the end and replace text of the current representation */
- if (builder.charAt(builder.length() - 1) == StringUtil.CHAR_EOL) {
- builder.deleteCharAt(builder.length());
- }
- this.setText(builder.toString());
- return this;
- }
-
- /**
- * Rebase the current ALF representation onto the representation provided as parameter
- * A rebase can only work if two representation concerns the same model element
- *
- * @return this - the current textual representation
- */
- public AlfTextualRepresentation rebase(AlfTextualRepresentation representation) {
- if (representation!= null && this.getOwner() == representation.getOwner()) {
- BackupState state = new BackupState();
- state.status = representation.getStatus();
- state.timestamp = new Timestamp(representation.getModificationDate());
- this.setEditionState(state);
- this.setText(representation.getContent());
- }
- return this;
- }
-
- /**
- * Provide the comparator to be used to compare two textual representation
- */
- protected IRangeComparator getRangeComparator() {
- return new LineComparator(this.text);
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/IAlfTextualRepresentation.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/IAlfTextualRepresentation.java deleted file mode 100644 index 234607fe31c..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/IAlfTextualRepresentation.java +++ /dev/null @@ -1,31 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.text.representation;
-
-import java.util.List;
-
-import org.eclipse.papyrus.uml.alf.text.representation.compare.LineDifference;
-
-public interface IAlfTextualRepresentation {
-
- public boolean isDifferent(AlfTextualRepresentation representation);
-
- public List<LineDifference> compare(AlfTextualRepresentation representation);
-
- public boolean merge(AlfTextualRepresentation representation);
-
- public AlfTextualRepresentation reconcile(AlfTextualRepresentation representation);
-
- public AlfTextualRepresentation rebase(AlfTextualRepresentation representation);
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/TextualRepresentation.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/TextualRepresentation.java deleted file mode 100644 index b634c83ec9a..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/TextualRepresentation.java +++ /dev/null @@ -1,98 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet (CEA LIST)
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.text.representation;
-
-import java.io.InputStream;
-
-import org.eclipse.compare.IStreamContentAccessor;
-import org.eclipse.compare.ITypedElement;
-import org.eclipse.compare.rangedifferencer.IRangeComparator;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.uml2.uml.Comment;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.xtext.util.StringInputStream;
-
-public abstract class TextualRepresentation
- implements IStreamContentAccessor, ITypedElement {
-
- protected NamedElement owner;
-
- protected Comment source;
-
- protected String text;
-
- public TextualRepresentation() {
- }
-
- public TextualRepresentation(NamedElement owner) {
- this.owner = owner;
- }
-
- public Comment getSource() {
- return this.source;
- }
-
- public void setSource(Comment source) {
- this.source = source;
- }
-
- public NamedElement getOwner() {
- return this.owner;
- }
-
- public void setText(String text) {
- this.text = text;
- }
-
- public String getContent() {
- return this.text;
- }
-
- public String getName() {
- if (this.getOwner() != null) {
- return this.getOwner().getName();
- }
- return null;
- }
-
- public Image getImage() {
- return null;
- }
-
- public String getType() {
- return ITypedElement.TEXT_TYPE;
- }
-
- public InputStream getContents() throws CoreException {
- return new StringInputStream(this.text);
- }
-
- /**
- * Be detached means the textual representation is not attached to a particular comment
- *
- * @return true if no source exists false otherwise
- */
- public boolean isDetached() {
- return this.source == null;
- }
-
- /**
- * Obtain a comparator from the textual representation in order to let the text
- * be compared using range differencing strategy to another textual representation
- *
- * @return
- */
- protected abstract IRangeComparator getRangeComparator();
-
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/IAdvancedDifference.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/IAdvancedDifference.java deleted file mode 100644 index 0a289fa903d..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/IAdvancedDifference.java +++ /dev/null @@ -1,41 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet (CEA LIST)
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.text.representation.compare;
-
-import org.eclipse.swt.graphics.Point;
-
-public interface IAdvancedDifference {
-
- /**
- * Provide the start index and the end index of the region concerned by the modification (at the left)
- */
- Point getLeftFragmentPosition();
-
- /**
- * Provide the start index and the end index of the region concerned by the modification (at the right)
- */
- Point getRightFragmentPosition();
-
- /**
- * Returns the region of the left hand side representation concerned by the difference
- */
- String getLeftState();
-
- /**
- * Returns the region of the right hand side representation concerned by the difference
- */
- String getRightState();
-
-
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/LineComparator.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/LineComparator.java deleted file mode 100644 index 9647b1a854e..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/LineComparator.java +++ /dev/null @@ -1,53 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet (CEA LIST)
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.text.representation.compare;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.compare.rangedifferencer.IRangeComparator;
-
-public class LineComparator implements IRangeComparator {
-
- private List<String> lines;
-
- public LineComparator(final String content) {
- this.lines = new ArrayList<String>();
- for (String line : content.split("\n")) {
- lines.add(line);
- }
- }
-
- public String getLine(int index) {
- return this.lines.get(index);
- }
-
- @Override
- public int getRangeCount() {
- return this.lines.size();
- }
-
- @Override
- public boolean rangesEqual(int thisIndex, IRangeComparator other, int otherIndex) {
- String l1 = this.lines.get(thisIndex);
- String l2 = ((LineComparator) other).lines.get(otherIndex);
- return l1.equals(l2);
- }
-
- @Override
- public boolean skipRangeComparison(int length, int maxLength, IRangeComparator other) {
- return false;
- }
-
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/LineDifference.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/LineDifference.java deleted file mode 100644 index d3c7952b405..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/LineDifference.java +++ /dev/null @@ -1,102 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.text.representation.compare;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.compare.contentmergeviewer.ITokenComparator;
-import org.eclipse.compare.contentmergeviewer.TokenComparator;
-import org.eclipse.compare.rangedifferencer.IRangeComparator;
-import org.eclipse.compare.rangedifferencer.RangeDifference;
-import org.eclipse.compare.rangedifferencer.RangeDifferencer;
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-import org.eclipse.swt.graphics.Point;
-
-/**
- * This class represent a difference between regions of two representations
- */
-public class LineDifference extends RegionDifference implements IAdvancedDifference {
-
- public LineDifference(RangeDifference d, AlfTextualRepresentation leftR,
- AlfTextualRepresentation rightR, IRangeComparator leftC, IRangeComparator rightC) {
- super(d, leftR, rightR, leftC, rightC);
- }
-
- public String getLeftState() {
- Point position = this.getLeftFragmentPosition();
- return this.leftR.getContent().substring(position.x, position.y);
- }
-
- public String getRightState() {
- Point position = this.getRightFragmentPosition();
- return this.rightR.getContent().substring(position.x, position.y);
- }
-
- public Point getLeftFragmentPosition() {
- String[] leftLines = this.leftR.getContent().split(StringUtil.EOL);
- int startIndex = 0;
- for (int i = 0; i < this.leftStart; i++) {
- startIndex += leftLines[i].length() + 1;
- }
- int endIndex = startIndex;
- for (int i = this.leftStart; i < this.leftEnd(); i++) {
- if (this.leftEnd() == leftLines.length) {
- endIndex += leftLines[i].length();
- } else {
- endIndex += leftLines[i].length() + 1;
- }
- }
- return new Point(startIndex, endIndex);
- }
-
- public Point getRightFragmentPosition() {
- String[] rightLines = this.rightR.getContent().split(StringUtil.EOL);
- int startIndex = 0;
- for (int i = 0; i < this.rightStart; i++) {
- startIndex += rightLines[i].length() + 1;
- }
- int endIndex = startIndex;
- for (int i = this.rightStart; i < this.rightEnd(); i++) {
- if (this.rightEnd() == rightLines.length) {
- endIndex += rightLines[i].length();
- } else {
- endIndex += rightLines[i].length() + 1;
- }
- }
- return new Point(startIndex, endIndex);
- }
-
- /**
- * return all the differences between tokens present in the left line and
- * those present at the right line
- *
- * @return tokenDifferences - the list of differences
- */
- public List<TokenDifference> getChildren() {
- ITokenComparator leftTokenComparator = new TokenComparator(this.getLeftState());
- ITokenComparator rightTokenComparator = new TokenComparator(this.getRightState());
- AlfTextualRepresentation leftRepresentation = new AlfTextualRepresentation(null);
- leftRepresentation.setText(this.getLeftState());
- AlfTextualRepresentation rightRepresentation = new AlfTextualRepresentation(null);
- leftRepresentation.setText(this.getRightState());
- RangeDifference[] differences = RangeDifferencer.findDifferences(leftTokenComparator, rightTokenComparator);
- List<TokenDifference> tokenDifferences = new ArrayList<TokenDifference>();
- for (RangeDifference difference : differences) {
- tokenDifferences.add(new TokenDifference(difference, leftRepresentation, rightRepresentation, leftTokenComparator, rightTokenComparator));
- }
- return tokenDifferences;
- }
-
-}
\ No newline at end of file diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/RegionDifference.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/RegionDifference.java deleted file mode 100644 index 7d6d101033b..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/RegionDifference.java +++ /dev/null @@ -1,77 +0,0 @@ -package org.eclipse.papyrus.uml.alf.text.representation.compare;
-
-import org.eclipse.compare.rangedifferencer.IRangeComparator;
-import org.eclipse.compare.rangedifferencer.RangeDifference;
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-
-public abstract class RegionDifference extends RangeDifference implements IAdvancedDifference {
-
- /**
- * The left hand side comparator
- */
- protected IRangeComparator leftC;
-
- /**
- * The right hand side comparator
- */
- protected IRangeComparator rightC;
-
- /**
- * The left side representation
- */
- protected AlfTextualRepresentation leftR;
-
- /**
- * The right side representation
- */
- protected AlfTextualRepresentation rightR;
-
- protected RegionDifference(RangeDifference d, AlfTextualRepresentation leftR,
- AlfTextualRepresentation rightR, IRangeComparator leftC, IRangeComparator rightC) {
- this(d.kind(), d.rightStart(), d.rightLength(), d.leftStart(),
- d.leftLength(), d.ancestorStart(), d.ancestorLength());
- this.leftC = leftC;
- this.rightC = rightC;
- this.leftR = leftR;
- this.rightR = rightR;
- }
-
- public RegionDifference(int kind, int rightStart, int rightLength, int leftStart, int leftLength,
- int ancestorStart, int ancestorLength) {
- super(kind, rightStart, rightLength, leftStart, leftLength, ancestorStart, ancestorLength);
- }
-
- /**
- * Return true if the current difference represents a deletion. Typically a deletion means
- * a member in the right state disappeared in the left state
- */
- public boolean isDeletion() {
- return !StringUtil.isNegligible(this.getLeftState()) && StringUtil.isNegligible(this.getRightState());
- }
-
- /**
- * Return true if the current difference represents an addition. An addition is the exact reverse
- * of a deletion (i.e. we have a member in the left that does exists in the right states).
- */
- public boolean isAddition() {
- return StringUtil.isNegligible(this.getLeftState()) && !StringUtil.isNegligible(this.getRightState());
- }
-
- /**
- * Return true if the current difference represents a change. A change is an update of a member
- * existing in the right state
- */
- public boolean isChange() {
- return !StringUtil.isNegligible(this.getLeftState()) && !StringUtil.isNegligible(this.getRightState());
- }
-
- public String toString() {
- String serialization = "\n=======================DIFF=======================\n";
- serialization += this.getLeftState();
- serialization += "\n==================================================\n";
- serialization += this.getRightState();
- serialization += "\n=====================END DIFF=====================\n";
- return serialization;
- }
-
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/StringUtil.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/StringUtil.java deleted file mode 100644 index e3120567d8d..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/StringUtil.java +++ /dev/null @@ -1,44 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.text.representation.compare;
-
-public class StringUtil {
-
- public static final char CHAR_EOL = '\n';
- public static final String EOL = "\n";
-
- /**
- * Return true if the given string is not negligible to be used in a comparison
- *
- * @param str
- * - the assessed string
- * @return negligible
- */
- public static final boolean isNegligible(String str) {
- boolean negligible = true;
- if (!str.isEmpty()) {
- int i = 0;
- while (negligible && i < str.length()) {
- if (str.charAt(i) != '\n'
- && str.charAt(i) != '\r'
- && str.charAt(i) != ' '
- && str.charAt(i) != '\t') {
- negligible = false;
- }
- i++;
- }
- }
- return negligible;
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/TokenDifference.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/TokenDifference.java deleted file mode 100644 index f1ffebdd9de..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/compare/TokenDifference.java +++ /dev/null @@ -1,62 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet (CEA LIST)
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.text.representation.compare;
-
-import org.eclipse.compare.contentmergeviewer.ITokenComparator;
-import org.eclipse.compare.rangedifferencer.IRangeComparator;
-import org.eclipse.compare.rangedifferencer.RangeDifference;
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-import org.eclipse.swt.graphics.Point;
-
-public class TokenDifference extends RegionDifference implements IAdvancedDifference {
-
- public TokenDifference(RangeDifference d, AlfTextualRepresentation leftR,
- AlfTextualRepresentation rightR, IRangeComparator leftC, IRangeComparator rightC) {
- super(d, leftR, rightR, leftC, rightC);
- }
-
- public String getLeftState() {
- String result = "";
- int startIndex = ((ITokenComparator) this.leftC).getTokenStart(this.leftStart);
- int endIndex = 0;
- for (int i = this.leftStart; i <= this.leftEnd(); i++) {
- endIndex += ((ITokenComparator) this.leftC).getTokenLength(i);
- }
- result = this.leftR.getContent().substring(startIndex, startIndex + endIndex);
- return result;
- }
-
- @Override
- public String getRightState() {
- String result = "";
- int endIndex = 0;
- int startIndex = ((ITokenComparator) this.rightC).getTokenStart(this.rightStart);
- for (int i = this.rightStart; i <= this.rightEnd(); i++) {
- endIndex += ((ITokenComparator) this.rightC).getTokenLength(i);
- }
- result = this.rightR.getContent().substring(startIndex, startIndex + endIndex);
- return result;
- }
-
- public Point getLeftFragmentPosition() {
- return new Point(((ITokenComparator) this.leftC).getTokenStart(this.leftStart),
- ((ITokenComparator) this.leftC).getTokenStart(this.leftEnd()) + ((ITokenComparator) this.leftC).getTokenLength(this.leftEnd()));
- }
-
- public Point getRightFragmentPosition() {
- return new Point(((ITokenComparator) this.rightC).getTokenStart(this.rightStart),
- ((ITokenComparator) this.rightC).getTokenStart(this.rightEnd()) + ((ITokenComparator) this.rightC).getTokenLength(this.rightEnd()));
- }
-
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/util/RepresentationParser.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/util/RepresentationParser.java deleted file mode 100644 index b6496533214..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/util/RepresentationParser.java +++ /dev/null @@ -1,98 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.text.representation.util;
-
-import java.sql.Timestamp;
-import java.util.Calendar;
-
-import org.eclipse.papyrus.uml.alf.libraries.helper.AlfUtil;
-import org.eclipse.papyrus.uml.alf.libraries.helper.BackupState;
-import org.eclipse.papyrus.uml.alf.libraries.helper.BackupUtil;
-import org.eclipse.papyrus.uml.alf.libraries.helper.BackupState.EditionStatus;
-import org.eclipse.papyrus.uml.alf.text.generation.DefaultEditStringRetrievalStrategy;
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-import org.eclipse.uml2.uml.Comment;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.Stereotype;
-
-public class RepresentationParser {
-
- private static RepresentationParser parser;
-
- private BackupUtil helperBackup;
-
- private AlfUtil helperAlf;
-
- private RepresentationParser() {
- this.helperBackup = BackupUtil.getInstance();
- this.helperAlf = AlfUtil.getInstance();
- }
-
- public static RepresentationParser getInstance() {
- if (parser == null) {
- parser = new RepresentationParser();
- }
- return parser;
- }
-
- /**
- * Load the textual representation attached to a model element which is a NamedElement
- *
- * @param modelElement
- * @return representation
- * @throws RepresentationParsingError
- */
- public AlfTextualRepresentation parse(NamedElement modelElement) throws RepresentationParsingError {
- if (modelElement == null) {
- throw new RepresentationParsingError(
- "The model element for which the representation is calculated cannot be null");
- }
- AlfTextualRepresentation representation = new AlfTextualRepresentation(modelElement);
- Comment comment = helperAlf.getTextualRepresentationComment(modelElement);
- if (comment != null) {
- representation.setSource(comment);
- representation.setText(comment.getBody());
- if (helperBackup.isBackup(comment)) {
- Stereotype backup = helperBackup.getBackupStereotype(modelElement);
- if (backup != null) {
- representation.setEditionState(helperBackup.getBackupState(comment));
- }
- }
- } else {
- representation.setText(new DefaultEditStringRetrievalStrategy().getGeneratedEditString(modelElement));
- }
- return representation;
- }
-
- /**
- * Capture the textual representation of a model element. It does not returns an already registered representation
- * associated to this element. It captures the current state of a model element.
- *
- * @param modelElement
- * @return representation
- * @throws RepresentationParsingError
- */
- public AlfTextualRepresentation getSnapshot(NamedElement modelElement) throws RepresentationParsingError {
- if (modelElement == null) {
- throw new RepresentationParsingError(
- "The model element for which the representation is calculated cannot be null");
- }
- AlfTextualRepresentation representation = new AlfTextualRepresentation(modelElement);
- representation.setText(new DefaultEditStringRetrievalStrategy().getGeneratedEditString(modelElement));
- representation.setEditionState(new BackupState(
- new Timestamp(Calendar.getInstance().getTimeInMillis()),
- EditionStatus.MERGED));
- return representation;
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/util/RepresentationParsingError.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/util/RepresentationParsingError.java deleted file mode 100644 index fbc6e82baef..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.text/src/org/eclipse/papyrus/uml/alf/text/representation/util/RepresentationParsingError.java +++ /dev/null @@ -1,25 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * J�r�mie Tatibouet (CEA LIST)
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.text.representation.util;
-
-@SuppressWarnings("serial")
-public class RepresentationParsingError extends Exception {
-
- public RepresentationParsingError() {
- }
-
- public RepresentationParsingError(String arg0) {
- super(arg0);
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/.classpath b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/.classpath deleted file mode 100644 index b1dabee3829..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/.classpath +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/.project b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/.project deleted file mode 100644 index 578c14e5c99..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/.project +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.uml.alf.transaction</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/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/.settings/org.eclipse.jdt.core.prefs b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 9ca8e68231b..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,291 +0,0 @@ -eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
-org.eclipse.jdt.core.compiler.compliance=1.7
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.7
-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/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/.settings/org.eclipse.jdt.ui.prefs b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index 954281dbc31..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,68 +0,0 @@ -cleanup.add_default_serial_version_id=true -cleanup.add_generated_serial_version_id=false -cleanup.add_missing_annotations=true -cleanup.add_missing_deprecated_annotations=true -cleanup.add_missing_methods=false -cleanup.add_missing_nls_tags=false -cleanup.add_missing_override_annotations=true -cleanup.add_missing_override_annotations_interface_methods=true -cleanup.add_serial_version_id=false -cleanup.always_use_blocks=true -cleanup.always_use_parentheses_in_expressions=false -cleanup.always_use_this_for_non_static_field_access=false -cleanup.always_use_this_for_non_static_method_access=false -cleanup.convert_functional_interfaces=false -cleanup.convert_to_enhanced_for_loop=false -cleanup.correct_indentation=false -cleanup.format_source_code=false -cleanup.format_source_code_changes_only=false -cleanup.insert_inferred_type_arguments=false -cleanup.make_local_variable_final=true -cleanup.make_parameters_final=false -cleanup.make_private_fields_final=true -cleanup.make_type_abstract_if_missing_method=false -cleanup.make_variable_declarations_final=false -cleanup.never_use_blocks=false -cleanup.never_use_parentheses_in_expressions=true -cleanup.organize_imports=false -cleanup.qualify_static_field_accesses_with_declaring_class=false -cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true -cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true -cleanup.qualify_static_member_accesses_with_declaring_class=true -cleanup.qualify_static_method_accesses_with_declaring_class=false -cleanup.remove_private_constructors=true -cleanup.remove_redundant_type_arguments=true -cleanup.remove_trailing_whitespaces=true -cleanup.remove_trailing_whitespaces_all=true -cleanup.remove_trailing_whitespaces_ignore_empty=false -cleanup.remove_unnecessary_casts=true -cleanup.remove_unnecessary_nls_tags=true -cleanup.remove_unused_imports=true -cleanup.remove_unused_local_variables=false -cleanup.remove_unused_private_fields=true -cleanup.remove_unused_private_members=false -cleanup.remove_unused_private_methods=true -cleanup.remove_unused_private_types=true -cleanup.sort_members=false -cleanup.sort_members_all=false -cleanup.use_anonymous_class_creation=false -cleanup.use_blocks=true -cleanup.use_blocks_only_for_return_and_throw=false -cleanup.use_lambda=true -cleanup.use_parentheses_in_expressions=false -cleanup.use_this_for_non_static_field_access=false -cleanup.use_this_for_non_static_field_access_only_if_necessary=true -cleanup.use_this_for_non_static_method_access=false -cleanup.use_this_for_non_static_method_access_only_if_necessary=true -cleanup.use_type_arguments=false -cleanup_profile=_Papyrus -cleanup_settings_version=2 -eclipse.preferences.version=1 -formatter_profile=_Papyrus -formatter_settings_version=12 -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=java;javax;org;com; -org.eclipse.jdt.ui.javadoc=true -org.eclipse.jdt.ui.ondemandthreshold=99 -org.eclipse.jdt.ui.staticondemandthreshold=99 -org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="false" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * Constructor.\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*****************************************************************************\n * Copyright (c) ${year} CEA LIST and others.\n * \n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which accompanies this distribution, and is available at\n * http\://www.eclipse.org/legal/epl-v10.html\n *\n * Contributors\:\n * CEA LIST - Initial API and implementation\n * \n *****************************************************************************/\n</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/**\n * ${see_to_overridden}\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${see_to_target}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates> diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/META-INF/MANIFEST.MF b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/META-INF/MANIFEST.MF deleted file mode 100644 index ab8fe65f04b..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/META-INF/MANIFEST.MF +++ /dev/null @@ -1,30 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: ALF Transaction (Incubation) -Bundle-SymbolicName: org.eclipse.papyrus.uml.alf.transaction;singleton:=true -Bundle-Version: 0.7.0.qualifier -Bundle-Activator: org.eclipse.papyrus.uml.alf.transaction.ActivatorTransaction -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime, - org.eclipse.uml2.uml;bundle-version="5.1.0", - org.eclipse.papyrus.uml.alf.libraries;bundle-version="1.1.0", - org.eclipse.gmf.runtime.emf.commands.core, - org.eclipse.papyrus.infra.core;bundle-version="1.1.0", - org.eclipse.papyrus.infra.emf;bundle-version="1.1.0", - org.eclipse.gmf.runtime.common.ui.services, - org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.1.0", - org.eclipse.papyrus.uml.xtext.integration.ui;bundle-version="1.1.0", - org.eclipse.xtext.ui;bundle-version="2.8.0", - org.eclipse.papyrus.uml.alf;bundle-version="1.1.0", - org.eclipse.papyrus.uml.alf.text;bundle-version="0.7.0", - org.eclipse.papyrus.infra.core.log;bundle-version="1.1.0", - org.eclipse.compare, - org.eclipse.papyrus.uml.alf.preferences -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-ActivationPolicy: lazy -Export-Package: org.eclipse.papyrus.uml.alf.transaction, - org.eclipse.papyrus.uml.alf.transaction.commands, - org.eclipse.papyrus.uml.alf.transaction.commit, - org.eclipse.papyrus.uml.alf.transaction.job, - org.eclipse.papyrus.uml.alf.transaction.observation.listener.filter -Bundle-Vendor: Eclipse Modeling Project diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/about.html b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/about.html deleted file mode 100644 index 209103075a7..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/about.html +++ /dev/null @@ -1,28 +0,0 @@ -<!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/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/build.properties b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/build.properties deleted file mode 100644 index e3693a3b66e..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/build.properties +++ /dev/null @@ -1,7 +0,0 @@ -source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- about.html,\
- plugin.xml
-src.includes = about.html
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/plugin.xml b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/plugin.xml deleted file mode 100644 index fb44258b67e..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/plugin.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension
- point="org.eclipse.papyrus.infra.core.service">
- <service
- classname="org.eclipse.papyrus.uml.alf.transaction.observation.FUMLElementService"
- description="Service to register a listener onto model elements that are in the fUML subset"
- id="org.eclipse.papyrus.uml.alf.transaction.observation.FUMLElementService"
- priority="1"
- startKind="startup">
- <dependsOn
- description="Editing domain which will receive the fUML listener"
- serviceKeyRef="org.eclipse.emf.transaction.TransactionalEditingDomain">
- </dependsOn>
- </service>
- </extension>
-
-</plugin>
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/pom.xml b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/pom.xml deleted file mode 100644 index 0481b13be2a..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/pom.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>org.eclipse.papyrus.extra.releng</artifactId>
- <groupId>org.eclipse.papyrus</groupId>
- <version>3.0.0-SNAPSHOT</version>
- <relativePath>../../../../releng/extra</relativePath>
- </parent>
- <artifactId>org.eclipse.papyrus.uml.alf.transaction</artifactId>
- <groupId>org.eclipse.papyrus</groupId>
- <version>0.7.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-</project>
\ No newline at end of file diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/ActivatorTransaction.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/ActivatorTransaction.java deleted file mode 100644 index fd7eff3f384..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/ActivatorTransaction.java +++ /dev/null @@ -1,56 +0,0 @@ -package org.eclipse.papyrus.uml.alf.transaction;
-
-import org.eclipse.papyrus.infra.core.log.LogHelper;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class ActivatorTransaction extends AbstractUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.papyrus.uml.alf.transaction"; //$NON-NLS-1$
-
- // The shared instance
- private static ActivatorTransaction plugin;
-
- public static LogHelper logger;
-
- /**
- * The constructor
- */
- public ActivatorTransaction() {
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- logger = new LogHelper(plugin);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext context) throws Exception {
- plugin = null;
- logger = null;
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static ActivatorTransaction getDefault() {
- return plugin;
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/AlfCommand.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/AlfCommand.java deleted file mode 100644 index 37109581d15..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/AlfCommand.java +++ /dev/null @@ -1,51 +0,0 @@ -/*****************************************************************************
- * 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:
- * Jeremie Tatibouet
- * Arnaud Cuccuru
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.commands;
-
-import org.eclipse.emf.transaction.util.TransactionUtil;
-import org.eclipse.emf.transaction.RecordingCommand;
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-import org.eclipse.uml2.uml.NamedElement;
-
-/**
- * Transaction used by the ALF framework to persist modification of UML model
- */
-public abstract class AlfCommand extends RecordingCommand {
-
- /**
- * The state of a particular model element given as text
- */
- protected AlfTextualRepresentation modelElementState;
-
-
- public AlfCommand(String commandLabel, AlfTextualRepresentation state) {
- super(TransactionUtil.getEditingDomain(state.getOwner()));
- this.modelElementState = state;
- }
-
- /**
- * Returns the UML named element target by the command execution
- */
- public NamedElement getCommandTarget() {
- return this.modelElementState.getOwner();
- }
-
- /**
- * Returns the modification that need to be applied to a particular model element
- */
- public AlfTextualRepresentation getModelElementState() {
- return this.modelElementState;
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/AlfCommandFactory.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/AlfCommandFactory.java deleted file mode 100644 index 9c1f484dd61..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/AlfCommandFactory.java +++ /dev/null @@ -1,70 +0,0 @@ -/*****************************************************************************
- * 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:
- * Jérémie Tatibouet
- * Arnaud Cuccuru
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.commands;
-
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-
-/**
- * Factory providing facilities to instantiate ALF commands.
- */
-public class AlfCommandFactory {
-
- /** The factory. */
- private static AlfCommandFactory factory;
-
- /**
- * Instantiates a new alf command factory.
- */
- private AlfCommandFactory() {
- }
-
- /**
- * Gets the single instance of AlfCommandFactory.
- *
- * @return single instance of AlfCommandFactory
- */
- public static AlfCommandFactory getInstance() {
- if (factory == null) {
- factory = new AlfCommandFactory();
- }
- return factory;
- }
-
- /**
- * Creates a new AlfCommand object.
- *
- * @param element
- * the element
- * @param textualRepresentation
- * the textual representation
- * @return the abstract transactional command
- */
- public AlfCommand createCompilationCommand(AlfTextualRepresentation representation) {
- return new CompileCommand(representation);
- }
-
- /**
- * Creates a new AlfCommand object.
- *
- * @param element
- * the element
- * @param textualRepresentation
- * the textual representation
- * @return the abstract transactional command
- */
- public AlfCommand creatSaveCommand(AlfTextualRepresentation representation) {
- return new VersioningSaveCommand(representation);
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/AlfCommandLabels.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/AlfCommandLabels.java deleted file mode 100644 index 727c1a02ee8..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/AlfCommandLabels.java +++ /dev/null @@ -1,25 +0,0 @@ -/*****************************************************************************
- * 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:
- * Jeremie Tatibouet
- * Arnaud Cuccuru
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.commands;
-
-/**
- * Provides ALF commands labels.
- */
-public class AlfCommandLabels {
-
- public static final String COMPILATION = "Compilation";
-
- public static final String CREATE_OR_UPDATE_TEXTUAL_REPRESENTATION = "Create Or Update Textual Representation";
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/CompileCommand.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/CompileCommand.java deleted file mode 100644 index d9455109ec7..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/CompileCommand.java +++ /dev/null @@ -1,62 +0,0 @@ -/*****************************************************************************
- * 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:
- * Jeremie Tatibouet
- * Arnaud Cuccuru
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.commands;
-
-import org.eclipse.core.runtime.AssertionFailedException;
-import org.eclipse.emf.common.util.WrappedException;
-import org.eclipse.papyrus.uml.alf.AlfCompiler;
-import org.eclipse.papyrus.uml.alf.MappingError;
-import org.eclipse.papyrus.uml.alf.ParsingError;
-import org.eclipse.papyrus.uml.alf.libraries.helper.AlfUtil;
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-import org.eclipse.uml2.uml.Model;
-import org.eclipse.uml2.uml.NamedElement;
-
-/**
- * This command enables the compilation (ALF->fUML) of the given textual representation
- */
-public class CompileCommand extends AlfCommand {
-
- protected CompileCommand(AlfTextualRepresentation modelElementState) {
- super(AlfCommandLabels.COMPILATION, modelElementState);
- }
-
- /**
- * Compile the description provided by the textual representation and merge
- * them within the current model element
- */
- protected void doExecute() {
- NamedElement context = this.modelElementState.getOwner();
- Model root = context.getModel();
- if (root != null) {
- AlfCompiler alfCompiler = new AlfCompiler(
- (NamedElement) this.modelElementState.getOwner(),
- AlfUtil.getInstance().getStandardProfile(root),
- AlfUtil.getInstance().getActionLanguageProfile(root));
- try {
- alfCompiler.compile(this.modelElementState.getContent());
- } catch (ParsingError e) {
- e.printStackTrace();
- throw new WrappedException(e);
- } catch (MappingError e) {
- e.printStackTrace();
- throw new WrappedException(e);
- } catch (AssertionFailedException e) {
- e.printStackTrace();
- }
- }
- }
-
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/SaveCommand.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/SaveCommand.java deleted file mode 100644 index af4fe98714d..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/SaveCommand.java +++ /dev/null @@ -1,54 +0,0 @@ -/*****************************************************************************
- * 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:
- * Jeremie Tatibouet
- * Arnaud Cuccuru
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.commands;
-
-import org.eclipse.papyrus.uml.alf.libraries.helper.AlfUtil;
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-import org.eclipse.uml2.uml.Comment;
-import org.eclipse.uml2.uml.UMLFactory;
-
-/**
- * This command enables the backup of the specification of particular model element
- * in a comment owned by this latter
- */
-public class SaveCommand extends AlfCommand {
-
- protected SaveCommand(AlfTextualRepresentation representation) {
- super(AlfCommandLabels.CREATE_OR_UPDATE_TEXTUAL_REPRESENTATION, representation);
- }
-
- /**
- * Saves the specification in a comment stereotyped TextualRepresentation
- */
- protected void doExecute() {
- AlfUtil helper = AlfUtil.getInstance();
- /* 1. Make sure it exists a comment to save the model element description */
- Comment comment = this.modelElementState.getSource();
- if (comment == null) {
- comment = UMLFactory.eINSTANCE.createComment();
- this.modelElementState.setSource(comment);
- }
- /* 2. Make sure the comment used to save the model element description has a owner */
- if (comment.getOwner() == null) {
- this.modelElementState.getOwner().getOwnedComments().add(comment);
- }
- /* 3. Set the body of the comment with the model element description */
- comment.setBody(this.modelElementState.getContent());
- /* 4. Make sure the TextualRepresentation stereotype is applied onto the comment */
- if (!helper.isATextualRepresentationComment(comment)) {
- helper.applyTextualRepresentation(comment);
- }
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/VersioningSaveCommand.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/VersioningSaveCommand.java deleted file mode 100644 index 5d67da750ee..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commands/VersioningSaveCommand.java +++ /dev/null @@ -1,35 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet (CEA LIST)
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.commands;
-
-import org.eclipse.papyrus.uml.alf.libraries.helper.BackupUtil;
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-
-public class VersioningSaveCommand extends SaveCommand {
-
- protected VersioningSaveCommand(AlfTextualRepresentation representation) {
- super(representation);
- }
-
- /**
- * In addition to save the specification of a model element, this command
- * also serialization about edition time and status (i.e. is the specification
- * merged into the model or is it just saved in the comment waiting to be propagated).
- */
- protected void doExecute() {
- /* 1. Saves the stereotyped comment in the model */
- super.doExecute();
- /* 2. Save time and edition status */
- BackupUtil.getInstance().applyBackup(this.modelElementState.getSource(), this.modelElementState.getEditionState());
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/ChangeScenario.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/ChangeScenario.java deleted file mode 100644 index 406951252e7..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/ChangeScenario.java +++ /dev/null @@ -1,46 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.commit;
-
-import org.eclipse.papyrus.uml.alf.libraries.helper.AlfUtil;
-import org.eclipse.papyrus.uml.alf.libraries.helper.BackupUtil;
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-
-public abstract class ChangeScenario extends Scenario implements IChangeScenario {
-
- /**
- * The model state that is taken as reference to perform a change
- */
- protected AlfTextualRepresentation modelStateToBeCommitted;
-
- public ChangeScenario() {
- super();
- this.modelStateToBeCommitted = null;
- }
-
- public void before() {
- /* 1. Apply action language profile if it is not already applied */
- if (!AlfUtil.getInstance().isActionLanguageProfileApplied(this.currentModelState.getOwner())) {
- AlfUtil.getInstance().applyActionLanguageProfile(this.currentModelState.getOwner());
- }
- /* 2. Apply standard profile if it is not already applied */
- if (!AlfUtil.getInstance().isStandardProfileApplied(this.currentModelState.getOwner())) {
- AlfUtil.getInstance().applyStandardProfile(this.currentModelState.getOwner());
- }
- /* 3. Apply backup profile if it is not already applied */
- if (!BackupUtil.getInstance().isBackupProfileApplied(this.currentModelState.getOwner())) {
- BackupUtil.getInstance().applyBackupProfile(this.currentModelState.getOwner());
- }
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/CommitScenario.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/CommitScenario.java deleted file mode 100644 index 0cd452e2a45..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/CommitScenario.java +++ /dev/null @@ -1,114 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.commit;
-
-//import static org.eclipse.papyrus.uml.alf.transaction.ActivatorTransaction.logger;
-
-import java.sql.Timestamp;
-import java.util.Calendar;
-
-import org.eclipse.core.runtime.jobs.IJobChangeEvent;
-import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.core.runtime.jobs.JobChangeAdapter;
-import org.eclipse.papyrus.uml.alf.libraries.helper.BackupState;
-import org.eclipse.papyrus.uml.alf.libraries.helper.BackupState.EditionStatus;
-import org.eclipse.papyrus.uml.alf.transaction.job.AlfCompilationJob;
-import org.eclipse.swt.custom.StyledText;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.uml2.uml.NamedElement;
-
-
-/**
- * This class describes the process of propagating the state of a particular
- * model element in a given UML model
- */
-public class CommitScenario extends ChangeScenario {
-
- /**
- * Flag use to know if the commit is required. it may change in the before method
- */
- private boolean isCommitRequired;
-
- /**
- * Text editor that can be updated when the commit scenario is done
- */
- private StyledText view;
-
- public CommitScenario() {
- super();
- this.isCommitRequired = true;
- }
-
- public void bindView(StyledText view){
- this.view = view;
- }
-
- /**
- * Update the user model state edition status
- */
- public void before() {
- /* 1. Check parent constraints */
- super.before();
- /* 2. Update user model state meta-data */
- BackupState editionState = new BackupState();
- editionState.status = EditionStatus.MERGED;
- editionState.timestamp = new Timestamp(Calendar.getInstance().getTimeInMillis());
- this.userModelState.setEditionState(editionState);
- this.modelStateToBeCommitted = this.userModelState;
- }
-
- /**
- * Propagate the model state specified in text within the model
- *
- * @param - the model element to update with the specified changes
- */
- public void execute(NamedElement target, final String lastEditedVersion) {
- /* 1. Load the states of the target */
- this.init(target);
- if (!this.userModelState.getContent().equals(lastEditedVersion)) {
- this.userModelState.setText(lastEditedVersion);
- }
- /* 2. Realize before actions */
- this.before();
- if (this.isCommitRequired) {
- /* 3.1. Schedule a job in charge of propagated the changes in the model */
- Job job = new AlfCompilationJob(this.modelStateToBeCommitted);
- job.setPriority(Job.SHORT);
- job.addJobChangeListener(new JobChangeAdapter() {
- @Override
- public void done(IJobChangeEvent event) {
- CommitScenario.this.after();
- }
- });
- job.schedule();
- } else {
- this.isCommitRequired = true;
- }
- }
-
- /**
- * This method is automatically called after the job scheduled by this scenario terminates.
- */
- public void after() { - if(this.view!=null && !this.view.isDisposed()){
- Display.getDefault().syncExec(new Runnable() {
- @Override
- public void run() {
- CommitScenario.this.view.setText(CommitScenario.this.modelStateToBeCommitted.getContent());
- }
- });
- } - }
-
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/IChangeScenario.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/IChangeScenario.java deleted file mode 100644 index bedb1638a9a..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/IChangeScenario.java +++ /dev/null @@ -1,17 +0,0 @@ -package org.eclipse.papyrus.uml.alf.transaction.commit;
-
-import org.eclipse.uml2.uml.NamedElement;
-
-public interface IChangeScenario {
-
- /**
- * The core method of a scenario
- *
- * @param target
- * - the element for which the scenario is executed
- * @param lastEditedVersion
- * - the last version of the textual representation (usually in an editor)
- */
- public void execute(NamedElement target, final String lastEditedVersion);
-
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/IScenario.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/IScenario.java deleted file mode 100644 index 55f4b014bc3..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/IScenario.java +++ /dev/null @@ -1,28 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.commit;
-
-public abstract interface IScenario {
-
- /**
- * Computations that need to be realized before the main method of the scenario
- */
- public void before();
-
- /**
- * Computations that need to be realized after the main method of the scenario
- */
- public void after();
-
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/ISyncScenario.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/ISyncScenario.java deleted file mode 100644 index 4091fc63705..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/ISyncScenario.java +++ /dev/null @@ -1,25 +0,0 @@ -/*****************************************************************************
- * 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:
- * Jeremie Tatibouet (CEA LIST)
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.commit;
-
-import java.util.HashMap;
-import java.util.List;
-
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.uml2.uml.Element;
-
-public interface ISyncScenario {
-
- public Command synchronize(HashMap<Element, List<Notification>> changes);
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/SaveScenario.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/SaveScenario.java deleted file mode 100644 index de7ee69f5e2..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/SaveScenario.java +++ /dev/null @@ -1,100 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.commit;
-
-//import static org.eclipse.papyrus.uml.alf.transaction.ActivatorTransaction.logger;
-
-import java.sql.Timestamp;
-import java.util.Calendar;
-
-import org.eclipse.core.runtime.jobs.IJobChangeEvent;
-import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.core.runtime.jobs.JobChangeAdapter;
-import org.eclipse.papyrus.uml.alf.libraries.helper.BackupState;
-import org.eclipse.papyrus.uml.alf.libraries.helper.BackupState.EditionStatus;
-import org.eclipse.papyrus.uml.alf.transaction.job.SaveTextualRepresentationJob;
-import org.eclipse.uml2.uml.NamedElement;
-
-/**
- * This class describes the process of persisting the state description
- * attached to a particular model element.
- */
-public class SaveScenario extends ChangeScenario {
-
- /**
- * Flag use to know if the backup is required. It may change in the before method
- */
- private boolean isBackupRequired;
-
- public SaveScenario() {
- super();
- this.isBackupRequired = true;
- }
-
- /**
- * If the <code>userModelState<code> and the <code>currentModelState<code> are not different
- * then consider the textual specification was MERGED. Otherwise, the user model stand point
- * is considered as SAVED. Typically it diverges from state of the current model.
- */
- public void before() {
- super.before();
- if (!this.userModelState.isDifferent(this.currentModelState)) {
- this.userModelState.rebase(this.currentModelState);
- } else {
- BackupState editionState = new BackupState();
- editionState.status = EditionStatus.SAVED;
- editionState.timestamp = new Timestamp(Calendar.getInstance().getTimeInMillis());
- this.userModelState.setEditionState(editionState);
- }
- this.modelStateToBeCommitted = this.userModelState;
- }
-
- /**
- * Persist in the model the state of the target as a comment
- *
- * @param target
- * - the model element state to persist
- */
- public void execute(NamedElement target, final String lastEditedVersion) {
- /* 1. Load the states of the target */
- this.init(target);
- if (!this.userModelState.getContent().equals(lastEditedVersion)) {
- this.userModelState.setText(lastEditedVersion);
- }
- /* 2. Realize before actions */
- this.before();
- /* 3. Is a backup required */
- if (this.isBackupRequired) {
- /* 3.1. Schedule a job in charge of saving target state */
- Job job = new SaveTextualRepresentationJob(this.modelStateToBeCommitted);
- job.setPriority(Job.SHORT);
- job.addJobChangeListener(new JobChangeAdapter() {
- @Override
- public void done(IJobChangeEvent event) {
- SaveScenario.this.after();
- }
- });
- job.schedule();
- } else {
- this.isBackupRequired = true;
- }
- }
-
- /**
- * This method is automatically called after the job scheduled by this scenario terminates.
- */
- public void after() {
- //logger.info("Save Job Done");
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/Scenario.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/Scenario.java deleted file mode 100644 index dc5cb875881..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/Scenario.java +++ /dev/null @@ -1,53 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.commit;
-
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-import org.eclipse.papyrus.uml.alf.text.representation.util.RepresentationParser;
-import org.eclipse.papyrus.uml.alf.text.representation.util.RepresentationParsingError;
-import org.eclipse.uml2.uml.NamedElement;
-
-import static org.eclipse.papyrus.uml.alf.transaction.ActivatorTransaction.logger;
-
-public abstract class Scenario implements IScenario {
-
- /**
- * The textual representation of a model element from the user stand point
- */
- protected AlfTextualRepresentation userModelState;
-
- /**
- * The textual representation of a model element from the semantic model stand point
- */
- protected AlfTextualRepresentation currentModelState;
-
- public Scenario() {
- this.userModelState = null;
- this.currentModelState = null;
- }
-
- protected void init(NamedElement target) throws IllegalArgumentException {
- if (target == null) {
- throw new IllegalArgumentException("The model element provided to the scenario cannot be null");
- }
- try {
- this.userModelState = RepresentationParser.getInstance().parse(target);
- this.currentModelState = RepresentationParser.getInstance().getSnapshot(target);
- } catch (RepresentationParsingError e) {
- logger.error("Parsing of ["+target.getName()+"]", e);
- } catch(RuntimeException e){
- logger.error("Serialization of ["+target.getName()+"] failed", e);
- }
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/ScenarioFactory.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/ScenarioFactory.java deleted file mode 100644 index ced2cf605ed..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/ScenarioFactory.java +++ /dev/null @@ -1,41 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.commit;
-
-public class ScenarioFactory {
-
- private static ScenarioFactory INSTANCE;
-
- private ScenarioFactory() {
- }
-
- public static ScenarioFactory getInstance() {
- if (INSTANCE == null) {
- INSTANCE = new ScenarioFactory();
- }
- return INSTANCE;
- }
-
- public IChangeScenario createSaveScenario() {
- return new SaveScenario();
- }
-
- public IChangeScenario createCommitScenario() {
- return new CommitScenario();
- }
-
- public ISyncScenario createSyncScenario() {
- return new SyncScenario();
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/SyncScenario.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/SyncScenario.java deleted file mode 100644 index 19f278b4461..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/commit/SyncScenario.java +++ /dev/null @@ -1,511 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet (CEA LIST)
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.commit;
-
-import static org.eclipse.papyrus.uml.alf.transaction.ActivatorTransaction.logger;
-
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.compare.CompareUI;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.common.command.CompoundCommand;
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.jface.window.Window;
-import org.eclipse.papyrus.uml.alf.text.merge.manual.AlfCompareEditor;
-import org.eclipse.papyrus.uml.alf.text.merge.manual.MergeActionDialog;
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-import org.eclipse.papyrus.uml.alf.transaction.commands.AlfCommandFactory;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.uml2.uml.Association;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.Classifier;
-import org.eclipse.uml2.uml.DataType;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.ElementImport;
-import org.eclipse.uml2.uml.Enumeration;
-import org.eclipse.uml2.uml.EnumerationLiteral;
-import org.eclipse.uml2.uml.Feature;
-import org.eclipse.uml2.uml.Generalization;
-import org.eclipse.uml2.uml.Model;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.Package;
-import org.eclipse.uml2.uml.PackageImport;
-import org.eclipse.uml2.uml.Property;
-import org.eclipse.uml2.uml.Signal;
-import org.eclipse.uml2.uml.UMLPackage;
-
-public class SyncScenario extends Scenario implements ISyncScenario {
-
- /**
- * The model state that is taken as reference to perform the synchronization
- */
- protected AlfTextualRepresentation modelStateToBeCommitted;
-
- public SyncScenario() {
- super();
- this.modelStateToBeCommitted = null;
- }
-
- /**
- * Checks required before to perform a synchronization
- */
- public void before() {
- /* 1. It means the user model has not been saved in the current model */
- if (this.userModelState.isSaved()) {
- /* 1.1. The two models diverge */
- if (this.userModelState.isDifferent(this.currentModelState)) {
- MergeActionDialog mergeActionDialog = new MergeActionDialog(Display.getCurrent().getActiveShell(), this.currentModelState.getOwner());
- /* 1.1.1. The user has to choose what to do */
- if (mergeActionDialog.open() == Window.OK) {
- if (mergeActionDialog.getReturnCode() == MergeActionDialog.REBASE) {
- this.userModelState.rebase(this.currentModelState);
- this.modelStateToBeCommitted = this.userModelState;
- } else if (mergeActionDialog.getReturnCode() == MergeActionDialog.MERGE) {
- CompareUI.openCompareDialog(new AlfCompareEditor(this.userModelState, this.currentModelState));
- } else {
- this.currentModelState.reconcile(this.userModelState);
- this.currentModelState.setSource(this.userModelState.getSource());
- this.modelStateToBeCommitted = this.currentModelState;
- }
- }
- } else {
- this.modelStateToBeCommitted = this.userModelState.rebase(this.currentModelState);
- }
- } else {
- this.modelStateToBeCommitted = this.userModelState.rebase(this.currentModelState);
- }
- }
-
- public Command synchronize(HashMap<Element, List<Notification>> changes) {
- CompoundCommand compoundCommand = new CompoundCommand("synchronize");
- for (NamedElement affectedElement : this.getSynchronizationPoints(changes)) {
- compoundCommand.append(this._synchronize(affectedElement));
- }
- return compoundCommand;
- }
-
- /**
- * Compute the set of element that need to have their serialization updated
- *
- * @param changes
- * the list of changes per UML element
- *
- * @return syncPoints
- * the list of UML elements that will have their serialization updated
- */
- protected Set<NamedElement> getSynchronizationPoints(HashMap<Element, List<Notification>> changes) {
- Set<NamedElement> syncPoints = new HashSet<NamedElement>();
- /*1. Take out changes that cannot be handled*/
- this.preFilter(changes);
- /*2. Compute synchronization targets according to changes*/
- for (Element target : changes.keySet()) {
- //logger.info("[MODIFIED] "+ target.toString());
- if(target instanceof PackageImport ||target instanceof ElementImport){
- syncPoints.addAll(this.getUpdateTargets(target, changes.get(target)));
- }else if(target instanceof Association){
- syncPoints.addAll(this.getUpdateTargets((Association) target, changes.get(target)));
- }else if (target instanceof Generalization){
- syncPoints.addAll(this.getUpdateTargets((Generalization) target, changes.get(target)));
- }else if (target instanceof Package) {
- syncPoints.addAll(this.getUpdateTargets((Package) target, changes.get(target)));
- } else if (target instanceof Classifier) {
- syncPoints.addAll(this.getUpdateTargets((Classifier) target, changes.get(target)));
- } else if (target instanceof Feature) {
- syncPoints.addAll(this.getUpdateTargets((Feature) target, changes.get(target)));
- } else if(target instanceof EnumerationLiteral){
- syncPoints.addAll(this.getUpdateTargets((EnumerationLiteral) target, changes.get(target)));
- }
- }
- /*for (NamedElement element : syncPoints) {
- logger.info("[UPADTED] " + element);
- }*/
- return syncPoints;
- }
-
- /**
- * Takes out from a map of changes those that cannot be computed by synchronization engine
- *
- * @param changes
- * the list of notifications per modified object
- */
- private void preFilter(HashMap<Element, List<Notification>> changes){
- for(Element element : changes.keySet()){
- Iterator<Notification> iterator = changes.get(element).iterator();
- while(iterator.hasNext()){
- Notification notification = iterator.next();
- if(!this.isWorkable(notification)){
- iterator.remove();
- }
- }
- }
- }
-
- /**
- * Determine if an ADD notification can be used by the synchronizer or not.
- * Typically such notification can be used if the new value has a name.
- *
- * NOTE: necessity of this check was introduced by the arrival of notification
- * for which created values (newValue) had no name.
- *
- * @return true if the notification can be used false otherwise
- */
- private boolean isWorkable(Notification notification){
- boolean isWorkable = true;
- if(notification.getNewValue()!=null && notification.getEventType()==Notification.ADD){
- if(notification.getNewValue() instanceof NamedElement){
- isWorkable = ((NamedElement)notification.getNewValue()).getName() != null;
- }
- }
- return isWorkable;
- }
-
- /**
- * Get the set of elements that are intended to have their serialization updated
- *
- * @param element
- * the given element can only be an element import or a package import
- *
- * @param changes
- * the list of changes having affected the given element
- *
- * @return targets
- * the of elements that need to have their serialization updated due to the changes
- */
- protected Set<NamedElement> getUpdateTargets(Element element, List<Notification> changes) {
- assert (element instanceof ElementImport || element instanceof PackageImport) : "element can only be an element import or a package import";
- Set<NamedElement> targets = new HashSet<NamedElement>();;
- Iterator<Notification> changesIterator = changes.iterator();
- while (changesIterator.hasNext()) {
- Notification notification = changesIterator.next();
- switch(notification.getEventType()){
- case Notification.SET:{
- EStructuralFeature feature = (EStructuralFeature) notification.getFeature();
- if(feature == UMLPackage.eINSTANCE.getElementImport_ImportingNamespace()
- || feature == UMLPackage.eINSTANCE.getElementImport_ImportingNamespace()){
- /*The old importing namespace has to be updated*/
- if(notification.getNewValue()==null){
- targets.addAll(this.getParentPath((Element)notification.getOldValue()));
- }else{ /*The new importing namespace has to be updated*/
- targets.addAll(this.getParentPath((Element)notification.getNewValue()));
- }
- }else{
- if(feature == UMLPackage.eINSTANCE.getPackageImport_ImportedPackage()){
- if(element.getModel() != ((PackageImport)element).getImportingNamespace()){
- targets.addAll(this.getParentPath(element.getOwner()));
- }
- }else{
- targets.addAll(this.getParentPath(element.getOwner()));
- }
- }
- }break;
- }
- }
- return targets;
- }
-
- /**
- * Get the set of elements that are intended to have their serialization updated
- *
- * @param generalization
- * a generalization relationship that exists between two classifier
- *
- * @param changes
- * the list of changes having affected the given element
- *
- * @return targets
- * the of elements that need to have their serialization updated due to the changes
- */
- protected Set<NamedElement> getUpdateTargets(Generalization generalization, List<Notification> changes) {
- Set<NamedElement> targets = new HashSet<NamedElement>();
- Iterator<Notification> changesIterator = changes.iterator();
- while (changesIterator.hasNext()) {
- Notification notification = changesIterator.next();
- switch(notification.getEventType()){
- case Notification.SET:{
- if(notification.getFeature()==UMLPackage.eINSTANCE.getGeneralization_General()){
- targets.addAll(this.getParentPath(generalization.getSpecific()));
- }else if (notification.getFeature()==UMLPackage.eINSTANCE.getGeneralization_Specific()){
- targets.addAll(this.getParentPath((Element)notification.getOldValue()));
- targets.addAll(this.getParentPath((Element)notification.getNewValue()));
- }
- }
- break;
- }
- }
- return targets;
- }
-
- /**
- * Get the set of elements that are intended to have their serialization updated
- *
- * @param element
- * the package that was modified
- *
- * @param changes
- * the list of changes describing updates applied on this package
- *
- * @return targets
- * the set of element to update
- */
- protected Set<NamedElement> getUpdateTargets(Package element, List<Notification> changes) {
- Set<NamedElement> targets = new HashSet<NamedElement>();
- Iterator<Notification> changesIterator = changes.iterator();
- while (changesIterator.hasNext()) {
- Notification notification = changesIterator.next();
- switch (notification.getEventType()) {
- case Notification.ADD: {
- if (notification.getFeature() == UMLPackage.eINSTANCE.getPackage_PackagedElement()) {
- targets.addAll(this.getUpdateTarget((NamedElement) notification.getNewValue()));
- }
- }
- break;
- case Notification.REMOVE: {
- EStructuralFeature feature = (EStructuralFeature)notification.getFeature();
- if (feature == UMLPackage.eINSTANCE.getPackage_PackagedElement()) {
- NamedElement oldValue = (NamedElement) notification.getOldValue();
- if (oldValue.getModel() != null) {
- targets.addAll(this.getUpdateTarget((NamedElement) notification.getOldValue()));
- }
- }else if(feature == UMLPackage.eINSTANCE.getNamespace_PackageImport()
- || feature == UMLPackage.eINSTANCE.getNamespace_ElementImport()){
- targets.addAll(this.getParentPath(element));
- }
- }
- break;
- }
- }
- targets.addAll(this.getUpdateTarget(element));
- return targets;
- }
-
- /**
- * Retrieve the set of elements that need to be updated afterwards that the given target was modified
- *
- * @param target
- * the source element
- *
- * @return targets
- * the set of elements to update
- */
- protected Set<NamedElement> getUpdateTarget(Element target) {
- Set<NamedElement> targets = new HashSet<NamedElement>();
- targets.addAll(this.getParentPath(target));
- targets.addAll(this.getChildren(target));
- return targets;
- }
-
- /**
- * Find out from a given element the set of children that need to be updated
- *
- * @param root
- *
- * @return
- */
- private Set<NamedElement> getChildren(Element root) {
- Set<NamedElement> children = new HashSet<NamedElement>();
- for (Element element : root.getOwnedElements()) {
- if (element instanceof Package
- || element instanceof Class) {
- children.add((NamedElement) element);
- children.addAll(this.getChildren(element));
- } else if (element instanceof Enumeration) {
- children.add((NamedElement) element);
- } else if (element instanceof DataType) {
- children.add((NamedElement) element);
- } else if (element instanceof Signal) {
- children.add((NamedElement) element);
- } else if (element instanceof Association) {
- children.add((NamedElement) element);
- }
- }
- return children;
- }
-
- /**
- * Rewind the parent of the target until the top level package or class
- *
- * @param target
- * the starting point of the of the search
- *
- * @return the list of elements that need to be traversed to reach the top level element
- */
- private Set<NamedElement> getParentPath(Element target) {
- Set<NamedElement> targets = new HashSet<NamedElement>();
- Element owner = target.getOwner();
- if (owner == null || owner instanceof Model) {
- targets.add((NamedElement) target);
- return targets;
- } else if (owner instanceof Class || owner instanceof Package || owner instanceof Enumeration) {
- targets.addAll(this.getParentPath(owner));
- if(!(target instanceof Property)){
- targets.add((NamedElement) target);
- }
- return targets;
- } else {
- return targets;
- }
- }
-
- /**
- * Retrieve all target that need to be updated when a class is modified (e.g. by the adding of a nested classifier)
- *
- * @param classifier
- * the class that was modified
- *
- * @param changes
- * the list of changes registered for this class
- *
- * @return targets
- * the list of targets
- */
- protected Set<NamedElement> getUpdateTargets(Classifier classifier, List<Notification> changes) {
- Set<NamedElement> targets = new HashSet<NamedElement>();
- Iterator<Notification> changesIterator = changes.iterator();
- while (changesIterator.hasNext()) {
- Notification notification = changesIterator.next();
- switch (notification.getEventType()) {
-
- /*
- * 1. if a nested classifier is added, it means parents of the currently modified
- * element must be synchronized as well as its children. Otherwise (e.g. when a property is added)
- * only the parents are synchronized.
- */
- case Notification.ADD: {
- if (notification.getFeature() == UMLPackage.eINSTANCE.getClass_NestedClassifier()) {
- targets.addAll(this.getUpdateTarget((Element) notification.getNewValue()));
- } else {
- if(notification.getNewValue() instanceof EnumerationLiteral){
- Enumeration owner = ((EnumerationLiteral) notification.getNewValue()).getClassifier();
- if(owner!=null){
- targets.addAll(this.getParentPath(owner));
- }
- }else if(notification.getNewValue() instanceof Generalization
- || notification.getNewValue() instanceof ElementImport){
- targets.addAll(this.getParentPath(classifier));
- }else{
- targets.addAll(this.getParentPath((Element) notification.getNewValue()));
- }
- }
- }
- break;
-
- /*
- * 2. if an element is removed from the class then only parents need to be synchronized
- */
- case Notification.REMOVE: {
- EStructuralFeature feature = (EStructuralFeature) notification.getFeature();
- if(feature == UMLPackage.eINSTANCE.getClassifier_Generalization()
- || feature == UMLPackage.eINSTANCE.getNamespace_ElementImport()){
- targets.addAll(this.getParentPath(classifier));
- }else{
- NamedElement oldValue = (NamedElement) notification.getOldValue();
- if (oldValue != null) {
- targets.addAll(this.getParentPath(classifier));
- }
- }
- }
- break;
- /*
- * 3. When a property of the class (e.g. its name) is modified then both parents and children
- * of the currently modified element need to be synchronized
- */
- case Notification.SET: {
- targets.addAll(this.getUpdateTarget(classifier));
- }
- break;
- }
- }
- return targets;
- }
-
- /**
- * Retrieve all target that need to be updated when a Feature (e.g. property, operation, reception) is modified
- *
- * @param property
- * the property currently modified
- *
- * @param changes
- * the list of changes registered for this property
- *
- * @return target
- * the set of elements that need to be updated
- */
- protected Set<NamedElement> getUpdateTargets(Feature feature, List<Notification> changes) {
- Set<NamedElement> targets = new HashSet<NamedElement>();
- Iterator<Notification> changesIterator = changes.iterator();
- while (changesIterator.hasNext()) {
- Notification notification = changesIterator.next();
- switch (notification.getEventType()) {
- case Notification.SET: {
- targets.addAll(this.getParentPath(feature.getOwner()));
- }
- break;
- case Notification.REMOVE:{
- if(notification.getFeature() == UMLPackage.eINSTANCE.getBehavioralFeature_OwnedParameter()){
- targets.addAll(this.getParentPath(feature.getOwner()));
- }
- }
- break;
- case Notification.ADD_MANY:{
- if(notification.getFeature() == UMLPackage.eINSTANCE.getBehavioralFeature_OwnedParameter()){
- targets.addAll(this.getParentPath(feature.getOwner()));
- }
- }
- break;
- }
- }
- return targets;
- }
-
- protected Set<NamedElement> getUpdateTargets(EnumerationLiteral enumerationLiteral, List<Notification> changes) {
- Set<NamedElement> targets = new HashSet<NamedElement>();
- Iterator<Notification> changesIterator = changes.iterator();
- while (changesIterator.hasNext()) {
- Notification notification = changesIterator.next();
- switch (notification.getEventType()) {
- case Notification.SET: {
- targets.addAll(this.getParentPath(enumerationLiteral.getOwner()));
- }
- break;
- }
- }
- return targets;
- }
-
-
- /**
- * Provide a synchronization command for the given target
- *
- * @param target
- * - the model element on which textual specification must be aligned
- * @return command - a command to synchronize the model element and the text
- */
- protected Command _synchronize(NamedElement target) {
- /* 1. Load the target states */
- this.init(target);
- /* 2. Do before checks */
- this.before();
- /* 3. Provide save command */
- return AlfCommandFactory.getInstance().creatSaveCommand(this.modelStateToBeCommitted);
- }
-
- public void after() {
- logger.info("Synchronization Done");
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/job/AlfAbstractJob.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/job/AlfAbstractJob.java deleted file mode 100644 index 29e91c3e593..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/job/AlfAbstractJob.java +++ /dev/null @@ -1,50 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet (CEA LIST)
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.job;
-
-import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.papyrus.infra.core.services.ServiceException;
-import org.eclipse.papyrus.infra.core.services.ServicesRegistry;
-import org.eclipse.papyrus.infra.core.utils.ServiceUtils;
-import org.eclipse.papyrus.infra.emf.utils.ServiceUtilsForResource;
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-
-public abstract class AlfAbstractJob extends Job {
-
- protected AlfTextualRepresentation modelElementState;
-
- protected TransactionalEditingDomain getEditingDomain() {
- ServicesRegistry registry = null;
- try {
- registry = ServiceUtilsForResource.getInstance().getServiceRegistry(this.modelElementState.getOwner().eResource());
- } catch (ServiceException e) {
- e.printStackTrace();
- }
- TransactionalEditingDomain domain = null;
- if (registry != null) {
- try {
- domain = ServiceUtils.getInstance().getTransactionalEditingDomain(registry);
- } catch (ServiceException e) {
- e.printStackTrace();
- }
- }
- return domain;
- }
-
- public AlfAbstractJob(String name, AlfTextualRepresentation modelElemtState) {
- super(name);
- this.modelElementState = modelElemtState;
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/job/AlfCompilationJob.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/job/AlfCompilationJob.java deleted file mode 100644 index a2387eb4b3f..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/job/AlfCompilationJob.java +++ /dev/null @@ -1,147 +0,0 @@ -/*****************************************************************************
- * 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
- * Jeremie Tatibouet (CEA LIST)
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.uml.alf.transaction.job;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.common.util.WrappedException;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.papyrus.uml.alf.MappingError;
-import org.eclipse.papyrus.uml.alf.ParsingError;
-import org.eclipse.papyrus.uml.alf.libraries.helper.AlfUtil;
-import org.eclipse.papyrus.uml.alf.text.generation.DefaultEditStringRetrievalStrategy;
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-import org.eclipse.papyrus.uml.alf.transaction.ActivatorTransaction;
-import org.eclipse.papyrus.uml.alf.transaction.commands.AlfCommand;
-import org.eclipse.papyrus.uml.alf.transaction.commands.AlfCommandFactory;
-import org.eclipse.uml2.uml.Activity;
-
-public class AlfCompilationJob extends AlfAbstractJob {
-
- public static final String NAME = "Compile";
-
- private List<AlfCommand> executedCommands;
-
- public AlfCompilationJob(AlfTextualRepresentation representation) {
- super(NAME, representation);
- setUser(true);
- this.executedCommands = new ArrayList<AlfCommand>();
- }
-
- @Override
- protected IStatus run(IProgressMonitor monitor) {
- monitor.beginTask("Propagate Alf specification into the model", 4);
- this.executedCommands.clear();
- IStatus jobStatus = Status.OK_STATUS;
- TransactionalEditingDomain domain = this.getEditingDomain();
- if (domain != null) {
- /* Protect the resource in case of concurrent jobs */
- monitor.subTask("Prepare compilation");
- Resource resource = this.modelElementState.getOwner().eResource();
- monitor.worked(1);
- synchronized (resource) {
- /* 1. Do not listen to modifications that occur on the resource during compilation */
- resource.setTrackingModification(false);
- /* 2. Do compilation phase */
- jobStatus = this.doCompilation(domain, monitor);
- /* 3. Save the textual representation within the model */
- if (monitor.isCanceled()) {
- return Status.CANCEL_STATUS;
- } else if (jobStatus.equals(Status.OK_STATUS)) {
- jobStatus = this.doSave(domain, monitor);
- } else {
- return jobStatus;
- }
- /* 4. Restore the modification tracking */
- resource.setTrackingModification(true);
- }
- }
- monitor.done();
- return jobStatus;
- }
-
- /**
- * Execute the compilation procedure
- *
- * @param domain
- * - the editing domain in which the modifications are done
- * @param monitor
- * - the monitor used to report progress
- * @return a status reporting the state of the job
- */
- protected IStatus doCompilation(TransactionalEditingDomain domain, IProgressMonitor monitor) {
- monitor.subTask("Compiling");
- try {
- AlfCommand command = AlfCommandFactory.getInstance().createCompilationCommand(this.modelElementState);
- domain.getCommandStack().execute(command);
- this.executedCommands.add(command);
- } catch (WrappedException we) {
- Exception e = we.exception();
- if (e instanceof ParsingError) {
- return new Status(Status.ERROR, ActivatorTransaction.PLUGIN_ID, "The parsed specification is not valid");
- } else if (e instanceof MappingError) {
- return new Status(Status.ERROR, ActivatorTransaction.PLUGIN_ID, "It was not possible to map the specification into UML");
- } else {
- return new Status(Status.ERROR, ActivatorTransaction.PLUGIN_ID, "An unexpected error stopped the compilation phase");
- }
- } catch (Exception e) {
- return new Status(Status.ERROR, ActivatorTransaction.PLUGIN_ID, "An unexpected error stopped the compilation phase");
- }
- monitor.worked(1);
- return Status.OK_STATUS;
- }
-
- /**
- * Execute the save procedure
- *
- * @param domain
- * - the editing domain in which the modifications are done
- * @param monitor
- * - the monitor used to report progress
- * @return a status reporting the state of the job
- */
- protected IStatus doSave(TransactionalEditingDomain domain, IProgressMonitor monitor) {
- /* The specification is only updated in case of elements that are not activites */
- if (!(this.modelElementState.getOwner() instanceof Activity)) {
- monitor.subTask("Format specification");
- this.modelElementState.setText(new DefaultEditStringRetrievalStrategy().getGeneratedEditString(this.modelElementState.getOwner()));
- monitor.worked(1);
- }
- try {
- if (this.modelElementState.getSource() == null) {
- this.modelElementState.setSource(AlfUtil.getInstance().getTextualRepresentationComment(this.modelElementState.getOwner()));
- }
- monitor.subTask("Save specification");
- AlfCommand command = AlfCommandFactory.getInstance().creatSaveCommand(this.modelElementState);
- domain.getCommandStack().execute(command);
- this.executedCommands.add(command);
- monitor.worked(1);
- } catch (Exception e) {
- return new Status(Status.ERROR, ActivatorTransaction.PLUGIN_ID, "An unexpected error stopped the compilation phase");
- }
- return Status.OK_STATUS;
- }
-
- @Override
- protected void canceling() {
- super.canceling();
- /*TODO: support cancellation*/
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/job/AlfJobObserver.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/job/AlfJobObserver.java deleted file mode 100644 index f686076de20..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/job/AlfJobObserver.java +++ /dev/null @@ -1,63 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet (CEA LIST)
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.job;
-
-import org.eclipse.core.runtime.jobs.IJobChangeEvent;
-import org.eclipse.core.runtime.jobs.JobChangeAdapter;
-import org.eclipse.papyrus.uml.xtext.integration.job.XtextValidationJob;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Display;
-
-public class AlfJobObserver extends JobChangeAdapter {
-
- private Button commitButtton;
-
- public AlfJobObserver(Button commitButton) {
- this.commitButtton = commitButton;
- }
-
- public void done(IJobChangeEvent event) {
- if (event.getJob() instanceof XtextValidationJob) {
- XtextValidationJob job = (XtextValidationJob) event.getJob();
- this.setCommitButtonState(job.hasValidationIssues());
- }
- }
-
- protected void setCommitButtonState(boolean validationIssues) {
- Display ui = Display.getDefault();
- if (ui != null) {
- if (!validationIssues) {
- ui.syncExec(new Runnable() {
- public void run() {
- if (!AlfJobObserver.this.commitButtton.isDisposed() &&
- !AlfJobObserver.this.commitButtton.isEnabled()) {
- AlfJobObserver.this.commitButtton.setEnabled(true);
- }
- }
- });
- }
- else {
- ui.syncExec(new Runnable() {
- public void run() {
- if (!AlfJobObserver.this.commitButtton.isDisposed() &&
- AlfJobObserver.this.commitButtton.isEnabled()) {
- AlfJobObserver.this.commitButtton.setEnabled(false);
- }
- }
- });
- }
- }
- }
-
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/job/SaveTextualRepresentationJob.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/job/SaveTextualRepresentationJob.java deleted file mode 100644 index 5f90f77671f..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/job/SaveTextualRepresentationJob.java +++ /dev/null @@ -1,49 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet (CEA LIST)
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.job;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.papyrus.uml.alf.text.representation.AlfTextualRepresentation;
-import org.eclipse.papyrus.uml.alf.transaction.commands.AlfCommandFactory;
-
-public class SaveTextualRepresentationJob extends AlfAbstractJob {
-
- public static final String NAME = "Save";
-
- public SaveTextualRepresentationJob(AlfTextualRepresentation representation) {
- super(NAME, representation);
- }
-
- @Override
- protected IStatus run(IProgressMonitor monitor) {
- /* 1. Retrieve the editing domain */
- TransactionalEditingDomain domain = this.getEditingDomain();
- /* 3. Ask for the execution of the command */
- if (domain != null) {
- /* Protect the resource in case of concurrent jobs */
- Resource resource = this.modelElementState.getOwner().eResource();
- synchronized (resource) {
- domain.getCommandStack().execute(AlfCommandFactory.getInstance().creatSaveCommand(this.modelElementState));
- }
- } else {
- return Status.CANCEL_STATUS;
- }
- return Status.OK_STATUS;
- }
-
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/observation/FUMLElementService.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/observation/FUMLElementService.java deleted file mode 100644 index 7a1ac24fc4b..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/observation/FUMLElementService.java +++ /dev/null @@ -1,56 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.observation;
-
-import org.eclipse.emf.transaction.ResourceSetListenerImpl;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.papyrus.infra.core.services.IService;
-import org.eclipse.papyrus.infra.core.services.ServiceException;
-import org.eclipse.papyrus.infra.core.services.ServicesRegistry;
-import org.eclipse.papyrus.infra.core.utils.ServiceUtils;
-import org.eclipse.papyrus.uml.alf.transaction.observation.listener.FUMLElementListener;
-
-public class FUMLElementService implements IService {
-
- protected TransactionalEditingDomain editingDomain;
-
- protected ResourceSetListenerImpl listener;
-
- public FUMLElementService() {
- this.editingDomain = null;
- this.listener = null;
- }
-
- public void init(ServicesRegistry servicesRegistry) throws ServiceException {
- this.editingDomain = ServiceUtils.getInstance().getTransactionalEditingDomain(servicesRegistry);
- this.listener = new FUMLElementListener(this.editingDomain);
- }
-
- public TransactionalEditingDomain getEditingDomain() {
- return this.editingDomain;
- }
-
- public void startService() throws ServiceException {
- this.editingDomain.addResourceSetListener(this.listener);
- }
-
- public void disposeService() throws ServiceException {
- this.editingDomain.removeResourceSetListener(this.listener);
- this.listener = null;
- }
-
- public ResourceSetListenerImpl getListener() {
- return this.listener;
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/observation/listener/FUMLElementListener.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/observation/listener/FUMLElementListener.java deleted file mode 100644 index 6476489f4a8..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/observation/listener/FUMLElementListener.java +++ /dev/null @@ -1,83 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2015 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:
- * Jeremie Tatibouet
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.observation.listener;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.common.command.CompoundCommand;
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.transaction.NotificationFilter;
-import org.eclipse.emf.transaction.ResourceSetChangeEvent;
-import org.eclipse.emf.transaction.ResourceSetListenerImpl;
-import org.eclipse.emf.transaction.RollbackException;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.papyrus.uml.alf.preferences.AlfIntegrationPreferencesUtil;
-import org.eclipse.papyrus.uml.alf.transaction.commit.ISyncScenario;
-import org.eclipse.papyrus.uml.alf.transaction.commit.ScenarioFactory;
-import org.eclipse.papyrus.uml.alf.transaction.observation.listener.filter.FUMLFilter;
-import org.eclipse.uml2.uml.Element;
-
-public class FUMLElementListener extends ResourceSetListenerImpl {
-
- public FUMLElementListener(TransactionalEditingDomain editingDomain) {
- this(editingDomain.getResourceSet());
- }
-
- protected FUMLElementListener(ResourceSet resourceSet) {
- super();
- }
-
- public NotificationFilter getFilter() {
- return new FUMLFilter();
- }
-
- /**
- * If a changes occurs on a model element supported by fUML then
- * 1. If this change is implied by the ALF framework then we do nothing
- * 2. If this change is not implied by the ALF framework then we try to automatically
- * align the textual representation onto the current state of the edited model element.
- * Note this is not always possible (e.g. the user has ongoing changes in the text)
- */
- public Command transactionAboutToCommit(ResourceSetChangeEvent event) throws RollbackException {
- /* 0. If the user disabled the synchronization then we do not exploit notifications*/
- if(!AlfIntegrationPreferencesUtil.isAlfAutoSyncEnabled()){
- return null;
- }
- /* 1. Initialization */
- CompoundCommand subCommands = new CompoundCommand("Synchronization");
- HashMap<Element, List<Notification>> modifications = new HashMap<Element, List<Notification>>();
- /* 2. Notification handling */
- if (!event.getNotifications().isEmpty()) {
- /* 2.1. Notification registration phase */
- for (Notification notification : event.getNotifications()) {
- Element target = (Element) notification.getNotifier();
- if (modifications.get(target) == null) {
- modifications.put(target, new ArrayList<Notification>());
- }
- modifications.get(target).add(notification);
- }
- /* 2.2. Calculate synchronization actions through a synchronization scenario */
- ISyncScenario scenario = ScenarioFactory.getInstance().createSyncScenario();
- subCommands.append(scenario.synchronize(modifications));
- }
- return subCommands;
- }
-
-
-}
-
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/observation/listener/filter/FUMLFilter.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/observation/listener/filter/FUMLFilter.java deleted file mode 100644 index f4b64d662e1..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/observation/listener/filter/FUMLFilter.java +++ /dev/null @@ -1,353 +0,0 @@ -/*****************************************************************************
- * 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:
- * Jeremie Tatibouet (CEA LIST)
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.observation.listener.filter;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.transaction.NotificationFilter;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.UMLPackage;
-import org.eclipse.uml2.uml.resource.UMLResource;
-
-public class FUMLFilter extends NotificationFilter.Custom {
-
- public FUMLFilter() {
- }
-
- /**
- * Filter starting point
- */
- public boolean matches(Notification notification) {
- Object notifier = notification.getNotifier();
- if (!this.isNotifierAllowed(notifier)) {
- return false;
- }
- Object feature = notification.getFeature();
- if (notifier != null && feature != null) {
- if (FUMLScopeUtil.isEnumeration(notifier)) {
- return this.isEnumerationFeatureListened((EStructuralFeature) feature);
- } else if (FUMLScopeUtil.isDataType(notifier)) {
- return this.isDatatypeFeatureListened((EStructuralFeature) feature);
- } else if (FUMLScopeUtil.isPackage(notifier)) {
- return this.isPackageFeatureListened((EStructuralFeature) feature);
- }/* else if (this.isAssociation(notifier)) {
- return this.isAssociationFeatureListener((EStructuralFeature) feature);
- }*/ else if (FUMLScopeUtil.isSignal(notifier)) {
- return this.isSignalFeatureListened((EStructuralFeature) feature);
- } else if (FUMLScopeUtil.isClass(notifier)) {
- return this.isClassFeatureListened((EStructuralFeature) feature);
- } else if (FUMLScopeUtil.isGeneralization(notifier)) {
- return this.isGeneralizationtFeatureListened((EStructuralFeature) feature);
- }else if(FUMLScopeUtil.isProperty(notifier)){
- return this.isPropertyFeatureListened((EStructuralFeature)feature);
- }else if(FUMLScopeUtil.isOperation(notifier)){
- return this.isOperationFeatureListened((EStructuralFeature)feature);
- }else if(FUMLScopeUtil.isReception(notifier)){
- return this.isReceptionFeatureListened((EStructuralFeature)feature);
- }else if(FUMLScopeUtil.isLiteralUnlimitedNatural(notifier)){
- return this.isLiteralUnlimitedNaturalFeatureListened((EStructuralFeature)feature);
- }else if(FUMLScopeUtil.isEnumerationLiteral(notifier)){
- return this.isEnumerationLiteralFeatureListened((EStructuralFeature)feature);
- }else if(FUMLScopeUtil.isPackageImport(notifier)){
- return this.isPackageImportFeatureListened((EStructuralFeature)feature);
- }else if(FUMLScopeUtil.isElementImport(notifier)){
- return this.isElementImportFeatureListened((EStructuralFeature)feature);
- }
- }
- return false;
- }
-
- private boolean isNotifierAllowed(Object notifier) {
- boolean allowed = false;
- if (notifier instanceof Element) {
- EObject target = (EObject) notifier;
- if (target.eResource() != null && target.eResource() instanceof UMLResource) {
- allowed = target.eResource().isTrackingModification();
- }
- }
- return allowed;
- }
-
- /*----------------------------------------------------------------------------*/
- /* Low level checks encoding the UML meta-model hierarchy */
- /*----------------------------------------------------------------------------*/
-
- private boolean isGeneralizationtFeatureListened(EStructuralFeature feature) {
- if (UMLPackage.eINSTANCE.getGeneralization_General() == feature
- || UMLPackage.eINSTANCE.getGeneralization_Specific() == feature) {
- return true;
- }
- return false;
- }
-
- private boolean isNamedElementFeatureListened(EStructuralFeature feature) {
- if (UMLPackage.eINSTANCE.getNamedElement_Name() == feature
- || UMLPackage.eINSTANCE.getNamedElement_QualifiedName() == feature
- || UMLPackage.eINSTANCE.getNamedElement_Namespace() == feature
- || UMLPackage.eINSTANCE.getNamedElement_Visibility() == feature
- || UMLPackage.eINSTANCE.getNamedElement_Namespace() == feature) {
- return true;
- }
- return false;
- }
-
- private boolean isTypeFeatureListened(EStructuralFeature feature) {
- return UMLPackage.eINSTANCE.getType_Package() == feature || this.isPackageableElementFeatureListened(feature);
- }
-
- private boolean isNamespaceFeatureListened(EStructuralFeature feature) {
- if (UMLPackage.eINSTANCE.getNamespace_ElementImport() == feature
- //|| UMLPackage.eINSTANCE.getNamespace_ImportedMember() == feature [Detected when element import changes]
- || UMLPackage.eINSTANCE.getNamespace_Member() == feature
- || UMLPackage.eINSTANCE.getNamespace_OwnedMember() == feature
- || UMLPackage.eINSTANCE.getNamespace_PackageImport() == feature
- || this.isNamedElementFeatureListened(feature)) {
- return true;
- }
- return false;
- }
-
- private boolean isPackageableElementFeatureListened(EStructuralFeature feature) {
- return this.isNamedElementFeatureListened(feature);
- }
-
- private boolean isPackageFeatureListened(EStructuralFeature feature) {
- if (UMLPackage.eINSTANCE.getPackage_URI() == feature
- || UMLPackage.eINSTANCE.getPackage_NestedPackage() == feature
- || UMLPackage.eINSTANCE.getPackage_NestingPackage() == feature
- || UMLPackage.eINSTANCE.getPackage_OwnedType() == feature
- || UMLPackage.eINSTANCE.getPackage_PackagedElement() == feature
- || this.isPackageableElementFeatureListened(feature)
- || this.isNamespaceFeatureListened(feature)) {
- return true;
- }
- return false;
- }
-
- private boolean isClassifierFeatureListened(EStructuralFeature feature) {
- if (UMLPackage.eINSTANCE.getClassifier_IsFinalSpecialization() == feature
- || UMLPackage.eINSTANCE.getClassifier_IsAbstract() == feature
- || UMLPackage.eINSTANCE.getClassifier_Attribute() == feature
- || UMLPackage.eINSTANCE.getClassifier_Feature() == feature
- //|| UMLPackage.eINSTANCE.getClassifier_General() == feature [Detected when generalization changes]
- || UMLPackage.eINSTANCE.getClassifier_Generalization() == feature
- || this.isNamespaceFeatureListened(feature)
- || this.isTypeFeatureListened(feature)) {
- return true;
- }
- return false;
- }
-
- private boolean isStructuredClassifierFeatureListened(EStructuralFeature feature) {
- if (UMLPackage.eINSTANCE.getStructuredClassifier_OwnedAttribute() == feature
- || this.isClassifierFeatureListened(feature)) {
- return true;
- }
- return false;
- }
-
- private boolean isEncapsulatedClassifierFeatureListened(EStructuralFeature feature) {
- return this.isStructuredClassifierFeatureListened(feature);
- }
-
- private boolean isBehavioredClassifierListened(EStructuralFeature feature) {
- if (UMLPackage.eINSTANCE.getBehavioredClassifier_ClassifierBehavior() == feature
- || UMLPackage.eINSTANCE.getBehavioredClassifier_OwnedBehavior() == feature
- || this.isClassifierFeatureListened(feature)) {
- return true;
- }
- return false;
- }
-
- private boolean isClassFeatureListened(EStructuralFeature feature) {
- if (UMLPackage.eINSTANCE.getClass_IsActive() == feature
- || UMLPackage.eINSTANCE.getClass_NestedClassifier() == feature
- || UMLPackage.eINSTANCE.getClass_OwnedOperation() == feature
- || UMLPackage.eINSTANCE.getClass_OwnedReception() == feature
- || UMLPackage.eINSTANCE.getClass_SuperClass() == feature
- || this.isEncapsulatedClassifierFeatureListened(feature)
- || this.isBehavioredClassifierListened(feature)) {
- return true;
- }
- return false;
- }
-
- @SuppressWarnings("unused")
- private boolean isAssociationFeatureListener(EStructuralFeature feature) {
- return UMLPackage.eINSTANCE.getAssociation_OwnedEnd() == feature || this.isClassifierFeatureListened(feature);
- }
-
- private boolean isSignalFeatureListened(EStructuralFeature feature) {
- return UMLPackage.eINSTANCE.getSignal_OwnedAttribute() == feature || this.isClassifierFeatureListened(feature);
- }
-
- private boolean isDatatypeFeatureListened(EStructuralFeature feature) {
- return UMLPackage.eINSTANCE.getDataType_OwnedAttribute() == feature || this.isClassifierFeatureListened(feature);
- }
-
- private boolean isEnumerationFeatureListened(EStructuralFeature feature) {
- return UMLPackage.eINSTANCE.getEnumeration_OwnedLiteral() == feature || this.isDatatypeFeatureListened(feature);
- }
-
- private boolean isRedefinableElementFeatureListened(EStructuralFeature feature){
- if(UMLPackage.eINSTANCE.getRedefinableElement_IsLeaf() == feature
- || UMLPackage.eINSTANCE.getRedefinableElement_RedefinedElement() == feature
- || UMLPackage.eINSTANCE.getRedefinableElement_RedefinitionContext() == feature
- || this.isNamedElementFeatureListened(feature)){
- return true;
- }
- return false;
- }
-
- private boolean isFeatureFeatureListened(EStructuralFeature feature){
- if(UMLPackage.eINSTANCE.getFeature_IsStatic() == feature
- || UMLPackage.eINSTANCE.getFeature_FeaturingClassifier() == feature
- || this.isRedefinableElementFeatureListened(feature)){
- return true;
- }
- return false;
- }
-
- private boolean isMultiplicityElementFeatureListened(EStructuralFeature feature){
- if(UMLPackage.eINSTANCE.getMultiplicityElement_IsOrdered() == feature
- || UMLPackage.eINSTANCE.getMultiplicityElement_IsUnique() == feature
- || UMLPackage.eINSTANCE.getMultiplicityElement_Lower() == feature
- || UMLPackage.eINSTANCE.getMultiplicityElement_Upper() == feature){
- return true;
- }
- return false;
- }
-
- private boolean isTypedElementFeatureListened(EStructuralFeature feature){
- if(UMLPackage.eINSTANCE.getTypedElement_Type() == feature
- || this.isNamedElementFeatureListened(feature)){
- return true;
- }
- return false;
- }
-
- private boolean isStructuralFeatureListened(EStructuralFeature feature){
- if(UMLPackage.eINSTANCE.getStructuralFeature_IsReadOnly() == feature
- || this.isFeatureFeatureListened(feature)
- || this.isMultiplicityElementFeatureListened(feature)
- || this.isTypedElementFeatureListened(feature)){
- return true;
- }
- return false;
- }
-
- private boolean isPropertyFeatureListened(EStructuralFeature feature){
- if(UMLPackage.eINSTANCE.getProperty_Aggregation() == feature
- || UMLPackage.eINSTANCE.getProperty_IsComposite() == feature
- || UMLPackage.eINSTANCE.getProperty_IsDerived() == feature
- || UMLPackage.eINSTANCE.getProperty_IsDerivedUnion() == feature
- || UMLPackage.eINSTANCE.getProperty_IsID()==feature
- || UMLPackage.eINSTANCE.getProperty_Association() == feature
- || UMLPackage.eINSTANCE.getProperty_Class() == feature
- || UMLPackage.eINSTANCE.getProperty_Datatype() == feature
- || UMLPackage.eINSTANCE.getProperty_Opposite() == feature
- || UMLPackage.eINSTANCE.getProperty_OwningAssociation() == feature
- || this.isStructuralFeatureListened(feature)){
- return true;
- }
- return false;
- }
-
- private boolean isValueSpecificationFeatureListened(EStructuralFeature feature){
- if(this.isTypedElementFeatureListened(feature)){
- return true;
- }
- return false;
- }
-
- private boolean isLiteralSpecificationFeatureListened(EStructuralFeature feature){
- if(this.isValueSpecificationFeatureListened(feature)){
- return true;
- }
- return false;
- }
-
- private boolean isLiteralUnlimitedNaturalFeatureListened(EStructuralFeature feature){
- if(UMLPackage.eINSTANCE.getLiteralUnlimitedNatural_Value() == feature
- || this.isLiteralSpecificationFeatureListened(feature)){
- return true;
- }
- return false;
- }
-
- private boolean isBehavioralFeatureListened(EStructuralFeature feature){
- if(UMLPackage.eINSTANCE.getBehavioralFeature_Concurrency() == feature
- || UMLPackage.eINSTANCE.getBehavioralFeature_OwnedParameter() == feature
- || UMLPackage.eINSTANCE.getBehavioralFeature_Method() == feature
- || this.isFeatureFeatureListened(feature)){
- return true;
- }
- return false;
- }
-
- private boolean isOperationFeatureListened(EStructuralFeature feature){
- if(UMLPackage.eINSTANCE.getOperation_IsQuery() == feature
- || UMLPackage.eINSTANCE.getOperation_RedefinedOperation() == feature
- || UMLPackage.eINSTANCE.getOperation_Type() == feature
- || UMLPackage.eINSTANCE.getOperation_Class() == feature
- || this.isBehavioralFeatureListened(feature)){
- return true;
- }
- return false;
- }
-
- private boolean isReceptionFeatureListened(EStructuralFeature feature){
- if(UMLPackage.eINSTANCE.getReception_Signal() == feature
- || this.isBehavioralFeatureListened(feature)){
- return true;
- }
- return false;
- }
-
- private boolean isInstanceSpecificationFeatureListener(EStructuralFeature feature){
- if(UMLPackage.eINSTANCE.getInstanceSpecification_Classifier() == feature
- || UMLPackage.eINSTANCE.getInstanceSpecification_Slot() == feature
- || this.isNamedElementFeatureListened(feature)){
- return true;
- }
- return false;
- }
-
- private boolean isEnumerationLiteralFeatureListened(EStructuralFeature feature){
- if(UMLPackage.eINSTANCE.getEnumerationLiteral_Enumeration() == feature
- || this.isInstanceSpecificationFeatureListener(feature)){
- return true;
- }
- return false;
- }
-
- private boolean isPackageImportFeatureListened(EStructuralFeature feature){
- if(UMLPackage.eINSTANCE.getPackageImport_Visibility() == feature
- || UMLPackage.eINSTANCE.getPackageImport_ImportedPackage() == feature
- || UMLPackage.eINSTANCE.getPackageImport_ImportingNamespace() == feature){
- return true;
- }
- return false;
- }
-
- private boolean isElementImportFeatureListened(EStructuralFeature feature){
- if(UMLPackage.eINSTANCE.getElementImport_ImportedElement() == feature
- || UMLPackage.eINSTANCE.getElementImport_ImportingNamespace() == feature
- || UMLPackage.eINSTANCE.getElementImport_Visibility() == feature
- || UMLPackage.eINSTANCE.getElementImport_Alias() == feature){
- return true;
- }
- return false;
- }
-}
diff --git a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/observation/listener/filter/FUMLScopeUtil.java b/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/observation/listener/filter/FUMLScopeUtil.java deleted file mode 100644 index d80116956a0..00000000000 --- a/extraplugins/alf/core/org.eclipse.papyrus.uml.alf.transaction/src/org/eclipse/papyrus/uml/alf/transaction/observation/listener/filter/FUMLScopeUtil.java +++ /dev/null @@ -1,246 +0,0 @@ -/*****************************************************************************
- * 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:
- * Jeremie Tatibouet (CEA LIST)
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.transaction.observation.listener.filter;
-
-import org.eclipse.uml2.uml.Activity;
-import org.eclipse.uml2.uml.Association;
-import org.eclipse.uml2.uml.AssociationClass;
-import org.eclipse.uml2.uml.Behavior;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.CommunicationPath;
-import org.eclipse.uml2.uml.Component;
-import org.eclipse.uml2.uml.DataType;
-import org.eclipse.uml2.uml.ElementImport;
-import org.eclipse.uml2.uml.Enumeration;
-import org.eclipse.uml2.uml.EnumerationLiteral;
-import org.eclipse.uml2.uml.Extension;
-import org.eclipse.uml2.uml.ExtensionEnd;
-import org.eclipse.uml2.uml.Generalization;
-import org.eclipse.uml2.uml.LiteralUnlimitedNatural;
-import org.eclipse.uml2.uml.Model;
-import org.eclipse.uml2.uml.Node;
-import org.eclipse.uml2.uml.Operation;
-import org.eclipse.uml2.uml.Package;
-import org.eclipse.uml2.uml.PackageImport;
-import org.eclipse.uml2.uml.Port;
-import org.eclipse.uml2.uml.Profile;
-import org.eclipse.uml2.uml.Property;
-import org.eclipse.uml2.uml.Reception;
-import org.eclipse.uml2.uml.Signal;
-import org.eclipse.uml2.uml.Stereotype;
-
-/**
- * Provides utility to check if an object is part of the fUML scope
- */
-public class FUMLScopeUtil {
-
- /**
- * Check if the given notifier is strictly a Class
- *
- * @param notifier
- *
- * @return true if constraint is verified false otherwise
- */
- public static boolean isClass(Object notifier) {
- if (notifier instanceof Class &&
- (!(notifier instanceof AssociationClass) &&
- !(notifier instanceof Component) &&
- !(notifier instanceof Node) &&
- !(notifier instanceof Stereotype) &&
- !(notifier instanceof Behavior))) {
- return true;
- }
- return false;
- }
-
- /**
- * Check if the given notifier is strictly a Signal
- *
- * @param notifier
- *
- * @return true if constraint is verified false otherwise
- */
- public static boolean isSignal(Object notifier) {
- return notifier instanceof Signal;
- }
-
- /**
- * Check if the given notifier is strictly a DataType
- *
- * @param notifier
- *
- * @return true if constraint is verified false otherwise
- */
- public static boolean isDataType(Object notifier) {
- if (notifier instanceof DataType
- && !(notifier instanceof Enumeration)) {
- return true;
- }
- return false;
- }
-
- /**
- * Check if the given notifier is strictly a Package
- *
- * @param notifier
- *
- * @return true if constraint is verified false otherwise
- */
- public static boolean isPackage(Object notifier) {
- if (notifier != null
- && notifier instanceof Package
- && !(notifier instanceof Model)
- && !(notifier instanceof Profile)) {
- return true;
- }
- return false;
- }
-
- /**
- * Check if the given notifier is strictly an Enumeration
- *
- * @param notifier
- *
- * @return true if constraint is verified false otherwise
- */
- public static boolean isEnumeration(Object notifier) {
- return notifier instanceof Enumeration;
- }
-
- /**
- * Check if the given notifier is strictly an Association
- *
- * @param notifier
- *
- * @return true if constraint is verified false otherwise
- */
- public static boolean isAssociation(Object notifier) {
- if (notifier instanceof Association
- && !(notifier instanceof AssociationClass)
- && !(notifier instanceof Extension)
- && !(notifier instanceof CommunicationPath)) {
- Association association = (Association)notifier;
- return association.getOwnedEnds().size() == association.getMemberEnds().size();
- }
- return false;
- }
-
- /**
- * Check if the given notifier is strictly a Generalization
- *
- * @param notifier
- *
- * @return true if constraint is verified false otherwise
- */
- public static boolean isGeneralization(Object notifier) {
- return notifier instanceof Generalization;
- }
-
- /**
- * Check if the given notifier is strictly a property
- *
- * @param notifier
- *
- * @return true if constraint is verified false otherwise
- */
- public static boolean isProperty(Object notifier){
- if(notifier instanceof Property
- && !(notifier instanceof Port)
- && !(notifier instanceof ExtensionEnd) ){
- return true;
- }
- return false;
- }
-
- public static boolean isActivity(Object notifier){
- return notifier instanceof Activity;
- }
-
- public static boolean isLiteralUnlimitedNatural(Object notifier){
- return notifier instanceof LiteralUnlimitedNatural;
- }
-
- /**
- * Check if the given notifier is strictly an Operation
- *
- * @param notifier
- *
- * @return true if constraint is verified false otherwise
- */
- public static boolean isOperation(Object notifier){
- return notifier instanceof Operation;
- }
-
- /**
- * This predictate is only valid if:
- * 1 - the notified is an Operation
- * 2 - the operation is not abstract
- * 3 - there is only one implementation for the operation
- * 4 - the implementation is given as an activity
- *
- * @param notifier
- *
- * @return true if constraint is verified false otherwise
- */
- public static boolean isOperationWithImplementation(Object notifier){
- return isOperation(notifier)
- && !((Operation)notifier).isAbstract()
- && ((Operation)notifier).getMethods().size()==1
- && ((Operation)notifier).getMethods().get(0) instanceof Activity;
- }
-
- /**
- * Check if the given notifier is strictly a Reception
- *
- * @param notifier
- *
- * @return true if constraint is verified false otherwise
- */
- public static boolean isReception(Object notifier){
- return notifier instanceof Reception;
- }
-
- /**
- * Check if the given notifier is strictly an Enumeration literal
- *
- * @param notifier
- *
- * @return true if constraint is verified false otherwise
- */
- public static boolean isEnumerationLiteral(Object notifier){
- return notifier instanceof EnumerationLiteral;
- }
-
- /**
- * Check if the given notifier is strictly a PackageImport
- *
- * @param notifier
- *
- * @return true if constraint is verified false otherwise
- */
- public static boolean isPackageImport(Object notifier){
- return notifier instanceof PackageImport;
- }
-
- /**
- * Check if the given notifier is strictly an ElementImport
- *
- * @param notifier
- *
- * @return true if constraint is verified false otherwise
- */
- public static boolean isElementImport(Object notifier){
- return notifier instanceof ElementImport;
- }
-
-}
diff --git a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/.project b/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/.project deleted file mode 100644 index 7c7d71beef3..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/.project +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.alf.sdk-feature</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
diff --git a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/about.html b/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/about.html deleted file mode 100755 index 77ef6958f99..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/about.html +++ /dev/null @@ -1,28 +0,0 @@ -<!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>March, 2014</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>
diff --git a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/build.properties b/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/build.properties deleted file mode 100644 index 7a0745c8758..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/build.properties +++ /dev/null @@ -1,6 +0,0 @@ -bin.includes = feature.xml,\
- feature.properties,\
- eclipse_update_120.jpg,\
- epl-v10.html,\
- license.html
-src.includes = about.html diff --git a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/eclipse_update_120.jpg b/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/eclipse_update_120.jpg Binary files differdeleted file mode 100644 index bfdf708ad61..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/eclipse_update_120.jpg +++ /dev/null diff --git a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/epl-v10.html b/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/epl-v10.html deleted file mode 100644 index cb1073a4bad..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/epl-v10.html +++ /dev/null @@ -1,304 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> -<html xmlns:o="urn:schemas-microsoft-com:office:office" -xmlns:w="urn:schemas-microsoft-com:office:word" -xmlns="http://www.w3.org/TR/REC-html40"> - -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<link rel=File-List -href="./Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"> -<title>Eclipse Public License - Version 1.0</title> -<style> -<!-- - /* Font Definitions */ -@font-face - { - panose-1:2 11 6 4 3 5 4 4 2 4; - mso-font-charset:0; - mso-font-pitch:variable; - mso-font-signature:553679495 -2147483648 8 0 66047 0;} - /* Style Definitions */ -p.MsoNormal, li.MsoNormal, div.MsoNormal - {mso-style-parent:""; - margin:0in; - margin-bottom:.0001pt; - mso-pagination:widow-orphan; - font-size:12.0pt; - } -p - {margin-right:0in; - mso-margin-top-alt:auto; - mso-margin-bottom-alt:auto; - margin-left:0in; - mso-pagination:widow-orphan; - font-size:12.0pt; - } -p.BalloonText, li.BalloonText, div.BalloonText - {mso-style-name:"Balloon Text"; - margin:0in; - margin-bottom:.0001pt; - mso-pagination:widow-orphan; - font-size:8.0pt; - - } -@page Section1 - {size:8.5in 11.0in; - margin:1.0in 1.25in 1.0in 1.25in; - mso-header-margin:.5in; - mso-footer-margin:.5in; - mso-paper-source:0;} -div.Section1 - {page:Section1;} ---> -</style> -</head> - -<body lang="EN-US" style='tab-interval:.5in'> - -<div class=Section1> - -<p align=center style='text-align:center'><b>Eclipse Public License - v 1.0</b> -</p> - -<p><span style='font-size:10.0pt'>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER -THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, -REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE -OF THIS AGREEMENT.</span> </p> - -<p><b><span style='font-size:10.0pt'>1. DEFINITIONS</span></b> </p> - -<p><span style='font-size:10.0pt'>"Contribution" means:</span> </p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a) -in the case of the initial Contributor, the initial code and documentation -distributed under this Agreement, and<br clear=left> -b) in the case of each subsequent Contributor:</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i) -changes to the Program, and</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii) -additions to the Program;</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>where -such changes and/or additions to the Program originate from and are distributed -by that particular Contributor. A Contribution 'originates' from a Contributor -if it was added to the Program by such Contributor itself or anyone acting on -such Contributor's behalf. Contributions do not include additions to the -Program which: (i) are separate modules of software distributed in conjunction -with the Program under their own license agreement, and (ii) are not derivative -works of the Program. </span></p> - -<p><span style='font-size:10.0pt'>"Contributor" means any person or -entity that distributes the Program.</span> </p> - -<p><span style='font-size:10.0pt'>"Licensed Patents " mean patent -claims licensable by a Contributor which are necessarily infringed by the use -or sale of its Contribution alone or when combined with the Program. </span></p> - -<p><span style='font-size:10.0pt'>"Program" means the Contributions -distributed in accordance with this Agreement.</span> </p> - -<p><span style='font-size:10.0pt'>"Recipient" means anyone who -receives the Program under this Agreement, including all Contributors.</span> </p> - -<p><b><span style='font-size:10.0pt'>2. GRANT OF RIGHTS</span></b> </p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a) -Subject to the terms of this Agreement, each Contributor hereby grants Recipient -a non-exclusive, worldwide, royalty-free copyright license to<span -style='color:red'> </span>reproduce, prepare derivative works of, publicly -display, publicly perform, distribute and sublicense the Contribution of such -Contributor, if any, and such derivative works, in source code and object code -form.</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) -Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide,<span style='color:green'> </span>royalty-free -patent license under Licensed Patents to make, use, sell, offer to sell, import -and otherwise transfer the Contribution of such Contributor, if any, in source -code and object code form. This patent license shall apply to the combination -of the Contribution and the Program if, at the time the Contribution is added -by the Contributor, such addition of the Contribution causes such combination -to be covered by the Licensed Patents. The patent license shall not apply to -any other combinations which include the Contribution. No hardware per se is -licensed hereunder. </span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>c) -Recipient understands that although each Contributor grants the licenses to its -Contributions set forth herein, no assurances are provided by any Contributor -that the Program does not infringe the patent or other intellectual property -rights of any other entity. Each Contributor disclaims any liability to Recipient -for claims brought by any other entity based on infringement of intellectual -property rights or otherwise. As a condition to exercising the rights and -licenses granted hereunder, each Recipient hereby assumes sole responsibility -to secure any other intellectual property rights needed, if any. For example, -if a third party patent license is required to allow Recipient to distribute -the Program, it is Recipient's responsibility to acquire that license before -distributing the Program.</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>d) -Each Contributor represents that to its knowledge it has sufficient copyright -rights in its Contribution, if any, to grant the copyright license set forth in -this Agreement. </span></p> - -<p><b><span style='font-size:10.0pt'>3. REQUIREMENTS</span></b> </p> - -<p><span style='font-size:10.0pt'>A Contributor may choose to distribute the -Program in object code form under its own license agreement, provided that:</span> -</p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a) -it complies with the terms and conditions of this Agreement; and</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) -its license agreement:</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i) -effectively disclaims on behalf of all Contributors all warranties and -conditions, express and implied, including warranties or conditions of title -and non-infringement, and implied warranties or conditions of merchantability -and fitness for a particular purpose; </span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii) -effectively excludes on behalf of all Contributors all liability for damages, -including direct, indirect, special, incidental and consequential damages, such -as lost profits; </span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iii) -states that any provisions which differ from this Agreement are offered by that -Contributor alone and not by any other party; and</span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iv) -states that source code for the Program is available from such Contributor, and -informs licensees how to obtain it in a reasonable manner on or through a -medium customarily used for software exchange.<span style='color:blue'> </span></span></p> - -<p><span style='font-size:10.0pt'>When the Program is made available in source -code form:</span> </p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a) -it must be made available under this Agreement; and </span></p> - -<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) a -copy of this Agreement must be included with each copy of the Program. </span></p> - -<p><span style='font-size:10.0pt'>Contributors may not remove or alter any -copyright notices contained within the Program. </span></p> - -<p><span style='font-size:10.0pt'>Each Contributor must identify itself as the -originator of its Contribution, if any, in a manner that reasonably allows -subsequent Recipients to identify the originator of the Contribution. </span></p> - -<p><b><span style='font-size:10.0pt'>4. COMMERCIAL DISTRIBUTION</span></b> </p> - -<p><span style='font-size:10.0pt'>Commercial distributors of software may -accept certain responsibilities with respect to end users, business partners -and the like. While this license is intended to facilitate the commercial use -of the Program, the Contributor who includes the Program in a commercial -product offering should do so in a manner which does not create potential -liability for other Contributors. Therefore, if a Contributor includes the -Program in a commercial product offering, such Contributor ("Commercial -Contributor") hereby agrees to defend and indemnify every other -Contributor ("Indemnified Contributor") against any losses, damages and -costs (collectively "Losses") arising from claims, lawsuits and other -legal actions brought by a third party against the Indemnified Contributor to -the extent caused by the acts or omissions of such Commercial Contributor in -connection with its distribution of the Program in a commercial product -offering. The obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. In order -to qualify, an Indemnified Contributor must: a) promptly notify the Commercial -Contributor in writing of such claim, and b) allow the Commercial Contributor -to control, and cooperate with the Commercial Contributor in, the defense and -any related settlement negotiations. The Indemnified Contributor may participate -in any such claim at its own expense.</span> </p> - -<p><span style='font-size:10.0pt'>For example, a Contributor might include the -Program in a commercial product offering, Product X. That Contributor is then a -Commercial Contributor. If that Commercial Contributor then makes performance -claims, or offers warranties related to Product X, those performance claims and -warranties are such Commercial Contributor's responsibility alone. Under this -section, the Commercial Contributor would have to defend claims against the -other Contributors related to those performance claims and warranties, and if a -court requires any other Contributor to pay any damages as a result, the -Commercial Contributor must pay those damages.</span> </p> - -<p><b><span style='font-size:10.0pt'>5. NO WARRANTY</span></b> </p> - -<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS -AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT -WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, -WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely -responsible for determining the appropriateness of using and distributing the -Program and assumes all risks associated with its exercise of rights under this -Agreement , including but not limited to the risks and costs of program errors, -compliance with applicable laws, damage to or loss of data, programs or -equipment, and unavailability or interruption of operations. </span></p> - -<p><b><span style='font-size:10.0pt'>6. DISCLAIMER OF LIABILITY</span></b> </p> - -<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS -AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY -OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF -THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF -THE POSSIBILITY OF SUCH DAMAGES.</span> </p> - -<p><b><span style='font-size:10.0pt'>7. GENERAL</span></b> </p> - -<p><span style='font-size:10.0pt'>If any provision of this Agreement is invalid -or unenforceable under applicable law, it shall not affect the validity or -enforceability of the remainder of the terms of this Agreement, and without -further action by the parties hereto, such provision shall be reformed to the -minimum extent necessary to make such provision valid and enforceable.</span> </p> - -<p><span style='font-size:10.0pt'>If Recipient institutes patent litigation -against any entity (including a cross-claim or counterclaim in a lawsuit) -alleging that the Program itself (excluding combinations of the Program with -other software or hardware) infringes such Recipient's patent(s), then such -Recipient's rights granted under Section 2(b) shall terminate as of the date -such litigation is filed. </span></p> - -<p><span style='font-size:10.0pt'>All Recipient's rights under this Agreement -shall terminate if it fails to comply with any of the material terms or -conditions of this Agreement and does not cure such failure in a reasonable -period of time after becoming aware of such noncompliance. If all Recipient's -rights under this Agreement terminate, Recipient agrees to cease use and -distribution of the Program as soon as reasonably practicable. However, -Recipient's obligations under this Agreement and any licenses granted by -Recipient relating to the Program shall continue and survive. </span></p> - -<p><span style='font-size:10.0pt'>Everyone is permitted to copy and distribute -copies of this Agreement, but in order to avoid inconsistency the Agreement is -copyrighted and may only be modified in the following manner. The Agreement -Steward reserves the right to publish new versions (including revisions) of -this Agreement from time to time. No one other than the Agreement Steward has -the right to modify this Agreement. The Eclipse Foundation is the initial -Agreement Steward. The Eclipse Foundation may assign the responsibility to -serve as the Agreement Steward to a suitable separate entity. Each new version -of the Agreement will be given a distinguishing version number. The Program -(including Contributions) may always be distributed subject to the version of -the Agreement under which it was received. In addition, after a new version of -the Agreement is published, Contributor may elect to distribute the Program -(including its Contributions) under the new version. Except as expressly stated -in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to -the intellectual property of any Contributor under this Agreement, whether -expressly, by implication, estoppel or otherwise. All rights in the Program not -expressly granted under this Agreement are reserved.</span> </p> - -<p><span style='font-size:10.0pt'>This Agreement is governed by the laws of the -State of New York and the intellectual property laws of the United States of -America. No party to this Agreement will bring a legal action under this -Agreement more than one year after the cause of action arose. Each party waives -its rights to a jury trial in any resulting litigation.</span> </p> - -<p class=MsoNormal></p> - -</div> - -</body> - -</html>
\ No newline at end of file diff --git a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/feature.properties b/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/feature.properties deleted file mode 100644 index 9336cf9d5da..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/feature.properties +++ /dev/null @@ -1,145 +0,0 @@ -# NLS_MESSAGEFORMAT_VAR - -# "featureName" property - name of the feature -featureName=Alf editor (Incubation) - -# "providerName" property - name of the company that provides the feature -providerName=Eclipse Modeling Project - -# "description" property - description of the feature -description=This feature includes:an implementation of a parser and semantic checker for the OMG standard Alf Beta 1, as well as a textual editor for operation signatures and bodies based the Alf Parser/Semantic checker - -# "licenseURL" property - URL of the "Feature License" -# do not translate value - just change to point to a locale-specific HTML page -licenseURL=license.html - -# "license" property - text of the "Feature Update License" -# should be plain text version of license agreement pointed to be "licenseURL" -license=\ -Eclipse Foundation Software User Agreement\n\ -April 14, 2010\n\ -\n\ -Usage Of Content\n\ -\n\ -THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ -OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ -USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ -AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ -NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ -AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ -AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ -OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ -TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ -OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ -BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ -\n\ -Applicable Licenses\n\ -\n\ -Unless otherwise indicated, all Content made available by the\n\ -Eclipse Foundation is provided to you under the terms and conditions of\n\ -the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ -provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ -For purposes of the EPL, "Program" will mean the Content.\n\ -\n\ -Content includes, but is not limited to, source code, object code,\n\ -documentation and other files maintained in the Eclipse Foundation source code\n\ -repository ("Repository") in software modules ("Modules") and made available\n\ -as downloadable archives ("Downloads").\n\ -\n\ - - Content may be structured and packaged into modules to facilitate delivering,\n\ - extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ - plug-in fragments ("Fragments"), and features ("Features").\n\ - - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ - in a directory named "plugins".\n\ - - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ - Each Feature may be packaged as a sub-directory in a directory named "features".\n\ - Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ - numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ - - Features may also include other Features ("Included Features"). Within a Feature, files\n\ - named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ -\n\ -The terms and conditions governing Plug-ins and Fragments should be\n\ -contained in files named "about.html" ("Abouts"). The terms and\n\ -conditions governing Features and Included Features should be contained\n\ -in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ -Licenses may be located in any directory of a Download or Module\n\ -including, but not limited to the following locations:\n\ -\n\ - - The top-level (root) directory\n\ - - Plug-in and Fragment directories\n\ - - Inside Plug-ins and Fragments packaged as JARs\n\ - - Sub-directories of the directory named "src" of certain Plug-ins\n\ - - Feature directories\n\ -\n\ -Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ -Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ -Update License") during the installation process. If the Feature contains\n\ -Included Features, the Feature Update License should either provide you\n\ -with the terms and conditions governing the Included Features or inform\n\ -you where you can locate them. Feature Update Licenses may be found in\n\ -the "license" property of files named "feature.properties" found within a Feature.\n\ -Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ -terms and conditions (or references to such terms and conditions) that\n\ -govern your use of the associated Content in that directory.\n\ -\n\ -THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ -TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ -SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ -\n\ - - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ - - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ - - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ - - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\ - - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ -\n\ -IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ -TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ -is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ -govern that particular Content.\n\ -\n\ -\n\Use of Provisioning Technology\n\ -\n\ -The Eclipse Foundation makes available provisioning software, examples of which include,\n\ -but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ -the purpose of allowing users to install software, documentation, information and/or\n\ -other materials (collectively "Installable Software"). This capability is provided with\n\ -the intent of allowing such users to install, extend and update Eclipse-based products.\n\ -Information about packaging Installable Software is available at\n\ -http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ -\n\ -You may use Provisioning Technology to allow other parties to install Installable Software.\n\ -You shall be responsible for enabling the applicable license agreements relating to the\n\ -Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ -in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ -making it available in accordance with the Specification, you further acknowledge your\n\ -agreement to, and the acquisition of all necessary rights to permit the following:\n\ -\n\ - 1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ - the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ - extending or updating the functionality of an Eclipse-based product.\n\ - 2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ - Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ - 3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ - govern the use of the Installable Software ("Installable Software Agreement") and such\n\ - Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ - with the Specification. Such Installable Software Agreement must inform the user of the\n\ - terms and conditions that govern the Installable Software and must solicit acceptance by\n\ - the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ - indication of agreement by the user, the provisioning Technology will complete installation\n\ - of the Installable Software.\n\ -\n\ -Cryptography\n\ -\n\ -Content may contain encryption software. The country in which you are\n\ -currently may have restrictions on the import, possession, and use,\n\ -and/or re-export to another country, of encryption software. BEFORE\n\ -using any encryption software, please check the country's laws,\n\ -regulations and policies concerning the import, possession, or use, and\n\ -re-export of encryption software, to see if this is permitted.\n\ -\n\ -Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n -########### end of license property ########################################## - - -# "UpdateSiteName" property - label for the update site (on download1.eclipse.org) -PapyrusUpdateSiteName=MDT Papyrus Extra Updates - Nightly builds diff --git a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/feature.xml b/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/feature.xml deleted file mode 100644 index a64c3ab2351..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/feature.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><feature id="org.eclipse.papyrus.alf.sdk" label="%featureName" provider-name="%providerName" version="1.2.0.qualifier"> - - <description> - This feature includes: -- an implementation of a parser and semantic checker for the OMG standard Alf Beta 1 -- A textual editor for operation signatures and bodies based on the Alf Parser/Semantic checker - -Known limitations: -- Only symbol '::' is available for qualified names -- No semantic validation for sequence operations -- No semantic validation for link operations -- No semantic validation for template bindings - </description> - - <copyright url="http://www.eclipse.org/legal/epl-v10.html"> - Copyright (c) 2011 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 - </copyright> - - <license url="%licenseURL"> - %license - </license> - - <plugin download-size="0" id="org.eclipse.papyrus.uml.alf" install-size="0" unpack="false" version="0.0.0"/> - - <plugin download-size="0" id="org.eclipse.papyrus.uml.alf.ui" install-size="0" unpack="false" version="0.0.0"/> - -</feature>
\ No newline at end of file diff --git a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/license.html b/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/license.html deleted file mode 100644 index a9b560f44cd..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.alf.sdk-feature/license.html +++ /dev/null @@ -1,79 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> -<html> -<head> -<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"> -<title>Eclipse.org Software User Agreement</title> -</head> - -<body lang="EN-US" link=blue vlink=purple> -<h2>Eclipse Foundation Software User Agreement</h2> -<p>March 17, 2005</p> - -<h3>Usage Of Content</h3> - -<p>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS - (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND - CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE - OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR - NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND - CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.</p> - -<h3>Applicable Licenses</h3> - -<p>Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 - ("EPL"). A copy of the EPL is provided with this Content and is also 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>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse.org CVS repository ("Repository") in CVS - modules ("Modules") and made available as downloadable archives ("Downloads").</p> - -<ul> - <li>Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").</li> - <li>Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".</li> - <li>A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins - and/or Fragments associated with that Feature.</li> - <li>Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.</li> -</ul> - -<p>The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and -Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module -including, but not limited to the following locations:</p> - -<ul> - <li>The top-level (root) directory</li> - <li>Plug-in and Fragment directories</li> - <li>Inside Plug-ins and Fragments packaged as JARs</li> - <li>Sub-directories of the directory named "src" of certain Plug-ins</li> - <li>Feature directories</li> -</ul> - -<p>Note: if a Feature made available by the Eclipse Foundation is installed using the Eclipse Update Manager, you must agree to a license ("Feature Update License") during the -installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or -inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature. -Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in -that directory.</p> - -<p>THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE -OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p> - -<ul> - <li>Common Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>)</li> - <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li> - <li>Apache Software License 2.0 (available at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>)</li> - <li>IBM Public License 1.0 (available at <a href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</a>)</li> - <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li> - <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li> -</ul> - -<p>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please -contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.</p> - -<h3>Cryptography</h3> - -<p>Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to - another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import, - possession, or use, and re-export of encryption software, to see if this is permitted.</p> - -<small>Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.</small> -</body> -</html> diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/.classpath b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/.classpath deleted file mode 100644 index ed2585fb3f4..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/.classpath +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="src" path="src-gen"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/.project b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/.project deleted file mode 100644 index 0d741683fa1..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/.project +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.operation.editor.xtext.ui</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.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/.settings/net.sf.jautodoc.prefs b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/.settings/net.sf.jautodoc.prefs deleted file mode 100644 index 86c405767e1..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/.settings/net.sf.jautodoc.prefs +++ /dev/null @@ -1,7 +0,0 @@ -#Thu Jul 07 10:59:07 CEST 2011
-add_header=true
-eclipse.preferences.version=1
-header_text=/*****************************************************************************\r\n * Copyright (c) 2011 CEA LIST.\r\n *\r\n * \r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of the Eclipse Public License v1.0\r\n * which accompanies this distribution, and is available at\r\n * http\://www.eclipse.org/legal/epl-v10.html\r\n *\r\n * Contributors\:\r\n * CEA LIST - Initial API and implementation\r\n *\r\n *****************************************************************************/
-project_specific_settings=true
-replace_header=true
-replacements=<?xml version\="1.0" standalone\="yes"?>\n\n<replacements>\n<replacement key\="get" scope\="1" mode\="0">Gets the</replacement>\n<replacement key\="set" scope\="1" mode\="0">Sets the</replacement>\n<replacement key\="add" scope\="1" mode\="0">Adds the</replacement>\n<replacement key\="edit" scope\="1" mode\="0">Edits the</replacement>\n<replacement key\="remove" scope\="1" mode\="0">Removes the</replacement>\n<replacement key\="init" scope\="1" mode\="0">Inits the</replacement>\n<replacement key\="parse" scope\="1" mode\="0">Parses the</replacement>\n<replacement key\="create" scope\="1" mode\="0">Creates the</replacement>\n<replacement key\="build" scope\="1" mode\="0">Builds the</replacement>\n<replacement key\="is" scope\="1" mode\="0">Checks if is</replacement>\n<replacement key\="print" scope\="1" mode\="0">Prints the</replacement>\n<replacement key\="has" scope\="1" mode\="0">Checks for</replacement>\n</replacements>\n\n
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/.settings/org.eclipse.jdt.core.prefs b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index d24f685a39f..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,12 +0,0 @@ -#Tue Apr 26 18:51:42 CEST 2011
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/META-INF/MANIFEST.MF b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/META-INF/MANIFEST.MF deleted file mode 100644 index acd6047714c..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/META-INF/MANIFEST.MF +++ /dev/null @@ -1,32 +0,0 @@ -Manifest-Version: 1.0
-Export-Package: org.eclipse.papyrus.operation.editor.xtext.ui.contentassist.antlr,
- org.eclipse.papyrus.operation.editor.xtext.ui.internal
-Require-Bundle: org.eclipse.papyrus.operation.editor.xtext;bundle-version="1.2.0";visibility:=reexport,
- org.eclipse.xtext.ui,
- org.eclipse.ui.editors;bundle-version="3.5.0",
- org.eclipse.ui.ide;bundle-version="3.5.0",
- org.eclipse.xtext.ui.shared,
- org.eclipse.ui,
- org.eclipse.xtext.builder,
- org.antlr.runtime,
- org.eclipse.uml2.uml;bundle-version="3.2.0",
- org.eclipse.core.expressions;bundle-version="3.4.200",
- org.eclipse.papyrus.extensionpoints.editors;bundle-version="1.2.0",
- org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
- org.eclipse.papyrus.core;bundle-version="1.2.0",
- org.eclipse.papyrus.properties.runtime;bundle-version="1.2.0",
- org.eclipse.xtext.gmf.glue;bundle-version="0.8.0",
- org.eclipse.papyrus.alf;bundle-version="0.10.0",
- org.eclipse.papyrus.alf.ui;bundle-version="0.10.0",
- org.eclipse.papyrus.diagram.common;bundle-version="1.2.0",
- org.eclipse.papyrus.profile;bundle-version="1.2.0"
-Bundle-Vendor: Eclipse Modeling Project
-Bundle-ActivationPolicy: lazy
-Bundle-Version: 1.2.0.qualifier
-Bundle-Name: org.eclipse.papyrus.operation.editor.xtext.ui
-Bundle-Activator: org.eclipse.papyrus.operation.editor.xtext.ui.internal.OperationActivator
-Bundle-ManifestVersion: 2
-Import-Package: org.apache.commons.logging,
- org.apache.log4j
-Bundle-SymbolicName: org.eclipse.papyrus.operation.editor.xtext.ui;singleton:=true
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/about.html b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/about.html deleted file mode 100755 index 77ef6958f99..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/about.html +++ /dev/null @@ -1,28 +0,0 @@ -<!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>March, 2014</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>
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/build.properties b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/build.properties deleted file mode 100644 index a834fdc2556..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/build.properties +++ /dev/null @@ -1,5 +0,0 @@ -source.. = src/,\ - src-gen/ -bin.includes = META-INF/,\ - .,\ - plugin.xmlsrc.includes = about.html diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/plugin.xml b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/plugin.xml deleted file mode 100644 index af19817f366..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/plugin.xml +++ /dev/null @@ -1,193 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.0"?> - -<plugin> - - <extension - point="org.eclipse.ui.editors"> - <editor - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor" - contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor" - default="true" - extensions="operation" - id="org.eclipse.papyrus.operation.editor.xtext.Operation" - name="Operation Editor"> - </editor> - </extension> - <extension - point="org.eclipse.ui.handlers"> - <handler - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler" - commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration"> - <activeWhen> - <reference - definitionId="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"> - </reference> - </activeWhen> - </handler> - <handler - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler" - commandId="org.eclipse.papyrus.operation.editor.xtext.Operation.validate"> - <activeWhen> - <reference - definitionId="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"> - </reference> - </activeWhen> - </handler> - </extension> - <extension point="org.eclipse.core.expressions.definitions"> - <definition id="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"> - <and> - <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/> - <with variable="activeEditor"> - <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName" - value="org.eclipse.papyrus.operation.editor.xtext.Operation" - forcePluginActivation="true"/> - </with> - </and> - </definition> - </extension> - <extension - point="org.eclipse.ui.preferencePages"> - <page - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" - id="org.eclipse.papyrus.operation.editor.xtext.Operation" - name="Operation"> - <keywordReference id="org.eclipse.papyrus.operation.editor.xtext.ui.keyword_Operation"/> - </page> - <page - category="org.eclipse.papyrus.operation.editor.xtext.Operation" - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage" - id="org.eclipse.papyrus.operation.editor.xtext.Operation.coloring" - name="Syntax Coloring"> - <keywordReference id="org.eclipse.papyrus.operation.editor.xtext.ui.keyword_Operation"/> - </page> - <page - category="org.eclipse.papyrus.operation.editor.xtext.Operation" - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage" - id="org.eclipse.papyrus.operation.editor.xtext.Operation.templates" - name="Templates"> - <keywordReference id="org.eclipse.papyrus.operation.editor.xtext.ui.keyword_Operation"/> - </page> - </extension> - <extension - point="org.eclipse.ui.keywords"> - <keyword - id="org.eclipse.papyrus.operation.editor.xtext.ui.keyword_Operation" - label="Operation"/> - </extension> - <extension - point="org.eclipse.ui.commands"> - <command - description="Trigger expensive validation" - id="org.eclipse.papyrus.operation.editor.xtext.Operation.validate" - name="Validate"> - </command> - </extension> - <extension point="org.eclipse.ui.menus"> - <menuContribution - locationURI="popup:#TextEditorContext?after=group.edit"> - <command - commandId="org.eclipse.papyrus.operation.editor.xtext.Operation.validate" - style="push" - tooltip="Trigger expensive validation"> - <visibleWhen checkEnabled="false"> - <reference - definitionId="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"> - </reference> - </visibleWhen> - </command> - </menuContribution> - </extension> - <extension point="org.eclipse.ui.menus"> - <menuContribution locationURI="popup:#TextEditorContext?endof=group.find"> - <command commandId="org.eclipse.xtext.ui.editor.FindReferences"> - <visibleWhen checkEnabled="false"> - <reference definitionId="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"> - </reference> - </visibleWhen> - </command> - </menuContribution> - </extension> - <extension point="org.eclipse.ui.handlers"> - <handler - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler" - commandId="org.eclipse.xtext.ui.editor.FindReferences"> - <activeWhen> - <reference - definitionId="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"> - </reference> - </activeWhen> - </handler> - </extension> - -<!-- adding resource factories --> - - <extension - point="org.eclipse.emf.ecore.extension_parser"> - <parser - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory" - type="operation"> - </parser> - </extension> - <extension point="org.eclipse.xtext.extension_resourceServiceProvider"> - <resourceServiceProvider - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider" - uriExtension="operation"> - </resourceServiceProvider> - </extension> - - - - <!-- Quick Outline --> - <extension - point="org.eclipse.ui.handlers"> - <handler - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler" - commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"> - <activeWhen> - <reference - definitionId="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"> - </reference> - </activeWhen> - </handler> - </extension> - <extension - point="org.eclipse.ui.commands"> - <command - description="Open the quick outline." - id="org.eclipse.xtext.ui.editor.outline.QuickOutline" - name="Quick Outline"> - </command> - </extension> - <extension point="org.eclipse.ui.menus"> - <menuContribution - locationURI="popup:#TextEditorContext?after=group.open"> - <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline" - style="push" - tooltip="Open Quick Outline"> - <visibleWhen checkEnabled="false"> - <reference definitionId="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"/> - </visibleWhen> - </command> - </menuContribution> - </extension> - <!-- quickfix marker resolution generator --> - <extension - point="org.eclipse.ui.ide.markerResolution"> - <markerResolutionGenerator - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"> - </markerResolutionGenerator> - </extension> - <extension - point="org.eclipse.papyrus.extensionpoints.editors.DirectEditor"> - <DirectEditor - contributor="CEA LIST" - language="ALF" - objectToEdit="org.eclipse.uml2.uml.Operation"> - <popupeditor - editorConfiguration="org.eclipse.papyrus.operation.editor.xtext.ui.contributions.OperationPopupEditorConfigurationContribution"> - </popupeditor> - </DirectEditor> - </extension> -</plugin> diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/plugin.xml_gen b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/plugin.xml_gen deleted file mode 100644 index cc53f9ee164..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/plugin.xml_gen +++ /dev/null @@ -1,183 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.0"?> - -<plugin> - - <extension - point="org.eclipse.ui.editors"> - <editor - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor" - contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor" - default="true" - extensions="operation" - id="org.eclipse.papyrus.operation.editor.xtext.Operation" - name="Operation Editor"> - </editor> - </extension> - <extension - point="org.eclipse.ui.handlers"> - <handler - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler" - commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration"> - <activeWhen> - <reference - definitionId="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"> - </reference> - </activeWhen> - </handler> - <handler - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler" - commandId="org.eclipse.papyrus.operation.editor.xtext.Operation.validate"> - <activeWhen> - <reference - definitionId="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"> - </reference> - </activeWhen> - </handler> - </extension> - <extension point="org.eclipse.core.expressions.definitions"> - <definition id="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"> - <and> - <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/> - <with variable="activeEditor"> - <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName" - value="org.eclipse.papyrus.operation.editor.xtext.Operation" - forcePluginActivation="true"/> - </with> - </and> - </definition> - </extension> - <extension - point="org.eclipse.ui.preferencePages"> - <page - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" - id="org.eclipse.papyrus.operation.editor.xtext.Operation" - name="Operation"> - <keywordReference id="org.eclipse.papyrus.operation.editor.xtext.ui.keyword_Operation"/> - </page> - <page - category="org.eclipse.papyrus.operation.editor.xtext.Operation" - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage" - id="org.eclipse.papyrus.operation.editor.xtext.Operation.coloring" - name="Syntax Coloring"> - <keywordReference id="org.eclipse.papyrus.operation.editor.xtext.ui.keyword_Operation"/> - </page> - <page - category="org.eclipse.papyrus.operation.editor.xtext.Operation" - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage" - id="org.eclipse.papyrus.operation.editor.xtext.Operation.templates" - name="Templates"> - <keywordReference id="org.eclipse.papyrus.operation.editor.xtext.ui.keyword_Operation"/> - </page> - </extension> - <extension - point="org.eclipse.ui.keywords"> - <keyword - id="org.eclipse.papyrus.operation.editor.xtext.ui.keyword_Operation" - label="Operation"/> - </extension> - <extension - point="org.eclipse.ui.commands"> - <command - description="Trigger expensive validation" - id="org.eclipse.papyrus.operation.editor.xtext.Operation.validate" - name="Validate"> - </command> - </extension> - <extension point="org.eclipse.ui.menus"> - <menuContribution - locationURI="popup:#TextEditorContext?after=group.edit"> - <command - commandId="org.eclipse.papyrus.operation.editor.xtext.Operation.validate" - style="push" - tooltip="Trigger expensive validation"> - <visibleWhen checkEnabled="false"> - <reference - definitionId="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"> - </reference> - </visibleWhen> - </command> - </menuContribution> - </extension> - <extension point="org.eclipse.ui.menus"> - <menuContribution locationURI="popup:#TextEditorContext?endof=group.find"> - <command commandId="org.eclipse.xtext.ui.editor.FindReferences"> - <visibleWhen checkEnabled="false"> - <reference definitionId="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"> - </reference> - </visibleWhen> - </command> - </menuContribution> - </extension> - <extension point="org.eclipse.ui.handlers"> - <handler - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler" - commandId="org.eclipse.xtext.ui.editor.FindReferences"> - <activeWhen> - <reference - definitionId="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"> - </reference> - </activeWhen> - </handler> - </extension> - -<!-- adding resource factories --> - - <extension - point="org.eclipse.emf.ecore.extension_parser"> - <parser - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory" - type="operation"> - </parser> - </extension> - <extension point="org.eclipse.xtext.extension_resourceServiceProvider"> - <resourceServiceProvider - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider" - uriExtension="operation"> - </resourceServiceProvider> - </extension> - - - - <!-- Quick Outline --> - <extension - point="org.eclipse.ui.handlers"> - <handler - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler" - commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"> - <activeWhen> - <reference - definitionId="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"> - </reference> - </activeWhen> - </handler> - </extension> - <extension - point="org.eclipse.ui.commands"> - <command - description="Open the quick outline." - id="org.eclipse.xtext.ui.editor.outline.QuickOutline" - name="Quick Outline"> - </command> - </extension> - <extension point="org.eclipse.ui.menus"> - <menuContribution - locationURI="popup:#TextEditorContext?after=group.open"> - <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline" - style="push" - tooltip="Open Quick Outline"> - <visibleWhen checkEnabled="false"> - <reference definitionId="org.eclipse.papyrus.operation.editor.xtext.Operation.Editor.opened"/> - </visibleWhen> - </command> - </menuContribution> - </extension> - <!-- quickfix marker resolution generator --> - <extension - point="org.eclipse.ui.ide.markerResolution"> - <markerResolutionGenerator - class="org.eclipse.papyrus.operation.editor.xtext.ui.OperationExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"> - </markerResolutionGenerator> - </extension> - -</plugin> diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/pom.xml b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/pom.xml deleted file mode 100644 index 88206ed00f8..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/pom.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>org.eclipse.papyrus.extra.releng</artifactId>
- <groupId>org.eclipse.papyrus</groupId>
- <version>3.0.0-SNAPSHOT</version>
- <relativePath>../../../releng/extra</relativePath>
- </parent>
- <artifactId>org.eclipse.papyrus.operation.editor.xtext.ui</artifactId>
- <packaging>eclipse-plugin</packaging>
-</project>
\ No newline at end of file diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/src-gen/org/eclipse/papyrus/operation/editor/xtext/ui/AbstractOperationUiModule.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/src-gen/org/eclipse/papyrus/operation/editor/xtext/ui/AbstractOperationUiModule.java deleted file mode 100644 index 19aac4e72d2..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/src-gen/org/eclipse/papyrus/operation/editor/xtext/ui/AbstractOperationUiModule.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.papyrus.operation.editor.xtext.ui; - -import org.eclipse.xtext.ui.DefaultUiModule; -import org.eclipse.ui.plugin.AbstractUIPlugin; - -/** - * Manual modifications go to {org.eclipse.papyrus.operation.editor.xtext.ui.OperationUiModule} - */ -@SuppressWarnings("all") -public abstract class AbstractOperationUiModule extends DefaultUiModule { - - public AbstractOperationUiModule(AbstractUIPlugin plugin) { - super(plugin); - } - - - // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment - public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() { - return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState(); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() { - return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureHighlightingLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)) - .to(org.eclipse.papyrus.operation.editor.xtext.parser.antlr.internal.InternalOperationLexer.class); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureHighlightingTokenDefProvider(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class); - } - - // contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment - public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() { - return org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator.Null.class; - } - - // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment - @Override - public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() { - return org.eclipse.papyrus.operation.editor.xtext.ui.labeling.OperationLabelProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment - @Override - public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) { - binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.operation.editor.xtext.ui.labeling.OperationDescriptionLabelProvider.class); - } - - // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment - public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() { - return org.eclipse.papyrus.operation.editor.xtext.ui.outline.OperationOutlineTreeProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment - public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() { - return org.eclipse.papyrus.operation.editor.xtext.ui.outline.OperationOutlineTreeProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment - @Override - public Class<? extends org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider> bindIssueResolutionProvider() { - return org.eclipse.papyrus.operation.editor.xtext.ui.quickfix.OperationQuickfixProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.contentAssist.JavaBasedContentAssistFragment - public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider> bindIContentProposalProvider() { - return org.eclipse.papyrus.operation.editor.xtext.ui.contentassist.OperationProposalProvider.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public Class<? extends org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext.Factory> bindContentAssistContext$Factory() { - return org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public Class<? extends org.eclipse.xtext.ui.editor.contentassist.antlr.IContentAssistParser> bindIContentAssistParser() { - return org.eclipse.papyrus.operation.editor.xtext.ui.contentassist.antlr.OperationParser.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public void configureContentAssistLexerProvider(com.google.inject.Binder binder) { - binder.bind(org.eclipse.papyrus.operation.editor.xtext.ui.contentassist.antlr.internal.InternalOperationLexer.class).toProvider( - org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.papyrus.operation.editor.xtext.ui.contentassist.antlr.internal.InternalOperationLexer.class)); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public void configureContentAssistLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST)) - .to(org.eclipse.papyrus.operation.editor.xtext.ui.contentassist.antlr.internal.InternalOperationLexer.class); - } - - -} diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/src-gen/org/eclipse/papyrus/operation/editor/xtext/ui/OperationExecutableExtensionFactory.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/src-gen/org/eclipse/papyrus/operation/editor/xtext/ui/OperationExecutableExtensionFactory.java deleted file mode 100644 index a48ca08876e..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/src-gen/org/eclipse/papyrus/operation/editor/xtext/ui/OperationExecutableExtensionFactory.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.papyrus.operation.editor.xtext.ui; - -import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; -import org.osgi.framework.Bundle; - -import com.google.inject.Injector; - -/** - * This class was generated. Customizations should only happen in a newly - * introduced subclass. - */ -public class OperationExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { - - @Override - protected Bundle getBundle() { - return org.eclipse.papyrus.operation.editor.xtext.ui.internal.OperationActivator.getInstance().getBundle(); - } - - @Override - protected Injector getInjector() { - return org.eclipse.papyrus.operation.editor.xtext.ui.internal.OperationActivator.getInstance().getInjector("org.eclipse.papyrus.operation.editor.xtext.Operation"); - } - -} diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/src-gen/org/eclipse/papyrus/operation/editor/xtext/ui/contentassist/AbstractOperationProposalProvider.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/src-gen/org/eclipse/papyrus/operation/editor/xtext/ui/contentassist/AbstractOperationProposalProvider.java deleted file mode 100644 index 3823393c204..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/src-gen/org/eclipse/papyrus/operation/editor/xtext/ui/contentassist/AbstractOperationProposalProvider.java +++ /dev/null @@ -1,178 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.papyrus.operation.editor.xtext.ui.contentassist; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.*; -import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; -import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; - -/** - * Represents a generated, default implementation of interface {@link IProposalProvider}. - * Methods are dynamically dispatched on the first parameter, i.e., you can override them - * with a more concrete subtype. - */ -@SuppressWarnings("all") -public class AbstractOperationProposalProvider extends AlfProposalProvider { - - public void completeOperationDefinitionOrStub_Declaration(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeOperationDefinitionOrStub_Body(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeOperationDeclaration_VisibilityIndicator(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeOperationDeclaration_Abstract(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void completeOperationDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeOperationDeclaration_FormalParameters(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeOperationDeclaration_ReturnType(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeOperationDeclaration_Redefinition(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeFormalParameters_FormalParameterList(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeFormalParameterList_FormalParameter(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeFormalParameter_Direction(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeFormalParameter_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeFormalParameter_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeTypePart_TypeName(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeTypePart_Multiplicity(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeMultiplicity_Range(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeMultiplicity_Ordered(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void completeMultiplicity_NonUnique(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void completeMultiplicity_Sequence(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void completeMultiplicityRange_Lower(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeMultiplicityRange_Upper(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeINTEGER_LITERAL_WITHOUT_SUFFIX_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeUNLIMITED_LITERAL_WITHOUT_SUFFIX_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void completeTypeName_QualifiedName(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void completeRedefinitionClause_RedefinedOperations(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); - } - - public void complete_OperationDefinitionOrStub(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void complete_OperationDeclaration(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void complete_VisibilityIndicator(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void complete_FormalParameters(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void complete_FormalParameterList(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void complete_FormalParameter(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void complete_TypePart(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void complete_Multiplicity(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void complete_MultiplicityRange(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void complete_NUMBER_LITERAL_WITHOUT_SUFFIX(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void complete_INTEGER_LITERAL_WITHOUT_SUFFIX(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void complete_UNLIMITED_LITERAL_WITHOUT_SUFFIX(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void complete_TypeName(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void complete_ParameterDirection(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - - public void complete_RedefinitionClause(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } -} diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/src-gen/org/eclipse/papyrus/operation/editor/xtext/ui/contentassist/antlr/OperationParser.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/src-gen/org/eclipse/papyrus/operation/editor/xtext/ui/contentassist/antlr/OperationParser.java deleted file mode 100644 index 34478482fb8..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/src-gen/org/eclipse/papyrus/operation/editor/xtext/ui/contentassist/antlr/OperationParser.java +++ /dev/null @@ -1,494 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.papyrus.operation.editor.xtext.ui.contentassist.antlr; - -import java.util.Collection; -import java.util.Map; -import java.util.HashMap; - -import org.antlr.runtime.RecognitionException; -import org.eclipse.xtext.AbstractElement; -import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser; -import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; - -import com.google.inject.Inject; - -import org.eclipse.papyrus.operation.editor.xtext.services.OperationGrammarAccess; - -public class OperationParser extends AbstractContentAssistParser { - - @Inject - private OperationGrammarAccess grammarAccess; - - private Map<AbstractElement, String> nameMappings; - - @Override - protected org.eclipse.papyrus.operation.editor.xtext.ui.contentassist.antlr.internal.InternalOperationParser createParser() { - org.eclipse.papyrus.operation.editor.xtext.ui.contentassist.antlr.internal.InternalOperationParser result = new org.eclipse.papyrus.operation.editor.xtext.ui.contentassist.antlr.internal.InternalOperationParser(null); - result.setGrammarAccess(grammarAccess); - return result; - } - - @Override - protected String getRuleName(AbstractElement element) { - if (nameMappings == null) { - nameMappings = new HashMap<AbstractElement, String>() { - private static final long serialVersionUID = 1L; - { - put(grammarAccess.getOperationDefinitionOrStubAccess().getAlternatives_1(), "rule__OperationDefinitionOrStub__Alternatives_1"); - put(grammarAccess.getMultiplicityAccess().getAlternatives_4(), "rule__Multiplicity__Alternatives_4"); - put(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getAlternatives(), "rule__NUMBER_LITERAL_WITHOUT_SUFFIX__Alternatives"); - put(grammarAccess.getTypeNameAccess().getAlternatives_1(), "rule__TypeName__Alternatives_1"); - put(grammarAccess.getLITERALAccess().getAlternatives(), "rule__LITERAL__Alternatives"); - put(grammarAccess.getNUMBER_LITERALAccess().getAlternatives(), "rule__NUMBER_LITERAL__Alternatives"); - put(grammarAccess.getNameExpressionAccess().getAlternatives_0(), "rule__NameExpression__Alternatives_0"); - put(grammarAccess.getNameExpressionAccess().getPrefixOpAlternatives_0_0_0_0(), "rule__NameExpression__PrefixOpAlternatives_0_0_0_0"); - put(grammarAccess.getNameExpressionAccess().getAlternatives_0_1_2(), "rule__NameExpression__Alternatives_0_1_2"); - put(grammarAccess.getNameExpressionAccess().getPostfixOpAlternatives_0_1_2_2_0(), "rule__NameExpression__PostfixOpAlternatives_0_1_2_2_0"); - put(grammarAccess.getEqualityExpressionAccess().getOpAlternatives_1_0_0(), "rule__EqualityExpression__OpAlternatives_1_0_0"); - put(grammarAccess.getClassificationExpressionAccess().getOpAlternatives_1_0_0(), "rule__ClassificationExpression__OpAlternatives_1_0_0"); - put(grammarAccess.getRelationalExpressionAccess().getOpAlternatives_1_0_0(), "rule__RelationalExpression__OpAlternatives_1_0_0"); - put(grammarAccess.getShiftExpressionAccess().getOpAlternatives_1_0_0(), "rule__ShiftExpression__OpAlternatives_1_0_0"); - put(grammarAccess.getAdditiveExpressionAccess().getOpAlternatives_1_0_0(), "rule__AdditiveExpression__OpAlternatives_1_0_0"); - put(grammarAccess.getMultiplicativeExpressionAccess().getOpAlternatives_1_0_0(), "rule__MultiplicativeExpression__OpAlternatives_1_0_0"); - put(grammarAccess.getUnaryExpressionAccess().getOpAlternatives_0_0(), "rule__UnaryExpression__OpAlternatives_0_0"); - put(grammarAccess.getSuffixExpressionAccess().getAlternatives(), "rule__SuffixExpression__Alternatives"); - put(grammarAccess.getSequenceExpansionExpressionAccess().getAlternatives(), "rule__SequenceExpansionExpression__Alternatives"); - put(grammarAccess.getValueSpecificationAccess().getAlternatives(), "rule__ValueSpecification__Alternatives"); - put(grammarAccess.getNonLiteralValueSpecificationAccess().getAlternatives(), "rule__NonLiteralValueSpecification__Alternatives"); - put(grammarAccess.getParenthesizedExpressionAccess().getAlternatives_3(), "rule__ParenthesizedExpression__Alternatives_3"); - put(grammarAccess.getSuperInvocationExpressionAccess().getAlternatives_1(), "rule__SuperInvocationExpression__Alternatives_1"); - put(grammarAccess.getInstanceCreationExpressionAccess().getAlternatives_2(), "rule__InstanceCreationExpression__Alternatives_2"); - put(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getAlternatives(), "rule__SequenceConstructionOrAccessCompletion__Alternatives"); - put(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getAlternatives_0_1(), "rule__SequenceConstructionOrAccessCompletion__Alternatives_0_1"); - put(grammarAccess.getSequenceConstructionExpressionAccess().getAlternatives_2(), "rule__SequenceConstructionExpression__Alternatives_2"); - put(grammarAccess.getSequenceElementAccess().getAlternatives(), "rule__SequenceElement__Alternatives"); - put(grammarAccess.getDocumentedStatementAccess().getCommentAlternatives_0_0(), "rule__DocumentedStatement__CommentAlternatives_0_0"); - put(grammarAccess.getStatementAccess().getAlternatives(), "rule__Statement__Alternatives"); - put(grammarAccess.getLoopVariableDefinitionAccess().getAlternatives(), "rule__LoopVariableDefinition__Alternatives"); - put(grammarAccess.getAcceptStatementAccess().getAlternatives_1(), "rule__AcceptStatement__Alternatives_1"); - put(grammarAccess.getClassificationClauseAccess().getAlternatives(), "rule__ClassificationClause__Alternatives"); - put(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getAlternatives_1(), "rule__InvocationOrAssignementOrDeclarationStatement__Alternatives_1"); - put(grammarAccess.getVisibilityIndicatorAccess().getAlternatives(), "rule__VisibilityIndicator__Alternatives"); - put(grammarAccess.getParameterDirectionAccess().getAlternatives(), "rule__ParameterDirection__Alternatives"); - put(grammarAccess.getBooleanValueAccess().getAlternatives(), "rule__BooleanValue__Alternatives"); - put(grammarAccess.getLinkOperationKindAccess().getAlternatives(), "rule__LinkOperationKind__Alternatives"); - put(grammarAccess.getSelectOrRejectOperatorAccess().getAlternatives(), "rule__SelectOrRejectOperator__Alternatives"); - put(grammarAccess.getCollectOrIterateOperatorAccess().getAlternatives(), "rule__CollectOrIterateOperator__Alternatives"); - put(grammarAccess.getForAllOrExistsOrOneOperatorAccess().getAlternatives(), "rule__ForAllOrExistsOrOneOperator__Alternatives"); - put(grammarAccess.getAnnotationKindAccess().getAlternatives(), "rule__AnnotationKind__Alternatives"); - put(grammarAccess.getAssignmentOperatorAccess().getAlternatives(), "rule__AssignmentOperator__Alternatives"); - put(grammarAccess.getOperationDefinitionOrStubAccess().getGroup(), "rule__OperationDefinitionOrStub__Group__0"); - put(grammarAccess.getOperationDeclarationAccess().getGroup(), "rule__OperationDeclaration__Group__0"); - put(grammarAccess.getOperationDeclarationAccess().getGroup_4(), "rule__OperationDeclaration__Group_4__0"); - put(grammarAccess.getFormalParametersAccess().getGroup(), "rule__FormalParameters__Group__0"); - put(grammarAccess.getFormalParameterListAccess().getGroup(), "rule__FormalParameterList__Group__0"); - put(grammarAccess.getFormalParameterListAccess().getGroup_1(), "rule__FormalParameterList__Group_1__0"); - put(grammarAccess.getFormalParameterAccess().getGroup(), "rule__FormalParameter__Group__0"); - put(grammarAccess.getTypePartAccess().getGroup(), "rule__TypePart__Group__0"); - put(grammarAccess.getMultiplicityAccess().getGroup(), "rule__Multiplicity__Group__0"); - put(grammarAccess.getMultiplicityAccess().getGroup_4_0(), "rule__Multiplicity__Group_4_0__0"); - put(grammarAccess.getMultiplicityAccess().getGroup_4_1(), "rule__Multiplicity__Group_4_1__0"); - put(grammarAccess.getMultiplicityRangeAccess().getGroup(), "rule__MultiplicityRange__Group__0"); - put(grammarAccess.getMultiplicityRangeAccess().getGroup_0(), "rule__MultiplicityRange__Group_0__0"); - put(grammarAccess.getTypeNameAccess().getGroup(), "rule__TypeName__Group__0"); - put(grammarAccess.getRedefinitionClauseAccess().getGroup(), "rule__RedefinitionClause__Group__0"); - put(grammarAccess.getTestAccess().getGroup(), "rule__Test__Group__0"); - put(grammarAccess.getTestAccess().getGroup_0(), "rule__Test__Group_0__0"); - put(grammarAccess.getTestAccess().getGroup_1(), "rule__Test__Group_1__0"); - put(grammarAccess.getTestAccess().getGroup_2(), "rule__Test__Group_2__0"); - put(grammarAccess.getTestAccess().getGroup_3(), "rule__Test__Group_3__0"); - put(grammarAccess.getBOOLEAN_LITERALAccess().getGroup(), "rule__BOOLEAN_LITERAL__Group__0"); - put(grammarAccess.getINTEGER_LITERALAccess().getGroup(), "rule__INTEGER_LITERAL__Group__0"); - put(grammarAccess.getUNLIMITED_LITERALAccess().getGroup(), "rule__UNLIMITED_LITERAL__Group__0"); - put(grammarAccess.getSTRING_LITERALAccess().getGroup(), "rule__STRING_LITERAL__Group__0"); - put(grammarAccess.getNameExpressionAccess().getGroup(), "rule__NameExpression__Group__0"); - put(grammarAccess.getNameExpressionAccess().getGroup_0_0(), "rule__NameExpression__Group_0_0__0"); - put(grammarAccess.getNameExpressionAccess().getGroup_0_1(), "rule__NameExpression__Group_0_1__0"); - put(grammarAccess.getQualifiedNamePathAccess().getGroup(), "rule__QualifiedNamePath__Group__0"); - put(grammarAccess.getUnqualifiedNameAccess().getGroup(), "rule__UnqualifiedName__Group__0"); - put(grammarAccess.getTemplateBindingAccess().getGroup(), "rule__TemplateBinding__Group__0"); - put(grammarAccess.getTemplateBindingAccess().getGroup_2(), "rule__TemplateBinding__Group_2__0"); - put(grammarAccess.getNamedTemplateBindingAccess().getGroup(), "rule__NamedTemplateBinding__Group__0"); - put(grammarAccess.getQualifiedNameWithBindingAccess().getGroup(), "rule__QualifiedNameWithBinding__Group__0"); - put(grammarAccess.getQualifiedNameWithBindingAccess().getGroup_2(), "rule__QualifiedNameWithBinding__Group_2__0"); - put(grammarAccess.getTupleAccess().getGroup(), "rule__Tuple__Group__0"); - put(grammarAccess.getTupleAccess().getGroup_2(), "rule__Tuple__Group_2__0"); - put(grammarAccess.getTupleAccess().getGroup_2_1(), "rule__Tuple__Group_2_1__0"); - put(grammarAccess.getConditionalTestExpressionAccess().getGroup(), "rule__ConditionalTestExpression__Group__0"); - put(grammarAccess.getConditionalTestExpressionAccess().getGroup_1(), "rule__ConditionalTestExpression__Group_1__0"); - put(grammarAccess.getConditionalOrExpressionAccess().getGroup(), "rule__ConditionalOrExpression__Group__0"); - put(grammarAccess.getConditionalOrExpressionAccess().getGroup_1(), "rule__ConditionalOrExpression__Group_1__0"); - put(grammarAccess.getConditionalAndExpressionAccess().getGroup(), "rule__ConditionalAndExpression__Group__0"); - put(grammarAccess.getConditionalAndExpressionAccess().getGroup_1(), "rule__ConditionalAndExpression__Group_1__0"); - put(grammarAccess.getInclusiveOrExpressionAccess().getGroup(), "rule__InclusiveOrExpression__Group__0"); - put(grammarAccess.getInclusiveOrExpressionAccess().getGroup_1(), "rule__InclusiveOrExpression__Group_1__0"); - put(grammarAccess.getExclusiveOrExpressionAccess().getGroup(), "rule__ExclusiveOrExpression__Group__0"); - put(grammarAccess.getExclusiveOrExpressionAccess().getGroup_1(), "rule__ExclusiveOrExpression__Group_1__0"); - put(grammarAccess.getAndExpressionAccess().getGroup(), "rule__AndExpression__Group__0"); - put(grammarAccess.getAndExpressionAccess().getGroup_1(), "rule__AndExpression__Group_1__0"); - put(grammarAccess.getEqualityExpressionAccess().getGroup(), "rule__EqualityExpression__Group__0"); - put(grammarAccess.getEqualityExpressionAccess().getGroup_1(), "rule__EqualityExpression__Group_1__0"); - put(grammarAccess.getClassificationExpressionAccess().getGroup(), "rule__ClassificationExpression__Group__0"); - put(grammarAccess.getClassificationExpressionAccess().getGroup_1(), "rule__ClassificationExpression__Group_1__0"); - put(grammarAccess.getRelationalExpressionAccess().getGroup(), "rule__RelationalExpression__Group__0"); - put(grammarAccess.getRelationalExpressionAccess().getGroup_1(), "rule__RelationalExpression__Group_1__0"); - put(grammarAccess.getShiftExpressionAccess().getGroup(), "rule__ShiftExpression__Group__0"); - put(grammarAccess.getShiftExpressionAccess().getGroup_1(), "rule__ShiftExpression__Group_1__0"); - put(grammarAccess.getAdditiveExpressionAccess().getGroup(), "rule__AdditiveExpression__Group__0"); - put(grammarAccess.getAdditiveExpressionAccess().getGroup_1(), "rule__AdditiveExpression__Group_1__0"); - put(grammarAccess.getMultiplicativeExpressionAccess().getGroup(), "rule__MultiplicativeExpression__Group__0"); - put(grammarAccess.getMultiplicativeExpressionAccess().getGroup_1(), "rule__MultiplicativeExpression__Group_1__0"); - put(grammarAccess.getUnaryExpressionAccess().getGroup(), "rule__UnaryExpression__Group__0"); - put(grammarAccess.getOperationCallExpressionAccess().getGroup(), "rule__OperationCallExpression__Group__0"); - put(grammarAccess.getOperationCallExpressionWithoutDotAccess().getGroup(), "rule__OperationCallExpressionWithoutDot__Group__0"); - put(grammarAccess.getPropertyCallExpressionAccess().getGroup(), "rule__PropertyCallExpression__Group__0"); - put(grammarAccess.getPropertyCallExpressionAccess().getGroup_2(), "rule__PropertyCallExpression__Group_2__0"); - put(grammarAccess.getLinkOperationExpressionAccess().getGroup(), "rule__LinkOperationExpression__Group__0"); - put(grammarAccess.getLinkOperationTupleAccess().getGroup(), "rule__LinkOperationTuple__Group__0"); - put(grammarAccess.getLinkOperationTupleAccess().getGroup_2(), "rule__LinkOperationTuple__Group_2__0"); - put(grammarAccess.getLinkOperationTupleElementAccess().getGroup(), "rule__LinkOperationTupleElement__Group__0"); - put(grammarAccess.getLinkOperationTupleElementAccess().getGroup_1(), "rule__LinkOperationTupleElement__Group_1__0"); - put(grammarAccess.getLinkOperationTupleElementAccess().getGroup_1_0(), "rule__LinkOperationTupleElement__Group_1_0__0"); - put(grammarAccess.getSequenceOperationExpressionAccess().getGroup(), "rule__SequenceOperationExpression__Group__0"); - put(grammarAccess.getSequenceReductionExpressionAccess().getGroup(), "rule__SequenceReductionExpression__Group__0"); - put(grammarAccess.getSelectOrRejectOperationAccess().getGroup(), "rule__SelectOrRejectOperation__Group__0"); - put(grammarAccess.getCollectOrIterateOperationAccess().getGroup(), "rule__CollectOrIterateOperation__Group__0"); - put(grammarAccess.getForAllOrExistsOrOneOperationAccess().getGroup(), "rule__ForAllOrExistsOrOneOperation__Group__0"); - put(grammarAccess.getIsUniqueOperationAccess().getGroup(), "rule__IsUniqueOperation__Group__0"); - put(grammarAccess.getParenthesizedExpressionAccess().getGroup(), "rule__ParenthesizedExpression__Group__0"); - put(grammarAccess.getNullExpressionAccess().getGroup(), "rule__NullExpression__Group__0"); - put(grammarAccess.getThisExpressionAccess().getGroup(), "rule__ThisExpression__Group__0"); - put(grammarAccess.getSuperInvocationExpressionAccess().getGroup(), "rule__SuperInvocationExpression__Group__0"); - put(grammarAccess.getSuperInvocationExpressionAccess().getGroup_1_0(), "rule__SuperInvocationExpression__Group_1_0__0"); - put(grammarAccess.getInstanceCreationExpressionAccess().getGroup(), "rule__InstanceCreationExpression__Group__0"); - put(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getGroup_0(), "rule__SequenceConstructionOrAccessCompletion__Group_0__0"); - put(grammarAccess.getAccessCompletionAccess().getGroup(), "rule__AccessCompletion__Group__0"); - put(grammarAccess.getPartialSequenceConstructionCompletionAccess().getGroup(), "rule__PartialSequenceConstructionCompletion__Group__0"); - put(grammarAccess.getSequenceConstructionCompletionAccess().getGroup(), "rule__SequenceConstructionCompletion__Group__0"); - put(grammarAccess.getSequenceConstructionCompletionAccess().getGroup_0(), "rule__SequenceConstructionCompletion__Group_0__0"); - put(grammarAccess.getSequenceConstructionExpressionAccess().getGroup(), "rule__SequenceConstructionExpression__Group__0"); - put(grammarAccess.getSequenceConstructionExpressionAccess().getGroup_2_0(), "rule__SequenceConstructionExpression__Group_2_0__0"); - put(grammarAccess.getSequenceConstructionExpressionAccess().getGroup_2_1(), "rule__SequenceConstructionExpression__Group_2_1__0"); - put(grammarAccess.getClassExtentExpressionAccess().getGroup(), "rule__ClassExtentExpression__Group__0"); - put(grammarAccess.getBlockAccess().getGroup(), "rule__Block__Group__0"); - put(grammarAccess.getDocumentedStatementAccess().getGroup(), "rule__DocumentedStatement__Group__0"); - put(grammarAccess.getInlineStatementAccess().getGroup(), "rule__InlineStatement__Group__0"); - put(grammarAccess.getAnnotatedStatementAccess().getGroup(), "rule__AnnotatedStatement__Group__0"); - put(grammarAccess.getAnnotationAccess().getGroup(), "rule__Annotation__Group__0"); - put(grammarAccess.getAnnotationAccess().getGroup_1(), "rule__Annotation__Group_1__0"); - put(grammarAccess.getAnnotationAccess().getGroup_1_2(), "rule__Annotation__Group_1_2__0"); - put(grammarAccess.getEmptyStatementAccess().getGroup(), "rule__EmptyStatement__Group__0"); - put(grammarAccess.getLocalNameDeclarationStatementAccess().getGroup(), "rule__LocalNameDeclarationStatement__Group__0"); - put(grammarAccess.getLocalNameDeclarationStatementAccess().getGroup_4(), "rule__LocalNameDeclarationStatement__Group_4__0"); - put(grammarAccess.getIfStatementAccess().getGroup(), "rule__IfStatement__Group__0"); - put(grammarAccess.getSequentialClausesAccess().getGroup(), "rule__SequentialClauses__Group__0"); - put(grammarAccess.getSequentialClausesAccess().getGroup_1(), "rule__SequentialClauses__Group_1__0"); - put(grammarAccess.getConcurrentClausesAccess().getGroup(), "rule__ConcurrentClauses__Group__0"); - put(grammarAccess.getConcurrentClausesAccess().getGroup_1(), "rule__ConcurrentClauses__Group_1__0"); - put(grammarAccess.getNonFinalClauseAccess().getGroup(), "rule__NonFinalClause__Group__0"); - put(grammarAccess.getFinalClauseAccess().getGroup(), "rule__FinalClause__Group__0"); - put(grammarAccess.getSwitchStatementAccess().getGroup(), "rule__SwitchStatement__Group__0"); - put(grammarAccess.getSwitchClauseAccess().getGroup(), "rule__SwitchClause__Group__0"); - put(grammarAccess.getSwitchCaseAccess().getGroup(), "rule__SwitchCase__Group__0"); - put(grammarAccess.getSwitchDefaultClauseAccess().getGroup(), "rule__SwitchDefaultClause__Group__0"); - put(grammarAccess.getWhileStatementAccess().getGroup(), "rule__WhileStatement__Group__0"); - put(grammarAccess.getDoStatementAccess().getGroup(), "rule__DoStatement__Group__0"); - put(grammarAccess.getForStatementAccess().getGroup(), "rule__ForStatement__Group__0"); - put(grammarAccess.getForControlAccess().getGroup(), "rule__ForControl__Group__0"); - put(grammarAccess.getForControlAccess().getGroup_1(), "rule__ForControl__Group_1__0"); - put(grammarAccess.getLoopVariableDefinitionAccess().getGroup_0(), "rule__LoopVariableDefinition__Group_0__0"); - put(grammarAccess.getLoopVariableDefinitionAccess().getGroup_0_3(), "rule__LoopVariableDefinition__Group_0_3__0"); - put(grammarAccess.getLoopVariableDefinitionAccess().getGroup_1(), "rule__LoopVariableDefinition__Group_1__0"); - put(grammarAccess.getBreakStatementAccess().getGroup(), "rule__BreakStatement__Group__0"); - put(grammarAccess.getReturnStatementAccess().getGroup(), "rule__ReturnStatement__Group__0"); - put(grammarAccess.getAcceptStatementAccess().getGroup(), "rule__AcceptStatement__Group__0"); - put(grammarAccess.getSimpleAcceptStatementCompletionAccess().getGroup(), "rule__SimpleAcceptStatementCompletion__Group__0"); - put(grammarAccess.getCompoundAcceptStatementCompletionAccess().getGroup(), "rule__CompoundAcceptStatementCompletion__Group__0"); - put(grammarAccess.getCompoundAcceptStatementCompletionAccess().getGroup_1(), "rule__CompoundAcceptStatementCompletion__Group_1__0"); - put(grammarAccess.getAcceptBlockAccess().getGroup(), "rule__AcceptBlock__Group__0"); - put(grammarAccess.getAcceptClauseAccess().getGroup(), "rule__AcceptClause__Group__0"); - put(grammarAccess.getAcceptClauseAccess().getGroup_2(), "rule__AcceptClause__Group_2__0"); - put(grammarAccess.getClassifyStatementAccess().getGroup(), "rule__ClassifyStatement__Group__0"); - put(grammarAccess.getClassificationClauseAccess().getGroup_0(), "rule__ClassificationClause__Group_0__0"); - put(grammarAccess.getClassificationClauseAccess().getGroup_1(), "rule__ClassificationClause__Group_1__0"); - put(grammarAccess.getClassificationFromClauseAccess().getGroup(), "rule__ClassificationFromClause__Group__0"); - put(grammarAccess.getClassificationToClauseAccess().getGroup(), "rule__ClassificationToClause__Group__0"); - put(grammarAccess.getReclassifyAllClauseAccess().getGroup(), "rule__ReclassifyAllClause__Group__0"); - put(grammarAccess.getQualifiedNameListAccess().getGroup(), "rule__QualifiedNameList__Group__0"); - put(grammarAccess.getQualifiedNameListAccess().getGroup_1(), "rule__QualifiedNameList__Group_1__0"); - put(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getGroup(), "rule__InvocationOrAssignementOrDeclarationStatement__Group__0"); - put(grammarAccess.getSuperInvocationStatementAccess().getGroup(), "rule__SuperInvocationStatement__Group__0"); - put(grammarAccess.getThisInvocationStatementAccess().getGroup(), "rule__ThisInvocationStatement__Group__0"); - put(grammarAccess.getInstanceCreationInvocationStatementAccess().getGroup(), "rule__InstanceCreationInvocationStatement__Group__0"); - put(grammarAccess.getVariableDeclarationCompletionAccess().getGroup(), "rule__VariableDeclarationCompletion__Group__0"); - put(grammarAccess.getVariableDeclarationCompletionAccess().getGroup_0(), "rule__VariableDeclarationCompletion__Group_0__0"); - put(grammarAccess.getAssignmentCompletionAccess().getGroup(), "rule__AssignmentCompletion__Group__0"); - put(grammarAccess.getOperationDefinitionOrStubAccess().getDeclarationAssignment_0(), "rule__OperationDefinitionOrStub__DeclarationAssignment_0"); - put(grammarAccess.getOperationDefinitionOrStubAccess().getBodyAssignment_1_1(), "rule__OperationDefinitionOrStub__BodyAssignment_1_1"); - put(grammarAccess.getOperationDeclarationAccess().getVisibilityIndicatorAssignment_0(), "rule__OperationDeclaration__VisibilityIndicatorAssignment_0"); - put(grammarAccess.getOperationDeclarationAccess().getAbstractAssignment_1(), "rule__OperationDeclaration__AbstractAssignment_1"); - put(grammarAccess.getOperationDeclarationAccess().getNameAssignment_2(), "rule__OperationDeclaration__NameAssignment_2"); - put(grammarAccess.getOperationDeclarationAccess().getFormalParametersAssignment_3(), "rule__OperationDeclaration__FormalParametersAssignment_3"); - put(grammarAccess.getOperationDeclarationAccess().getReturnTypeAssignment_4_1(), "rule__OperationDeclaration__ReturnTypeAssignment_4_1"); - put(grammarAccess.getOperationDeclarationAccess().getRedefinitionAssignment_5(), "rule__OperationDeclaration__RedefinitionAssignment_5"); - put(grammarAccess.getFormalParametersAccess().getFormalParameterListAssignment_2(), "rule__FormalParameters__FormalParameterListAssignment_2"); - put(grammarAccess.getFormalParameterListAccess().getFormalParameterAssignment_0(), "rule__FormalParameterList__FormalParameterAssignment_0"); - put(grammarAccess.getFormalParameterListAccess().getFormalParameterAssignment_1_1(), "rule__FormalParameterList__FormalParameterAssignment_1_1"); - put(grammarAccess.getFormalParameterAccess().getDirectionAssignment_0(), "rule__FormalParameter__DirectionAssignment_0"); - put(grammarAccess.getFormalParameterAccess().getNameAssignment_1(), "rule__FormalParameter__NameAssignment_1"); - put(grammarAccess.getFormalParameterAccess().getTypeAssignment_3(), "rule__FormalParameter__TypeAssignment_3"); - put(grammarAccess.getTypePartAccess().getTypeNameAssignment_0(), "rule__TypePart__TypeNameAssignment_0"); - put(grammarAccess.getTypePartAccess().getMultiplicityAssignment_1(), "rule__TypePart__MultiplicityAssignment_1"); - put(grammarAccess.getMultiplicityAccess().getRangeAssignment_2(), "rule__Multiplicity__RangeAssignment_2"); - put(grammarAccess.getMultiplicityAccess().getOrderedAssignment_4_0_0(), "rule__Multiplicity__OrderedAssignment_4_0_0"); - put(grammarAccess.getMultiplicityAccess().getNonUniqueAssignment_4_0_1(), "rule__Multiplicity__NonUniqueAssignment_4_0_1"); - put(grammarAccess.getMultiplicityAccess().getNonUniqueAssignment_4_1_0(), "rule__Multiplicity__NonUniqueAssignment_4_1_0"); - put(grammarAccess.getMultiplicityAccess().getOrderedAssignment_4_1_1(), "rule__Multiplicity__OrderedAssignment_4_1_1"); - put(grammarAccess.getMultiplicityAccess().getSequenceAssignment_4_2(), "rule__Multiplicity__SequenceAssignment_4_2"); - put(grammarAccess.getMultiplicityRangeAccess().getLowerAssignment_0_0(), "rule__MultiplicityRange__LowerAssignment_0_0"); - put(grammarAccess.getMultiplicityRangeAccess().getUpperAssignment_1(), "rule__MultiplicityRange__UpperAssignment_1"); - put(grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXAccess().getValueAssignment(), "rule__INTEGER_LITERAL_WITHOUT_SUFFIX__ValueAssignment"); - put(grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXAccess().getValueAssignment(), "rule__UNLIMITED_LITERAL_WITHOUT_SUFFIX__ValueAssignment"); - put(grammarAccess.getTypeNameAccess().getQualifiedNameAssignment_1_0(), "rule__TypeName__QualifiedNameAssignment_1_0"); - put(grammarAccess.getRedefinitionClauseAccess().getRedefinedOperationsAssignment_1(), "rule__RedefinitionClause__RedefinedOperationsAssignment_1"); - put(grammarAccess.getTestAccess().getExpressionAssignment_0_1(), "rule__Test__ExpressionAssignment_0_1"); - put(grammarAccess.getTestAccess().getAssignExpressionAssignment_1_1(), "rule__Test__AssignExpressionAssignment_1_1"); - put(grammarAccess.getTestAccess().getStatementsAssignment_2_1(), "rule__Test__StatementsAssignment_2_1"); - put(grammarAccess.getTestAccess().getBlockAssignment_3_1(), "rule__Test__BlockAssignment_3_1"); - put(grammarAccess.getBOOLEAN_LITERALAccess().getValueAssignment_0(), "rule__BOOLEAN_LITERAL__ValueAssignment_0"); - put(grammarAccess.getBOOLEAN_LITERALAccess().getSuffixAssignment_1(), "rule__BOOLEAN_LITERAL__SuffixAssignment_1"); - put(grammarAccess.getINTEGER_LITERALAccess().getValueAssignment_0(), "rule__INTEGER_LITERAL__ValueAssignment_0"); - put(grammarAccess.getINTEGER_LITERALAccess().getSuffixAssignment_1(), "rule__INTEGER_LITERAL__SuffixAssignment_1"); - put(grammarAccess.getUNLIMITED_LITERALAccess().getValueAssignment_0(), "rule__UNLIMITED_LITERAL__ValueAssignment_0"); - put(grammarAccess.getUNLIMITED_LITERALAccess().getSuffixAssignment_1(), "rule__UNLIMITED_LITERAL__SuffixAssignment_1"); - put(grammarAccess.getSTRING_LITERALAccess().getValueAssignment_0(), "rule__STRING_LITERAL__ValueAssignment_0"); - put(grammarAccess.getSTRING_LITERALAccess().getSuffixAssignment_1(), "rule__STRING_LITERAL__SuffixAssignment_1"); - put(grammarAccess.getNameExpressionAccess().getPrefixOpAssignment_0_0_0(), "rule__NameExpression__PrefixOpAssignment_0_0_0"); - put(grammarAccess.getNameExpressionAccess().getPathAssignment_0_0_1(), "rule__NameExpression__PathAssignment_0_0_1"); - put(grammarAccess.getNameExpressionAccess().getIdAssignment_0_0_2(), "rule__NameExpression__IdAssignment_0_0_2"); - put(grammarAccess.getNameExpressionAccess().getPathAssignment_0_1_0(), "rule__NameExpression__PathAssignment_0_1_0"); - put(grammarAccess.getNameExpressionAccess().getIdAssignment_0_1_1(), "rule__NameExpression__IdAssignment_0_1_1"); - put(grammarAccess.getNameExpressionAccess().getInvocationCompletionAssignment_0_1_2_0(), "rule__NameExpression__InvocationCompletionAssignment_0_1_2_0"); - put(grammarAccess.getNameExpressionAccess().getSequenceConstructionCompletionAssignment_0_1_2_1(), "rule__NameExpression__SequenceConstructionCompletionAssignment_0_1_2_1"); - put(grammarAccess.getNameExpressionAccess().getPostfixOpAssignment_0_1_2_2(), "rule__NameExpression__PostfixOpAssignment_0_1_2_2"); - put(grammarAccess.getNameExpressionAccess().getSuffixAssignment_1(), "rule__NameExpression__SuffixAssignment_1"); - put(grammarAccess.getQualifiedNamePathAccess().getNamespaceAssignment_0(), "rule__QualifiedNamePath__NamespaceAssignment_0"); - put(grammarAccess.getUnqualifiedNameAccess().getNameAssignment_0(), "rule__UnqualifiedName__NameAssignment_0"); - put(grammarAccess.getUnqualifiedNameAccess().getTemplateBindingAssignment_1(), "rule__UnqualifiedName__TemplateBindingAssignment_1"); - put(grammarAccess.getTemplateBindingAccess().getBindingsAssignment_1(), "rule__TemplateBinding__BindingsAssignment_1"); - put(grammarAccess.getTemplateBindingAccess().getBindingsAssignment_2_1(), "rule__TemplateBinding__BindingsAssignment_2_1"); - put(grammarAccess.getNamedTemplateBindingAccess().getFormalAssignment_0(), "rule__NamedTemplateBinding__FormalAssignment_0"); - put(grammarAccess.getNamedTemplateBindingAccess().getActualAssignment_2(), "rule__NamedTemplateBinding__ActualAssignment_2"); - put(grammarAccess.getQualifiedNameWithBindingAccess().getIdAssignment_0(), "rule__QualifiedNameWithBinding__IdAssignment_0"); - put(grammarAccess.getQualifiedNameWithBindingAccess().getBindingAssignment_1(), "rule__QualifiedNameWithBinding__BindingAssignment_1"); - put(grammarAccess.getQualifiedNameWithBindingAccess().getRemainingAssignment_2_1(), "rule__QualifiedNameWithBinding__RemainingAssignment_2_1"); - put(grammarAccess.getTupleAccess().getTupleElementsAssignment_2_0(), "rule__Tuple__TupleElementsAssignment_2_0"); - put(grammarAccess.getTupleAccess().getTupleElementsAssignment_2_1_1(), "rule__Tuple__TupleElementsAssignment_2_1_1"); - put(grammarAccess.getTupleElementAccess().getArgumentAssignment(), "rule__TupleElement__ArgumentAssignment"); - put(grammarAccess.getConditionalTestExpressionAccess().getExpAssignment_0(), "rule__ConditionalTestExpression__ExpAssignment_0"); - put(grammarAccess.getConditionalTestExpressionAccess().getWhenTrueAssignment_1_1(), "rule__ConditionalTestExpression__WhenTrueAssignment_1_1"); - put(grammarAccess.getConditionalTestExpressionAccess().getWhenFalseAssignment_1_3(), "rule__ConditionalTestExpression__WhenFalseAssignment_1_3"); - put(grammarAccess.getConditionalOrExpressionAccess().getExpAssignment_0(), "rule__ConditionalOrExpression__ExpAssignment_0"); - put(grammarAccess.getConditionalOrExpressionAccess().getExpAssignment_1_1(), "rule__ConditionalOrExpression__ExpAssignment_1_1"); - put(grammarAccess.getConditionalAndExpressionAccess().getExpAssignment_0(), "rule__ConditionalAndExpression__ExpAssignment_0"); - put(grammarAccess.getConditionalAndExpressionAccess().getExpAssignment_1_1(), "rule__ConditionalAndExpression__ExpAssignment_1_1"); - put(grammarAccess.getInclusiveOrExpressionAccess().getExpAssignment_0(), "rule__InclusiveOrExpression__ExpAssignment_0"); - put(grammarAccess.getInclusiveOrExpressionAccess().getExpAssignment_1_1(), "rule__InclusiveOrExpression__ExpAssignment_1_1"); - put(grammarAccess.getExclusiveOrExpressionAccess().getExpAssignment_0(), "rule__ExclusiveOrExpression__ExpAssignment_0"); - put(grammarAccess.getExclusiveOrExpressionAccess().getExpAssignment_1_1(), "rule__ExclusiveOrExpression__ExpAssignment_1_1"); - put(grammarAccess.getAndExpressionAccess().getExpAssignment_0(), "rule__AndExpression__ExpAssignment_0"); - put(grammarAccess.getAndExpressionAccess().getExpAssignment_1_1(), "rule__AndExpression__ExpAssignment_1_1"); - put(grammarAccess.getEqualityExpressionAccess().getExpAssignment_0(), "rule__EqualityExpression__ExpAssignment_0"); - put(grammarAccess.getEqualityExpressionAccess().getOpAssignment_1_0(), "rule__EqualityExpression__OpAssignment_1_0"); - put(grammarAccess.getEqualityExpressionAccess().getExpAssignment_1_1(), "rule__EqualityExpression__ExpAssignment_1_1"); - put(grammarAccess.getClassificationExpressionAccess().getExpAssignment_0(), "rule__ClassificationExpression__ExpAssignment_0"); - put(grammarAccess.getClassificationExpressionAccess().getOpAssignment_1_0(), "rule__ClassificationExpression__OpAssignment_1_0"); - put(grammarAccess.getClassificationExpressionAccess().getTypeNameAssignment_1_1(), "rule__ClassificationExpression__TypeNameAssignment_1_1"); - put(grammarAccess.getRelationalExpressionAccess().getLeftAssignment_0(), "rule__RelationalExpression__LeftAssignment_0"); - put(grammarAccess.getRelationalExpressionAccess().getOpAssignment_1_0(), "rule__RelationalExpression__OpAssignment_1_0"); - put(grammarAccess.getRelationalExpressionAccess().getRightAssignment_1_1(), "rule__RelationalExpression__RightAssignment_1_1"); - put(grammarAccess.getShiftExpressionAccess().getExpAssignment_0(), "rule__ShiftExpression__ExpAssignment_0"); - put(grammarAccess.getShiftExpressionAccess().getOpAssignment_1_0(), "rule__ShiftExpression__OpAssignment_1_0"); - put(grammarAccess.getShiftExpressionAccess().getExpAssignment_1_1(), "rule__ShiftExpression__ExpAssignment_1_1"); - put(grammarAccess.getAdditiveExpressionAccess().getExpAssignment_0(), "rule__AdditiveExpression__ExpAssignment_0"); - put(grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_0(), "rule__AdditiveExpression__OpAssignment_1_0"); - put(grammarAccess.getAdditiveExpressionAccess().getExpAssignment_1_1(), "rule__AdditiveExpression__ExpAssignment_1_1"); - put(grammarAccess.getMultiplicativeExpressionAccess().getExpAssignment_0(), "rule__MultiplicativeExpression__ExpAssignment_0"); - put(grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_0(), "rule__MultiplicativeExpression__OpAssignment_1_0"); - put(grammarAccess.getMultiplicativeExpressionAccess().getExpAssignment_1_1(), "rule__MultiplicativeExpression__ExpAssignment_1_1"); - put(grammarAccess.getUnaryExpressionAccess().getOpAssignment_0(), "rule__UnaryExpression__OpAssignment_0"); - put(grammarAccess.getUnaryExpressionAccess().getExpAssignment_1(), "rule__UnaryExpression__ExpAssignment_1"); - put(grammarAccess.getPrimaryExpressionAccess().getPrefixAssignment(), "rule__PrimaryExpression__PrefixAssignment"); - put(grammarAccess.getOperationCallExpressionAccess().getOperationNameAssignment_1(), "rule__OperationCallExpression__OperationNameAssignment_1"); - put(grammarAccess.getOperationCallExpressionAccess().getTupleAssignment_2(), "rule__OperationCallExpression__TupleAssignment_2"); - put(grammarAccess.getOperationCallExpressionAccess().getSuffixAssignment_3(), "rule__OperationCallExpression__SuffixAssignment_3"); - put(grammarAccess.getOperationCallExpressionWithoutDotAccess().getOperationNameAssignment_0(), "rule__OperationCallExpressionWithoutDot__OperationNameAssignment_0"); - put(grammarAccess.getOperationCallExpressionWithoutDotAccess().getTupleAssignment_1(), "rule__OperationCallExpressionWithoutDot__TupleAssignment_1"); - put(grammarAccess.getOperationCallExpressionWithoutDotAccess().getSuffixAssignment_2(), "rule__OperationCallExpressionWithoutDot__SuffixAssignment_2"); - put(grammarAccess.getPropertyCallExpressionAccess().getPropertyNameAssignment_1(), "rule__PropertyCallExpression__PropertyNameAssignment_1"); - put(grammarAccess.getPropertyCallExpressionAccess().getIndexAssignment_2_1(), "rule__PropertyCallExpression__IndexAssignment_2_1"); - put(grammarAccess.getPropertyCallExpressionAccess().getSuffixAssignment_3(), "rule__PropertyCallExpression__SuffixAssignment_3"); - put(grammarAccess.getLinkOperationExpressionAccess().getKindAssignment_1(), "rule__LinkOperationExpression__KindAssignment_1"); - put(grammarAccess.getLinkOperationExpressionAccess().getTupleAssignment_2(), "rule__LinkOperationExpression__TupleAssignment_2"); - put(grammarAccess.getLinkOperationTupleAccess().getLinkOperationTupleElementAssignment_1(), "rule__LinkOperationTuple__LinkOperationTupleElementAssignment_1"); - put(grammarAccess.getLinkOperationTupleAccess().getLinkOperationTupleElementAssignment_2_1(), "rule__LinkOperationTuple__LinkOperationTupleElementAssignment_2_1"); - put(grammarAccess.getLinkOperationTupleElementAccess().getObjectOrRoleAssignment_0(), "rule__LinkOperationTupleElement__ObjectOrRoleAssignment_0"); - put(grammarAccess.getLinkOperationTupleElementAccess().getRoleIndexAssignment_1_0_1(), "rule__LinkOperationTupleElement__RoleIndexAssignment_1_0_1"); - put(grammarAccess.getLinkOperationTupleElementAccess().getObjectAssignment_1_2(), "rule__LinkOperationTupleElement__ObjectAssignment_1_2"); - put(grammarAccess.getSequenceOperationExpressionAccess().getOperationNameAssignment_1(), "rule__SequenceOperationExpression__OperationNameAssignment_1"); - put(grammarAccess.getSequenceOperationExpressionAccess().getTupleAssignment_2(), "rule__SequenceOperationExpression__TupleAssignment_2"); - put(grammarAccess.getSequenceOperationExpressionAccess().getSuffixAssignment_3(), "rule__SequenceOperationExpression__SuffixAssignment_3"); - put(grammarAccess.getSequenceReductionExpressionAccess().getIsOrderedAssignment_2(), "rule__SequenceReductionExpression__IsOrderedAssignment_2"); - put(grammarAccess.getSequenceReductionExpressionAccess().getBehaviorAssignment_3(), "rule__SequenceReductionExpression__BehaviorAssignment_3"); - put(grammarAccess.getSequenceReductionExpressionAccess().getSuffixAssignment_4(), "rule__SequenceReductionExpression__SuffixAssignment_4"); - put(grammarAccess.getSelectOrRejectOperationAccess().getOpAssignment_1(), "rule__SelectOrRejectOperation__OpAssignment_1"); - put(grammarAccess.getSelectOrRejectOperationAccess().getNameAssignment_2(), "rule__SelectOrRejectOperation__NameAssignment_2"); - put(grammarAccess.getSelectOrRejectOperationAccess().getExprAssignment_4(), "rule__SelectOrRejectOperation__ExprAssignment_4"); - put(grammarAccess.getSelectOrRejectOperationAccess().getSuffixAssignment_6(), "rule__SelectOrRejectOperation__SuffixAssignment_6"); - put(grammarAccess.getCollectOrIterateOperationAccess().getOpAssignment_1(), "rule__CollectOrIterateOperation__OpAssignment_1"); - put(grammarAccess.getCollectOrIterateOperationAccess().getNameAssignment_2(), "rule__CollectOrIterateOperation__NameAssignment_2"); - put(grammarAccess.getCollectOrIterateOperationAccess().getExprAssignment_4(), "rule__CollectOrIterateOperation__ExprAssignment_4"); - put(grammarAccess.getCollectOrIterateOperationAccess().getSuffixAssignment_6(), "rule__CollectOrIterateOperation__SuffixAssignment_6"); - put(grammarAccess.getForAllOrExistsOrOneOperationAccess().getOpAssignment_1(), "rule__ForAllOrExistsOrOneOperation__OpAssignment_1"); - put(grammarAccess.getForAllOrExistsOrOneOperationAccess().getNameAssignment_2(), "rule__ForAllOrExistsOrOneOperation__NameAssignment_2"); - put(grammarAccess.getForAllOrExistsOrOneOperationAccess().getExprAssignment_4(), "rule__ForAllOrExistsOrOneOperation__ExprAssignment_4"); - put(grammarAccess.getForAllOrExistsOrOneOperationAccess().getSuffixAssignment_6(), "rule__ForAllOrExistsOrOneOperation__SuffixAssignment_6"); - put(grammarAccess.getIsUniqueOperationAccess().getNameAssignment_2(), "rule__IsUniqueOperation__NameAssignment_2"); - put(grammarAccess.getIsUniqueOperationAccess().getExprAssignment_4(), "rule__IsUniqueOperation__ExprAssignment_4"); - put(grammarAccess.getIsUniqueOperationAccess().getSuffixAssignment_6(), "rule__IsUniqueOperation__SuffixAssignment_6"); - put(grammarAccess.getParenthesizedExpressionAccess().getExpOrTypeCastAssignment_1(), "rule__ParenthesizedExpression__ExpOrTypeCastAssignment_1"); - put(grammarAccess.getParenthesizedExpressionAccess().getCastedAssignment_3_0(), "rule__ParenthesizedExpression__CastedAssignment_3_0"); - put(grammarAccess.getParenthesizedExpressionAccess().getSuffixAssignment_3_1(), "rule__ParenthesizedExpression__SuffixAssignment_3_1"); - put(grammarAccess.getThisExpressionAccess().getSuffixAssignment_2(), "rule__ThisExpression__SuffixAssignment_2"); - put(grammarAccess.getSuperInvocationExpressionAccess().getClassNameAssignment_1_0_1(), "rule__SuperInvocationExpression__ClassNameAssignment_1_0_1"); - put(grammarAccess.getSuperInvocationExpressionAccess().getOperationCallWithoutDotAssignment_1_0_3(), "rule__SuperInvocationExpression__OperationCallWithoutDotAssignment_1_0_3"); - put(grammarAccess.getSuperInvocationExpressionAccess().getOperationCallAssignment_1_1(), "rule__SuperInvocationExpression__OperationCallAssignment_1_1"); - put(grammarAccess.getInstanceCreationExpressionAccess().getConstructorAssignment_1(), "rule__InstanceCreationExpression__ConstructorAssignment_1"); - put(grammarAccess.getInstanceCreationExpressionAccess().getTupleAssignment_2_0(), "rule__InstanceCreationExpression__TupleAssignment_2_0"); - put(grammarAccess.getInstanceCreationExpressionAccess().getSequenceConstuctionCompletionAssignment_2_1(), "rule__InstanceCreationExpression__SequenceConstuctionCompletionAssignment_2_1"); - put(grammarAccess.getInstanceCreationExpressionAccess().getSuffixAssignment_3(), "rule__InstanceCreationExpression__SuffixAssignment_3"); - put(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getMultiplicityIndicatorAssignment_0_0(), "rule__SequenceConstructionOrAccessCompletion__MultiplicityIndicatorAssignment_0_0"); - put(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getAccessCompletionAssignment_0_1_0(), "rule__SequenceConstructionOrAccessCompletion__AccessCompletionAssignment_0_1_0"); - put(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getSequenceCompletionAssignment_0_1_1(), "rule__SequenceConstructionOrAccessCompletion__SequenceCompletionAssignment_0_1_1"); - put(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getExpressionAssignment_1(), "rule__SequenceConstructionOrAccessCompletion__ExpressionAssignment_1"); - put(grammarAccess.getAccessCompletionAccess().getAccessIndexAssignment_0(), "rule__AccessCompletion__AccessIndexAssignment_0"); - put(grammarAccess.getPartialSequenceConstructionCompletionAccess().getExpressionAssignment_1(), "rule__PartialSequenceConstructionCompletion__ExpressionAssignment_1"); - put(grammarAccess.getSequenceConstructionCompletionAccess().getMultiplicityIndicatorAssignment_0_0(), "rule__SequenceConstructionCompletion__MultiplicityIndicatorAssignment_0_0"); - put(grammarAccess.getSequenceConstructionCompletionAccess().getExpressionAssignment_1(), "rule__SequenceConstructionCompletion__ExpressionAssignment_1"); - put(grammarAccess.getSequenceConstructionExpressionAccess().getSequenceElementAssignment_1(), "rule__SequenceConstructionExpression__SequenceElementAssignment_1"); - put(grammarAccess.getSequenceConstructionExpressionAccess().getSequenceElementAssignment_2_0_1(), "rule__SequenceConstructionExpression__SequenceElementAssignment_2_0_1"); - put(grammarAccess.getSequenceConstructionExpressionAccess().getRangeUpperAssignment_2_1_1(), "rule__SequenceConstructionExpression__RangeUpperAssignment_2_1_1"); - put(grammarAccess.getBlockAccess().getSequenceAssignment_2(), "rule__Block__SequenceAssignment_2"); - put(grammarAccess.getStatementSequenceAccess().getStatementsAssignment(), "rule__StatementSequence__StatementsAssignment"); - put(grammarAccess.getDocumentedStatementAccess().getCommentAssignment_0(), "rule__DocumentedStatement__CommentAssignment_0"); - put(grammarAccess.getDocumentedStatementAccess().getStatementAssignment_1(), "rule__DocumentedStatement__StatementAssignment_1"); - put(grammarAccess.getInlineStatementAccess().getLangageNameAssignment_3(), "rule__InlineStatement__LangageNameAssignment_3"); - put(grammarAccess.getInlineStatementAccess().getBodyAssignment_5(), "rule__InlineStatement__BodyAssignment_5"); - put(grammarAccess.getAnnotatedStatementAccess().getAnnotationAssignment_1(), "rule__AnnotatedStatement__AnnotationAssignment_1"); - put(grammarAccess.getAnnotatedStatementAccess().getStatementAssignment_2(), "rule__AnnotatedStatement__StatementAssignment_2"); - put(grammarAccess.getAnnotationAccess().getKindAssignment_0(), "rule__Annotation__KindAssignment_0"); - put(grammarAccess.getAnnotationAccess().getArgsAssignment_1_1(), "rule__Annotation__ArgsAssignment_1_1"); - put(grammarAccess.getAnnotationAccess().getArgsAssignment_1_2_1(), "rule__Annotation__ArgsAssignment_1_2_1"); - put(grammarAccess.getBlockStatementAccess().getBlockAssignment(), "rule__BlockStatement__BlockAssignment"); - put(grammarAccess.getLocalNameDeclarationStatementAccess().getVarNameAssignment_1(), "rule__LocalNameDeclarationStatement__VarNameAssignment_1"); - put(grammarAccess.getLocalNameDeclarationStatementAccess().getTypeAssignment_3(), "rule__LocalNameDeclarationStatement__TypeAssignment_3"); - put(grammarAccess.getLocalNameDeclarationStatementAccess().getMultiplicityIndicatorAssignment_4_0(), "rule__LocalNameDeclarationStatement__MultiplicityIndicatorAssignment_4_0"); - put(grammarAccess.getLocalNameDeclarationStatementAccess().getInitAssignment_6(), "rule__LocalNameDeclarationStatement__InitAssignment_6"); - put(grammarAccess.getIfStatementAccess().getSequentialClaussesAssignment_1(), "rule__IfStatement__SequentialClaussesAssignment_1"); - put(grammarAccess.getIfStatementAccess().getFinalClauseAssignment_2(), "rule__IfStatement__FinalClauseAssignment_2"); - put(grammarAccess.getSequentialClausesAccess().getConccurentClausesAssignment_0(), "rule__SequentialClauses__ConccurentClausesAssignment_0"); - put(grammarAccess.getSequentialClausesAccess().getConccurentClausesAssignment_1_2(), "rule__SequentialClauses__ConccurentClausesAssignment_1_2"); - put(grammarAccess.getConcurrentClausesAccess().getNonFinalClauseAssignment_0(), "rule__ConcurrentClauses__NonFinalClauseAssignment_0"); - put(grammarAccess.getConcurrentClausesAccess().getNonFinalClauseAssignment_1_2(), "rule__ConcurrentClauses__NonFinalClauseAssignment_1_2"); - put(grammarAccess.getNonFinalClauseAccess().getConditionAssignment_1(), "rule__NonFinalClause__ConditionAssignment_1"); - put(grammarAccess.getNonFinalClauseAccess().getBlockAssignment_3(), "rule__NonFinalClause__BlockAssignment_3"); - put(grammarAccess.getFinalClauseAccess().getBlockAssignment_1(), "rule__FinalClause__BlockAssignment_1"); - put(grammarAccess.getSwitchStatementAccess().getExpressionAssignment_2(), "rule__SwitchStatement__ExpressionAssignment_2"); - put(grammarAccess.getSwitchStatementAccess().getSwitchClauseAssignment_5(), "rule__SwitchStatement__SwitchClauseAssignment_5"); - put(grammarAccess.getSwitchStatementAccess().getDefaultClauseAssignment_6(), "rule__SwitchStatement__DefaultClauseAssignment_6"); - put(grammarAccess.getSwitchClauseAccess().getSwitchCaseAssignment_0(), "rule__SwitchClause__SwitchCaseAssignment_0"); - put(grammarAccess.getSwitchClauseAccess().getSwitchCaseAssignment_1(), "rule__SwitchClause__SwitchCaseAssignment_1"); - put(grammarAccess.getSwitchClauseAccess().getStatementSequenceAssignment_2(), "rule__SwitchClause__StatementSequenceAssignment_2"); - put(grammarAccess.getSwitchCaseAccess().getExpressionAssignment_1(), "rule__SwitchCase__ExpressionAssignment_1"); - put(grammarAccess.getSwitchDefaultClauseAccess().getStatementSequenceAssignment_2(), "rule__SwitchDefaultClause__StatementSequenceAssignment_2"); - put(grammarAccess.getNonEmptyStatementSequenceAccess().getStatementAssignment(), "rule__NonEmptyStatementSequence__StatementAssignment"); - put(grammarAccess.getWhileStatementAccess().getConditionAssignment_2(), "rule__WhileStatement__ConditionAssignment_2"); - put(grammarAccess.getWhileStatementAccess().getBlockAssignment_4(), "rule__WhileStatement__BlockAssignment_4"); - put(grammarAccess.getDoStatementAccess().getBlockAssignment_1(), "rule__DoStatement__BlockAssignment_1"); - put(grammarAccess.getDoStatementAccess().getConditionAssignment_4(), "rule__DoStatement__ConditionAssignment_4"); - put(grammarAccess.getForStatementAccess().getControlAssignment_2(), "rule__ForStatement__ControlAssignment_2"); - put(grammarAccess.getForStatementAccess().getBlockAssignment_4(), "rule__ForStatement__BlockAssignment_4"); - put(grammarAccess.getForControlAccess().getLoopVariableDefinitionAssignment_0(), "rule__ForControl__LoopVariableDefinitionAssignment_0"); - put(grammarAccess.getForControlAccess().getLoopVariableDefinitionAssignment_1_1(), "rule__ForControl__LoopVariableDefinitionAssignment_1_1"); - put(grammarAccess.getLoopVariableDefinitionAccess().getNameAssignment_0_0(), "rule__LoopVariableDefinition__NameAssignment_0_0"); - put(grammarAccess.getLoopVariableDefinitionAccess().getExpression1Assignment_0_2(), "rule__LoopVariableDefinition__Expression1Assignment_0_2"); - put(grammarAccess.getLoopVariableDefinitionAccess().getExpression2Assignment_0_3_1(), "rule__LoopVariableDefinition__Expression2Assignment_0_3_1"); - put(grammarAccess.getLoopVariableDefinitionAccess().getTypeAssignment_1_0(), "rule__LoopVariableDefinition__TypeAssignment_1_0"); - put(grammarAccess.getLoopVariableDefinitionAccess().getNameAssignment_1_1(), "rule__LoopVariableDefinition__NameAssignment_1_1"); - put(grammarAccess.getLoopVariableDefinitionAccess().getExpressionAssignment_1_3(), "rule__LoopVariableDefinition__ExpressionAssignment_1_3"); - put(grammarAccess.getReturnStatementAccess().getExpressionAssignment_1(), "rule__ReturnStatement__ExpressionAssignment_1"); - put(grammarAccess.getAcceptStatementAccess().getClauseAssignment_0(), "rule__AcceptStatement__ClauseAssignment_0"); - put(grammarAccess.getAcceptStatementAccess().getSimpleAcceptAssignment_1_0(), "rule__AcceptStatement__SimpleAcceptAssignment_1_0"); - put(grammarAccess.getAcceptStatementAccess().getCompoundAcceptAssignment_1_1(), "rule__AcceptStatement__CompoundAcceptAssignment_1_1"); - put(grammarAccess.getCompoundAcceptStatementCompletionAccess().getBlockAssignment_0(), "rule__CompoundAcceptStatementCompletion__BlockAssignment_0"); - put(grammarAccess.getCompoundAcceptStatementCompletionAccess().getAcceptBlockAssignment_1_1(), "rule__CompoundAcceptStatementCompletion__AcceptBlockAssignment_1_1"); - put(grammarAccess.getAcceptBlockAccess().getClauseAssignment_0(), "rule__AcceptBlock__ClauseAssignment_0"); - put(grammarAccess.getAcceptBlockAccess().getBlockAssignment_1(), "rule__AcceptBlock__BlockAssignment_1"); - put(grammarAccess.getAcceptClauseAccess().getNameAssignment_2_0(), "rule__AcceptClause__NameAssignment_2_0"); - put(grammarAccess.getAcceptClauseAccess().getQualifiedNameListAssignment_3(), "rule__AcceptClause__QualifiedNameListAssignment_3"); - put(grammarAccess.getClassifyStatementAccess().getExpressionAssignment_1(), "rule__ClassifyStatement__ExpressionAssignment_1"); - put(grammarAccess.getClassifyStatementAccess().getClauseAssignment_2(), "rule__ClassifyStatement__ClauseAssignment_2"); - put(grammarAccess.getClassificationClauseAccess().getClassifyFromClauseAssignment_0_0(), "rule__ClassificationClause__ClassifyFromClauseAssignment_0_0"); - put(grammarAccess.getClassificationClauseAccess().getClassifyToClauseAssignment_0_1(), "rule__ClassificationClause__ClassifyToClauseAssignment_0_1"); - put(grammarAccess.getClassificationClauseAccess().getReclassyAllClauseAssignment_1_0(), "rule__ClassificationClause__ReclassyAllClauseAssignment_1_0"); - put(grammarAccess.getClassificationClauseAccess().getClassifyToClauseAssignment_1_1(), "rule__ClassificationClause__ClassifyToClauseAssignment_1_1"); - put(grammarAccess.getClassificationFromClauseAccess().getQualifiedNameListAssignment_1(), "rule__ClassificationFromClause__QualifiedNameListAssignment_1"); - put(grammarAccess.getClassificationToClauseAccess().getQualifiedNameListAssignment_1(), "rule__ClassificationToClause__QualifiedNameListAssignment_1"); - put(grammarAccess.getQualifiedNameListAccess().getQualifiedNameAssignment_0(), "rule__QualifiedNameList__QualifiedNameAssignment_0"); - put(grammarAccess.getQualifiedNameListAccess().getQualifiedNameAssignment_1_1(), "rule__QualifiedNameList__QualifiedNameAssignment_1_1"); - put(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getTypePart_OR_assignedPart_OR_invocationPartAssignment_0(), - "rule__InvocationOrAssignementOrDeclarationStatement__TypePart_OR_assignedPart_OR_invocationPartAssignment_0"); - put(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getVariableDeclarationCompletionAssignment_1_0(), "rule__InvocationOrAssignementOrDeclarationStatement__VariableDeclarationCompletionAssignment_1_0"); - put(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getAssignmentCompletionAssignment_1_1(), "rule__InvocationOrAssignementOrDeclarationStatement__AssignmentCompletionAssignment_1_1"); - put(grammarAccess.getSuperInvocationStatementAccess().get_superAssignment_0(), "rule__SuperInvocationStatement___superAssignment_0"); - put(grammarAccess.getThisInvocationStatementAccess().get_thisAssignment_0(), "rule__ThisInvocationStatement___thisAssignment_0"); - put(grammarAccess.getThisInvocationStatementAccess().getAssignmentCompletionAssignment_1(), "rule__ThisInvocationStatement__AssignmentCompletionAssignment_1"); - put(grammarAccess.getInstanceCreationInvocationStatementAccess().get_newAssignment_0(), "rule__InstanceCreationInvocationStatement___newAssignment_0"); - put(grammarAccess.getVariableDeclarationCompletionAccess().getMultiplicityIndicatorAssignment_0_0(), "rule__VariableDeclarationCompletion__MultiplicityIndicatorAssignment_0_0"); - put(grammarAccess.getVariableDeclarationCompletionAccess().getVariableNameAssignment_1(), "rule__VariableDeclarationCompletion__VariableNameAssignment_1"); - put(grammarAccess.getVariableDeclarationCompletionAccess().getInitValueAssignment_2(), "rule__VariableDeclarationCompletion__InitValueAssignment_2"); - put(grammarAccess.getAssignmentCompletionAccess().getOpAssignment_0(), "rule__AssignmentCompletion__OpAssignment_0"); - put(grammarAccess.getAssignmentCompletionAccess().getRightHandSideAssignment_1(), "rule__AssignmentCompletion__RightHandSideAssignment_1"); - } - }; - } - return nameMappings.get(element); - } - - @Override - protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { - try { - org.eclipse.papyrus.operation.editor.xtext.ui.contentassist.antlr.internal.InternalOperationParser typedParser = (org.eclipse.papyrus.operation.editor.xtext.ui.contentassist.antlr.internal.InternalOperationParser) parser; - typedParser.entryRuleOperationDefinitionOrStub(); - return typedParser.getFollowElements(); - } catch (RecognitionException ex) { - throw new RuntimeException(ex); - } - } - - @Override - protected String[] getInitialHiddenTokens() { - return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" }; - } - - public OperationGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(OperationGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } -} diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/src-gen/org/eclipse/papyrus/operation/editor/xtext/ui/contentassist/antlr/internal/InternalOperation.g b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/src-gen/org/eclipse/papyrus/operation/editor/xtext/ui/contentassist/antlr/internal/InternalOperation.g deleted file mode 100644 index 29206ce5076..00000000000 --- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext.ui/src-gen/org/eclipse/papyrus/operation/editor/xtext/ui/contentassist/antlr/internal/InternalOperation.g +++ /dev/null @@ -1,21215 +0,0 @@ -/* -* generated by Xtext -*/ -grammar InternalOperation; - -options { - superClass=AbstractInternalContentAssistParser; - -} - -@lexer::header { -package org.eclipse.papyrus.operation.editor.xtext.ui.contentassist.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; -} - -@parser::header { -package org.eclipse.papyrus.operation.editor.xtext.ui.contentassist.antlr.internal; - -import java.io.InputStream; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.xtext.parsetree.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA; -import org.eclipse.papyrus.operation.editor.xtext.services.OperationGrammarAccess; - -} - -@parser::members { - - private OperationGrammarAccess grammarAccess; - - public void setGrammarAccess(OperationGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - - @Override - protected Grammar getGrammar() { - return grammarAccess.getGrammar(); - } - - @Override - protected String getValueForTokenName(String tokenName) { - return tokenName; - } - -} - - - - -// Entry rule entryRuleOperationDefinitionOrStub -entryRuleOperationDefinitionOrStub -: -{ before(grammarAccess.getOperationDefinitionOrStubRule()); } - ruleOperationDefinitionOrStub -{ after(grammarAccess.getOperationDefinitionOrStubRule()); } - EOF -; - -// Rule OperationDefinitionOrStub -ruleOperationDefinitionOrStub - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getOperationDefinitionOrStubAccess().getGroup()); } -(rule__OperationDefinitionOrStub__Group__0) -{ after(grammarAccess.getOperationDefinitionOrStubAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleOperationDeclaration -entryRuleOperationDeclaration -: -{ before(grammarAccess.getOperationDeclarationRule()); } - ruleOperationDeclaration -{ after(grammarAccess.getOperationDeclarationRule()); } - EOF -; - -// Rule OperationDeclaration -ruleOperationDeclaration - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getOperationDeclarationAccess().getGroup()); } -(rule__OperationDeclaration__Group__0) -{ after(grammarAccess.getOperationDeclarationAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleFormalParameters -entryRuleFormalParameters -: -{ before(grammarAccess.getFormalParametersRule()); } - ruleFormalParameters -{ after(grammarAccess.getFormalParametersRule()); } - EOF -; - -// Rule FormalParameters -ruleFormalParameters - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getFormalParametersAccess().getGroup()); } -(rule__FormalParameters__Group__0) -{ after(grammarAccess.getFormalParametersAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleFormalParameterList -entryRuleFormalParameterList -: -{ before(grammarAccess.getFormalParameterListRule()); } - ruleFormalParameterList -{ after(grammarAccess.getFormalParameterListRule()); } - EOF -; - -// Rule FormalParameterList -ruleFormalParameterList - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getFormalParameterListAccess().getGroup()); } -(rule__FormalParameterList__Group__0) -{ after(grammarAccess.getFormalParameterListAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleFormalParameter -entryRuleFormalParameter -: -{ before(grammarAccess.getFormalParameterRule()); } - ruleFormalParameter -{ after(grammarAccess.getFormalParameterRule()); } - EOF -; - -// Rule FormalParameter -ruleFormalParameter - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getFormalParameterAccess().getGroup()); } -(rule__FormalParameter__Group__0) -{ after(grammarAccess.getFormalParameterAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleTypePart -entryRuleTypePart -: -{ before(grammarAccess.getTypePartRule()); } - ruleTypePart -{ after(grammarAccess.getTypePartRule()); } - EOF -; - -// Rule TypePart -ruleTypePart - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getTypePartAccess().getGroup()); } -(rule__TypePart__Group__0) -{ after(grammarAccess.getTypePartAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleMultiplicity -entryRuleMultiplicity -: -{ before(grammarAccess.getMultiplicityRule()); } - ruleMultiplicity -{ after(grammarAccess.getMultiplicityRule()); } - EOF -; - -// Rule Multiplicity -ruleMultiplicity - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getMultiplicityAccess().getGroup()); } -(rule__Multiplicity__Group__0) -{ after(grammarAccess.getMultiplicityAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleMultiplicityRange -entryRuleMultiplicityRange -: -{ before(grammarAccess.getMultiplicityRangeRule()); } - ruleMultiplicityRange -{ after(grammarAccess.getMultiplicityRangeRule()); } - EOF -; - -// Rule MultiplicityRange -ruleMultiplicityRange - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getMultiplicityRangeAccess().getGroup()); } -(rule__MultiplicityRange__Group__0) -{ after(grammarAccess.getMultiplicityRangeAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX -entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX -: -{ before(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXRule()); } - ruleNUMBER_LITERAL_WITHOUT_SUFFIX -{ after(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXRule()); } - EOF -; - -// Rule NUMBER_LITERAL_WITHOUT_SUFFIX -ruleNUMBER_LITERAL_WITHOUT_SUFFIX - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getAlternatives()); } -(rule__NUMBER_LITERAL_WITHOUT_SUFFIX__Alternatives) -{ after(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX -entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX -: -{ before(grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXRule()); } - ruleINTEGER_LITERAL_WITHOUT_SUFFIX -{ after(grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXRule()); } - EOF -; - -// Rule INTEGER_LITERAL_WITHOUT_SUFFIX -ruleINTEGER_LITERAL_WITHOUT_SUFFIX - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXAccess().getValueAssignment()); } -(rule__INTEGER_LITERAL_WITHOUT_SUFFIX__ValueAssignment) -{ after(grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXAccess().getValueAssignment()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX -entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX -: -{ before(grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXRule()); } - ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX -{ after(grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXRule()); } - EOF -; - -// Rule UNLIMITED_LITERAL_WITHOUT_SUFFIX -ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXAccess().getValueAssignment()); } -(rule__UNLIMITED_LITERAL_WITHOUT_SUFFIX__ValueAssignment) -{ after(grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXAccess().getValueAssignment()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleTypeName -entryRuleTypeName -: -{ before(grammarAccess.getTypeNameRule()); } - ruleTypeName -{ after(grammarAccess.getTypeNameRule()); } - EOF -; - -// Rule TypeName -ruleTypeName - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getTypeNameAccess().getGroup()); } -(rule__TypeName__Group__0) -{ after(grammarAccess.getTypeNameAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleRedefinitionClause -entryRuleRedefinitionClause -: -{ before(grammarAccess.getRedefinitionClauseRule()); } - ruleRedefinitionClause -{ after(grammarAccess.getRedefinitionClauseRule()); } - EOF -; - -// Rule RedefinitionClause -ruleRedefinitionClause - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getRedefinitionClauseAccess().getGroup()); } -(rule__RedefinitionClause__Group__0) -{ after(grammarAccess.getRedefinitionClauseAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - -// Entry rule entryRuleLITERAL -entryRuleLITERAL -: -{ before(grammarAccess.getLITERALRule()); } - ruleLITERAL -{ after(grammarAccess.getLITERALRule()); } - EOF -; - -// Rule LITERAL -ruleLITERAL - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getLITERALAccess().getAlternatives()); } -(rule__LITERAL__Alternatives) -{ after(grammarAccess.getLITERALAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleBOOLEAN_LITERAL -entryRuleBOOLEAN_LITERAL -: -{ before(grammarAccess.getBOOLEAN_LITERALRule()); } - ruleBOOLEAN_LITERAL -{ after(grammarAccess.getBOOLEAN_LITERALRule()); } - EOF -; - -// Rule BOOLEAN_LITERAL -ruleBOOLEAN_LITERAL - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getBOOLEAN_LITERALAccess().getGroup()); } -(rule__BOOLEAN_LITERAL__Group__0) -{ after(grammarAccess.getBOOLEAN_LITERALAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleNUMBER_LITERAL -entryRuleNUMBER_LITERAL -: -{ before(grammarAccess.getNUMBER_LITERALRule()); } - ruleNUMBER_LITERAL -{ after(grammarAccess.getNUMBER_LITERALRule()); } - EOF -; - -// Rule NUMBER_LITERAL -ruleNUMBER_LITERAL - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getNUMBER_LITERALAccess().getAlternatives()); } -(rule__NUMBER_LITERAL__Alternatives) -{ after(grammarAccess.getNUMBER_LITERALAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleINTEGER_LITERAL -entryRuleINTEGER_LITERAL -: -{ before(grammarAccess.getINTEGER_LITERALRule()); } - ruleINTEGER_LITERAL -{ after(grammarAccess.getINTEGER_LITERALRule()); } - EOF -; - -// Rule INTEGER_LITERAL -ruleINTEGER_LITERAL - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getINTEGER_LITERALAccess().getGroup()); } -(rule__INTEGER_LITERAL__Group__0) -{ after(grammarAccess.getINTEGER_LITERALAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleUNLIMITED_LITERAL -entryRuleUNLIMITED_LITERAL -: -{ before(grammarAccess.getUNLIMITED_LITERALRule()); } - ruleUNLIMITED_LITERAL -{ after(grammarAccess.getUNLIMITED_LITERALRule()); } - EOF -; - -// Rule UNLIMITED_LITERAL -ruleUNLIMITED_LITERAL - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getUNLIMITED_LITERALAccess().getGroup()); } -(rule__UNLIMITED_LITERAL__Group__0) -{ after(grammarAccess.getUNLIMITED_LITERALAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSTRING_LITERAL -entryRuleSTRING_LITERAL -: -{ before(grammarAccess.getSTRING_LITERALRule()); } - ruleSTRING_LITERAL -{ after(grammarAccess.getSTRING_LITERALRule()); } - EOF -; - -// Rule STRING_LITERAL -ruleSTRING_LITERAL - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSTRING_LITERALAccess().getGroup()); } -(rule__STRING_LITERAL__Group__0) -{ after(grammarAccess.getSTRING_LITERALAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleNameExpression -entryRuleNameExpression -: -{ before(grammarAccess.getNameExpressionRule()); } - ruleNameExpression -{ after(grammarAccess.getNameExpressionRule()); } - EOF -; - -// Rule NameExpression -ruleNameExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getNameExpressionAccess().getGroup()); } -(rule__NameExpression__Group__0) -{ after(grammarAccess.getNameExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleQualifiedNamePath -entryRuleQualifiedNamePath -: -{ before(grammarAccess.getQualifiedNamePathRule()); } - ruleQualifiedNamePath -{ after(grammarAccess.getQualifiedNamePathRule()); } - EOF -; - -// Rule QualifiedNamePath -ruleQualifiedNamePath - @init { - int stackSize = keepStackSize(); - } - : -( -( -{ before(grammarAccess.getQualifiedNamePathAccess().getGroup()); } -(rule__QualifiedNamePath__Group__0) -{ after(grammarAccess.getQualifiedNamePathAccess().getGroup()); } -) -( -{ before(grammarAccess.getQualifiedNamePathAccess().getGroup()); } -(rule__QualifiedNamePath__Group__0)* -{ after(grammarAccess.getQualifiedNamePathAccess().getGroup()); } -) -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleUnqualifiedName -entryRuleUnqualifiedName -: -{ before(grammarAccess.getUnqualifiedNameRule()); } - ruleUnqualifiedName -{ after(grammarAccess.getUnqualifiedNameRule()); } - EOF -; - -// Rule UnqualifiedName -ruleUnqualifiedName - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getUnqualifiedNameAccess().getGroup()); } -(rule__UnqualifiedName__Group__0) -{ after(grammarAccess.getUnqualifiedNameAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleTemplateBinding -entryRuleTemplateBinding -: -{ before(grammarAccess.getTemplateBindingRule()); } - ruleTemplateBinding -{ after(grammarAccess.getTemplateBindingRule()); } - EOF -; - -// Rule TemplateBinding -ruleTemplateBinding - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getTemplateBindingAccess().getGroup()); } -(rule__TemplateBinding__Group__0) -{ after(grammarAccess.getTemplateBindingAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleNamedTemplateBinding -entryRuleNamedTemplateBinding -: -{ before(grammarAccess.getNamedTemplateBindingRule()); } - ruleNamedTemplateBinding -{ after(grammarAccess.getNamedTemplateBindingRule()); } - EOF -; - -// Rule NamedTemplateBinding -ruleNamedTemplateBinding - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getNamedTemplateBindingAccess().getGroup()); } -(rule__NamedTemplateBinding__Group__0) -{ after(grammarAccess.getNamedTemplateBindingAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleQualifiedNameWithBinding -entryRuleQualifiedNameWithBinding -: -{ before(grammarAccess.getQualifiedNameWithBindingRule()); } - ruleQualifiedNameWithBinding -{ after(grammarAccess.getQualifiedNameWithBindingRule()); } - EOF -; - -// Rule QualifiedNameWithBinding -ruleQualifiedNameWithBinding - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getQualifiedNameWithBindingAccess().getGroup()); } -(rule__QualifiedNameWithBinding__Group__0) -{ after(grammarAccess.getQualifiedNameWithBindingAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleTuple -entryRuleTuple -: -{ before(grammarAccess.getTupleRule()); } - ruleTuple -{ after(grammarAccess.getTupleRule()); } - EOF -; - -// Rule Tuple -ruleTuple - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getTupleAccess().getGroup()); } -(rule__Tuple__Group__0) -{ after(grammarAccess.getTupleAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleTupleElement -entryRuleTupleElement -: -{ before(grammarAccess.getTupleElementRule()); } - ruleTupleElement -{ after(grammarAccess.getTupleElementRule()); } - EOF -; - -// Rule TupleElement -ruleTupleElement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getTupleElementAccess().getArgumentAssignment()); } -(rule__TupleElement__ArgumentAssignment) -{ after(grammarAccess.getTupleElementAccess().getArgumentAssignment()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleExpression -entryRuleExpression -: -{ before(grammarAccess.getExpressionRule()); } - ruleExpression -{ after(grammarAccess.getExpressionRule()); } - EOF -; - -// Rule Expression -ruleExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getExpressionAccess().getConditionalTestExpressionParserRuleCall()); } - ruleConditionalTestExpression -{ after(grammarAccess.getExpressionAccess().getConditionalTestExpressionParserRuleCall()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleConditionalTestExpression -entryRuleConditionalTestExpression -: -{ before(grammarAccess.getConditionalTestExpressionRule()); } - ruleConditionalTestExpression -{ after(grammarAccess.getConditionalTestExpressionRule()); } - EOF -; - -// Rule ConditionalTestExpression -ruleConditionalTestExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getConditionalTestExpressionAccess().getGroup()); } -(rule__ConditionalTestExpression__Group__0) -{ after(grammarAccess.getConditionalTestExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleConditionalOrExpression -entryRuleConditionalOrExpression -: -{ before(grammarAccess.getConditionalOrExpressionRule()); } - ruleConditionalOrExpression -{ after(grammarAccess.getConditionalOrExpressionRule()); } - EOF -; - -// Rule ConditionalOrExpression -ruleConditionalOrExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getConditionalOrExpressionAccess().getGroup()); } -(rule__ConditionalOrExpression__Group__0) -{ after(grammarAccess.getConditionalOrExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleConditionalAndExpression -entryRuleConditionalAndExpression -: -{ before(grammarAccess.getConditionalAndExpressionRule()); } - ruleConditionalAndExpression -{ after(grammarAccess.getConditionalAndExpressionRule()); } - EOF -; - -// Rule ConditionalAndExpression -ruleConditionalAndExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getConditionalAndExpressionAccess().getGroup()); } -(rule__ConditionalAndExpression__Group__0) -{ after(grammarAccess.getConditionalAndExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleInclusiveOrExpression -entryRuleInclusiveOrExpression -: -{ before(grammarAccess.getInclusiveOrExpressionRule()); } - ruleInclusiveOrExpression -{ after(grammarAccess.getInclusiveOrExpressionRule()); } - EOF -; - -// Rule InclusiveOrExpression -ruleInclusiveOrExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getInclusiveOrExpressionAccess().getGroup()); } -(rule__InclusiveOrExpression__Group__0) -{ after(grammarAccess.getInclusiveOrExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleExclusiveOrExpression -entryRuleExclusiveOrExpression -: -{ before(grammarAccess.getExclusiveOrExpressionRule()); } - ruleExclusiveOrExpression -{ after(grammarAccess.getExclusiveOrExpressionRule()); } - EOF -; - -// Rule ExclusiveOrExpression -ruleExclusiveOrExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getExclusiveOrExpressionAccess().getGroup()); } -(rule__ExclusiveOrExpression__Group__0) -{ after(grammarAccess.getExclusiveOrExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleAndExpression -entryRuleAndExpression -: -{ before(grammarAccess.getAndExpressionRule()); } - ruleAndExpression -{ after(grammarAccess.getAndExpressionRule()); } - EOF -; - -// Rule AndExpression -ruleAndExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getAndExpressionAccess().getGroup()); } -(rule__AndExpression__Group__0) -{ after(grammarAccess.getAndExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleEqualityExpression -entryRuleEqualityExpression -: -{ before(grammarAccess.getEqualityExpressionRule()); } - ruleEqualityExpression -{ after(grammarAccess.getEqualityExpressionRule()); } - EOF -; - -// Rule EqualityExpression -ruleEqualityExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getEqualityExpressionAccess().getGroup()); } -(rule__EqualityExpression__Group__0) -{ after(grammarAccess.getEqualityExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleClassificationExpression -entryRuleClassificationExpression -: -{ before(grammarAccess.getClassificationExpressionRule()); } - ruleClassificationExpression -{ after(grammarAccess.getClassificationExpressionRule()); } - EOF -; - -// Rule ClassificationExpression -ruleClassificationExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getClassificationExpressionAccess().getGroup()); } -(rule__ClassificationExpression__Group__0) -{ after(grammarAccess.getClassificationExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleRelationalExpression -entryRuleRelationalExpression -: -{ before(grammarAccess.getRelationalExpressionRule()); } - ruleRelationalExpression -{ after(grammarAccess.getRelationalExpressionRule()); } - EOF -; - -// Rule RelationalExpression -ruleRelationalExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getRelationalExpressionAccess().getGroup()); } -(rule__RelationalExpression__Group__0) -{ after(grammarAccess.getRelationalExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleShiftExpression -entryRuleShiftExpression -: -{ before(grammarAccess.getShiftExpressionRule()); } - ruleShiftExpression -{ after(grammarAccess.getShiftExpressionRule()); } - EOF -; - -// Rule ShiftExpression -ruleShiftExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getShiftExpressionAccess().getGroup()); } -(rule__ShiftExpression__Group__0) -{ after(grammarAccess.getShiftExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleAdditiveExpression -entryRuleAdditiveExpression -: -{ before(grammarAccess.getAdditiveExpressionRule()); } - ruleAdditiveExpression -{ after(grammarAccess.getAdditiveExpressionRule()); } - EOF -; - -// Rule AdditiveExpression -ruleAdditiveExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getAdditiveExpressionAccess().getGroup()); } -(rule__AdditiveExpression__Group__0) -{ after(grammarAccess.getAdditiveExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleMultiplicativeExpression -entryRuleMultiplicativeExpression -: -{ before(grammarAccess.getMultiplicativeExpressionRule()); } - ruleMultiplicativeExpression -{ after(grammarAccess.getMultiplicativeExpressionRule()); } - EOF -; - -// Rule MultiplicativeExpression -ruleMultiplicativeExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); } -(rule__MultiplicativeExpression__Group__0) -{ after(grammarAccess.getMultiplicativeExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleUnaryExpression -entryRuleUnaryExpression -: -{ before(grammarAccess.getUnaryExpressionRule()); } - ruleUnaryExpression -{ after(grammarAccess.getUnaryExpressionRule()); } - EOF -; - -// Rule UnaryExpression -ruleUnaryExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getUnaryExpressionAccess().getGroup()); } -(rule__UnaryExpression__Group__0) -{ after(grammarAccess.getUnaryExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRulePrimaryExpression -entryRulePrimaryExpression -: -{ before(grammarAccess.getPrimaryExpressionRule()); } - rulePrimaryExpression -{ after(grammarAccess.getPrimaryExpressionRule()); } - EOF -; - -// Rule PrimaryExpression -rulePrimaryExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getPrimaryExpressionAccess().getPrefixAssignment()); } -(rule__PrimaryExpression__PrefixAssignment) -{ after(grammarAccess.getPrimaryExpressionAccess().getPrefixAssignment()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSuffixExpression -entryRuleSuffixExpression -: -{ before(grammarAccess.getSuffixExpressionRule()); } - ruleSuffixExpression -{ after(grammarAccess.getSuffixExpressionRule()); } - EOF -; - -// Rule SuffixExpression -ruleSuffixExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSuffixExpressionAccess().getAlternatives()); } -(rule__SuffixExpression__Alternatives) -{ after(grammarAccess.getSuffixExpressionAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleOperationCallExpression -entryRuleOperationCallExpression -: -{ before(grammarAccess.getOperationCallExpressionRule()); } - ruleOperationCallExpression -{ after(grammarAccess.getOperationCallExpressionRule()); } - EOF -; - -// Rule OperationCallExpression -ruleOperationCallExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getOperationCallExpressionAccess().getGroup()); } -(rule__OperationCallExpression__Group__0) -{ after(grammarAccess.getOperationCallExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleOperationCallExpressionWithoutDot -entryRuleOperationCallExpressionWithoutDot -: -{ before(grammarAccess.getOperationCallExpressionWithoutDotRule()); } - ruleOperationCallExpressionWithoutDot -{ after(grammarAccess.getOperationCallExpressionWithoutDotRule()); } - EOF -; - -// Rule OperationCallExpressionWithoutDot -ruleOperationCallExpressionWithoutDot - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getOperationCallExpressionWithoutDotAccess().getGroup()); } -(rule__OperationCallExpressionWithoutDot__Group__0) -{ after(grammarAccess.getOperationCallExpressionWithoutDotAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRulePropertyCallExpression -entryRulePropertyCallExpression -: -{ before(grammarAccess.getPropertyCallExpressionRule()); } - rulePropertyCallExpression -{ after(grammarAccess.getPropertyCallExpressionRule()); } - EOF -; - -// Rule PropertyCallExpression -rulePropertyCallExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getPropertyCallExpressionAccess().getGroup()); } -(rule__PropertyCallExpression__Group__0) -{ after(grammarAccess.getPropertyCallExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleLinkOperationExpression -entryRuleLinkOperationExpression -: -{ before(grammarAccess.getLinkOperationExpressionRule()); } - ruleLinkOperationExpression -{ after(grammarAccess.getLinkOperationExpressionRule()); } - EOF -; - -// Rule LinkOperationExpression -ruleLinkOperationExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getLinkOperationExpressionAccess().getGroup()); } -(rule__LinkOperationExpression__Group__0) -{ after(grammarAccess.getLinkOperationExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleLinkOperationTuple -entryRuleLinkOperationTuple -: -{ before(grammarAccess.getLinkOperationTupleRule()); } - ruleLinkOperationTuple -{ after(grammarAccess.getLinkOperationTupleRule()); } - EOF -; - -// Rule LinkOperationTuple -ruleLinkOperationTuple - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getLinkOperationTupleAccess().getGroup()); } -(rule__LinkOperationTuple__Group__0) -{ after(grammarAccess.getLinkOperationTupleAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleLinkOperationTupleElement -entryRuleLinkOperationTupleElement -: -{ before(grammarAccess.getLinkOperationTupleElementRule()); } - ruleLinkOperationTupleElement -{ after(grammarAccess.getLinkOperationTupleElementRule()); } - EOF -; - -// Rule LinkOperationTupleElement -ruleLinkOperationTupleElement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getLinkOperationTupleElementAccess().getGroup()); } -(rule__LinkOperationTupleElement__Group__0) -{ after(grammarAccess.getLinkOperationTupleElementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSequenceOperationExpression -entryRuleSequenceOperationExpression -: -{ before(grammarAccess.getSequenceOperationExpressionRule()); } - ruleSequenceOperationExpression -{ after(grammarAccess.getSequenceOperationExpressionRule()); } - EOF -; - -// Rule SequenceOperationExpression -ruleSequenceOperationExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSequenceOperationExpressionAccess().getGroup()); } -(rule__SequenceOperationExpression__Group__0) -{ after(grammarAccess.getSequenceOperationExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSequenceReductionExpression -entryRuleSequenceReductionExpression -: -{ before(grammarAccess.getSequenceReductionExpressionRule()); } - ruleSequenceReductionExpression -{ after(grammarAccess.getSequenceReductionExpressionRule()); } - EOF -; - -// Rule SequenceReductionExpression -ruleSequenceReductionExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSequenceReductionExpressionAccess().getGroup()); } -(rule__SequenceReductionExpression__Group__0) -{ after(grammarAccess.getSequenceReductionExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSequenceExpansionExpression -entryRuleSequenceExpansionExpression -: -{ before(grammarAccess.getSequenceExpansionExpressionRule()); } - ruleSequenceExpansionExpression -{ after(grammarAccess.getSequenceExpansionExpressionRule()); } - EOF -; - -// Rule SequenceExpansionExpression -ruleSequenceExpansionExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSequenceExpansionExpressionAccess().getAlternatives()); } -(rule__SequenceExpansionExpression__Alternatives) -{ after(grammarAccess.getSequenceExpansionExpressionAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSelectOrRejectOperation -entryRuleSelectOrRejectOperation -: -{ before(grammarAccess.getSelectOrRejectOperationRule()); } - ruleSelectOrRejectOperation -{ after(grammarAccess.getSelectOrRejectOperationRule()); } - EOF -; - -// Rule SelectOrRejectOperation -ruleSelectOrRejectOperation - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSelectOrRejectOperationAccess().getGroup()); } -(rule__SelectOrRejectOperation__Group__0) -{ after(grammarAccess.getSelectOrRejectOperationAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleCollectOrIterateOperation -entryRuleCollectOrIterateOperation -: -{ before(grammarAccess.getCollectOrIterateOperationRule()); } - ruleCollectOrIterateOperation -{ after(grammarAccess.getCollectOrIterateOperationRule()); } - EOF -; - -// Rule CollectOrIterateOperation -ruleCollectOrIterateOperation - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getCollectOrIterateOperationAccess().getGroup()); } -(rule__CollectOrIterateOperation__Group__0) -{ after(grammarAccess.getCollectOrIterateOperationAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleForAllOrExistsOrOneOperation -entryRuleForAllOrExistsOrOneOperation -: -{ before(grammarAccess.getForAllOrExistsOrOneOperationRule()); } - ruleForAllOrExistsOrOneOperation -{ after(grammarAccess.getForAllOrExistsOrOneOperationRule()); } - EOF -; - -// Rule ForAllOrExistsOrOneOperation -ruleForAllOrExistsOrOneOperation - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getForAllOrExistsOrOneOperationAccess().getGroup()); } -(rule__ForAllOrExistsOrOneOperation__Group__0) -{ after(grammarAccess.getForAllOrExistsOrOneOperationAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleIsUniqueOperation -entryRuleIsUniqueOperation -: -{ before(grammarAccess.getIsUniqueOperationRule()); } - ruleIsUniqueOperation -{ after(grammarAccess.getIsUniqueOperationRule()); } - EOF -; - -// Rule IsUniqueOperation -ruleIsUniqueOperation - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getIsUniqueOperationAccess().getGroup()); } -(rule__IsUniqueOperation__Group__0) -{ after(grammarAccess.getIsUniqueOperationAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleValueSpecification -entryRuleValueSpecification -: -{ before(grammarAccess.getValueSpecificationRule()); } - ruleValueSpecification -{ after(grammarAccess.getValueSpecificationRule()); } - EOF -; - -// Rule ValueSpecification -ruleValueSpecification - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getValueSpecificationAccess().getAlternatives()); } -(rule__ValueSpecification__Alternatives) -{ after(grammarAccess.getValueSpecificationAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleNonLiteralValueSpecification -entryRuleNonLiteralValueSpecification -: -{ before(grammarAccess.getNonLiteralValueSpecificationRule()); } - ruleNonLiteralValueSpecification -{ after(grammarAccess.getNonLiteralValueSpecificationRule()); } - EOF -; - -// Rule NonLiteralValueSpecification -ruleNonLiteralValueSpecification - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getNonLiteralValueSpecificationAccess().getAlternatives()); } -(rule__NonLiteralValueSpecification__Alternatives) -{ after(grammarAccess.getNonLiteralValueSpecificationAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleParenthesizedExpression -entryRuleParenthesizedExpression -: -{ before(grammarAccess.getParenthesizedExpressionRule()); } - ruleParenthesizedExpression -{ after(grammarAccess.getParenthesizedExpressionRule()); } - EOF -; - -// Rule ParenthesizedExpression -ruleParenthesizedExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getParenthesizedExpressionAccess().getGroup()); } -(rule__ParenthesizedExpression__Group__0) -{ after(grammarAccess.getParenthesizedExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleNullExpression -entryRuleNullExpression -: -{ before(grammarAccess.getNullExpressionRule()); } - ruleNullExpression -{ after(grammarAccess.getNullExpressionRule()); } - EOF -; - -// Rule NullExpression -ruleNullExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getNullExpressionAccess().getGroup()); } -(rule__NullExpression__Group__0) -{ after(grammarAccess.getNullExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleThisExpression -entryRuleThisExpression -: -{ before(grammarAccess.getThisExpressionRule()); } - ruleThisExpression -{ after(grammarAccess.getThisExpressionRule()); } - EOF -; - -// Rule ThisExpression -ruleThisExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getThisExpressionAccess().getGroup()); } -(rule__ThisExpression__Group__0) -{ after(grammarAccess.getThisExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSuperInvocationExpression -entryRuleSuperInvocationExpression -: -{ before(grammarAccess.getSuperInvocationExpressionRule()); } - ruleSuperInvocationExpression -{ after(grammarAccess.getSuperInvocationExpressionRule()); } - EOF -; - -// Rule SuperInvocationExpression -ruleSuperInvocationExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSuperInvocationExpressionAccess().getGroup()); } -(rule__SuperInvocationExpression__Group__0) -{ after(grammarAccess.getSuperInvocationExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleInstanceCreationExpression -entryRuleInstanceCreationExpression -: -{ before(grammarAccess.getInstanceCreationExpressionRule()); } - ruleInstanceCreationExpression -{ after(grammarAccess.getInstanceCreationExpressionRule()); } - EOF -; - -// Rule InstanceCreationExpression -ruleInstanceCreationExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getInstanceCreationExpressionAccess().getGroup()); } -(rule__InstanceCreationExpression__Group__0) -{ after(grammarAccess.getInstanceCreationExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSequenceConstructionOrAccessCompletion -entryRuleSequenceConstructionOrAccessCompletion -: -{ before(grammarAccess.getSequenceConstructionOrAccessCompletionRule()); } - ruleSequenceConstructionOrAccessCompletion -{ after(grammarAccess.getSequenceConstructionOrAccessCompletionRule()); } - EOF -; - -// Rule SequenceConstructionOrAccessCompletion -ruleSequenceConstructionOrAccessCompletion - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getAlternatives()); } -(rule__SequenceConstructionOrAccessCompletion__Alternatives) -{ after(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleAccessCompletion -entryRuleAccessCompletion -: -{ before(grammarAccess.getAccessCompletionRule()); } - ruleAccessCompletion -{ after(grammarAccess.getAccessCompletionRule()); } - EOF -; - -// Rule AccessCompletion -ruleAccessCompletion - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getAccessCompletionAccess().getGroup()); } -(rule__AccessCompletion__Group__0) -{ after(grammarAccess.getAccessCompletionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRulePartialSequenceConstructionCompletion -entryRulePartialSequenceConstructionCompletion -: -{ before(grammarAccess.getPartialSequenceConstructionCompletionRule()); } - rulePartialSequenceConstructionCompletion -{ after(grammarAccess.getPartialSequenceConstructionCompletionRule()); } - EOF -; - -// Rule PartialSequenceConstructionCompletion -rulePartialSequenceConstructionCompletion - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getPartialSequenceConstructionCompletionAccess().getGroup()); } -(rule__PartialSequenceConstructionCompletion__Group__0) -{ after(grammarAccess.getPartialSequenceConstructionCompletionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSequenceConstructionCompletion -entryRuleSequenceConstructionCompletion -: -{ before(grammarAccess.getSequenceConstructionCompletionRule()); } - ruleSequenceConstructionCompletion -{ after(grammarAccess.getSequenceConstructionCompletionRule()); } - EOF -; - -// Rule SequenceConstructionCompletion -ruleSequenceConstructionCompletion - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSequenceConstructionCompletionAccess().getGroup()); } -(rule__SequenceConstructionCompletion__Group__0) -{ after(grammarAccess.getSequenceConstructionCompletionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSequenceConstructionExpression -entryRuleSequenceConstructionExpression -: -{ before(grammarAccess.getSequenceConstructionExpressionRule()); } - ruleSequenceConstructionExpression -{ after(grammarAccess.getSequenceConstructionExpressionRule()); } - EOF -; - -// Rule SequenceConstructionExpression -ruleSequenceConstructionExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSequenceConstructionExpressionAccess().getGroup()); } -(rule__SequenceConstructionExpression__Group__0) -{ after(grammarAccess.getSequenceConstructionExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSequenceElement -entryRuleSequenceElement -: -{ before(grammarAccess.getSequenceElementRule()); } - ruleSequenceElement -{ after(grammarAccess.getSequenceElementRule()); } - EOF -; - -// Rule SequenceElement -ruleSequenceElement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSequenceElementAccess().getAlternatives()); } -(rule__SequenceElement__Alternatives) -{ after(grammarAccess.getSequenceElementAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleClassExtentExpression -entryRuleClassExtentExpression -: -{ before(grammarAccess.getClassExtentExpressionRule()); } - ruleClassExtentExpression -{ after(grammarAccess.getClassExtentExpressionRule()); } - EOF -; - -// Rule ClassExtentExpression -ruleClassExtentExpression - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getClassExtentExpressionAccess().getGroup()); } -(rule__ClassExtentExpression__Group__0) -{ after(grammarAccess.getClassExtentExpressionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleBlock -entryRuleBlock -: -{ before(grammarAccess.getBlockRule()); } - ruleBlock -{ after(grammarAccess.getBlockRule()); } - EOF -; - -// Rule Block -ruleBlock - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getBlockAccess().getGroup()); } -(rule__Block__Group__0) -{ after(grammarAccess.getBlockAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleStatementSequence -entryRuleStatementSequence -: -{ before(grammarAccess.getStatementSequenceRule()); } - ruleStatementSequence -{ after(grammarAccess.getStatementSequenceRule()); } - EOF -; - -// Rule StatementSequence -ruleStatementSequence - @init { - int stackSize = keepStackSize(); - } - : -( -( -{ before(grammarAccess.getStatementSequenceAccess().getStatementsAssignment()); } -(rule__StatementSequence__StatementsAssignment) -{ after(grammarAccess.getStatementSequenceAccess().getStatementsAssignment()); } -) -( -{ before(grammarAccess.getStatementSequenceAccess().getStatementsAssignment()); } -(rule__StatementSequence__StatementsAssignment)* -{ after(grammarAccess.getStatementSequenceAccess().getStatementsAssignment()); } -) -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleDocumentedStatement -entryRuleDocumentedStatement -: -{ before(grammarAccess.getDocumentedStatementRule()); } - ruleDocumentedStatement -{ after(grammarAccess.getDocumentedStatementRule()); } - EOF -; - -// Rule DocumentedStatement -ruleDocumentedStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getDocumentedStatementAccess().getGroup()); } -(rule__DocumentedStatement__Group__0) -{ after(grammarAccess.getDocumentedStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleInlineStatement -entryRuleInlineStatement -: -{ before(grammarAccess.getInlineStatementRule()); } - ruleInlineStatement -{ after(grammarAccess.getInlineStatementRule()); } - EOF -; - -// Rule InlineStatement -ruleInlineStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getInlineStatementAccess().getGroup()); } -(rule__InlineStatement__Group__0) -{ after(grammarAccess.getInlineStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleAnnotatedStatement -entryRuleAnnotatedStatement -: -{ before(grammarAccess.getAnnotatedStatementRule()); } - ruleAnnotatedStatement -{ after(grammarAccess.getAnnotatedStatementRule()); } - EOF -; - -// Rule AnnotatedStatement -ruleAnnotatedStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getAnnotatedStatementAccess().getGroup()); } -(rule__AnnotatedStatement__Group__0) -{ after(grammarAccess.getAnnotatedStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleStatement -entryRuleStatement -: -{ before(grammarAccess.getStatementRule()); } - ruleStatement -{ after(grammarAccess.getStatementRule()); } - EOF -; - -// Rule Statement -ruleStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getStatementAccess().getAlternatives()); } -(rule__Statement__Alternatives) -{ after(grammarAccess.getStatementAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleAnnotation -entryRuleAnnotation -: -{ before(grammarAccess.getAnnotationRule()); } - ruleAnnotation -{ after(grammarAccess.getAnnotationRule()); } - EOF -; - -// Rule Annotation -ruleAnnotation - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getAnnotationAccess().getGroup()); } -(rule__Annotation__Group__0) -{ after(grammarAccess.getAnnotationAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleBlockStatement -entryRuleBlockStatement -: -{ before(grammarAccess.getBlockStatementRule()); } - ruleBlockStatement -{ after(grammarAccess.getBlockStatementRule()); } - EOF -; - -// Rule BlockStatement -ruleBlockStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getBlockStatementAccess().getBlockAssignment()); } -(rule__BlockStatement__BlockAssignment) -{ after(grammarAccess.getBlockStatementAccess().getBlockAssignment()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleEmptyStatement -entryRuleEmptyStatement -: -{ before(grammarAccess.getEmptyStatementRule()); } - ruleEmptyStatement -{ after(grammarAccess.getEmptyStatementRule()); } - EOF -; - -// Rule EmptyStatement -ruleEmptyStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getEmptyStatementAccess().getGroup()); } -(rule__EmptyStatement__Group__0) -{ after(grammarAccess.getEmptyStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleLocalNameDeclarationStatement -entryRuleLocalNameDeclarationStatement -: -{ before(grammarAccess.getLocalNameDeclarationStatementRule()); } - ruleLocalNameDeclarationStatement -{ after(grammarAccess.getLocalNameDeclarationStatementRule()); } - EOF -; - -// Rule LocalNameDeclarationStatement -ruleLocalNameDeclarationStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getLocalNameDeclarationStatementAccess().getGroup()); } -(rule__LocalNameDeclarationStatement__Group__0) -{ after(grammarAccess.getLocalNameDeclarationStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleIfStatement -entryRuleIfStatement -: -{ before(grammarAccess.getIfStatementRule()); } - ruleIfStatement -{ after(grammarAccess.getIfStatementRule()); } - EOF -; - -// Rule IfStatement -ruleIfStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getIfStatementAccess().getGroup()); } -(rule__IfStatement__Group__0) -{ after(grammarAccess.getIfStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSequentialClauses -entryRuleSequentialClauses -: -{ before(grammarAccess.getSequentialClausesRule()); } - ruleSequentialClauses -{ after(grammarAccess.getSequentialClausesRule()); } - EOF -; - -// Rule SequentialClauses -ruleSequentialClauses - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSequentialClausesAccess().getGroup()); } -(rule__SequentialClauses__Group__0) -{ after(grammarAccess.getSequentialClausesAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleConcurrentClauses -entryRuleConcurrentClauses -: -{ before(grammarAccess.getConcurrentClausesRule()); } - ruleConcurrentClauses -{ after(grammarAccess.getConcurrentClausesRule()); } - EOF -; - -// Rule ConcurrentClauses -ruleConcurrentClauses - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getConcurrentClausesAccess().getGroup()); } -(rule__ConcurrentClauses__Group__0) -{ after(grammarAccess.getConcurrentClausesAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleNonFinalClause -entryRuleNonFinalClause -: -{ before(grammarAccess.getNonFinalClauseRule()); } - ruleNonFinalClause -{ after(grammarAccess.getNonFinalClauseRule()); } - EOF -; - -// Rule NonFinalClause -ruleNonFinalClause - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getNonFinalClauseAccess().getGroup()); } -(rule__NonFinalClause__Group__0) -{ after(grammarAccess.getNonFinalClauseAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleFinalClause -entryRuleFinalClause -: -{ before(grammarAccess.getFinalClauseRule()); } - ruleFinalClause -{ after(grammarAccess.getFinalClauseRule()); } - EOF -; - -// Rule FinalClause -ruleFinalClause - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getFinalClauseAccess().getGroup()); } -(rule__FinalClause__Group__0) -{ after(grammarAccess.getFinalClauseAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSwitchStatement -entryRuleSwitchStatement -: -{ before(grammarAccess.getSwitchStatementRule()); } - ruleSwitchStatement -{ after(grammarAccess.getSwitchStatementRule()); } - EOF -; - -// Rule SwitchStatement -ruleSwitchStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSwitchStatementAccess().getGroup()); } -(rule__SwitchStatement__Group__0) -{ after(grammarAccess.getSwitchStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSwitchClause -entryRuleSwitchClause -: -{ before(grammarAccess.getSwitchClauseRule()); } - ruleSwitchClause -{ after(grammarAccess.getSwitchClauseRule()); } - EOF -; - -// Rule SwitchClause -ruleSwitchClause - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSwitchClauseAccess().getGroup()); } -(rule__SwitchClause__Group__0) -{ after(grammarAccess.getSwitchClauseAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSwitchCase -entryRuleSwitchCase -: -{ before(grammarAccess.getSwitchCaseRule()); } - ruleSwitchCase -{ after(grammarAccess.getSwitchCaseRule()); } - EOF -; - -// Rule SwitchCase -ruleSwitchCase - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSwitchCaseAccess().getGroup()); } -(rule__SwitchCase__Group__0) -{ after(grammarAccess.getSwitchCaseAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSwitchDefaultClause -entryRuleSwitchDefaultClause -: -{ before(grammarAccess.getSwitchDefaultClauseRule()); } - ruleSwitchDefaultClause -{ after(grammarAccess.getSwitchDefaultClauseRule()); } - EOF -; - -// Rule SwitchDefaultClause -ruleSwitchDefaultClause - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSwitchDefaultClauseAccess().getGroup()); } -(rule__SwitchDefaultClause__Group__0) -{ after(grammarAccess.getSwitchDefaultClauseAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleNonEmptyStatementSequence -entryRuleNonEmptyStatementSequence -: -{ before(grammarAccess.getNonEmptyStatementSequenceRule()); } - ruleNonEmptyStatementSequence -{ after(grammarAccess.getNonEmptyStatementSequenceRule()); } - EOF -; - -// Rule NonEmptyStatementSequence -ruleNonEmptyStatementSequence - @init { - int stackSize = keepStackSize(); - } - : -( -( -{ before(grammarAccess.getNonEmptyStatementSequenceAccess().getStatementAssignment()); } -(rule__NonEmptyStatementSequence__StatementAssignment) -{ after(grammarAccess.getNonEmptyStatementSequenceAccess().getStatementAssignment()); } -) -( -{ before(grammarAccess.getNonEmptyStatementSequenceAccess().getStatementAssignment()); } -(rule__NonEmptyStatementSequence__StatementAssignment)* -{ after(grammarAccess.getNonEmptyStatementSequenceAccess().getStatementAssignment()); } -) -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleWhileStatement -entryRuleWhileStatement -: -{ before(grammarAccess.getWhileStatementRule()); } - ruleWhileStatement -{ after(grammarAccess.getWhileStatementRule()); } - EOF -; - -// Rule WhileStatement -ruleWhileStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getWhileStatementAccess().getGroup()); } -(rule__WhileStatement__Group__0) -{ after(grammarAccess.getWhileStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleDoStatement -entryRuleDoStatement -: -{ before(grammarAccess.getDoStatementRule()); } - ruleDoStatement -{ after(grammarAccess.getDoStatementRule()); } - EOF -; - -// Rule DoStatement -ruleDoStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getDoStatementAccess().getGroup()); } -(rule__DoStatement__Group__0) -{ after(grammarAccess.getDoStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleForStatement -entryRuleForStatement -: -{ before(grammarAccess.getForStatementRule()); } - ruleForStatement -{ after(grammarAccess.getForStatementRule()); } - EOF -; - -// Rule ForStatement -ruleForStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getForStatementAccess().getGroup()); } -(rule__ForStatement__Group__0) -{ after(grammarAccess.getForStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleForControl -entryRuleForControl -: -{ before(grammarAccess.getForControlRule()); } - ruleForControl -{ after(grammarAccess.getForControlRule()); } - EOF -; - -// Rule ForControl -ruleForControl - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getForControlAccess().getGroup()); } -(rule__ForControl__Group__0) -{ after(grammarAccess.getForControlAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleLoopVariableDefinition -entryRuleLoopVariableDefinition -: -{ before(grammarAccess.getLoopVariableDefinitionRule()); } - ruleLoopVariableDefinition -{ after(grammarAccess.getLoopVariableDefinitionRule()); } - EOF -; - -// Rule LoopVariableDefinition -ruleLoopVariableDefinition - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getLoopVariableDefinitionAccess().getAlternatives()); } -(rule__LoopVariableDefinition__Alternatives) -{ after(grammarAccess.getLoopVariableDefinitionAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleBreakStatement -entryRuleBreakStatement -: -{ before(grammarAccess.getBreakStatementRule()); } - ruleBreakStatement -{ after(grammarAccess.getBreakStatementRule()); } - EOF -; - -// Rule BreakStatement -ruleBreakStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getBreakStatementAccess().getGroup()); } -(rule__BreakStatement__Group__0) -{ after(grammarAccess.getBreakStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleReturnStatement -entryRuleReturnStatement -: -{ before(grammarAccess.getReturnStatementRule()); } - ruleReturnStatement -{ after(grammarAccess.getReturnStatementRule()); } - EOF -; - -// Rule ReturnStatement -ruleReturnStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getReturnStatementAccess().getGroup()); } -(rule__ReturnStatement__Group__0) -{ after(grammarAccess.getReturnStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleAcceptStatement -entryRuleAcceptStatement -: -{ before(grammarAccess.getAcceptStatementRule()); } - ruleAcceptStatement -{ after(grammarAccess.getAcceptStatementRule()); } - EOF -; - -// Rule AcceptStatement -ruleAcceptStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getAcceptStatementAccess().getGroup()); } -(rule__AcceptStatement__Group__0) -{ after(grammarAccess.getAcceptStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSimpleAcceptStatementCompletion -entryRuleSimpleAcceptStatementCompletion -: -{ before(grammarAccess.getSimpleAcceptStatementCompletionRule()); } - ruleSimpleAcceptStatementCompletion -{ after(grammarAccess.getSimpleAcceptStatementCompletionRule()); } - EOF -; - -// Rule SimpleAcceptStatementCompletion -ruleSimpleAcceptStatementCompletion - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSimpleAcceptStatementCompletionAccess().getGroup()); } -(rule__SimpleAcceptStatementCompletion__Group__0) -{ after(grammarAccess.getSimpleAcceptStatementCompletionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleCompoundAcceptStatementCompletion -entryRuleCompoundAcceptStatementCompletion -: -{ before(grammarAccess.getCompoundAcceptStatementCompletionRule()); } - ruleCompoundAcceptStatementCompletion -{ after(grammarAccess.getCompoundAcceptStatementCompletionRule()); } - EOF -; - -// Rule CompoundAcceptStatementCompletion -ruleCompoundAcceptStatementCompletion - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getCompoundAcceptStatementCompletionAccess().getGroup()); } -(rule__CompoundAcceptStatementCompletion__Group__0) -{ after(grammarAccess.getCompoundAcceptStatementCompletionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleAcceptBlock -entryRuleAcceptBlock -: -{ before(grammarAccess.getAcceptBlockRule()); } - ruleAcceptBlock -{ after(grammarAccess.getAcceptBlockRule()); } - EOF -; - -// Rule AcceptBlock -ruleAcceptBlock - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getAcceptBlockAccess().getGroup()); } -(rule__AcceptBlock__Group__0) -{ after(grammarAccess.getAcceptBlockAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleAcceptClause -entryRuleAcceptClause -: -{ before(grammarAccess.getAcceptClauseRule()); } - ruleAcceptClause -{ after(grammarAccess.getAcceptClauseRule()); } - EOF -; - -// Rule AcceptClause -ruleAcceptClause - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getAcceptClauseAccess().getGroup()); } -(rule__AcceptClause__Group__0) -{ after(grammarAccess.getAcceptClauseAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleClassifyStatement -entryRuleClassifyStatement -: -{ before(grammarAccess.getClassifyStatementRule()); } - ruleClassifyStatement -{ after(grammarAccess.getClassifyStatementRule()); } - EOF -; - -// Rule ClassifyStatement -ruleClassifyStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getClassifyStatementAccess().getGroup()); } -(rule__ClassifyStatement__Group__0) -{ after(grammarAccess.getClassifyStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleClassificationClause -entryRuleClassificationClause -: -{ before(grammarAccess.getClassificationClauseRule()); } - ruleClassificationClause -{ after(grammarAccess.getClassificationClauseRule()); } - EOF -; - -// Rule ClassificationClause -ruleClassificationClause - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getClassificationClauseAccess().getAlternatives()); } -(rule__ClassificationClause__Alternatives) -{ after(grammarAccess.getClassificationClauseAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleClassificationFromClause -entryRuleClassificationFromClause -: -{ before(grammarAccess.getClassificationFromClauseRule()); } - ruleClassificationFromClause -{ after(grammarAccess.getClassificationFromClauseRule()); } - EOF -; - -// Rule ClassificationFromClause -ruleClassificationFromClause - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getClassificationFromClauseAccess().getGroup()); } -(rule__ClassificationFromClause__Group__0) -{ after(grammarAccess.getClassificationFromClauseAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleClassificationToClause -entryRuleClassificationToClause -: -{ before(grammarAccess.getClassificationToClauseRule()); } - ruleClassificationToClause -{ after(grammarAccess.getClassificationToClauseRule()); } - EOF -; - -// Rule ClassificationToClause -ruleClassificationToClause - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getClassificationToClauseAccess().getGroup()); } -(rule__ClassificationToClause__Group__0) -{ after(grammarAccess.getClassificationToClauseAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleReclassifyAllClause -entryRuleReclassifyAllClause -: -{ before(grammarAccess.getReclassifyAllClauseRule()); } - ruleReclassifyAllClause -{ after(grammarAccess.getReclassifyAllClauseRule()); } - EOF -; - -// Rule ReclassifyAllClause -ruleReclassifyAllClause - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getReclassifyAllClauseAccess().getGroup()); } -(rule__ReclassifyAllClause__Group__0) -{ after(grammarAccess.getReclassifyAllClauseAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleQualifiedNameList -entryRuleQualifiedNameList -: -{ before(grammarAccess.getQualifiedNameListRule()); } - ruleQualifiedNameList -{ after(grammarAccess.getQualifiedNameListRule()); } - EOF -; - -// Rule QualifiedNameList -ruleQualifiedNameList - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getQualifiedNameListAccess().getGroup()); } -(rule__QualifiedNameList__Group__0) -{ after(grammarAccess.getQualifiedNameListAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleInvocationOrAssignementOrDeclarationStatement -entryRuleInvocationOrAssignementOrDeclarationStatement -: -{ before(grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule()); } - ruleInvocationOrAssignementOrDeclarationStatement -{ after(grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule()); } - EOF -; - -// Rule InvocationOrAssignementOrDeclarationStatement -ruleInvocationOrAssignementOrDeclarationStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getGroup()); } -(rule__InvocationOrAssignementOrDeclarationStatement__Group__0) -{ after(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSuperInvocationStatement -entryRuleSuperInvocationStatement -: -{ before(grammarAccess.getSuperInvocationStatementRule()); } - ruleSuperInvocationStatement -{ after(grammarAccess.getSuperInvocationStatementRule()); } - EOF -; - -// Rule SuperInvocationStatement -ruleSuperInvocationStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSuperInvocationStatementAccess().getGroup()); } -(rule__SuperInvocationStatement__Group__0) -{ after(grammarAccess.getSuperInvocationStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleThisInvocationStatement -entryRuleThisInvocationStatement -: -{ before(grammarAccess.getThisInvocationStatementRule()); } - ruleThisInvocationStatement -{ after(grammarAccess.getThisInvocationStatementRule()); } - EOF -; - -// Rule ThisInvocationStatement -ruleThisInvocationStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getThisInvocationStatementAccess().getGroup()); } -(rule__ThisInvocationStatement__Group__0) -{ after(grammarAccess.getThisInvocationStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleInstanceCreationInvocationStatement -entryRuleInstanceCreationInvocationStatement -: -{ before(grammarAccess.getInstanceCreationInvocationStatementRule()); } - ruleInstanceCreationInvocationStatement -{ after(grammarAccess.getInstanceCreationInvocationStatementRule()); } - EOF -; - -// Rule InstanceCreationInvocationStatement -ruleInstanceCreationInvocationStatement - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getInstanceCreationInvocationStatementAccess().getGroup()); } -(rule__InstanceCreationInvocationStatement__Group__0) -{ after(grammarAccess.getInstanceCreationInvocationStatementAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleVariableDeclarationCompletion -entryRuleVariableDeclarationCompletion -: -{ before(grammarAccess.getVariableDeclarationCompletionRule()); } - ruleVariableDeclarationCompletion -{ after(grammarAccess.getVariableDeclarationCompletionRule()); } - EOF -; - -// Rule VariableDeclarationCompletion -ruleVariableDeclarationCompletion - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getVariableDeclarationCompletionAccess().getGroup()); } -(rule__VariableDeclarationCompletion__Group__0) -{ after(grammarAccess.getVariableDeclarationCompletionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleAssignmentCompletion -entryRuleAssignmentCompletion -: -{ before(grammarAccess.getAssignmentCompletionRule()); } - ruleAssignmentCompletion -{ after(grammarAccess.getAssignmentCompletionRule()); } - EOF -; - -// Rule AssignmentCompletion -ruleAssignmentCompletion - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getAssignmentCompletionAccess().getGroup()); } -(rule__AssignmentCompletion__Group__0) -{ after(grammarAccess.getAssignmentCompletionAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - -// Rule VisibilityIndicator -ruleVisibilityIndicator - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getVisibilityIndicatorAccess().getAlternatives()); } -(rule__VisibilityIndicator__Alternatives) -{ after(grammarAccess.getVisibilityIndicatorAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Rule ParameterDirection -ruleParameterDirection - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getParameterDirectionAccess().getAlternatives()); } -(rule__ParameterDirection__Alternatives) -{ after(grammarAccess.getParameterDirectionAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Rule BooleanValue -ruleBooleanValue - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getBooleanValueAccess().getAlternatives()); } -(rule__BooleanValue__Alternatives) -{ after(grammarAccess.getBooleanValueAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Rule LinkOperationKind -ruleLinkOperationKind - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getLinkOperationKindAccess().getAlternatives()); } -(rule__LinkOperationKind__Alternatives) -{ after(grammarAccess.getLinkOperationKindAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Rule SelectOrRejectOperator -ruleSelectOrRejectOperator - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSelectOrRejectOperatorAccess().getAlternatives()); } -(rule__SelectOrRejectOperator__Alternatives) -{ after(grammarAccess.getSelectOrRejectOperatorAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Rule CollectOrIterateOperator -ruleCollectOrIterateOperator - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCollectOrIterateOperatorAccess().getAlternatives()); } -(rule__CollectOrIterateOperator__Alternatives) -{ after(grammarAccess.getCollectOrIterateOperatorAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Rule ForAllOrExistsOrOneOperator -ruleForAllOrExistsOrOneOperator - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getForAllOrExistsOrOneOperatorAccess().getAlternatives()); } -(rule__ForAllOrExistsOrOneOperator__Alternatives) -{ after(grammarAccess.getForAllOrExistsOrOneOperatorAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Rule AnnotationKind -ruleAnnotationKind - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAnnotationKindAccess().getAlternatives()); } -(rule__AnnotationKind__Alternatives) -{ after(grammarAccess.getAnnotationKindAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Rule AssignmentOperator -ruleAssignmentOperator - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAssignmentOperatorAccess().getAlternatives()); } -(rule__AssignmentOperator__Alternatives) -{ after(grammarAccess.getAssignmentOperatorAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -rule__OperationDefinitionOrStub__Alternatives_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getOperationDefinitionOrStubAccess().getSemicolonKeyword_1_0()); } - - ';' - -{ after(grammarAccess.getOperationDefinitionOrStubAccess().getSemicolonKeyword_1_0()); } -) - - |( -{ before(grammarAccess.getOperationDefinitionOrStubAccess().getBodyAssignment_1_1()); } -(rule__OperationDefinitionOrStub__BodyAssignment_1_1) -{ after(grammarAccess.getOperationDefinitionOrStubAccess().getBodyAssignment_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__Multiplicity__Alternatives_4 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getMultiplicityAccess().getGroup_4_0()); } -(rule__Multiplicity__Group_4_0__0) -{ after(grammarAccess.getMultiplicityAccess().getGroup_4_0()); } -) - - |( -{ before(grammarAccess.getMultiplicityAccess().getGroup_4_1()); } -(rule__Multiplicity__Group_4_1__0) -{ after(grammarAccess.getMultiplicityAccess().getGroup_4_1()); } -) - - |( -{ before(grammarAccess.getMultiplicityAccess().getSequenceAssignment_4_2()); } -(rule__Multiplicity__SequenceAssignment_4_2) -{ after(grammarAccess.getMultiplicityAccess().getSequenceAssignment_4_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__NUMBER_LITERAL_WITHOUT_SUFFIX__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getINTEGER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0()); } - ruleINTEGER_LITERAL_WITHOUT_SUFFIX -{ after(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getINTEGER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0()); } -) - - |( -{ before(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getUNLIMITED_LITERAL_WITHOUT_SUFFIXParserRuleCall_1()); } - ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX -{ after(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getUNLIMITED_LITERAL_WITHOUT_SUFFIXParserRuleCall_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__TypeName__Alternatives_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTypeNameAccess().getQualifiedNameAssignment_1_0()); } -(rule__TypeName__QualifiedNameAssignment_1_0) -{ after(grammarAccess.getTypeNameAccess().getQualifiedNameAssignment_1_0()); } -) - - |( -{ before(grammarAccess.getTypeNameAccess().getAnyKeyword_1_1()); } - - 'any' - -{ after(grammarAccess.getTypeNameAccess().getAnyKeyword_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__LITERAL__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getLITERALAccess().getBOOLEAN_LITERALParserRuleCall_0()); } - ruleBOOLEAN_LITERAL -{ after(grammarAccess.getLITERALAccess().getBOOLEAN_LITERALParserRuleCall_0()); } -) - - |( -{ before(grammarAccess.getLITERALAccess().getNUMBER_LITERALParserRuleCall_1()); } - ruleNUMBER_LITERAL -{ after(grammarAccess.getLITERALAccess().getNUMBER_LITERALParserRuleCall_1()); } -) - - |( -{ before(grammarAccess.getLITERALAccess().getSTRING_LITERALParserRuleCall_2()); } - ruleSTRING_LITERAL -{ after(grammarAccess.getLITERALAccess().getSTRING_LITERALParserRuleCall_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__NUMBER_LITERAL__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNUMBER_LITERALAccess().getINTEGER_LITERALParserRuleCall_0()); } - ruleINTEGER_LITERAL -{ after(grammarAccess.getNUMBER_LITERALAccess().getINTEGER_LITERALParserRuleCall_0()); } -) - - |( -{ before(grammarAccess.getNUMBER_LITERALAccess().getUNLIMITED_LITERALParserRuleCall_1()); } - ruleUNLIMITED_LITERAL -{ after(grammarAccess.getNUMBER_LITERALAccess().getUNLIMITED_LITERALParserRuleCall_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__NameExpression__Alternatives_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNameExpressionAccess().getGroup_0_0()); } -(rule__NameExpression__Group_0_0__0) -{ after(grammarAccess.getNameExpressionAccess().getGroup_0_0()); } -) - - |( -{ before(grammarAccess.getNameExpressionAccess().getGroup_0_1()); } -(rule__NameExpression__Group_0_1__0) -{ after(grammarAccess.getNameExpressionAccess().getGroup_0_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__NameExpression__PrefixOpAlternatives_0_0_0_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNameExpressionAccess().getPrefixOpPlusSignPlusSignKeyword_0_0_0_0_0()); } - - '++' - -{ after(grammarAccess.getNameExpressionAccess().getPrefixOpPlusSignPlusSignKeyword_0_0_0_0_0()); } -) - - |( -{ before(grammarAccess.getNameExpressionAccess().getPrefixOpHyphenMinusHyphenMinusKeyword_0_0_0_0_1()); } - - '--' - -{ after(grammarAccess.getNameExpressionAccess().getPrefixOpHyphenMinusHyphenMinusKeyword_0_0_0_0_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__NameExpression__Alternatives_0_1_2 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNameExpressionAccess().getInvocationCompletionAssignment_0_1_2_0()); } -(rule__NameExpression__InvocationCompletionAssignment_0_1_2_0) -{ after(grammarAccess.getNameExpressionAccess().getInvocationCompletionAssignment_0_1_2_0()); } -) - - |( -{ before(grammarAccess.getNameExpressionAccess().getSequenceConstructionCompletionAssignment_0_1_2_1()); } -(rule__NameExpression__SequenceConstructionCompletionAssignment_0_1_2_1) -{ after(grammarAccess.getNameExpressionAccess().getSequenceConstructionCompletionAssignment_0_1_2_1()); } -) - - |( -{ before(grammarAccess.getNameExpressionAccess().getPostfixOpAssignment_0_1_2_2()); } -(rule__NameExpression__PostfixOpAssignment_0_1_2_2) -{ after(grammarAccess.getNameExpressionAccess().getPostfixOpAssignment_0_1_2_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__NameExpression__PostfixOpAlternatives_0_1_2_2_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNameExpressionAccess().getPostfixOpPlusSignPlusSignKeyword_0_1_2_2_0_0()); } - - '++' - -{ after(grammarAccess.getNameExpressionAccess().getPostfixOpPlusSignPlusSignKeyword_0_1_2_2_0_0()); } -) - - |( -{ before(grammarAccess.getNameExpressionAccess().getPostfixOpHyphenMinusHyphenMinusKeyword_0_1_2_2_0_1()); } - - '--' - -{ after(grammarAccess.getNameExpressionAccess().getPostfixOpHyphenMinusHyphenMinusKeyword_0_1_2_2_0_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__EqualityExpression__OpAlternatives_1_0_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getEqualityExpressionAccess().getOpEqualsSignEqualsSignKeyword_1_0_0_0()); } - - '==' - -{ after(grammarAccess.getEqualityExpressionAccess().getOpEqualsSignEqualsSignKeyword_1_0_0_0()); } -) - - |( -{ before(grammarAccess.getEqualityExpressionAccess().getOpExclamationMarkEqualsSignKeyword_1_0_0_1()); } - - '!=' - -{ after(grammarAccess.getEqualityExpressionAccess().getOpExclamationMarkEqualsSignKeyword_1_0_0_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassificationExpression__OpAlternatives_1_0_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getClassificationExpressionAccess().getOpInstanceofKeyword_1_0_0_0()); } - - 'instanceof' - -{ after(grammarAccess.getClassificationExpressionAccess().getOpInstanceofKeyword_1_0_0_0()); } -) - - |( -{ before(grammarAccess.getClassificationExpressionAccess().getOpHastypeKeyword_1_0_0_1()); } - - 'hastype' - -{ after(grammarAccess.getClassificationExpressionAccess().getOpHastypeKeyword_1_0_0_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__RelationalExpression__OpAlternatives_1_0_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getRelationalExpressionAccess().getOpLessThanSignKeyword_1_0_0_0()); } - - '<' - -{ after(grammarAccess.getRelationalExpressionAccess().getOpLessThanSignKeyword_1_0_0_0()); } -) - - |( -{ before(grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignKeyword_1_0_0_1()); } - - '>' - -{ after(grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignKeyword_1_0_0_1()); } -) - - |( -{ before(grammarAccess.getRelationalExpressionAccess().getOpLessThanSignEqualsSignKeyword_1_0_0_2()); } - - '<=' - -{ after(grammarAccess.getRelationalExpressionAccess().getOpLessThanSignEqualsSignKeyword_1_0_0_2()); } -) - - |( -{ before(grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignEqualsSignKeyword_1_0_0_3()); } - - '>=' - -{ after(grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignEqualsSignKeyword_1_0_0_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__ShiftExpression__OpAlternatives_1_0_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getShiftExpressionAccess().getOpLessThanSignLessThanSignKeyword_1_0_0_0()); } - - '<<' - -{ after(grammarAccess.getShiftExpressionAccess().getOpLessThanSignLessThanSignKeyword_1_0_0_0()); } -) - - |( -{ before(grammarAccess.getShiftExpressionAccess().getOpGreaterThanSignGreaterThanSignKeyword_1_0_0_1()); } - - '>>' - -{ after(grammarAccess.getShiftExpressionAccess().getOpGreaterThanSignGreaterThanSignKeyword_1_0_0_1()); } -) - - |( -{ before(grammarAccess.getShiftExpressionAccess().getOpGreaterThanSignGreaterThanSignGreaterThanSignKeyword_1_0_0_2()); } - - '>>>' - -{ after(grammarAccess.getShiftExpressionAccess().getOpGreaterThanSignGreaterThanSignGreaterThanSignKeyword_1_0_0_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__AdditiveExpression__OpAlternatives_1_0_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAdditiveExpressionAccess().getOpPlusSignKeyword_1_0_0_0()); } - - '+' - -{ after(grammarAccess.getAdditiveExpressionAccess().getOpPlusSignKeyword_1_0_0_0()); } -) - - |( -{ before(grammarAccess.getAdditiveExpressionAccess().getOpHyphenMinusKeyword_1_0_0_1()); } - - '-' - -{ after(grammarAccess.getAdditiveExpressionAccess().getOpHyphenMinusKeyword_1_0_0_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__MultiplicativeExpression__OpAlternatives_1_0_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getMultiplicativeExpressionAccess().getOpAsteriskKeyword_1_0_0_0()); } - - '*' - -{ after(grammarAccess.getMultiplicativeExpressionAccess().getOpAsteriskKeyword_1_0_0_0()); } -) - - |( -{ before(grammarAccess.getMultiplicativeExpressionAccess().getOpSolidusKeyword_1_0_0_1()); } - - '/' - -{ after(grammarAccess.getMultiplicativeExpressionAccess().getOpSolidusKeyword_1_0_0_1()); } -) - - |( -{ before(grammarAccess.getMultiplicativeExpressionAccess().getOpPercentSignKeyword_1_0_0_2()); } - - '%' - -{ after(grammarAccess.getMultiplicativeExpressionAccess().getOpPercentSignKeyword_1_0_0_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__UnaryExpression__OpAlternatives_0_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getUnaryExpressionAccess().getOpExclamationMarkKeyword_0_0_0()); } - - '!' - -{ after(grammarAccess.getUnaryExpressionAccess().getOpExclamationMarkKeyword_0_0_0()); } -) - - |( -{ before(grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_1()); } - - '-' - -{ after(grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_1()); } -) - - |( -{ before(grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_2()); } - - '+' - -{ after(grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_2()); } -) - - |( -{ before(grammarAccess.getUnaryExpressionAccess().getOpDollarSignKeyword_0_0_3()); } - - '$' - -{ after(grammarAccess.getUnaryExpressionAccess().getOpDollarSignKeyword_0_0_3()); } -) - - |( -{ before(grammarAccess.getUnaryExpressionAccess().getOpTildeKeyword_0_0_4()); } - - '~' - -{ after(grammarAccess.getUnaryExpressionAccess().getOpTildeKeyword_0_0_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SuffixExpression__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSuffixExpressionAccess().getOperationCallExpressionParserRuleCall_0()); } - ruleOperationCallExpression -{ after(grammarAccess.getSuffixExpressionAccess().getOperationCallExpressionParserRuleCall_0()); } -) - - |( -{ before(grammarAccess.getSuffixExpressionAccess().getPropertyCallExpressionParserRuleCall_1()); } - rulePropertyCallExpression -{ after(grammarAccess.getSuffixExpressionAccess().getPropertyCallExpressionParserRuleCall_1()); } -) - - |( -{ before(grammarAccess.getSuffixExpressionAccess().getLinkOperationExpressionParserRuleCall_2()); } - ruleLinkOperationExpression -{ after(grammarAccess.getSuffixExpressionAccess().getLinkOperationExpressionParserRuleCall_2()); } -) - - |( -{ before(grammarAccess.getSuffixExpressionAccess().getSequenceOperationExpressionParserRuleCall_3()); } - ruleSequenceOperationExpression -{ after(grammarAccess.getSuffixExpressionAccess().getSequenceOperationExpressionParserRuleCall_3()); } -) - - |( -{ before(grammarAccess.getSuffixExpressionAccess().getSequenceReductionExpressionParserRuleCall_4()); } - ruleSequenceReductionExpression -{ after(grammarAccess.getSuffixExpressionAccess().getSequenceReductionExpressionParserRuleCall_4()); } -) - - |( -{ before(grammarAccess.getSuffixExpressionAccess().getSequenceExpansionExpressionParserRuleCall_5()); } - ruleSequenceExpansionExpression -{ after(grammarAccess.getSuffixExpressionAccess().getSequenceExpansionExpressionParserRuleCall_5()); } -) - - |( -{ before(grammarAccess.getSuffixExpressionAccess().getClassExtentExpressionParserRuleCall_6()); } - ruleClassExtentExpression -{ after(grammarAccess.getSuffixExpressionAccess().getClassExtentExpressionParserRuleCall_6()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SequenceExpansionExpression__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSequenceExpansionExpressionAccess().getSelectOrRejectOperationParserRuleCall_0()); } - ruleSelectOrRejectOperation -{ after(grammarAccess.getSequenceExpansionExpressionAccess().getSelectOrRejectOperationParserRuleCall_0()); } -) - - |( -{ before(grammarAccess.getSequenceExpansionExpressionAccess().getCollectOrIterateOperationParserRuleCall_1()); } - ruleCollectOrIterateOperation -{ after(grammarAccess.getSequenceExpansionExpressionAccess().getCollectOrIterateOperationParserRuleCall_1()); } -) - - |( -{ before(grammarAccess.getSequenceExpansionExpressionAccess().getForAllOrExistsOrOneOperationParserRuleCall_2()); } - ruleForAllOrExistsOrOneOperation -{ after(grammarAccess.getSequenceExpansionExpressionAccess().getForAllOrExistsOrOneOperationParserRuleCall_2()); } -) - - |( -{ before(grammarAccess.getSequenceExpansionExpressionAccess().getIsUniqueOperationParserRuleCall_3()); } - ruleIsUniqueOperation -{ after(grammarAccess.getSequenceExpansionExpressionAccess().getIsUniqueOperationParserRuleCall_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__ValueSpecification__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getValueSpecificationAccess().getNameExpressionParserRuleCall_0()); } - ruleNameExpression -{ after(grammarAccess.getValueSpecificationAccess().getNameExpressionParserRuleCall_0()); } -) - - |( -{ before(grammarAccess.getValueSpecificationAccess().getLITERALParserRuleCall_1()); } - ruleLITERAL -{ after(grammarAccess.getValueSpecificationAccess().getLITERALParserRuleCall_1()); } -) - - |( -{ before(grammarAccess.getValueSpecificationAccess().getThisExpressionParserRuleCall_2()); } - ruleThisExpression -{ after(grammarAccess.getValueSpecificationAccess().getThisExpressionParserRuleCall_2()); } -) - - |( -{ before(grammarAccess.getValueSpecificationAccess().getSuperInvocationExpressionParserRuleCall_3()); } - ruleSuperInvocationExpression -{ after(grammarAccess.getValueSpecificationAccess().getSuperInvocationExpressionParserRuleCall_3()); } -) - - |( -{ before(grammarAccess.getValueSpecificationAccess().getInstanceCreationExpressionParserRuleCall_4()); } - ruleInstanceCreationExpression -{ after(grammarAccess.getValueSpecificationAccess().getInstanceCreationExpressionParserRuleCall_4()); } -) - - |( -{ before(grammarAccess.getValueSpecificationAccess().getParenthesizedExpressionParserRuleCall_5()); } - ruleParenthesizedExpression -{ after(grammarAccess.getValueSpecificationAccess().getParenthesizedExpressionParserRuleCall_5()); } -) - - |( -{ before(grammarAccess.getValueSpecificationAccess().getNullExpressionParserRuleCall_6()); } - ruleNullExpression -{ after(grammarAccess.getValueSpecificationAccess().getNullExpressionParserRuleCall_6()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__NonLiteralValueSpecification__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNonLiteralValueSpecificationAccess().getNameExpressionParserRuleCall_0()); } - ruleNameExpression -{ after(grammarAccess.getNonLiteralValueSpecificationAccess().getNameExpressionParserRuleCall_0()); } -) - - |( -{ before(grammarAccess.getNonLiteralValueSpecificationAccess().getParenthesizedExpressionParserRuleCall_1()); } - ruleParenthesizedExpression -{ after(grammarAccess.getNonLiteralValueSpecificationAccess().getParenthesizedExpressionParserRuleCall_1()); } -) - - |( -{ before(grammarAccess.getNonLiteralValueSpecificationAccess().getInstanceCreationExpressionParserRuleCall_2()); } - ruleInstanceCreationExpression -{ after(grammarAccess.getNonLiteralValueSpecificationAccess().getInstanceCreationExpressionParserRuleCall_2()); } -) - - |( -{ before(grammarAccess.getNonLiteralValueSpecificationAccess().getThisExpressionParserRuleCall_3()); } - ruleThisExpression -{ after(grammarAccess.getNonLiteralValueSpecificationAccess().getThisExpressionParserRuleCall_3()); } -) - - |( -{ before(grammarAccess.getNonLiteralValueSpecificationAccess().getSuperInvocationExpressionParserRuleCall_4()); } - ruleSuperInvocationExpression -{ after(grammarAccess.getNonLiteralValueSpecificationAccess().getSuperInvocationExpressionParserRuleCall_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__ParenthesizedExpression__Alternatives_3 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getParenthesizedExpressionAccess().getCastedAssignment_3_0()); } -(rule__ParenthesizedExpression__CastedAssignment_3_0) -{ after(grammarAccess.getParenthesizedExpressionAccess().getCastedAssignment_3_0()); } -) - - |( -{ before(grammarAccess.getParenthesizedExpressionAccess().getSuffixAssignment_3_1()); } -(rule__ParenthesizedExpression__SuffixAssignment_3_1) -{ after(grammarAccess.getParenthesizedExpressionAccess().getSuffixAssignment_3_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SuperInvocationExpression__Alternatives_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSuperInvocationExpressionAccess().getGroup_1_0()); } -(rule__SuperInvocationExpression__Group_1_0__0) -{ after(grammarAccess.getSuperInvocationExpressionAccess().getGroup_1_0()); } -) - - |( -{ before(grammarAccess.getSuperInvocationExpressionAccess().getOperationCallAssignment_1_1()); } -(rule__SuperInvocationExpression__OperationCallAssignment_1_1) -{ after(grammarAccess.getSuperInvocationExpressionAccess().getOperationCallAssignment_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__InstanceCreationExpression__Alternatives_2 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getInstanceCreationExpressionAccess().getTupleAssignment_2_0()); } -(rule__InstanceCreationExpression__TupleAssignment_2_0) -{ after(grammarAccess.getInstanceCreationExpressionAccess().getTupleAssignment_2_0()); } -) - - |( -{ before(grammarAccess.getInstanceCreationExpressionAccess().getSequenceConstuctionCompletionAssignment_2_1()); } -(rule__InstanceCreationExpression__SequenceConstuctionCompletionAssignment_2_1) -{ after(grammarAccess.getInstanceCreationExpressionAccess().getSequenceConstuctionCompletionAssignment_2_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SequenceConstructionOrAccessCompletion__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getGroup_0()); } -(rule__SequenceConstructionOrAccessCompletion__Group_0__0) -{ after(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getGroup_0()); } -) - - |( -{ before(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getExpressionAssignment_1()); } -(rule__SequenceConstructionOrAccessCompletion__ExpressionAssignment_1) -{ after(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getExpressionAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SequenceConstructionOrAccessCompletion__Alternatives_0_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getAccessCompletionAssignment_0_1_0()); } -(rule__SequenceConstructionOrAccessCompletion__AccessCompletionAssignment_0_1_0) -{ after(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getAccessCompletionAssignment_0_1_0()); } -) - - |( -{ before(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getSequenceCompletionAssignment_0_1_1()); } -(rule__SequenceConstructionOrAccessCompletion__SequenceCompletionAssignment_0_1_1) -{ after(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getSequenceCompletionAssignment_0_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SequenceConstructionExpression__Alternatives_2 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSequenceConstructionExpressionAccess().getGroup_2_0()); } -(rule__SequenceConstructionExpression__Group_2_0__0)* -{ after(grammarAccess.getSequenceConstructionExpressionAccess().getGroup_2_0()); } -) - - |( -{ before(grammarAccess.getSequenceConstructionExpressionAccess().getGroup_2_1()); } -(rule__SequenceConstructionExpression__Group_2_1__0) -{ after(grammarAccess.getSequenceConstructionExpressionAccess().getGroup_2_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SequenceElement__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSequenceElementAccess().getExpressionParserRuleCall_0()); } - ruleExpression -{ after(grammarAccess.getSequenceElementAccess().getExpressionParserRuleCall_0()); } -) - - |( -{ before(grammarAccess.getSequenceElementAccess().getSequenceConstructionExpressionParserRuleCall_1()); } - ruleSequenceConstructionExpression -{ after(grammarAccess.getSequenceElementAccess().getSequenceConstructionExpressionParserRuleCall_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__DocumentedStatement__CommentAlternatives_0_0 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getDocumentedStatementAccess().getCommentML_COMMENTTerminalRuleCall_0_0_0()); } - RULE_ML_COMMENT -{ after(grammarAccess.getDocumentedStatementAccess().getCommentML_COMMENTTerminalRuleCall_0_0_0()); } -) - - |( -{ before(grammarAccess.getDocumentedStatementAccess().getCommentSL_COMMENTTerminalRuleCall_0_0_1()); } - RULE_SL_COMMENT -{ after(grammarAccess.getDocumentedStatementAccess().getCommentSL_COMMENTTerminalRuleCall_0_0_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__Statement__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getStatementAccess().getAnnotatedStatementParserRuleCall_0()); } - ruleAnnotatedStatement -{ after(grammarAccess.getStatementAccess().getAnnotatedStatementParserRuleCall_0()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getInlineStatementParserRuleCall_1()); } - ruleInlineStatement -{ after(grammarAccess.getStatementAccess().getInlineStatementParserRuleCall_1()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getBlockStatementParserRuleCall_2()); } - ruleBlockStatement -{ after(grammarAccess.getStatementAccess().getBlockStatementParserRuleCall_2()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getEmptyStatementParserRuleCall_3()); } - ruleEmptyStatement -{ after(grammarAccess.getStatementAccess().getEmptyStatementParserRuleCall_3()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getLocalNameDeclarationStatementParserRuleCall_4()); } - ruleLocalNameDeclarationStatement -{ after(grammarAccess.getStatementAccess().getLocalNameDeclarationStatementParserRuleCall_4()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getIfStatementParserRuleCall_5()); } - ruleIfStatement -{ after(grammarAccess.getStatementAccess().getIfStatementParserRuleCall_5()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getSwitchStatementParserRuleCall_6()); } - ruleSwitchStatement -{ after(grammarAccess.getStatementAccess().getSwitchStatementParserRuleCall_6()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getWhileStatementParserRuleCall_7()); } - ruleWhileStatement -{ after(grammarAccess.getStatementAccess().getWhileStatementParserRuleCall_7()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getDoStatementParserRuleCall_8()); } - ruleDoStatement -{ after(grammarAccess.getStatementAccess().getDoStatementParserRuleCall_8()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getForStatementParserRuleCall_9()); } - ruleForStatement -{ after(grammarAccess.getStatementAccess().getForStatementParserRuleCall_9()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getBreakStatementParserRuleCall_10()); } - ruleBreakStatement -{ after(grammarAccess.getStatementAccess().getBreakStatementParserRuleCall_10()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getReturnStatementParserRuleCall_11()); } - ruleReturnStatement -{ after(grammarAccess.getStatementAccess().getReturnStatementParserRuleCall_11()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getAcceptStatementParserRuleCall_12()); } - ruleAcceptStatement -{ after(grammarAccess.getStatementAccess().getAcceptStatementParserRuleCall_12()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getClassifyStatementParserRuleCall_13()); } - ruleClassifyStatement -{ after(grammarAccess.getStatementAccess().getClassifyStatementParserRuleCall_13()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getInvocationOrAssignementOrDeclarationStatementParserRuleCall_14()); } - ruleInvocationOrAssignementOrDeclarationStatement -{ after(grammarAccess.getStatementAccess().getInvocationOrAssignementOrDeclarationStatementParserRuleCall_14()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getSuperInvocationStatementParserRuleCall_15()); } - ruleSuperInvocationStatement -{ after(grammarAccess.getStatementAccess().getSuperInvocationStatementParserRuleCall_15()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getThisInvocationStatementParserRuleCall_16()); } - ruleThisInvocationStatement -{ after(grammarAccess.getStatementAccess().getThisInvocationStatementParserRuleCall_16()); } -) - - |( -{ before(grammarAccess.getStatementAccess().getInstanceCreationInvocationStatementParserRuleCall_17()); } - ruleInstanceCreationInvocationStatement -{ after(grammarAccess.getStatementAccess().getInstanceCreationInvocationStatementParserRuleCall_17()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__LoopVariableDefinition__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getLoopVariableDefinitionAccess().getGroup_0()); } -(rule__LoopVariableDefinition__Group_0__0) -{ after(grammarAccess.getLoopVariableDefinitionAccess().getGroup_0()); } -) - - |( -{ before(grammarAccess.getLoopVariableDefinitionAccess().getGroup_1()); } -(rule__LoopVariableDefinition__Group_1__0) -{ after(grammarAccess.getLoopVariableDefinitionAccess().getGroup_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__AcceptStatement__Alternatives_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAcceptStatementAccess().getSimpleAcceptAssignment_1_0()); } -(rule__AcceptStatement__SimpleAcceptAssignment_1_0) -{ after(grammarAccess.getAcceptStatementAccess().getSimpleAcceptAssignment_1_0()); } -) - - |( -{ before(grammarAccess.getAcceptStatementAccess().getCompoundAcceptAssignment_1_1()); } -(rule__AcceptStatement__CompoundAcceptAssignment_1_1) -{ after(grammarAccess.getAcceptStatementAccess().getCompoundAcceptAssignment_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__ClassificationClause__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getClassificationClauseAccess().getGroup_0()); } -(rule__ClassificationClause__Group_0__0) -{ after(grammarAccess.getClassificationClauseAccess().getGroup_0()); } -) - - |( -{ before(grammarAccess.getClassificationClauseAccess().getGroup_1()); } -(rule__ClassificationClause__Group_1__0) -{ after(grammarAccess.getClassificationClauseAccess().getGroup_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__InvocationOrAssignementOrDeclarationStatement__Alternatives_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getVariableDeclarationCompletionAssignment_1_0()); } -(rule__InvocationOrAssignementOrDeclarationStatement__VariableDeclarationCompletionAssignment_1_0) -{ after(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getVariableDeclarationCompletionAssignment_1_0()); } -) - - |( -{ before(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getAssignmentCompletionAssignment_1_1()); } -(rule__InvocationOrAssignementOrDeclarationStatement__AssignmentCompletionAssignment_1_1) -{ after(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getAssignmentCompletionAssignment_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__VisibilityIndicator__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getVisibilityIndicatorAccess().getPUBLICEnumLiteralDeclaration_0()); } -( 'public' -) -{ after(grammarAccess.getVisibilityIndicatorAccess().getPUBLICEnumLiteralDeclaration_0()); } -) - - |( -{ before(grammarAccess.getVisibilityIndicatorAccess().getPRIVATEEnumLiteralDeclaration_1()); } -( 'private' -) -{ after(grammarAccess.getVisibilityIndicatorAccess().getPRIVATEEnumLiteralDeclaration_1()); } -) - - |( -{ before(grammarAccess.getVisibilityIndicatorAccess().getPROTECTEDEnumLiteralDeclaration_2()); } -( 'protected' -) -{ after(grammarAccess.getVisibilityIndicatorAccess().getPROTECTEDEnumLiteralDeclaration_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__ParameterDirection__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getParameterDirectionAccess().getINEnumLiteralDeclaration_0()); } -( 'in' -) -{ after(grammarAccess.getParameterDirectionAccess().getINEnumLiteralDeclaration_0()); } -) - - |( -{ before(grammarAccess.getParameterDirectionAccess().getOUTEnumLiteralDeclaration_1()); } -( 'out' -) -{ after(grammarAccess.getParameterDirectionAccess().getOUTEnumLiteralDeclaration_1()); } -) - - |( -{ before(grammarAccess.getParameterDirectionAccess().getINOUTEnumLiteralDeclaration_2()); } -( 'inout' -) -{ after(grammarAccess.getParameterDirectionAccess().getINOUTEnumLiteralDeclaration_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__BooleanValue__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getBooleanValueAccess().getTRUEEnumLiteralDeclaration_0()); } -( 'true' -) -{ after(grammarAccess.getBooleanValueAccess().getTRUEEnumLiteralDeclaration_0()); } -) - - |( -{ before(grammarAccess.getBooleanValueAccess().getFALSEEnumLiteralDeclaration_1()); } -( 'false' -) -{ after(grammarAccess.getBooleanValueAccess().getFALSEEnumLiteralDeclaration_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__LinkOperationKind__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getLinkOperationKindAccess().getCREATEEnumLiteralDeclaration_0()); } -( 'createLink' -) -{ after(grammarAccess.getLinkOperationKindAccess().getCREATEEnumLiteralDeclaration_0()); } -) - - |( -{ before(grammarAccess.getLinkOperationKindAccess().getDESTROYEnumLiteralDeclaration_1()); } -( 'destroyLink' -) -{ after(grammarAccess.getLinkOperationKindAccess().getDESTROYEnumLiteralDeclaration_1()); } -) - - |( -{ before(grammarAccess.getLinkOperationKindAccess().getCLEAREnumLiteralDeclaration_2()); } -( 'clearAssoc' -) -{ after(grammarAccess.getLinkOperationKindAccess().getCLEAREnumLiteralDeclaration_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SelectOrRejectOperator__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSelectOrRejectOperatorAccess().getSELECTEnumLiteralDeclaration_0()); } -( 'select' -) -{ after(grammarAccess.getSelectOrRejectOperatorAccess().getSELECTEnumLiteralDeclaration_0()); } -) - - |( -{ before(grammarAccess.getSelectOrRejectOperatorAccess().getREJECTEnumLiteralDeclaration_1()); } -( 'reject' -) -{ after(grammarAccess.getSelectOrRejectOperatorAccess().getREJECTEnumLiteralDeclaration_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__CollectOrIterateOperator__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCollectOrIterateOperatorAccess().getCOLLECTEnumLiteralDeclaration_0()); } -( 'collect' -) -{ after(grammarAccess.getCollectOrIterateOperatorAccess().getCOLLECTEnumLiteralDeclaration_0()); } -) - - |( -{ before(grammarAccess.getCollectOrIterateOperatorAccess().getITERATEEnumLiteralDeclaration_1()); } -( 'iterate' -) -{ after(grammarAccess.getCollectOrIterateOperatorAccess().getITERATEEnumLiteralDeclaration_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__ForAllOrExistsOrOneOperator__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getForAllOrExistsOrOneOperatorAccess().getFORALLEnumLiteralDeclaration_0()); } -( 'forAll' -) -{ after(grammarAccess.getForAllOrExistsOrOneOperatorAccess().getFORALLEnumLiteralDeclaration_0()); } -) - - |( -{ before(grammarAccess.getForAllOrExistsOrOneOperatorAccess().getEXISTSEnumLiteralDeclaration_1()); } -( 'exists' -) -{ after(grammarAccess.getForAllOrExistsOrOneOperatorAccess().getEXISTSEnumLiteralDeclaration_1()); } -) - - |( -{ before(grammarAccess.getForAllOrExistsOrOneOperatorAccess().getONEEnumLiteralDeclaration_2()); } -( 'one' -) -{ after(grammarAccess.getForAllOrExistsOrOneOperatorAccess().getONEEnumLiteralDeclaration_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__AnnotationKind__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAnnotationKindAccess().getISOLATEDEnumLiteralDeclaration_0()); } -( 'isolated' -) -{ after(grammarAccess.getAnnotationKindAccess().getISOLATEDEnumLiteralDeclaration_0()); } -) - - |( -{ before(grammarAccess.getAnnotationKindAccess().getDETERMINEDEnumLiteralDeclaration_1()); } -( 'determined' -) -{ after(grammarAccess.getAnnotationKindAccess().getDETERMINEDEnumLiteralDeclaration_1()); } -) - - |( -{ before(grammarAccess.getAnnotationKindAccess().getASSUREDEnumLiteralDeclaration_2()); } -( 'assured' -) -{ after(grammarAccess.getAnnotationKindAccess().getASSUREDEnumLiteralDeclaration_2()); } -) - - |( -{ before(grammarAccess.getAnnotationKindAccess().getPARALLELEnumLiteralDeclaration_3()); } -( 'parallel' -) -{ after(grammarAccess.getAnnotationKindAccess().getPARALLELEnumLiteralDeclaration_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__AssignmentOperator__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAssignmentOperatorAccess().getASSIGNEnumLiteralDeclaration_0()); } -( '=' -) -{ after(grammarAccess.getAssignmentOperatorAccess().getASSIGNEnumLiteralDeclaration_0()); } -) - - |( -{ before(grammarAccess.getAssignmentOperatorAccess().getPLUSASSIGNEnumLiteralDeclaration_1()); } -( '+=' -) -{ after(grammarAccess.getAssignmentOperatorAccess().getPLUSASSIGNEnumLiteralDeclaration_1()); } -) - - |( -{ before(grammarAccess.getAssignmentOperatorAccess().getMINUSASSIGNEnumLiteralDeclaration_2()); } -( '-=' -) -{ after(grammarAccess.getAssignmentOperatorAccess().getMINUSASSIGNEnumLiteralDeclaration_2()); } -) - - |( -{ before(grammarAccess.getAssignmentOperatorAccess().getMULTASSIGNEnumLiteralDeclaration_3()); } -( '*=' -) -{ after(grammarAccess.getAssignmentOperatorAccess().getMULTASSIGNEnumLiteralDeclaration_3()); } -) - - |( -{ before(grammarAccess.getAssignmentOperatorAccess().getMODASSIGNEnumLiteralDeclaration_4()); } -( '%=' -) -{ after(grammarAccess.getAssignmentOperatorAccess().getMODASSIGNEnumLiteralDeclaration_4()); } -) - - |( -{ before(grammarAccess.getAssignmentOperatorAccess().getDIVASSIGNEnumLiteralDeclaration_5()); } -( '/=' -) -{ after(grammarAccess.getAssignmentOperatorAccess().getDIVASSIGNEnumLiteralDeclaration_5()); } -) - - |( -{ before(grammarAccess.getAssignmentOperatorAccess().getANDASSIGNEnumLiteralDeclaration_6()); } -( '&=' -) -{ after(grammarAccess.getAssignmentOperatorAccess().getANDASSIGNEnumLiteralDeclaration_6()); } -) - - |( -{ before(grammarAccess.getAssignmentOperatorAccess().getORASSIGNEnumLiteralDeclaration_7()); } -( '|=' -) -{ after(grammarAccess.getAssignmentOperatorAccess().getORASSIGNEnumLiteralDeclaration_7()); } -) - - |( -{ before(grammarAccess.getAssignmentOperatorAccess().getXORASSIGNEnumLiteralDeclaration_8()); } -( '^=' -) -{ after(grammarAccess.getAssignmentOperatorAccess().getXORASSIGNEnumLiteralDeclaration_8()); } -) - - |( -{ before(grammarAccess.getAssignmentOperatorAccess().getLSHIFTASSIGNEnumLiteralDeclaration_9()); } -( '<<=' -) -{ after(grammarAccess.getAssignmentOperatorAccess().getLSHIFTASSIGNEnumLiteralDeclaration_9()); } -) - - |( -{ before(grammarAccess.getAssignmentOperatorAccess().getRSHIFTASSIGNEnumLiteralDeclaration_10()); } -( '>>=' -) -{ after(grammarAccess.getAssignmentOperatorAccess().getRSHIFTASSIGNEnumLiteralDeclaration_10()); } -) - - |( -{ before(grammarAccess.getAssignmentOperatorAccess().getURSHIFTASSIGNEnumLiteralDeclaration_11()); } -( '>>>=' -) -{ after(grammarAccess.getAssignmentOperatorAccess().getURSHIFTASSIGNEnumLiteralDeclaration_11()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -rule__OperationDefinitionOrStub__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__OperationDefinitionOrStub__Group__0__Impl - rule__OperationDefinitionOrStub__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__OperationDefinitionOrStub__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getOperationDefinitionOrStubAccess().getDeclarationAssignment_0()); } -(rule__OperationDefinitionOrStub__DeclarationAssignment_0) -{ after(grammarAccess.getOperationDefinitionOrStubAccess().getDeclarationAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__OperationDefinitionOrStub__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__OperationDefinitionOrStub__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__OperationDefinitionOrStub__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getOperationDefinitionOrStubAccess().getAlternatives_1()); } -(rule__OperationDefinitionOrStub__Alternatives_1) -{ after(grammarAccess.getOperationDefinitionOrStubAccess().getAlternatives_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__OperationDeclaration__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__OperationDeclaration__Group__0__Impl - rule__OperationDeclaration__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__OperationDeclaration__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getOperationDeclarationAccess().getVisibilityIndicatorAssignment_0()); } -(rule__OperationDeclaration__VisibilityIndicatorAssignment_0)? -{ after(grammarAccess.getOperationDeclarationAccess().getVisibilityIndicatorAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__OperationDeclaration__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__OperationDeclaration__Group__1__Impl - rule__OperationDeclaration__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__OperationDeclaration__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getOperationDeclarationAccess().getAbstractAssignment_1()); } -(rule__OperationDeclaration__AbstractAssignment_1)? -{ after(grammarAccess.getOperationDeclarationAccess().getAbstractAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__OperationDeclaration__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__OperationDeclaration__Group__2__Impl - rule__OperationDeclaration__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__OperationDeclaration__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getOperationDeclarationAccess().getNameAssignment_2()); } -(rule__OperationDeclaration__NameAssignment_2) -{ after(grammarAccess.getOperationDeclarationAccess().getNameAssignment_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__OperationDeclaration__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__OperationDeclaration__Group__3__Impl - rule__OperationDeclaration__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__OperationDeclaration__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getOperationDeclarationAccess().getFormalParametersAssignment_3()); } -(rule__OperationDeclaration__FormalParametersAssignment_3) -{ after(grammarAccess.getOperationDeclarationAccess().getFormalParametersAssignment_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__OperationDeclaration__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__OperationDeclaration__Group__4__Impl - rule__OperationDeclaration__Group__5 -; -finally { - restoreStackSize(stackSize); -} - -rule__OperationDeclaration__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getOperationDeclarationAccess().getGroup_4()); } -(rule__OperationDeclaration__Group_4__0)? -{ after(grammarAccess.getOperationDeclarationAccess().getGroup_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__OperationDeclaration__Group__5 - @init { - int stackSize = keepStackSize(); - } -: - rule__OperationDeclaration__Group__5__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__OperationDeclaration__Group__5__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getOperationDeclarationAccess().getRedefinitionAssignment_5()); } -(rule__OperationDeclaration__RedefinitionAssignment_5)? -{ after(grammarAccess.getOperationDeclarationAccess().getRedefinitionAssignment_5()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - - - -rule__OperationDeclaration__Group_4__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__OperationDeclaration__Group_4__0__Impl - rule__OperationDeclaration__Group_4__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__OperationDeclaration__Group_4__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getOperationDeclarationAccess().getColonKeyword_4_0()); } - - ':' - -{ after(grammarAccess.getOperationDeclarationAccess().getColonKeyword_4_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__OperationDeclaration__Group_4__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__OperationDeclaration__Group_4__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__OperationDeclaration__Group_4__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getOperationDeclarationAccess().getReturnTypeAssignment_4_1()); } -(rule__OperationDeclaration__ReturnTypeAssignment_4_1) -{ after(grammarAccess.getOperationDeclarationAccess().getReturnTypeAssignment_4_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__FormalParameters__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__FormalParameters__Group__0__Impl - rule__FormalParameters__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__FormalParameters__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFormalParametersAccess().getFormalParametersAction_0()); } -( - -) -{ after(grammarAccess.getFormalParametersAccess().getFormalParametersAction_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__FormalParameters__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__FormalParameters__Group__1__Impl - rule__FormalParameters__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__FormalParameters__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFormalParametersAccess().getLeftParenthesisKeyword_1()); } - - '(' - -{ after(grammarAccess.getFormalParametersAccess().getLeftParenthesisKeyword_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__FormalParameters__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__FormalParameters__Group__2__Impl - rule__FormalParameters__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__FormalParameters__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFormalParametersAccess().getFormalParameterListAssignment_2()); } -(rule__FormalParameters__FormalParameterListAssignment_2)? -{ after(grammarAccess.getFormalParametersAccess().getFormalParameterListAssignment_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__FormalParameters__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__FormalParameters__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__FormalParameters__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFormalParametersAccess().getRightParenthesisKeyword_3()); } - - ')' - -{ after(grammarAccess.getFormalParametersAccess().getRightParenthesisKeyword_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - -rule__FormalParameterList__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__FormalParameterList__Group__0__Impl - rule__FormalParameterList__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__FormalParameterList__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFormalParameterListAccess().getFormalParameterAssignment_0()); } -(rule__FormalParameterList__FormalParameterAssignment_0) -{ after(grammarAccess.getFormalParameterListAccess().getFormalParameterAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__FormalParameterList__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__FormalParameterList__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__FormalParameterList__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFormalParameterListAccess().getGroup_1()); } -(rule__FormalParameterList__Group_1__0)* -{ after(grammarAccess.getFormalParameterListAccess().getGroup_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__FormalParameterList__Group_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__FormalParameterList__Group_1__0__Impl - rule__FormalParameterList__Group_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__FormalParameterList__Group_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFormalParameterListAccess().getCommaKeyword_1_0()); } - - ',' - -{ after(grammarAccess.getFormalParameterListAccess().getCommaKeyword_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__FormalParameterList__Group_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__FormalParameterList__Group_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__FormalParameterList__Group_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFormalParameterListAccess().getFormalParameterAssignment_1_1()); } -(rule__FormalParameterList__FormalParameterAssignment_1_1) -{ after(grammarAccess.getFormalParameterListAccess().getFormalParameterAssignment_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__FormalParameter__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__FormalParameter__Group__0__Impl - rule__FormalParameter__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__FormalParameter__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFormalParameterAccess().getDirectionAssignment_0()); } -(rule__FormalParameter__DirectionAssignment_0) -{ after(grammarAccess.getFormalParameterAccess().getDirectionAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__FormalParameter__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__FormalParameter__Group__1__Impl - rule__FormalParameter__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__FormalParameter__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFormalParameterAccess().getNameAssignment_1()); } -(rule__FormalParameter__NameAssignment_1) -{ after(grammarAccess.getFormalParameterAccess().getNameAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__FormalParameter__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__FormalParameter__Group__2__Impl - rule__FormalParameter__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__FormalParameter__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFormalParameterAccess().getColonKeyword_2()); } - - ':' - -{ after(grammarAccess.getFormalParameterAccess().getColonKeyword_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__FormalParameter__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__FormalParameter__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__FormalParameter__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getFormalParameterAccess().getTypeAssignment_3()); } -(rule__FormalParameter__TypeAssignment_3) -{ after(grammarAccess.getFormalParameterAccess().getTypeAssignment_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - -rule__TypePart__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__TypePart__Group__0__Impl - rule__TypePart__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__TypePart__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTypePartAccess().getTypeNameAssignment_0()); } -(rule__TypePart__TypeNameAssignment_0) -{ after(grammarAccess.getTypePartAccess().getTypeNameAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__TypePart__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__TypePart__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__TypePart__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTypePartAccess().getMultiplicityAssignment_1()); } -(rule__TypePart__MultiplicityAssignment_1)? -{ after(grammarAccess.getTypePartAccess().getMultiplicityAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__Multiplicity__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Multiplicity__Group__0__Impl - rule__Multiplicity__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Multiplicity__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getMultiplicityAccess().getMultiplicityAction_0()); } -( - -) -{ after(grammarAccess.getMultiplicityAccess().getMultiplicityAction_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Multiplicity__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Multiplicity__Group__1__Impl - rule__Multiplicity__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__Multiplicity__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getMultiplicityAccess().getLeftSquareBracketKeyword_1()); } - - '[' - -{ after(grammarAccess.getMultiplicityAccess().getLeftSquareBracketKeyword_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Multiplicity__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Multiplicity__Group__2__Impl - rule__Multiplicity__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__Multiplicity__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getMultiplicityAccess().getRangeAssignment_2()); } -(rule__Multiplicity__RangeAssignment_2)? -{ after(grammarAccess.getMultiplicityAccess().getRangeAssignment_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Multiplicity__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__Multiplicity__Group__3__Impl - rule__Multiplicity__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__Multiplicity__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getMultiplicityAccess().getRightSquareBracketKeyword_3()); } - - ']' - -{ after(grammarAccess.getMultiplicityAccess().getRightSquareBracketKeyword_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Multiplicity__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__Multiplicity__Group__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Multiplicity__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getMultiplicityAccess().getAlternatives_4()); } -(rule__Multiplicity__Alternatives_4)? -{ after(grammarAccess.getMultiplicityAccess().getAlternatives_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - -rule__Multiplicity__Group_4_0__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Multiplicity__Group_4_0__0__Impl - rule__Multiplicity__Group_4_0__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Multiplicity__Group_4_0__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getMultiplicityAccess().getOrderedAssignment_4_0_0()); } -(rule__Multiplicity__OrderedAssignment_4_0_0) -{ after(grammarAccess.getMultiplicityAccess().getOrderedAssignment_4_0_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Multiplicity__Group_4_0__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Multiplicity__Group_4_0__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Multiplicity__Group_4_0__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getMultiplicityAccess().getNonUniqueAssignment_4_0_1()); } -(rule__Multiplicity__NonUniqueAssignment_4_0_1)? -{ after(grammarAccess.getMultiplicityAccess().getNonUniqueAssignment_4_0_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__Multiplicity__Group_4_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Multiplicity__Group_4_1__0__Impl - rule__Multiplicity__Group_4_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Multiplicity__Group_4_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getMultiplicityAccess().getNonUniqueAssignment_4_1_0()); } -(rule__Multiplicity__NonUniqueAssignment_4_1_0) -{ after(grammarAccess.getMultiplicityAccess().getNonUniqueAssignment_4_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Multiplicity__Group_4_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Multiplicity__Group_4_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Multiplicity__Group_4_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getMultiplicityAccess().getOrderedAssignment_4_1_1()); } -(rule__Multiplicity__OrderedAssignment_4_1_1)? -{ after(grammarAccess.getMultiplicityAccess().getOrderedAssignment_4_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__MultiplicityRange__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__MultiplicityRange__Group__0__Impl - rule__MultiplicityRange__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__MultiplicityRange__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getMultiplicityRangeAccess().getGroup_0()); } -(rule__MultiplicityRange__Group_0__0)? -{ after(grammarAccess.getMultiplicityRangeAccess().getGroup_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__MultiplicityRange__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__MultiplicityRange__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__MultiplicityRange__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getMultiplicityRangeAccess().getUpperAssignment_1()); } -(rule__MultiplicityRange__UpperAssignment_1) -{ after(grammarAccess.getMultiplicityRangeAccess().getUpperAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__MultiplicityRange__Group_0__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__MultiplicityRange__Group_0__0__Impl - rule__MultiplicityRange__Group_0__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__MultiplicityRange__Group_0__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getMultiplicityRangeAccess().getLowerAssignment_0_0()); } -(rule__MultiplicityRange__LowerAssignment_0_0) -{ after(grammarAccess.getMultiplicityRangeAccess().getLowerAssignment_0_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__MultiplicityRange__Group_0__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__MultiplicityRange__Group_0__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__MultiplicityRange__Group_0__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getMultiplicityRangeAccess().getFullStopFullStopKeyword_0_1()); } - - '..' - -{ after(grammarAccess.getMultiplicityRangeAccess().getFullStopFullStopKeyword_0_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__TypeName__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__TypeName__Group__0__Impl - rule__TypeName__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__TypeName__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTypeNameAccess().getTypeNameAction_0()); } -( - -) -{ after(grammarAccess.getTypeNameAccess().getTypeNameAction_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__TypeName__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__TypeName__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__TypeName__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTypeNameAccess().getAlternatives_1()); } -(rule__TypeName__Alternatives_1) -{ after(grammarAccess.getTypeNameAccess().getAlternatives_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__RedefinitionClause__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__RedefinitionClause__Group__0__Impl - rule__RedefinitionClause__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__RedefinitionClause__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getRedefinitionClauseAccess().getRedefinesKeyword_0()); } - - 'redefines' - -{ after(grammarAccess.getRedefinitionClauseAccess().getRedefinesKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__RedefinitionClause__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__RedefinitionClause__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__RedefinitionClause__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getRedefinitionClauseAccess().getRedefinedOperationsAssignment_1()); } -(rule__RedefinitionClause__RedefinedOperationsAssignment_1) -{ after(grammarAccess.getRedefinitionClauseAccess().getRedefinedOperationsAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - -rule__BOOLEAN_LITERAL__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__BOOLEAN_LITERAL__Group__0__Impl - rule__BOOLEAN_LITERAL__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__BOOLEAN_LITERAL__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getBOOLEAN_LITERALAccess().getValueAssignment_0()); } -(rule__BOOLEAN_LITERAL__ValueAssignment_0) -{ after(grammarAccess.getBOOLEAN_LITERALAccess().getValueAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__BOOLEAN_LITERAL__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__BOOLEAN_LITERAL__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__BOOLEAN_LITERAL__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getBOOLEAN_LITERALAccess().getSuffixAssignment_1()); } -(rule__BOOLEAN_LITERAL__SuffixAssignment_1)? -{ after(grammarAccess.getBOOLEAN_LITERALAccess().getSuffixAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__INTEGER_LITERAL__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__INTEGER_LITERAL__Group__0__Impl - rule__INTEGER_LITERAL__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__INTEGER_LITERAL__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getINTEGER_LITERALAccess().getValueAssignment_0()); } -(rule__INTEGER_LITERAL__ValueAssignment_0) -{ after(grammarAccess.getINTEGER_LITERALAccess().getValueAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__INTEGER_LITERAL__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__INTEGER_LITERAL__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__INTEGER_LITERAL__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getINTEGER_LITERALAccess().getSuffixAssignment_1()); } -(rule__INTEGER_LITERAL__SuffixAssignment_1)? -{ after(grammarAccess.getINTEGER_LITERALAccess().getSuffixAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__UNLIMITED_LITERAL__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__UNLIMITED_LITERAL__Group__0__Impl - rule__UNLIMITED_LITERAL__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__UNLIMITED_LITERAL__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getUNLIMITED_LITERALAccess().getValueAssignment_0()); } -(rule__UNLIMITED_LITERAL__ValueAssignment_0) -{ after(grammarAccess.getUNLIMITED_LITERALAccess().getValueAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__UNLIMITED_LITERAL__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__UNLIMITED_LITERAL__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__UNLIMITED_LITERAL__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getUNLIMITED_LITERALAccess().getSuffixAssignment_1()); } -(rule__UNLIMITED_LITERAL__SuffixAssignment_1)? -{ after(grammarAccess.getUNLIMITED_LITERALAccess().getSuffixAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__STRING_LITERAL__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__STRING_LITERAL__Group__0__Impl - rule__STRING_LITERAL__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__STRING_LITERAL__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSTRING_LITERALAccess().getValueAssignment_0()); } -(rule__STRING_LITERAL__ValueAssignment_0) -{ after(grammarAccess.getSTRING_LITERALAccess().getValueAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__STRING_LITERAL__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__STRING_LITERAL__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__STRING_LITERAL__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSTRING_LITERALAccess().getSuffixAssignment_1()); } -(rule__STRING_LITERAL__SuffixAssignment_1)? -{ after(grammarAccess.getSTRING_LITERALAccess().getSuffixAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__NameExpression__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__NameExpression__Group__0__Impl - rule__NameExpression__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__NameExpression__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNameExpressionAccess().getAlternatives_0()); } -(rule__NameExpression__Alternatives_0) -{ after(grammarAccess.getNameExpressionAccess().getAlternatives_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__NameExpression__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__NameExpression__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__NameExpression__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNameExpressionAccess().getSuffixAssignment_1()); } -(rule__NameExpression__SuffixAssignment_1)? -{ after(grammarAccess.getNameExpressionAccess().getSuffixAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__NameExpression__Group_0_0__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__NameExpression__Group_0_0__0__Impl - rule__NameExpression__Group_0_0__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__NameExpression__Group_0_0__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNameExpressionAccess().getPrefixOpAssignment_0_0_0()); } -(rule__NameExpression__PrefixOpAssignment_0_0_0) -{ after(grammarAccess.getNameExpressionAccess().getPrefixOpAssignment_0_0_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__NameExpression__Group_0_0__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__NameExpression__Group_0_0__1__Impl - rule__NameExpression__Group_0_0__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__NameExpression__Group_0_0__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNameExpressionAccess().getPathAssignment_0_0_1()); } -(rule__NameExpression__PathAssignment_0_0_1)? -{ after(grammarAccess.getNameExpressionAccess().getPathAssignment_0_0_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__NameExpression__Group_0_0__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__NameExpression__Group_0_0__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__NameExpression__Group_0_0__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNameExpressionAccess().getIdAssignment_0_0_2()); } -(rule__NameExpression__IdAssignment_0_0_2) -{ after(grammarAccess.getNameExpressionAccess().getIdAssignment_0_0_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - -rule__NameExpression__Group_0_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__NameExpression__Group_0_1__0__Impl - rule__NameExpression__Group_0_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__NameExpression__Group_0_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNameExpressionAccess().getPathAssignment_0_1_0()); } -(rule__NameExpression__PathAssignment_0_1_0)? -{ after(grammarAccess.getNameExpressionAccess().getPathAssignment_0_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__NameExpression__Group_0_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__NameExpression__Group_0_1__1__Impl - rule__NameExpression__Group_0_1__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__NameExpression__Group_0_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNameExpressionAccess().getIdAssignment_0_1_1()); } -(rule__NameExpression__IdAssignment_0_1_1) -{ after(grammarAccess.getNameExpressionAccess().getIdAssignment_0_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__NameExpression__Group_0_1__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__NameExpression__Group_0_1__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__NameExpression__Group_0_1__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNameExpressionAccess().getAlternatives_0_1_2()); } -(rule__NameExpression__Alternatives_0_1_2)? -{ after(grammarAccess.getNameExpressionAccess().getAlternatives_0_1_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - -rule__QualifiedNamePath__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedNamePath__Group__0__Impl - rule__QualifiedNamePath__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedNamePath__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getQualifiedNamePathAccess().getNamespaceAssignment_0()); } -(rule__QualifiedNamePath__NamespaceAssignment_0) -{ after(grammarAccess.getQualifiedNamePathAccess().getNamespaceAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__QualifiedNamePath__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedNamePath__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedNamePath__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getQualifiedNamePathAccess().getColonColonKeyword_1()); } - - '::' - -{ after(grammarAccess.getQualifiedNamePathAccess().getColonColonKeyword_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__UnqualifiedName__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__UnqualifiedName__Group__0__Impl - rule__UnqualifiedName__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__UnqualifiedName__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getUnqualifiedNameAccess().getNameAssignment_0()); } -(rule__UnqualifiedName__NameAssignment_0) -{ after(grammarAccess.getUnqualifiedNameAccess().getNameAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__UnqualifiedName__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__UnqualifiedName__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__UnqualifiedName__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getUnqualifiedNameAccess().getTemplateBindingAssignment_1()); } -(rule__UnqualifiedName__TemplateBindingAssignment_1)? -{ after(grammarAccess.getUnqualifiedNameAccess().getTemplateBindingAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__TemplateBinding__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__TemplateBinding__Group__0__Impl - rule__TemplateBinding__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__TemplateBinding__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTemplateBindingAccess().getLessThanSignKeyword_0()); } - - '<' - -{ after(grammarAccess.getTemplateBindingAccess().getLessThanSignKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__TemplateBinding__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__TemplateBinding__Group__1__Impl - rule__TemplateBinding__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__TemplateBinding__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTemplateBindingAccess().getBindingsAssignment_1()); } -(rule__TemplateBinding__BindingsAssignment_1) -{ after(grammarAccess.getTemplateBindingAccess().getBindingsAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__TemplateBinding__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__TemplateBinding__Group__2__Impl - rule__TemplateBinding__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__TemplateBinding__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTemplateBindingAccess().getGroup_2()); } -(rule__TemplateBinding__Group_2__0)* -{ after(grammarAccess.getTemplateBindingAccess().getGroup_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__TemplateBinding__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__TemplateBinding__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__TemplateBinding__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTemplateBindingAccess().getGreaterThanSignKeyword_3()); } - - '>' - -{ after(grammarAccess.getTemplateBindingAccess().getGreaterThanSignKeyword_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - -rule__TemplateBinding__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__TemplateBinding__Group_2__0__Impl - rule__TemplateBinding__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__TemplateBinding__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTemplateBindingAccess().getCommaKeyword_2_0()); } - - ',' - -{ after(grammarAccess.getTemplateBindingAccess().getCommaKeyword_2_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__TemplateBinding__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__TemplateBinding__Group_2__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__TemplateBinding__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTemplateBindingAccess().getBindingsAssignment_2_1()); } -(rule__TemplateBinding__BindingsAssignment_2_1) -{ after(grammarAccess.getTemplateBindingAccess().getBindingsAssignment_2_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__NamedTemplateBinding__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__NamedTemplateBinding__Group__0__Impl - rule__NamedTemplateBinding__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__NamedTemplateBinding__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNamedTemplateBindingAccess().getFormalAssignment_0()); } -(rule__NamedTemplateBinding__FormalAssignment_0) -{ after(grammarAccess.getNamedTemplateBindingAccess().getFormalAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__NamedTemplateBinding__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__NamedTemplateBinding__Group__1__Impl - rule__NamedTemplateBinding__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__NamedTemplateBinding__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNamedTemplateBindingAccess().getEqualsSignGreaterThanSignKeyword_1()); } - - '=>' - -{ after(grammarAccess.getNamedTemplateBindingAccess().getEqualsSignGreaterThanSignKeyword_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__NamedTemplateBinding__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__NamedTemplateBinding__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__NamedTemplateBinding__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getNamedTemplateBindingAccess().getActualAssignment_2()); } -(rule__NamedTemplateBinding__ActualAssignment_2) -{ after(grammarAccess.getNamedTemplateBindingAccess().getActualAssignment_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - -rule__QualifiedNameWithBinding__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedNameWithBinding__Group__0__Impl - rule__QualifiedNameWithBinding__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedNameWithBinding__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getQualifiedNameWithBindingAccess().getIdAssignment_0()); } -(rule__QualifiedNameWithBinding__IdAssignment_0) -{ after(grammarAccess.getQualifiedNameWithBindingAccess().getIdAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__QualifiedNameWithBinding__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedNameWithBinding__Group__1__Impl - rule__QualifiedNameWithBinding__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedNameWithBinding__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getQualifiedNameWithBindingAccess().getBindingAssignment_1()); } -(rule__QualifiedNameWithBinding__BindingAssignment_1)? -{ after(grammarAccess.getQualifiedNameWithBindingAccess().getBindingAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__QualifiedNameWithBinding__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedNameWithBinding__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedNameWithBinding__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getQualifiedNameWithBindingAccess().getGroup_2()); } -(rule__QualifiedNameWithBinding__Group_2__0)? -{ after(grammarAccess.getQualifiedNameWithBindingAccess().getGroup_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - -rule__QualifiedNameWithBinding__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedNameWithBinding__Group_2__0__Impl - rule__QualifiedNameWithBinding__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedNameWithBinding__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getQualifiedNameWithBindingAccess().getColonColonKeyword_2_0()); } - - '::' - -{ after(grammarAccess.getQualifiedNameWithBindingAccess().getColonColonKeyword_2_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__QualifiedNameWithBinding__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__QualifiedNameWithBinding__Group_2__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__QualifiedNameWithBinding__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getQualifiedNameWithBindingAccess().getRemainingAssignment_2_1()); } -(rule__QualifiedNameWithBinding__RemainingAssignment_2_1) -{ after(grammarAccess.getQualifiedNameWithBindingAccess().getRemainingAssignment_2_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__Tuple__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Tuple__Group__0__Impl - rule__Tuple__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Tuple__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTupleAccess().getTupleAction_0()); } -( - -) -{ after(grammarAccess.getTupleAccess().getTupleAction_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Tuple__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Tuple__Group__1__Impl - rule__Tuple__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__Tuple__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTupleAccess().getLeftParenthesisKeyword_1()); } - - '(' - -{ after(grammarAccess.getTupleAccess().getLeftParenthesisKeyword_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Tuple__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Tuple__Group__2__Impl - rule__Tuple__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__Tuple__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTupleAccess().getGroup_2()); } -(rule__Tuple__Group_2__0)? -{ after(grammarAccess.getTupleAccess().getGroup_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Tuple__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__Tuple__Group__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Tuple__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTupleAccess().getRightParenthesisKeyword_3()); } - - ')' - -{ after(grammarAccess.getTupleAccess().getRightParenthesisKeyword_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - -rule__Tuple__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Tuple__Group_2__0__Impl - rule__Tuple__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Tuple__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTupleAccess().getTupleElementsAssignment_2_0()); } -(rule__Tuple__TupleElementsAssignment_2_0) -{ after(grammarAccess.getTupleAccess().getTupleElementsAssignment_2_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Tuple__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Tuple__Group_2__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Tuple__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTupleAccess().getGroup_2_1()); } -(rule__Tuple__Group_2_1__0)* -{ after(grammarAccess.getTupleAccess().getGroup_2_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__Tuple__Group_2_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Tuple__Group_2_1__0__Impl - rule__Tuple__Group_2_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Tuple__Group_2_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTupleAccess().getCommaKeyword_2_1_0()); } - - ',' - -{ after(grammarAccess.getTupleAccess().getCommaKeyword_2_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Tuple__Group_2_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Tuple__Group_2_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Tuple__Group_2_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getTupleAccess().getTupleElementsAssignment_2_1_1()); } -(rule__Tuple__TupleElementsAssignment_2_1_1) -{ after(grammarAccess.getTupleAccess().getTupleElementsAssignment_2_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__ConditionalTestExpression__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConditionalTestExpression__Group__0__Impl - rule__ConditionalTestExpression__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConditionalTestExpression__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getConditionalTestExpressionAccess().getExpAssignment_0()); } -(rule__ConditionalTestExpression__ExpAssignment_0) -{ after(grammarAccess.getConditionalTestExpressionAccess().getExpAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__ConditionalTestExpression__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConditionalTestExpression__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ConditionalTestExpression__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getConditionalTestExpressionAccess().getGroup_1()); } -(rule__ConditionalTestExpression__Group_1__0)? -{ after(grammarAccess.getConditionalTestExpressionAccess().getGroup_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__ConditionalTestExpression__Group_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConditionalTestExpression__Group_1__0__Impl - rule__ConditionalTestExpression__Group_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConditionalTestExpression__Group_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getConditionalTestExpressionAccess().getQuestionMarkKeyword_1_0()); } - - '?' - -{ after(grammarAccess.getConditionalTestExpressionAccess().getQuestionMarkKeyword_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__ConditionalTestExpression__Group_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConditionalTestExpression__Group_1__1__Impl - rule__ConditionalTestExpression__Group_1__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConditionalTestExpression__Group_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getConditionalTestExpressionAccess().getWhenTrueAssignment_1_1()); } -(rule__ConditionalTestExpression__WhenTrueAssignment_1_1) -{ after(grammarAccess.getConditionalTestExpressionAccess().getWhenTrueAssignment_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__ConditionalTestExpression__Group_1__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConditionalTestExpression__Group_1__2__Impl - rule__ConditionalTestExpression__Group_1__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConditionalTestExpression__Group_1__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getConditionalTestExpressionAccess().getColonKeyword_1_2()); } - - ':' - -{ after(grammarAccess.getConditionalTestExpressionAccess().getColonKeyword_1_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__ConditionalTestExpression__Group_1__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConditionalTestExpression__Group_1__3__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ConditionalTestExpression__Group_1__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getConditionalTestExpressionAccess().getWhenFalseAssignment_1_3()); } -(rule__ConditionalTestExpression__WhenFalseAssignment_1_3) -{ after(grammarAccess.getConditionalTestExpressionAccess().getWhenFalseAssignment_1_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - -rule__ConditionalOrExpression__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConditionalOrExpression__Group__0__Impl - rule__ConditionalOrExpression__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConditionalOrExpression__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getConditionalOrExpressionAccess().getExpAssignment_0()); } -(rule__ConditionalOrExpression__ExpAssignment_0) -{ after(grammarAccess.getConditionalOrExpressionAccess().getExpAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__ConditionalOrExpression__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConditionalOrExpression__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ConditionalOrExpression__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getConditionalOrExpressionAccess().getGroup_1()); } -(rule__ConditionalOrExpression__Group_1__0)* -{ after(grammarAccess.getConditionalOrExpressionAccess().getGroup_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__ConditionalOrExpression__Group_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConditionalOrExpression__Group_1__0__Impl - rule__ConditionalOrExpression__Group_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConditionalOrExpression__Group_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getConditionalOrExpressionAccess().getVerticalLineVerticalLineKeyword_1_0()); } - - '||' - -{ after(grammarAccess.getConditionalOrExpressionAccess().getVerticalLineVerticalLineKeyword_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__ConditionalOrExpression__Group_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConditionalOrExpression__Group_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ConditionalOrExpression__Group_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getConditionalOrExpressionAccess().getExpAssignment_1_1()); } -(rule__ConditionalOrExpression__ExpAssignment_1_1) -{ after(grammarAccess.getConditionalOrExpressionAccess().getExpAssignment_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__ConditionalAndExpression__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConditionalAndExpression__Group__0__Impl - rule__ConditionalAndExpression__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConditionalAndExpression__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getConditionalAndExpressionAccess().getExpAssignment_0()); } -(rule__ConditionalAndExpression__ExpAssignment_0) -{ after(grammarAccess.getConditionalAndExpressionAccess().getExpAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__ConditionalAndExpression__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConditionalAndExpression__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ConditionalAndExpression__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getConditionalAndExpressionAccess().getGroup_1()); } -(rule__ConditionalAndExpression__Group_1__0)* -{ after(grammarAccess.getConditionalAndExpressionAccess().getGroup_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__ConditionalAndExpression__Group_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConditionalAndExpression__Group_1__0__Impl - rule__ConditionalAndExpression__Group_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConditionalAndExpression__Group_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getConditionalAndExpressionAccess().getAmpersandAmpersandKeyword_1_0()); } - - '&&' - -{ after(grammarAccess.getConditionalAndExpressionAccess().getAmpersandAmpersandKeyword_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__ConditionalAndExpression__Group_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConditionalAndExpression__Group_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ConditionalAndExpression__Group_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getConditionalAndExpressionAccess().getExpAssignment_1_1()); } -(rule__ConditionalAndExpression__ExpAssignment_1_1) -{ after(grammarAccess.getConditionalAndExpressionAccess().getExpAssignment_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__InclusiveOrExpression__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__InclusiveOrExpression__Group__0__Impl - rule__InclusiveOrExpression__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__InclusiveOrExpression__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getInclusiveOrExpressionAccess().getExpAssignment_0()); } -(rule__InclusiveOrExpression__ExpAssignment_0) -{ after(grammarAccess.getInclusiveOrExpressionAccess().getExpAssignment_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__InclusiveOrExpression__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__InclusiveOrExpression__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__InclusiveOrExpression__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getInclusiveOrExpressionAccess().getGroup_1()); } -(rule__InclusiveOrExpression__Group_1__0)* -{ after(grammarAccess.getInclusiveOrExpressionAccess().getGroup_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__InclusiveOrExpression__Group_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__InclusiveOrExpression__Group_1__0__Impl - rule__InclusiveOrExpression__Group_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__InclusiveOrExpression__Group_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getInclusiveOrExpressionAccess().getVerticalLineKeyword_1_0()); } - - '|' - -{ after(grammarAccess.getInclusiveOrExpressionAccess().getVerticalLineKeyword_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__InclusiveOrExpression__Group_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__InclusiveOrExpression__Group_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__InclusiveOrExpression__Group_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getInclusiveOrExpressionAccess().getExpAssignment_1_1()); } -(rule__InclusiveOrExpression__ExpAssignment_1_1) -{ after(grammarAccess.getInclusiveOrExpressionAccess().getExpAssignment_1_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__ExclusiveOrExpression__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ExclusiveOrExpression__Group__0__Impl - rule__ExclusiveOrExpression__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ExclusiveOrExpression__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getExclusiveOrExpressionAccess().getExpAssignment |