diff options
author | Eike Stepper | 2011-06-22 17:47:28 +0000 |
---|---|---|
committer | Eike Stepper | 2011-06-22 17:47:28 +0000 |
commit | a729cd08057efcadd3fd0a62aebce4e71a7ccc36 (patch) | |
tree | b1b2cb605b72ab0badca9242b2c81e162ad35099 | |
parent | da42d2d03c4667c75c8eba29bfb162faa8f3fe59 (diff) | |
download | cdo-a729cd08057efcadd3fd0a62aebce4e71a7ccc36.tar.gz cdo-a729cd08057efcadd3fd0a62aebce4e71a7ccc36.tar.xz cdo-a729cd08057efcadd3fd0a62aebce4e71a7ccc36.zip |
30 files changed, 0 insertions, 1711 deletions
diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/.classpath b/plugins/org.eclipse.emf.cdo.examples.server.rap/.classpath deleted file mode 100644 index 64c5e31b7a..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/.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/J2SE-1.5"/> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="src" path="src"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/.cvsignore b/plugins/org.eclipse.emf.cdo.examples.server.rap/.cvsignore deleted file mode 100644 index 6ffb221cca..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/.cvsignore +++ /dev/null @@ -1,3 +0,0 @@ -bin -doc -text diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/.project b/plugins/org.eclipse.emf.cdo.examples.server.rap/.project deleted file mode 100644 index e90c1dedb7..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/.project +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.emf.cdo.examples.server.rap</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/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index a1cef9a448..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,3 +0,0 @@ -#Thu Dec 18 13:30:26 CET 2008 -eclipse.preferences.version=1 -encoding//model/org.eclipse.emf.cdo.defs.ecorediag=UTF-8 diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0068f1bdde..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,360 +0,0 @@ -#Thu Feb 04 09:44:24 CET 2010 -eclipse.preferences.version=1 -org.eclipse.jdt.core.codeComplete.argumentPrefixes= -org.eclipse.jdt.core.codeComplete.argumentSuffixes= -org.eclipse.jdt.core.codeComplete.fieldPrefixes= -org.eclipse.jdt.core.codeComplete.fieldSuffixes= -org.eclipse.jdt.core.codeComplete.localPrefixes= -org.eclipse.jdt.core.codeComplete.localSuffixes= -org.eclipse.jdt.core.codeComplete.staticFieldPrefixes= -org.eclipse.jdt.core.codeComplete.staticFieldSuffixes= -org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes= -org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes= -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.5 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.doc.comment.support=enabled -org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.autoboxing=ignore -org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning -org.eclipse.jdt.core.compiler.problem.deadCode=warning -org.eclipse.jdt.core.compiler.problem.deprecation=warning -org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled -org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled -org.eclipse.jdt.core.compiler.problem.discouragedReference=warning -org.eclipse.jdt.core.compiler.problem.emptyStatement=warning -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning -org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled -org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore -org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning -org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning -org.eclipse.jdt.core.compiler.problem.forbiddenReference=error -org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning -org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning -org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore -org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore -org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning -org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled -org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled -org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled -org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=public -org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore -org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning -org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore -org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning -org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore -org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled -org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public -org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag -org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore -org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled -org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning -org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled -org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning -org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=warning -org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning -org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning -org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore -org.eclipse.jdt.core.compiler.problem.nullReference=warning -org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning -org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore -org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning -org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore -org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning -org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning -org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore -org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled -org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning -org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled -org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore -org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning -org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning -org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore -org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning -org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore -org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning -org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled -org.eclipse.jdt.core.compiler.problem.unusedImport=warning -org.eclipse.jdt.core.compiler.problem.unusedLabel=warning -org.eclipse.jdt.core.compiler.problem.unusedLocal=warning -org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore -org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled -org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled -org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning -org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning -org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.5 -org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled -org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,HIGH,LOW,LOW,LOW,LOW,LOW -org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX,PERF,MEM,POLISH,@generated NOT,@ADDED -org.eclipse.jdt.core.formatter.align_type_members_on_columns=false -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_assignment=0 -org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 -org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 -org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 -org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 -org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 -org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_after_package=1 -org.eclipse.jdt.core.formatter.blank_lines_before_field=1 -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=next_line -org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=next_line -org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block=next_line -org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=next_line -org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=next_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=next_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=next_line -org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=next_line -org.eclipse.jdt.core.formatter.brace_position_for_switch=next_line -org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=next_line -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=true -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true -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=120 -org.eclipse.jdt.core.formatter.compact_else_if=true -org.eclipse.jdt.core.formatter.continuation_indentation=2 -org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true -org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_empty_lines=false -org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true -org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false -org.eclipse.jdt.core.formatter.indentation.size=2 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=insert -org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=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=insert -org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=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=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=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_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert -org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.join_lines_in_comments=true -org.eclipse.jdt.core.formatter.join_wrapped_lines=true -org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false -org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false -org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false -org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false -org.eclipse.jdt.core.formatter.lineSplit=120 -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=1 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true -org.eclipse.jdt.core.formatter.tabulation.char=space -org.eclipse.jdt.core.formatter.tabulation.size=2 -org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false -org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index 51145884f6..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,120 +0,0 @@ -#Thu Feb 04 09:44:24 CET 2010 -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=true -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_to_enhanced_for_loop=false -cleanup.correct_indentation=true -cleanup.format_source_code=true -cleanup.format_source_code_changes_only=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=true -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=false -cleanup.qualify_static_method_accesses_with_declaring_class=false -cleanup.remove_private_constructors=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_blocks=true -cleanup.use_blocks_only_for_return_and_throw=false -cleanup.use_parentheses_in_expressions=true -cleanup.use_this_for_non_static_field_access=true -cleanup.use_this_for_non_static_field_access_only_if_necessary=true -cleanup.use_this_for_non_static_method_access=true -cleanup.use_this_for_non_static_method_access_only_if_necessary=true -cleanup_profile=_EMFT -cleanup_settings_version=2 -eclipse.preferences.version=1 -editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true -formatter_profile=_EMFT -formatter_settings_version=11 -org.eclipse.jdt.ui.exception.name=ex -org.eclipse.jdt.ui.gettersetter.use.is=true -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=org.eclipse.emf.cdo;org.eclipse.emf.internal.cdo;org.eclipse.net4j;org.eclipse.internal.net4j;org.eclipse.emf;org.eclipse;com;org;javax;java; -org.eclipse.jdt.ui.javadoc=true -org.eclipse.jdt.ui.keywordthis=false -org.eclipse.jdt.ui.ondemandthreshold=99 -org.eclipse.jdt.ui.overrideannotation=true -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\="false" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment"/><template autoinsert\="false" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment"/><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"/><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">/**\r\n * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) and others.\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 * Eike Stepper - initial API and implementation\r\n */</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author Eike Stepper\r\n */</template><template autoinsert\="false" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment"/><template autoinsert\="false" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment"/><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"/><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"/><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}\r\n${package_declaration}\r\n\r\n${typecomment}\r\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">\r\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">\r\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">\r\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">\r\n</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">${exception_var}.printStackTrace();</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">${body_statement}</template><template autoinsert\="false" 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}</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> -sp_cleanup.add_default_serial_version_id=true -sp_cleanup.add_generated_serial_version_id=false -sp_cleanup.add_missing_annotations=true -sp_cleanup.add_missing_deprecated_annotations=true -sp_cleanup.add_missing_methods=false -sp_cleanup.add_missing_nls_tags=false -sp_cleanup.add_missing_override_annotations=true -sp_cleanup.add_missing_override_annotations_interface_methods=false -sp_cleanup.add_serial_version_id=false -sp_cleanup.always_use_blocks=true -sp_cleanup.always_use_parentheses_in_expressions=false -sp_cleanup.always_use_this_for_non_static_field_access=false -sp_cleanup.always_use_this_for_non_static_method_access=false -sp_cleanup.convert_to_enhanced_for_loop=false -sp_cleanup.correct_indentation=true -sp_cleanup.format_source_code=true -sp_cleanup.format_source_code_changes_only=false -sp_cleanup.make_local_variable_final=false -sp_cleanup.make_parameters_final=false -sp_cleanup.make_private_fields_final=true -sp_cleanup.make_type_abstract_if_missing_method=false -sp_cleanup.make_variable_declarations_final=false -sp_cleanup.never_use_blocks=false -sp_cleanup.never_use_parentheses_in_expressions=true -sp_cleanup.on_save_use_additional_actions=true -sp_cleanup.organize_imports=true -sp_cleanup.qualify_static_field_accesses_with_declaring_class=false -sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true -sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true -sp_cleanup.qualify_static_member_accesses_with_declaring_class=false -sp_cleanup.qualify_static_method_accesses_with_declaring_class=false -sp_cleanup.remove_private_constructors=true -sp_cleanup.remove_trailing_whitespaces=true -sp_cleanup.remove_trailing_whitespaces_all=true -sp_cleanup.remove_trailing_whitespaces_ignore_empty=false -sp_cleanup.remove_unnecessary_casts=true -sp_cleanup.remove_unnecessary_nls_tags=true -sp_cleanup.remove_unused_imports=true -sp_cleanup.remove_unused_local_variables=false -sp_cleanup.remove_unused_private_fields=true -sp_cleanup.remove_unused_private_members=false -sp_cleanup.remove_unused_private_methods=true -sp_cleanup.remove_unused_private_types=true -sp_cleanup.sort_members=false -sp_cleanup.sort_members_all=false -sp_cleanup.use_blocks=true -sp_cleanup.use_blocks_only_for_return_and_throw=false -sp_cleanup.use_parentheses_in_expressions=true -sp_cleanup.use_this_for_non_static_field_access=true -sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true -sp_cleanup.use_this_for_non_static_method_access=true -sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.ltk.core.refactoring.prefs b/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.ltk.core.refactoring.prefs deleted file mode 100644 index 864e30fe5d..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.ltk.core.refactoring.prefs +++ /dev/null @@ -1,3 +0,0 @@ -#Thu Feb 04 09:44:24 CET 2010 -eclipse.preferences.version=1 -org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.mylyn.tasks.ui.prefs b/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.mylyn.tasks.ui.prefs deleted file mode 100644 index b050639a54..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.mylyn.tasks.ui.prefs +++ /dev/null @@ -1,4 +0,0 @@ -#Thu Feb 04 09:44:24 CET 2010 -eclipse.preferences.version=1 -project.repository.kind=bugzilla -project.repository.url=https\://bugs.eclipse.org/bugs diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.mylyn.team.ui.prefs b/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.mylyn.team.ui.prefs deleted file mode 100644 index 2f50f36c0c..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.mylyn.team.ui.prefs +++ /dev/null @@ -1,3 +0,0 @@ -#Thu Feb 04 09:44:24 CET 2010 -commit.comment.template=[${task.id}] ${task.description} \r\n${task.url} -eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.pde.api.tools.prefs b/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.pde.api.tools.prefs deleted file mode 100644 index bf3053a36e..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.pde.api.tools.prefs +++ /dev/null @@ -1,94 +0,0 @@ -#Thu Feb 04 09:44:24 CET 2010 -ANNOTATION_ELEMENT_TYPE_ADDED_METHOD_WITHOUT_DEFAULT_VALUE=Error -ANNOTATION_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error -ANNOTATION_ELEMENT_TYPE_REMOVED_FIELD=Error -ANNOTATION_ELEMENT_TYPE_REMOVED_METHOD=Error -ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error -API_COMPONENT_ELEMENT_TYPE_REMOVED_API_TYPE=Error -API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_API_TYPE=Error -API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_TYPE=Error -API_COMPONENT_ELEMENT_TYPE_REMOVED_TYPE=Error -CLASS_ELEMENT_TYPE_ADDED_METHOD=Error -CLASS_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error -CLASS_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error -CLASS_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error -CLASS_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error -CLASS_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error -CLASS_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error -CLASS_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error -CLASS_ELEMENT_TYPE_REMOVED_CONSTRUCTOR=Error -CLASS_ELEMENT_TYPE_REMOVED_FIELD=Error -CLASS_ELEMENT_TYPE_REMOVED_METHOD=Error -CLASS_ELEMENT_TYPE_REMOVED_SUPERCLASS=Error -CLASS_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error -CLASS_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error -CONSTRUCTOR_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error -CONSTRUCTOR_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error -CONSTRUCTOR_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error -CONSTRUCTOR_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error -ENUM_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error -ENUM_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error -ENUM_ELEMENT_TYPE_REMOVED_ENUM_CONSTANT=Error -ENUM_ELEMENT_TYPE_REMOVED_FIELD=Error -ENUM_ELEMENT_TYPE_REMOVED_METHOD=Error -ENUM_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error -FIELD_ELEMENT_TYPE_ADDED_VALUE=Error -FIELD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error -FIELD_ELEMENT_TYPE_CHANGED_FINAL_TO_NON_FINAL_STATIC_CONSTANT=Error -FIELD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error -FIELD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error -FIELD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error -FIELD_ELEMENT_TYPE_CHANGED_TYPE=Error -FIELD_ELEMENT_TYPE_CHANGED_VALUE=Error -FIELD_ELEMENT_TYPE_REMOVED_TYPE_ARGUMENT=Error -FIELD_ELEMENT_TYPE_REMOVED_VALUE=Error -ILLEGAL_EXTEND=Warning -ILLEGAL_IMPLEMENT=Warning -ILLEGAL_INSTANTIATE=Warning -ILLEGAL_OVERRIDE=Warning -ILLEGAL_REFERENCE=Warning -INTERFACE_ELEMENT_TYPE_ADDED_FIELD=Error -INTERFACE_ELEMENT_TYPE_ADDED_METHOD=Error -INTERFACE_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error -INTERFACE_ELEMENT_TYPE_ADDED_SUPER_INTERFACE_WITH_METHODS=Error -INTERFACE_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error -INTERFACE_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error -INTERFACE_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error -INTERFACE_ELEMENT_TYPE_REMOVED_FIELD=Error -INTERFACE_ELEMENT_TYPE_REMOVED_METHOD=Error -INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error -INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error -INVALID_JAVADOC_TAG=Ignore -INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Ignore -LEAK_EXTEND=Warning -LEAK_FIELD_DECL=Warning -LEAK_IMPLEMENT=Warning -LEAK_METHOD_PARAM=Warning -LEAK_METHOD_RETURN_TYPE=Warning -METHOD_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error -METHOD_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error -METHOD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error -METHOD_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error -METHOD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error -METHOD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error -METHOD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error -METHOD_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error -METHOD_ELEMENT_TYPE_REMOVED_ANNOTATION_DEFAULT_VALUE=Error -METHOD_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error -TYPE_PARAMETER_ELEMENT_TYPE_ADDED_CLASS_BOUND=Error -TYPE_PARAMETER_ELEMENT_TYPE_ADDED_INTERFACE_BOUND=Error -TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_CLASS_BOUND=Error -TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_INTERFACE_BOUND=Error -TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_CLASS_BOUND=Error -TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_INTERFACE_BOUND=Error -UNUSED_PROBLEM_FILTERS=Warning -automatically_removed_unused_problem_filters=Enabled -eclipse.preferences.version=1 -incompatible_api_component_version=Error -incompatible_api_component_version_include_major_without_breaking_change=Disabled -incompatible_api_component_version_include_minor_without_api_change=Disabled -invalid_since_tag_version=Error -malformed_since_tag=Error -missing_since_tag=Error -report_api_breakage_when_major_version_incremented=Disabled -report_resolution_errors_api_component=Warning diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.pde.prefs deleted file mode 100644 index c6b96bb45e..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/.settings/org.eclipse.pde.prefs +++ /dev/null @@ -1,31 +0,0 @@ -#Thu Feb 04 09:44:24 CET 2010 -compilers.f.unresolved-features=1 -compilers.f.unresolved-plugins=1 -compilers.incompatible-environment=1 -compilers.p.build=1 -compilers.p.build.bin.includes=1 -compilers.p.build.java.compliance=1 -compilers.p.build.missing.output=2 -compilers.p.build.output.library=1 -compilers.p.build.source.library=1 -compilers.p.build.src.includes=1 -compilers.p.deprecated=1 -compilers.p.discouraged-class=1 -compilers.p.internal=1 -compilers.p.missing-packages=1 -compilers.p.missing-version-export-package=1 -compilers.p.missing-version-import-package=1 -compilers.p.missing-version-require-bundle=1 -compilers.p.no-required-att=0 -compilers.p.not-externalized-att=2 -compilers.p.unknown-attribute=1 -compilers.p.unknown-class=1 -compilers.p.unknown-element=1 -compilers.p.unknown-identifier=1 -compilers.p.unknown-resource=1 -compilers.p.unresolved-ex-points=0 -compilers.p.unresolved-import=0 -compilers.s.create-docs=false -compilers.s.doc-folder=doc -compilers.s.open-tags=1 -eclipse.preferences.version=1 diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/Demo Server.launch b/plugins/org.eclipse.emf.cdo.examples.server.rap/Demo Server.launch deleted file mode 100644 index 61544749ef..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/Demo Server.launch +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<launchConfiguration type="org.eclipse.rap.ui.launch.RAPLauncher"> -<booleanAttribute key="append.args" value="true"/> -<booleanAttribute key="automaticAdd" value="false"/> -<booleanAttribute key="automaticValidate" value="false"/> -<stringAttribute key="bootstrap" value=""/> -<stringAttribute key="checked" value="[NONE]"/> -<booleanAttribute key="clearConfig" value="true"/> -<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/Demo Server"/> -<booleanAttribute key="default" value="true"/> -<booleanAttribute key="default_auto_start" value="true"/> -<intAttribute key="default_start_level" value="4"/> -<booleanAttribute key="includeOptional" value="false"/> -<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog -console"/> -<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/> -<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Declipse.ignoreApp=true -Dosgi.noShutdown=true"/> -<stringAttribute key="org.eclipse.rap.launch.browserMode" value="INTERNAL"/> -<stringAttribute key="org.eclipse.rap.launch.entryPoint" value="server"/> -<stringAttribute key="org.eclipse.rap.launch.libraryVariant" value="STANDARD"/> -<stringAttribute key="org.eclipse.rap.launch.logLevel" value="OFF"/> -<booleanAttribute key="org.eclipse.rap.launch.openBrowser" value="true"/> -<intAttribute key="org.eclipse.rap.launch.port" value="10080"/> -<stringAttribute key="org.eclipse.rap.launch.servletName" value="demo"/> -<intAttribute key="org.eclipse.rap.launch.sessionTimeout" value="0"/> -<booleanAttribute key="org.eclipse.rap.launch.terminatePrevious" value="true"/> -<booleanAttribute key="org.eclipse.rap.launch.useManualPort" value="false"/> -<booleanAttribute key="org.eclipse.rap.launch.useSessionTimeout" value="false"/> -<booleanAttribute key="pde.generated.config" value="true"/> -<stringAttribute key="pde.version" value="3.3"/> -<booleanAttribute key="show_selected_only" value="false"/> -<stringAttribute key="target_bundles" value="org.eclipse.osgi@-1:true,org.eclipse.core.runtime@default:true,org.eclipse.core.runtime.compatibility.registry@default:false,org.eclipse.rap.rwt.q07@default:false,org.eclipse.rap.ui.workbench@default:default,com.ibm.icu@default:default,org.eclipse.equinox.registry@default:default,org.eclipse.emf.ecore.change@default:default,org.eclipse.emf.ecore.xmi@default:default,org.mortbay.jetty.util@default:default,org.eclipse.equinox.app@default:default,org.eclipse.equinox.common@2:true,org.eclipse.equinox.http.registry@default:true,org.eclipse.core.expressions@default:default,org.eclipse.rap.ui.views@default:default,org.eclipse.core.jobs@default:default,org.eclipse.emf.ecore@default:default,javax.servlet@default:default,org.eclipse.equinox.http.servlet@default:true,org.eclipse.osgi.services@default:default,org.eclipse.equinox.preferences@default:default,org.h2@default:default,org.eclipse.help@default:default,org.eclipse.rap.jface@default:default,org.eclipse.rap.ui@default:default,org.eclipse.core.contenttype@default:default,org.eclipse.equinox.http.jetty@default:true,org.eclipse.emf.common@default:default,org.eclipse.core.commands@default:default,org.eclipse.rap.ui.forms@default:default,org.eclipse.rap.rwt@default:default,org.mortbay.jetty.server@default:default"/> -<booleanAttribute key="tracing" value="false"/> -<booleanAttribute key="useCustomFeatures" value="false"/> -<booleanAttribute key="useDefaultConfigArea" value="true"/> -<stringAttribute key="workspace_bundles" value="org.eclipse.emf.cdo.server.db@default:default,org.eclipse.net4j.db.h2@default:default,org.eclipse.emf.cdo.examples.server@default:default,org.eclipse.emf.cdo.server.net4j@default:default,org.eclipse.net4j.tcp@default:default,org.eclipse.net4j.util@default:default,org.eclipse.emf.cdo.server@default:default,org.eclipse.net4j.jvm@default:default,org.eclipse.emf.cdo.examples.server.rap@default:default,org.eclipse.net4j.db@default:default,org.eclipse.net4j@default:default,org.eclipse.emf.cdo@default:default,org.eclipse.emf.cdo.common@default:default"/> -</launchConfiguration> diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.examples.server.rap/META-INF/MANIFEST.MF deleted file mode 100644 index 64f0dded54..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/META-INF/MANIFEST.MF +++ /dev/null @@ -1,22 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: org.eclipse.emf.cdo.examples.server.rap; singleton:=true -Bundle-Version: 3.0.0.qualifier -Bundle-Name: %pluginName -Bundle-Vendor: %providerName -Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Bundle-ClassPath: . -Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)", - org.eclipse.emf.cdo.examples.server;bundle-version="[3.0.0,4.0.0)", - org.eclipse.rap.jface;bundle-version="[1.3.0,2.0.0)", - org.eclipse.rap.rwt;bundle-version="[1.3.0,2.0.0)", - org.eclipse.rap.ui;bundle-version="[1.3.0,2.0.0)", - org.eclipse.rap.ui.views;bundle-version="[1.3.0,2.0.0)", - org.eclipse.rap.ui.workbench;bundle-version="[1.3.0,2.0.0)", - org.eclipse.equinox.http.jetty;bundle-version="[2.0.0,3.0.0)", - org.eclipse.equinox.http.registry;bundle-version="[1.1.0,2.0.0)", - org.eclipse.equinox.http.servlet;bundle-version="[1.1.0,2.0.0)" -Export-Package: org.eclipse.emf.cdo.examples.server.rap;version="3.0.0";x-internal:=true -Bundle-Activator: org.eclipse.emf.cdo.examples.server.rap.Activator -Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/about.html b/plugins/org.eclipse.emf.cdo.examples.server.rap/about.html deleted file mode 100644 index d35d5aed64..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/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>June 5, 2007</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/plugins/org.eclipse.emf.cdo.examples.server.rap/build.properties b/plugins/org.eclipse.emf.cdo.examples.server.rap/build.properties deleted file mode 100644 index 7eae4bb0f9..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/build.properties +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) 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: -# Eike Stepper - initial API and implementation - -# NLS_MESSAGEFORMAT_VAR - -bin.includes = .,\ - META-INF/,\ - plugin.properties,\ - about.html,\ - copyright.txt,\ - plugin.xml,\ - demo-server.product,\ - images/ -jars.compile.order = . -source.. = src/ -output.. = bin/ -src.includes = about.html,\ - copyright.txt diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/config.ini b/plugins/org.eclipse.emf.cdo.examples.server.rap/config.ini deleted file mode 100644 index 4012afb3a1..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/config.ini +++ /dev/null @@ -1,3 +0,0 @@ -#Product Runtime Configuration File -osgi.bundles.defaultStartLevel=4 -osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.core.runtime@start,org.eclipse.equinox.http.jetty@start,org.eclipse.equinox.http.registry@start,org.eclipse.equinox.http.servlet@start diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/copyright.txt b/plugins/org.eclipse.emf.cdo.examples.server.rap/copyright.txt deleted file mode 100644 index 77d945dca6..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/copyright.txt +++ /dev/null @@ -1,8 +0,0 @@ -Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) 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: - Eike Stepper - initial API and implementation
\ No newline at end of file diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/demo-server.product b/plugins/org.eclipse.emf.cdo.examples.server.rap/demo-server.product deleted file mode 100644 index b5b12c443a..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/demo-server.product +++ /dev/null @@ -1,109 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?pde version="3.5"?> - -<product name="Demo Server" useFeatures="false" includeLaunchers="true"> - - <configIni use="default"> - <win32>/org.eclipse.emf.cdo.examples.server.rap/config.ini</win32> - </configIni> - - <launcherArgs> - <programArgs>-clean --console ---launcher.suppressErrors ---launcher.XXMaxPermSize -128M</programArgs> - <vmArgs>-server --Xms64M --Xmx512M --Dorg.osgi.service.http.port=3002 --Dosgi.noShutdown=true --Declipse.ignoreApp=true</vmArgs> - <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac> - </launcherArgs> - - <windowImages/> - - <launcher name="cdo-server"> - <solaris/> - <win useIco="false"> - <bmp/> - </win> - </launcher> - - <vm> - </vm> - - <plugins> - <plugin id="com.ibm.icu"/> - <plugin id="javax.servlet"/> - <plugin id="org.eclipse.core.commands"/> - <plugin id="org.eclipse.core.contenttype"/> - <plugin id="org.eclipse.core.expressions"/> - <plugin id="org.eclipse.core.jobs"/> - <plugin id="org.eclipse.core.net"/> - <plugin id="org.eclipse.core.net.linux.x86" fragment="true"/> - <plugin id="org.eclipse.core.net.linux.x86_64" fragment="true"/> - <plugin id="org.eclipse.core.net.win32.x86" fragment="true"/> - <plugin id="org.eclipse.core.net.win32.x86_64" fragment="true"/> - <plugin id="org.eclipse.core.runtime"/> - <plugin id="org.eclipse.core.runtime.compatibility.auth"/> - <plugin id="org.eclipse.core.runtime.compatibility.registry" fragment="true"/> - <plugin id="org.eclipse.core.variables"/> - <plugin id="org.eclipse.emf.cdo"/> - <plugin id="org.eclipse.emf.cdo.common"/> - <plugin id="org.eclipse.emf.cdo.examples.server"/> - <plugin id="org.eclipse.emf.cdo.examples.server.rap"/> - <plugin id="org.eclipse.emf.cdo.server"/> - <plugin id="org.eclipse.emf.cdo.server.db"/> - <plugin id="org.eclipse.emf.cdo.server.net4j"/> - <plugin id="org.eclipse.emf.common"/> - <plugin id="org.eclipse.emf.ecore"/> - <plugin id="org.eclipse.emf.ecore.change"/> - <plugin id="org.eclipse.emf.ecore.xmi"/> - <plugin id="org.eclipse.equinox.app"/> - <plugin id="org.eclipse.equinox.common"/> - <plugin id="org.eclipse.equinox.http.jetty"/> - <plugin id="org.eclipse.equinox.http.registry"/> - <plugin id="org.eclipse.equinox.http.servlet"/> - <plugin id="org.eclipse.equinox.launcher"/> - <plugin id="org.eclipse.equinox.launcher.cocoa.macosx" fragment="true"/> - <plugin id="org.eclipse.equinox.launcher.cocoa.macosx.x86_64" fragment="true"/> - <plugin id="org.eclipse.equinox.launcher.gtk.linux.ppc" fragment="true"/> - <plugin id="org.eclipse.equinox.launcher.gtk.linux.x86" fragment="true"/> - <plugin id="org.eclipse.equinox.launcher.gtk.linux.x86_64" fragment="true"/> - <plugin id="org.eclipse.equinox.launcher.win32.win32.x86" fragment="true"/> - <plugin id="org.eclipse.equinox.launcher.win32.win32.x86_64" fragment="true"/> - <plugin id="org.eclipse.equinox.preferences"/> - <plugin id="org.eclipse.equinox.registry"/> - <plugin id="org.eclipse.equinox.security"/> - <plugin id="org.eclipse.equinox.security.macosx" fragment="true"/> - <plugin id="org.eclipse.equinox.security.win32.x86" fragment="true"/> - <plugin id="org.eclipse.help"/> - <plugin id="org.eclipse.net4j"/> - <plugin id="org.eclipse.net4j.db"/> - <plugin id="org.eclipse.net4j.db.h2"/> - <plugin id="org.eclipse.net4j.http.common"/> - <plugin id="org.eclipse.net4j.http.server"/> - <plugin id="org.eclipse.net4j.jvm"/> - <plugin id="org.eclipse.net4j.tcp"/> - <plugin id="org.eclipse.net4j.util"/> - <plugin id="org.eclipse.osgi"/> - <plugin id="org.eclipse.osgi.services"/> - <plugin id="org.eclipse.rap.jface"/> - <plugin id="org.eclipse.rap.rwt"/> - <plugin id="org.eclipse.rap.rwt.q07" fragment="true"/> - <plugin id="org.eclipse.rap.ui"/> - <plugin id="org.eclipse.rap.ui.views"/> - <plugin id="org.eclipse.rap.ui.workbench"/> - <plugin id="org.eclipse.update.configurator"/> - <plugin id="org.eclipse.update.core"/> - <plugin id="org.eclipse.update.core.linux" fragment="true"/> - <plugin id="org.eclipse.update.core.win32" fragment="true"/> - <plugin id="org.h2"/> - <plugin id="org.mortbay.jetty.server"/> - <plugin id="org.mortbay.jetty.util"/> - </plugins> - - -</product> diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/images/Logo-CDO.png b/plugins/org.eclipse.emf.cdo.examples.server.rap/images/Logo-CDO.png Binary files differdeleted file mode 100644 index 5cd1e4bf24..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/images/Logo-CDO.png +++ /dev/null diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/images/NewRepository.gif b/plugins/org.eclipse.emf.cdo.examples.server.rap/images/NewRepository.gif Binary files differdeleted file mode 100644 index 3a9dadbf25..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/images/NewRepository.gif +++ /dev/null diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/plugin.properties b/plugins/org.eclipse.emf.cdo.examples.server.rap/plugin.properties deleted file mode 100644 index 934dd29382..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/plugin.properties +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) 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: -# Eike Stepper - initial API and implementation - -pluginName = CDO Model Repository Examples Server -providerName = Eclipse Modeling Project - -extension.name = CDOServer -product.name = CDO Server -product.description = An example of a CDO server diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/plugin.xml b/plugins/org.eclipse.emf.cdo.examples.server.rap/plugin.xml deleted file mode 100644 index 2ecc33889e..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/plugin.xml +++ /dev/null @@ -1,59 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.3"?> -<!-- -Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) 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: -Eike Stepper - initial API and implementation ---> - -<plugin> - - <extension point="org.eclipse.rap.ui.entrypoint" id="org.eclipse.emf.cdo.examples.server.rap.DemoApplication"> - <entrypoint class="org.eclipse.emf.cdo.examples.server.rap.DemoEntryPoint" - id="org.eclipse.emf.cdo.examples.server.rap.Application" parameter="server"/> - </extension> - - <extension point="org.eclipse.ui.perspectives"> - <perspective name="Perspective" class="org.eclipse.emf.cdo.examples.server.rap.DemoPerspective" - id="org.eclipse.emf.cdo.examples.server.rap.perspective"> - </perspective> - </extension> - - <extension point="org.eclipse.ui.views"> - <view name="View" class="org.eclipse.emf.cdo.examples.server.rap.DemoView" - id="org.eclipse.emf.cdo.examples.server.rap.view"> - </view> - </extension> - - <extension point="org.eclipse.ui.perspectiveExtensions"> - <perspectiveExtension targetID="org.eclipse.emf.cdo.examples.server.rap.perspective"> - <view closeable="false" id="org.eclipse.emf.cdo.examples.server.rap.view" minimized="false" moveable="false" - relationship="left" relative="org.eclipse.ui.editorss" showTitle="false" standalone="true" visible="true"> - </view> - </perspectiveExtension> - </extension> - - <extension point="org.eclipse.ui.menus"> - <menuContribution locationURI="menu:org.eclipse.ui.main.menu"> - <menu label="File"> - <command commandId="org.eclipse.ui.file.exit" label="Exit"> - </command> - </menu> - </menuContribution> - </extension> - <extension - point="org.eclipse.rap.ui.branding"> - <branding - defaultEntrypointId="org.eclipse.emf.cdo.examples.server.rap.Application" - id="org.eclipse.emf.cdo.examples.server.rap.branding1" - servletName="demo" - title="CDO Demo Server"> - </branding> - </extension> - -</plugin> diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/Activator.java b/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/Activator.java deleted file mode 100644 index 3bfc7e5909..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/Activator.java +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.examples.server.rap; - -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.ui.plugin.AbstractUIPlugin; - -import org.osgi.framework.BundleContext; - -/** - * The activator class controls the plug-in life cycle. - * - * @author Eike Stepper - */ -public class Activator extends AbstractUIPlugin -{ - public static final String PLUGIN_ID = "org.eclipse.emf.cdo.examples.server.rap"; //$NON-NLS-1$ - - private static Activator plugin; - - public Activator() - { - } - - @Override - public void start(BundleContext context) throws Exception - { - super.start(context); - plugin = this; - } - - @Override - public void stop(BundleContext context) throws Exception - { - plugin = null; - super.stop(context); - } - - public static Activator getDefault() - { - return plugin; - } - - public static ImageDescriptor getImageDescriptor(String path) - { - return imageDescriptorFromPlugin(PLUGIN_ID, path); - } -} diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoActionBarAdvisor.java b/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoActionBarAdvisor.java deleted file mode 100644 index 6c1d6e1795..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoActionBarAdvisor.java +++ /dev/null @@ -1,32 +0,0 @@ -/** - * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.examples.server.rap; - -import org.eclipse.ui.application.ActionBarAdvisor; -import org.eclipse.ui.application.IActionBarConfigurer; - -/** - * An action bar advisor is responsible for creating, adding, and disposing of the actions added to a workbench window. - * Each window will be populated with new actions. - * - * @author Eike Stepper - */ -public class DemoActionBarAdvisor extends ActionBarAdvisor -{ - // Actions - important to allocate these only in makeActions, and then use - // them - // in the fill methods. This ensures that the actions aren't recreated - // when fillActionBars is called with FILL_PROXY. - public DemoActionBarAdvisor(IActionBarConfigurer configurer) - { - super(configurer); - } -} diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoEntryPoint.java b/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoEntryPoint.java deleted file mode 100644 index 3fb76d4ba8..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoEntryPoint.java +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.examples.server.rap; - -import org.eclipse.rwt.lifecycle.IEntryPoint; -import org.eclipse.rwt.lifecycle.UICallBack; -import org.eclipse.swt.widgets.Display; -import org.eclipse.ui.PlatformUI; -import org.eclipse.ui.application.WorkbenchAdvisor; - -/** - * @author Eike Stepper - */ -public class DemoEntryPoint implements IEntryPoint -{ - public int createUI() - { - UICallBack.activate(getClass().getName()); - WorkbenchAdvisor workbenchAdvisor = new DemoWorkbenchAdvisor(); - - Display display = PlatformUI.createDisplay(); - int result = PlatformUI.createAndRunWorkbench(display, workbenchAdvisor); - display.dispose(); - return result; - } -} diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoPerspective.java b/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoPerspective.java deleted file mode 100644 index da25815fde..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoPerspective.java +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.examples.server.rap; - -import org.eclipse.ui.IPageLayout; -import org.eclipse.ui.IPerspectiveFactory; - -/** - * @author Eike Stepper - */ -public class DemoPerspective implements IPerspectiveFactory -{ - public void createInitialLayout(IPageLayout layout) - { - layout.setEditorAreaVisible(false); - layout.setFixed(true); - } -} diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoView.java b/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoView.java deleted file mode 100644 index e5ecd2f6c3..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoView.java +++ /dev/null @@ -1,285 +0,0 @@ -/** - * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.examples.server.rap; - -import org.eclipse.emf.cdo.examples.server.DemoConfiguration; -import org.eclipse.emf.cdo.examples.server.DemoConfiguration.Mode; -import org.eclipse.emf.cdo.examples.server.DemoServer; - -import org.eclipse.jface.dialogs.IDialogConstants; -import org.eclipse.swt.SWT; -import org.eclipse.swt.events.ModifyEvent; -import org.eclipse.swt.events.ModifyListener; -import org.eclipse.swt.events.SelectionAdapter; -import org.eclipse.swt.events.SelectionEvent; -import org.eclipse.swt.graphics.Font; -import org.eclipse.swt.graphics.Image; -import org.eclipse.swt.layout.GridData; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.Button; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Control; -import org.eclipse.swt.widgets.Label; -import org.eclipse.swt.widgets.Text; -import org.eclipse.ui.part.ViewPart; - -/** - * @author Eike Stepper - */ -public class DemoView extends ViewPart implements Runnable -{ - public static final String ID = "org.eclipse.emf.cdo.examples.server.rap.view"; - - private Image logoImage; - - private Image wizban; - - private Font bigFont; - - private Text nameText; - - private Text serverText; - - private Label modeLabel; - - private Label timeoutLabel; - - private DemoConfiguration config; - - private boolean updatingConfig; - - private Thread timeouter = new Thread(this); - - public DemoView() - { - } - - private void init(Composite parent) - { - logoImage = Activator.getImageDescriptor("images/Logo-CDO.png").createImage(); - wizban = Activator.getImageDescriptor("images/NewRepository.gif").createImage(); - bigFont = new Font(parent.getDisplay(), parent.getFont().getFontData()[0].getName(), 24, SWT.BOLD); - } - - @Override - public void dispose() - { - timeouter.interrupt(); - bigFont.dispose(); - wizban.dispose(); - logoImage.dispose(); - super.dispose(); - } - - @Override - public void createPartControl(Composite parent) - { - init(parent); - - GridLayout gridLayout = new GridLayout(2, false); - gridLayout.horizontalSpacing = 30; - gridLayout.marginWidth = 30; - gridLayout.marginHeight = 30; - - Composite composite = new Composite(parent, SWT.NONE); - composite.setLayout(gridLayout); - - Control pane = createPane(composite); - pane.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); - - Label logo = new Label(composite, SWT.NONE); - logo.setImage(logoImage); - logo.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, false, false)); - - timeouter.setDaemon(true); - timeouter.start(); - } - - private Control createPane(Composite parent) - { - Composite pane = new Composite(parent, SWT.NONE); - - { - GridLayout gridLayout = new GridLayout(2, false); - gridLayout.horizontalSpacing = 10; - gridLayout.marginWidth = 0; - gridLayout.marginTop = 16; - gridLayout.marginBottom = 0; - pane.setLayout(gridLayout); - } - - { - Label label = new Label(pane, SWT.NONE); - label.setText("Repository:"); - label.setFont(bigFont); - - GridLayout gridLayout = new GridLayout(2, false); - gridLayout.horizontalSpacing = 10; - gridLayout.marginWidth = 0; - gridLayout.marginHeight = 0; - - Composite composite = new Composite(pane, SWT.NONE); - composite.setLayout(gridLayout); - composite.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false)); - - nameText = new Text(composite, SWT.BORDER); - nameText.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false)); - nameText.setTextLimit(DemoConfiguration.NAME_LENGTH); - nameText.setFont(bigFont); - nameText.addModifyListener(new ModifyListener() - { - public void modifyText(ModifyEvent event) - { - if (!updatingConfig) - { - String name = nameText.getText(); - config = DemoServer.INSTANCE.getConfig(name); - updateConfig(); - } - } - }); - - Button button = new Button(composite, SWT.PUSH); - button.setText("New"); - button.setFont(bigFont); - button.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, false, false)); - button.addSelectionListener(new SelectionAdapter() - { - @Override - public void widgetSelected(SelectionEvent e) - { - NewRepositoryDialog dialog = new NewRepositoryDialog(getSite().getPage(), wizban); - if (dialog.open() == IDialogConstants.OK_ID) - { - Mode mode = dialog.getMode(); - config = DemoServer.INSTANCE.addConfig(mode); - updateConfig(); - } - } - }); - } - - { - Label label = new Label(pane, SWT.NONE); - label.setText("Server:"); - label.setFont(bigFont); - - serverText = new Text(pane, SWT.BORDER); - serverText.setText("tcp://cdo.eclipse.org:" + DemoServer.PORT); - serverText.setVisible(false); - serverText.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false)); - serverText.setFont(bigFont); - } - - { - Label label = new Label(pane, SWT.NONE); - label.setText("Mode:"); - label.setFont(bigFont); - - modeLabel = new Label(pane, SWT.NONE); - modeLabel.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false)); - modeLabel.setFont(bigFont); - } - - { - Label label = new Label(pane, SWT.NONE); - label.setText("Timeout:"); - label.setFont(bigFont); - - timeoutLabel = new Label(pane, SWT.NONE); - timeoutLabel.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false)); - timeoutLabel.setFont(bigFont); - } - - return pane; - } - - @Override - public void setFocus() - { - nameText.setFocus(); - } - - public void run() - { - long lastUpdate = System.currentTimeMillis(); - while (!timeouter.isInterrupted()) - { - long now = System.currentTimeMillis(); - if (now - lastUpdate >= 1000L) - { - timeoutLabel.getDisplay().asyncExec(new Runnable() - { - public void run() - { - updateTimeout(); - } - }); - - lastUpdate = now; - } - - try - { - Thread.sleep(200L); - } - catch (Exception ex) - { - return; - } - } - } - - private void updateConfig() - { - if (!updatingConfig) - { - try - { - updatingConfig = true; - if (config != null) - { - nameText.setText(config.getName()); - serverText.setVisible(true); - modeLabel.setText(config.getMode().toString()); - updateTimeout(); - } - else - { - serverText.setVisible(false); - modeLabel.setText(""); - timeoutLabel.setText(""); - } - } - finally - { - updatingConfig = false; - } - } - } - - private void updateTimeout() - { - if (timeoutLabel != null && config != null) - { - if (config.isActive()) - { - timeoutLabel.setText(config.formatTimeoutMinutes() + " Minutes"); - } - else - { - nameText.setText(""); - config = null; - updateConfig(); - } - } - } -} diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoWorkbenchAdvisor.java b/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoWorkbenchAdvisor.java deleted file mode 100644 index 84e4e86f22..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoWorkbenchAdvisor.java +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.examples.server.rap; - -import org.eclipse.ui.application.IWorkbenchWindowConfigurer; -import org.eclipse.ui.application.WorkbenchAdvisor; -import org.eclipse.ui.application.WorkbenchWindowAdvisor; - -/** - * @author Eike Stepper - */ -public class DemoWorkbenchAdvisor extends WorkbenchAdvisor -{ - private static final String PERSPECTIVE_ID = "org.eclipse.emf.cdo.examples.server.rap.perspective"; - - @Override - public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) - { - return new DemoWorkbenchWindowAdvisor(configurer); - } - - @Override - public String getInitialWindowPerspectiveId() - { - return PERSPECTIVE_ID; - } -} diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoWorkbenchWindowAdvisor.java b/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoWorkbenchWindowAdvisor.java deleted file mode 100644 index 2b465ab6e4..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/DemoWorkbenchWindowAdvisor.java +++ /dev/null @@ -1,52 +0,0 @@ -/** - * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.examples.server.rap; - -import org.eclipse.swt.SWT; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.ui.application.ActionBarAdvisor; -import org.eclipse.ui.application.IActionBarConfigurer; -import org.eclipse.ui.application.IWorkbenchWindowConfigurer; -import org.eclipse.ui.application.WorkbenchWindowAdvisor; - -/** - * @author Eike Stepper - */ -public class DemoWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor -{ - public DemoWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) - { - super(configurer); - } - - @Override - public ActionBarAdvisor createActionBarAdvisor(IActionBarConfigurer configurer) - { - return new DemoActionBarAdvisor(configurer); - } - - @Override - public void preWindowOpen() - { - IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); - configurer.setShellStyle(SWT.NO_TRIM); - configurer.setShowMenuBar(false); - configurer.setShowCoolBar(false); - configurer.setShowStatusLine(false); - } - - @Override - public void postWindowCreate() - { - Shell shell = getWindowConfigurer().getWindow().getShell(); - shell.setMaximized(true); - } -} diff --git a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/NewRepositoryDialog.java b/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/NewRepositoryDialog.java deleted file mode 100644 index 8caf27e6c4..0000000000 --- a/plugins/org.eclipse.emf.cdo.examples.server.rap/src/org/eclipse/emf/cdo/examples/server/rap/NewRepositoryDialog.java +++ /dev/null @@ -1,231 +0,0 @@ -/** - * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) 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: - * Eike Stepper - initial API and implementation - */ -package org.eclipse.emf.cdo.examples.server.rap; - -import org.eclipse.emf.cdo.examples.server.DemoConfiguration; -import org.eclipse.emf.cdo.examples.server.DemoConfiguration.Mode; -import org.eclipse.emf.cdo.examples.server.DemoServer; - -import org.eclipse.jface.dialogs.IDialogConstants; -import org.eclipse.jface.dialogs.TitleAreaDialog; -import org.eclipse.swt.SWT; -import org.eclipse.swt.events.ModifyEvent; -import org.eclipse.swt.events.ModifyListener; -import org.eclipse.swt.graphics.Image; -import org.eclipse.swt.layout.GridData; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.Button; -import org.eclipse.swt.widgets.Combo; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Control; -import org.eclipse.swt.widgets.Label; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.swt.widgets.Text; -import org.eclipse.ui.IWorkbenchPage; - -import java.util.Random; - -/** - * @author Eike Stepper - */ -public class NewRepositoryDialog extends TitleAreaDialog -{ - private IWorkbenchPage page; - - private Image wizban; - - private Calculator calculator = new Calculator(); - - private Text resultText; - - private Label modeLabel; - - private Combo modeCombo; - - private DemoConfiguration.Mode mode; - - public NewRepositoryDialog(IWorkbenchPage page, Image wizban) - { - super(new Shell(page.getWorkbenchWindow().getShell())); - this.page = page; - setShellStyle(getShellStyle() | SWT.APPLICATION_MODAL | SWT.TITLE | SWT.RESIZE); - this.wizban = wizban; - } - - public IWorkbenchPage getPage() - { - return page; - } - - public Mode getMode() - { - return mode; - } - - @Override - protected void configureShell(Shell newShell) - { - super.configureShell(newShell); - newShell.setText("New Repository"); - } - - @Override - protected Control createDialogArea(Composite parent) - { - setTitle("Create a new CDO model repository instance for demo purposes.\nIt will automatically be destroyed after " - + DemoServer.MAX_IDLE_MINUTES + " minutes of inactivity."); - setTitleImage(wizban); - - GridLayout gridLayout = new GridLayout(2, false); - gridLayout.horizontalSpacing = 10; - gridLayout.marginWidth = 10; - gridLayout.marginHeight = 10; - - Composite composite = new Composite(parent, SWT.NONE); - composite.setLayout(gridLayout); - - Label resultLabel = new Label(composite, SWT.NONE); - resultLabel.setText(calculator.toString() + " ="); - - resultText = new Text(composite, SWT.BORDER); - resultText.setTextLimit(5); - resultText.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false)); - resultText.setFocus(); - - modeLabel = new Label(composite, SWT.NONE); - modeLabel.setText("Mode:"); - - modeCombo = new Combo(composite, SWT.BORDER | SWT.READ_ONLY); - for (Mode mode : DemoConfiguration.Mode.values()) - { - modeCombo.add(mode.toString()); - } - - modeCombo.select(0); - - resultText.addModifyListener(new ModifyListener() - { - public void modifyText(ModifyEvent event) - { - boolean smartEnough = resultText.getText().equals(Integer.toString(calculator.getResult())); - setEnablement(smartEnough); - } - }); - - return composite; - } - - @Override - protected Control createButtonBar(Composite parent) - { - Control buttonBar = super.createButtonBar(parent); - setEnablement(false); - return buttonBar; - } - - private void setEnablement(boolean enable) - { - modeLabel.setVisible(enable); - modeCombo.setVisible(enable); - - Button okButton = getButton(IDialogConstants.OK_ID); - if (okButton != null) - { - okButton.setEnabled(enable); - } - } - - @Override - public boolean close() - { - mode = DemoConfiguration.Mode.valueOf(modeCombo.getText()); - return super.close(); - } - - /** - * @author Eike Stepper - */ - private static final class Calculator - { - private int op1; - - private int op2; - - private Operator op; - - private Calculator() - { - Random random = new Random(System.currentTimeMillis()); - op1 = random.nextInt(10) + 1; - op2 = random.nextInt(10) + 1; - Operator[] operators = Operator.values(); - op = operators[random.nextInt(operators.length)]; - } - - public int getResult() - { - return op.solve(op1, op2); - } - - @Override - public String toString() - { - return Integer.toString(op1) + " " + op.getSymbol() + " " + op2; - } - - /** - * @author Eike Stepper - */ - public enum Operator - { - PLUS("+") - { - @Override - public int solve(int op1, int op2) - { - return op1 + op2; - } - }, - - MINUS("-") - { - @Override - public int solve(int op1, int op2) - { - return op1 - op2; - } - }, - - MULTIPLY("*") - { - @Override - public int solve(int op1, int op2) - { - return op1 * op2; - } - }; - - private String symbol; - - private Operator(String symbol) - { - this.symbol = symbol; - } - - public String getSymbol() - { - return symbol; - } - - public abstract int solve(int op1, int op2); - } - } -} |