Changeset 25030 in osm for applications/editors/josm
- Timestamp:
- 2011-01-12T07:53:25+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/simplifyarea
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/simplifyarea/.settings/org.eclipse.jdt.core.prefs
r21870 r25030 1 # Thu Jun 03 21:07:23 CEST 20101 #Wed Jan 12 07:52:11 CET 2011 2 2 eclipse.preferences.version=1 3 3 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled … … 11 11 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 12 org.eclipse.jdt.core.compiler.source=1.6 13 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false 14 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 15 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 17 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 18 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 19 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 20 org.eclipse.jdt.core.formatter.alignment_for_assignment=0 21 org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 22 org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 23 org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 24 org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 25 org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 26 org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 27 org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 28 org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 29 org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 30 org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 31 org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 32 org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 33 org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 34 org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 35 org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 36 org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 37 org.eclipse.jdt.core.formatter.blank_lines_after_package=1 38 org.eclipse.jdt.core.formatter.blank_lines_before_field=0 39 org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 40 org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 41 org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 42 org.eclipse.jdt.core.formatter.blank_lines_before_method=1 43 org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 44 org.eclipse.jdt.core.formatter.blank_lines_before_package=0 45 org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 46 org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 47 org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line 48 org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line 49 org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line 50 org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line 51 org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line 52 org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line 53 org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line 54 org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line 55 org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line 56 org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line 57 org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line 58 org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false 59 org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false 60 org.eclipse.jdt.core.formatter.comment.format_block_comments=true 61 org.eclipse.jdt.core.formatter.comment.format_header=false 62 org.eclipse.jdt.core.formatter.comment.format_html=true 63 org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true 64 org.eclipse.jdt.core.formatter.comment.format_line_comments=false 65 org.eclipse.jdt.core.formatter.comment.format_source_code=true 66 org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true 67 org.eclipse.jdt.core.formatter.comment.indent_root_tags=true 68 org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert 69 org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert 70 org.eclipse.jdt.core.formatter.comment.line_length=200 71 org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true 72 org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true 73 org.eclipse.jdt.core.formatter.compact_else_if=true 74 org.eclipse.jdt.core.formatter.continuation_indentation=2 75 org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 76 org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off 77 org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on 78 org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false 79 org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true 80 org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true 81 org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true 82 org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true 83 org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true 84 org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true 85 org.eclipse.jdt.core.formatter.indent_empty_lines=false 86 org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true 87 org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true 88 org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true 89 org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false 90 org.eclipse.jdt.core.formatter.indentation.size=4 91 org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert 92 org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert 93 org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert 94 org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert 95 org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert 96 org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert 97 org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert 98 org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert 99 org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert 100 org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert 101 org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert 102 org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert 103 org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert 104 org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert 105 org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert 106 org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert 107 org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert 108 org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert 109 org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert 110 org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert 111 org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert 112 org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert 113 org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert 114 org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert 115 org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert 116 org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert 117 org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert 118 org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert 119 org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert 120 org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert 121 org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert 122 org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert 123 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert 124 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert 125 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert 126 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert 127 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert 128 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert 129 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert 130 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert 131 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert 132 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert 133 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert 134 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert 135 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert 136 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert 137 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert 138 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert 139 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert 140 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert 141 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert 142 org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert 143 org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert 144 org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert 145 org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert 146 org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert 147 org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert 148 org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert 149 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert 150 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert 151 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert 152 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert 153 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert 154 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert 155 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert 156 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert 157 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert 158 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert 159 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert 160 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert 161 org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert 162 org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert 163 org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert 164 org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert 165 org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert 166 org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert 167 org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert 168 org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert 169 org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert 170 org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert 171 org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert 172 org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert 173 org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert 174 org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert 175 org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert 176 org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert 177 org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert 178 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert 179 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert 180 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert 181 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert 182 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert 183 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert 184 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert 185 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert 186 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert 187 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert 188 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert 189 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert 190 org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert 191 org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert 192 org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert 193 org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert 194 org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert 195 org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert 196 org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert 197 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert 198 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert 199 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert 200 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert 201 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert 202 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert 203 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert 204 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert 205 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert 206 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert 207 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert 208 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert 209 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert 210 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert 211 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert 212 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert 213 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert 214 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert 215 org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert 216 org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert 217 org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert 218 org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert 219 org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert 220 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert 221 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert 222 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert 223 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert 224 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert 225 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert 226 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert 227 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert 228 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert 229 org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert 230 org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert 231 org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert 232 org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert 233 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert 234 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert 235 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert 236 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert 237 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert 238 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert 239 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert 240 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert 241 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert 242 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert 243 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert 244 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert 245 org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert 246 org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert 247 org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert 248 org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert 249 org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert 250 org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert 251 org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert 252 org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert 253 org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert 254 org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert 255 org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert 256 org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert 257 org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert 258 org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert 259 org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert 260 org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert 261 org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert 262 org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert 263 org.eclipse.jdt.core.formatter.join_lines_in_comments=true 264 org.eclipse.jdt.core.formatter.join_wrapped_lines=true 265 org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false 266 org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false 267 org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false 268 org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false 269 org.eclipse.jdt.core.formatter.lineSplit=200 270 org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false 271 org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=true 272 org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 273 org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1 274 org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true 275 org.eclipse.jdt.core.formatter.tabulation.char=space 276 org.eclipse.jdt.core.formatter.tabulation.size=4 277 org.eclipse.jdt.core.formatter.use_on_off_tags=false 278 org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=true 279 org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true 280 org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true -
applications/editors/josm/plugins/simplifyarea/src/sk/zdila/josm/plugin/simplify/SimplifyAreaAction.java
r25007 r25030 76 76 Main.parent, 77 77 "<html>" + trn("The selected way has nodes outside of the downloaded data region.", "The selected ways have nodes outside of the downloaded data region.", getCurrentDataSet().getSelectedWays().size()) 78 78 + "<br>" + tr("This can lead to nodes being deleted accidentally.") + "<br>" + tr("Do you want to delete them anyway?") + "</html>", 79 79 tr("Delete nodes outside of data regions?"), JOptionPane.WARNING_MESSAGE, null, // no special icon 80 80 options, options[0], null); … … 168 168 * the way to simplify 169 169 */ 170 170 private SequenceCommand simplifyWay(final Way w) { 171 171 final double angleThreshold = Main.pref.getDouble("simplify-area.angle.threshold", 10); 172 172 final double angleFactor = Main.pref.getDouble("simplify-area.angle.factor", 1.0); … … 193 193 194 194 while (true) { 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 195 Node prevNode = null; 196 LatLon coord1 = null; 197 LatLon coord2 = null; 198 199 double minWeight = Double.MAX_VALUE; 200 Node bestMatch = null; 201 202 for (int i = 0, len = nodes.size() + (closed ? 2 : 1); i < len; i++) { 203 final Node n = nodes.get(i % nodes.size()); 204 final LatLon coord3 = n.getCoor(); 205 206 if (coord1 != null) { 207 final double angleWeight = computeConvectAngle(coord1, coord2, coord3) / angleThreshold; 208 final double areaWeight = computeArea(coord1, coord2, coord3) / areaThreshold; 209 final double distanceWeight = Math.abs(crossTrackError(coord1, coord2, coord3)) / distanceThreshold; 210 211 final double weight = isRequiredNode(w, prevNode) || 212 !closed && i == len - 1 || // don't remove last node of the not closed way 213 angleWeight > 1.0 || areaWeight > 1.0 || distanceWeight > 1.0 ? Double.MAX_VALUE : 214 angleWeight * angleFactor + areaWeight * areaFactor + distanceWeight * distanceFactor; 215 216 if (weight < minWeight) { 217 minWeight = weight; 218 bestMatch = prevNode; 219 } 220 } 221 222 coord1 = coord2; 223 coord2 = coord3; 224 prevNode = n; 225 } 226 227 if (bestMatch == null) { 228 break; 229 } 230 231 nodes.remove(bestMatch); 232 232 } 233 233 … … 237 237 final Map<Node, LatLon> coordMap = new HashMap<Node, LatLon>(); 238 238 for (final Node n : nodes) { 239 239 coordMap.put(n, n.getCoor()); 240 240 } 241 241 … … 243 243 244 244 while (true) { 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 245 double minDist = Double.MAX_VALUE; 246 Node node1 = null; 247 Node node2 = null; 248 249 for (int i = 0, len = nodes.size() + (closed ? 2 : 1); i < len; i++) { 250 final Node n1 = nodes.get(i % nodes.size()); 251 final Node n2 = nodes.get((i + 1) % nodes.size()); 252 253 if (isRequiredNode(w, n1) || isRequiredNode(w, n2)) { 254 continue; 255 } 256 257 final double dist = coordMap.get(n1).greatCircleDistance(coordMap.get(n2)); 258 if (dist < minDist && dist < mergeThreshold) { 259 minDist = dist; 260 node1 = n1; 261 node2 = n2; 262 } 263 } 264 265 if (node1 == null || node2 == null) { 266 break; 267 } 268 269 270 final LatLon coord = coordMap.get(node1).getCenter(coordMap.get(node2)); 271 coordMap.put(node1, coord); 272 moveCommandList.put(node1, new MoveCommand(node1, coord)); 273 274 nodes.remove(node2); 275 coordMap.remove(node2); 276 moveCommandList.remove(node2); 277 277 } 278 278 … … 301 301 302 302 public static double computeConvectAngle(final LatLon coord1, final LatLon coord2, final LatLon coord3) { 303 304 303 final double angle = Math.abs(heading(coord2, coord3) - heading(coord1, coord2)); 304 return Math.toDegrees(angle < Math.PI ? angle : 2 * Math.PI - angle); 305 305 } 306 306 … … 314 314 315 315 final double q = p * (p - a) * (p - b) * (p - c); // I found this negative in one case (:-o) when nodes were in line on a small area 316 316 return q < 0.0 ? 0.0 : Math.sqrt(q); 317 317 } 318 318 … … 327 327 public static double heading(final LatLon a, final LatLon b) { 328 328 double hd = Math.atan2(sin(toRadians(a.lon() - b.lon())) * cos(toRadians(b.lat())), 329 330 329 cos(toRadians(a.lat())) * sin(toRadians(b.lat())) - 330 sin(toRadians(a.lat())) * cos(toRadians(b.lat())) * cos(toRadians(a.lon() - b.lon()))); 331 331 hd %= 2 * Math.PI; 332 332 if (hd < 0) {
Note:
See TracChangeset
for help on using the changeset viewer.