This commit was manufactured by cvs2svn to create branch 'e_3_3_m_3_0_x'.
Sprout from master 2008-09-18 03:45:55 UTC spingel 'NEW - bug 247775: errors when importing source for wikitext plug-ins'
Delete:
org.eclipse.mylyn.examples.bugzilla/.classpath
org.eclipse.mylyn.examples.bugzilla/.project
org.eclipse.mylyn.examples.bugzilla/.settings/org.eclipse.jdt.core.prefs
org.eclipse.mylyn.examples.bugzilla/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.mylyn.examples.bugzilla/.settings/org.eclipse.mylyn.tasks.ui.prefs
org.eclipse.mylyn.examples.bugzilla/Bugzilla Example.launch
org.eclipse.mylyn.examples.bugzilla/lib/org.eclipse.equinox.common_3.4.0.v20070910.jar
org.eclipse.mylyn.examples.bugzilla/src/org/eclipse/mylyn/internal/examples/bugzilla/Main.java
org.eclipse.mylyn.examples.monitor.study/.classpath
org.eclipse.mylyn.examples.monitor.study/.cvsignore
org.eclipse.mylyn.examples.monitor.study/.project
org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.jdt.core.prefs
org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.jdt.ui.prefs
org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.ltk.core.refactoring.prefs
org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.mylar.tasklist.prefs
org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.mylyn.tasklist.prefs
org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.mylyn.tasks.ui.prefs
org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.pde.prefs
org.eclipse.mylyn.examples.monitor.study/META-INF/MANIFEST.MF
org.eclipse.mylyn.examples.monitor.study/build.properties
org.eclipse.mylyn.examples.monitor.study/doc/study-ethics.html
org.eclipse.mylyn.examples.monitor.study/doc/study-info.html
org.eclipse.mylyn.examples.monitor.study/doc/study-signup.html
org.eclipse.mylyn.examples.monitor.study/icons/eview16/wizard-feedback.gif
org.eclipse.mylyn.examples.monitor.study/plugin.xml
org.eclipse.mylyn.examples.monitor.study/scripts/getUID.cgi
org.eclipse.mylyn.examples.monitor.study/scripts/questionnaire.cgi
org.eclipse.mylyn.examples.monitor.study/scripts/upload.cgi
org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/FeedbackWizard.java
org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/MylynUserStudyExamplePlugin.java
org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/QuestionnaireWizardPage.java
org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/SelectionMonitor.java
org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/SubmitFeedbackPage.java
diff --git a/org.eclipse.mylyn.examples.bugzilla/.classpath b/org.eclipse.mylyn.examples.bugzilla/.classpath
deleted file mode 100644
index 2b1984c..0000000
--- a/org.eclipse.mylyn.examples.bugzilla/.classpath
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry combineaccessrules="false" kind="src" path="/org.eclipse.mylyn.tasks.core"/>
- <classpathentry kind="lib" path="lib/org.eclipse.equinox.common_3.4.0.v20070910.jar"/>
- <classpathentry combineaccessrules="false" kind="src" path="/org.eclipse.mylyn.commons.net"/>
- <classpathentry combineaccessrules="false" kind="src" path="/org.eclipse.mylyn.bugzilla.core"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/org.eclipse.mylyn.examples.bugzilla/.project b/org.eclipse.mylyn.examples.bugzilla/.project
deleted file mode 100644
index c93f4ff..0000000
--- a/org.eclipse.mylyn.examples.bugzilla/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.mylyn.examples.bugzilla</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/org.eclipse.mylyn.examples.bugzilla/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.mylyn.examples.bugzilla/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index e0bcb64..0000000
--- a/org.eclipse.mylyn.examples.bugzilla/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,340 +0,0 @@
-#Thu Apr 24 21:03:23 PDT 2008
-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.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=warning
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
-org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
-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.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=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=error
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
-org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
-org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
-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=ignore
-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.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,NORMAL
-org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX
-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=80
-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=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
-org.eclipse.jdt.core.formatter.comment.format_block_comments=false
-org.eclipse.jdt.core.formatter.comment.format_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=false
-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=4
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_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=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
-org.eclipse.jdt.core.formatter.insert_space_after_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.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=true
-org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=true
-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=tab
-org.eclipse.jdt.core.formatter.tabulation.size=4
-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/org.eclipse.mylyn.examples.bugzilla/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.mylyn.examples.bugzilla/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 5e70d08..0000000
--- a/org.eclipse.mylyn.examples.bugzilla/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,63 +0,0 @@
-#Sat Mar 01 03:38:47 PST 2008
-cleanup_settings_version=2
-eclipse.preferences.version=1
-editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
-formatter_profile=_Mylyn based on Eclipse
-formatter_settings_version=11
-internal.default.compliance=default
-org.eclipse.jdt.ui.exception.name=e
-org.eclipse.jdt.ui.gettersetter.use.is=true
-org.eclipse.jdt.ui.javadoc=false
-org.eclipse.jdt.ui.keywordthis=false
-org.eclipse.jdt.ui.overrideannotation=true
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\n * \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">/**\n * @author ${user}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment"/><template autoinsert\="false" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">/*******************************************************************************\n * Copyright (c) 2004, 2007 Mylyn project committers and others.\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which accompanies this distribution, and is available at\n * http\://www.eclipse.org/legal/epl-v10.html\n *******************************************************************************/\n\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ignore\n${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}\n// ignore</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><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created JavaScript files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\n * \n */</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for vars" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-Jsdoc)\n * ${see_to_overridden}\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created function stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated function stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.wst.jsdt.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.wst.jsdt.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_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=true
-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_variable_declarations_final=true
-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=true
-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=false
-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=false
-sp_cleanup.use_this_for_non_static_field_access=false
-sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
-sp_cleanup.use_this_for_non_static_method_access=false
-sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
diff --git a/org.eclipse.mylyn.examples.bugzilla/.settings/org.eclipse.mylyn.tasks.ui.prefs b/org.eclipse.mylyn.examples.bugzilla/.settings/org.eclipse.mylyn.tasks.ui.prefs
deleted file mode 100644
index 650aa91..0000000
--- a/org.eclipse.mylyn.examples.bugzilla/.settings/org.eclipse.mylyn.tasks.ui.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Sat Dec 15 19:32:21 GMT-08:00 2007
-eclipse.preferences.version=1
-project.repository.kind=bugzilla
-project.repository.url=https\://bugs.eclipse.org/bugs
diff --git a/org.eclipse.mylyn.examples.bugzilla/Bugzilla Example.launch b/org.eclipse.mylyn.examples.bugzilla/Bugzilla Example.launch
deleted file mode 100644
index 2a41b9d..0000000
--- a/org.eclipse.mylyn.examples.bugzilla/Bugzilla Example.launch
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
-<listEntry value="/org.eclipse.mylyn.examples.bugzilla/src/org/eclipse/mylyn/internal/examples/bugzilla/Main.java"/>
-</listAttribute>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
-<listEntry value="1"/>
-</listAttribute>
-<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
-<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.mylyn.internal.examples.bugzilla.Main"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.mylyn.examples.bugzilla"/>
-</launchConfiguration>
diff --git a/org.eclipse.mylyn.examples.bugzilla/lib/org.eclipse.equinox.common_3.4.0.v20070910.jar b/org.eclipse.mylyn.examples.bugzilla/lib/org.eclipse.equinox.common_3.4.0.v20070910.jar
deleted file mode 100644
index b1b8d1a..0000000
--- a/org.eclipse.mylyn.examples.bugzilla/lib/org.eclipse.equinox.common_3.4.0.v20070910.jar
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.mylyn.examples.bugzilla/src/org/eclipse/mylyn/internal/examples/bugzilla/Main.java b/org.eclipse.mylyn.examples.bugzilla/src/org/eclipse/mylyn/internal/examples/bugzilla/Main.java
deleted file mode 100644
index 5ae7dd4..0000000
--- a/org.eclipse.mylyn.examples.bugzilla/src/org/eclipse/mylyn/internal/examples/bugzilla/Main.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Mylyn project committers 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
- *******************************************************************************/
-package org.eclipse.mylyn.internal.examples.bugzilla;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.mylyn.commons.net.AuthenticationCredentials;
-import org.eclipse.mylyn.commons.net.AuthenticationType;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaAttribute;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector;
-import org.eclipse.mylyn.internal.commons.net.CommonsNetPlugin;
-import org.eclipse.mylyn.tasks.core.ITaskMapping;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.core.data.TaskAttribute;
-import org.eclipse.mylyn.tasks.core.data.TaskData;
-
-/**
- * @author Steffen Pingel
- */
-public class Main {
-
- private static final String URL = "https://landfill.bugzilla.org/bugzilla-3.0-branch";
-
- private static final String BUG_ID = "6740";
-
- public static void main(String[] args) {
- // create task repository
- TaskRepository repository = new TaskRepository(BugzillaCorePlugin.CONNECTOR_KIND, URL);
-
- // set repository credentials
- if (args.length >= 2) {
- AuthenticationCredentials credentials = new AuthenticationCredentials(args[0], args[1]);
- repository.setCredentials(AuthenticationType.REPOSITORY, credentials, false);
- }
-
- // create bugzilla connector
- BugzillaRepositoryConnector connector = new BugzillaRepositoryConnector();
-
- try {
- // get a report from repository
- TaskData taskData = connector.getTaskData(repository, BUG_ID, null);
-
- // access task information
- ITaskMapping taskMapping = connector.getTaskMapping(taskData);
- System.out.println("Summary: " + taskMapping.getSummary());
- System.out.println("Priority: " + taskMapping.getPriority());
-
- // access report data via attributes
- TaskAttribute descriptionAttribute = taskData.getRoot().getMappedAttribute(TaskAttribute.COMPONENT);
- System.out.println("Component: " + descriptionAttribute.getValue());
-
- // ...or by Bugzilla keys
- TaskAttribute severityAttribute = taskData.getRoot().getAttribute(BugzillaAttribute.BUG_SEVERITY.getKey());
- System.out.println("Severity: " + severityAttribute.getValue());
-
- // Post modified report to repository
- System.out.print("\nPosting a new comment... ");
- TaskAttribute newCommentAttribute = taskData.getRoot().getMappedAttribute(TaskAttribute.COMMENT_NEW);
- newCommentAttribute.setValue("Hello world.");
- connector.getTaskDataHandler().postTaskData(repository, taskData, null, null);
- System.out.println("done");
- } catch (CoreException e) {
- e.printStackTrace();
- } finally {
- CommonsNetPlugin.getExecutorService().shutdown();
- }
- }
-}
diff --git a/org.eclipse.mylyn.examples.monitor.study/.classpath b/org.eclipse.mylyn.examples.monitor.study/.classpath
deleted file mode 100644
index 2ee098d..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/.classpath
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <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">
- <accessrules>
- <accessrule kind="accessible" pattern="**/internal/**"/>
- </accessrules>
- </classpathentry>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/org.eclipse.mylyn.examples.monitor.study/.cvsignore b/org.eclipse.mylyn.examples.monitor.study/.cvsignore
deleted file mode 100644
index ba077a4..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-bin
diff --git a/org.eclipse.mylyn.examples.monitor.study/.project b/org.eclipse.mylyn.examples.monitor.study/.project
deleted file mode 100644
index 6995b81..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.mylyn.examples.monitor.study</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index aa9e9b4..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,329 +0,0 @@
-#Sat Mar 01 02:52:50 PST 2008
-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.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-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=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-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.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=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=error
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
-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=ignore
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-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.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,NORMAL,NORMAL
-org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX,API
-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=80
-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=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
-org.eclipse.jdt.core.formatter.comment.format_block_comments=false
-org.eclipse.jdt.core.formatter.comment.format_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=false
-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=4
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_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=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
-org.eclipse.jdt.core.formatter.insert_space_after_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.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=true
-org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=true
-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=tab
-org.eclipse.jdt.core.formatter.tabulation.size=4
-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/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 766f9cb..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,63 +0,0 @@
-#Thu Sep 11 16:27:18 PDT 2008
-cleanup_settings_version=2
-eclipse.preferences.version=1
-editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
-formatter_profile=_Mylyn based on Eclipse
-formatter_settings_version=11
-internal.default.compliance=default
-org.eclipse.jdt.ui.exception.name=e
-org.eclipse.jdt.ui.gettersetter.use.is=true
-org.eclipse.jdt.ui.javadoc=false
-org.eclipse.jdt.ui.keywordthis=false
-org.eclipse.jdt.ui.overrideannotation=true
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\r\n * @return the ${bare_field_name}\r\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\r\n * @param ${param} the ${bare_field_name} to set\r\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" 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 * \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 ${user}\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment"/><template autoinsert\="false" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">/*******************************************************************************\r\n * Copyright (c) 2004, 2008 Tasktop Technologies 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 * Tasktop Technologies - initial API and implementation\r\n *******************************************************************************/\r\n\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">// ${todo} Auto-generated catch block\r\n${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">// ignore\r\n${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}\r\n// ignore</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><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\r\n * ${tags}\r\n * ${see_to_target}\r\n */</template><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\r\n * @return the ${bare_field_name}\r\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\r\n * @param ${param} the ${bare_field_name} to set\r\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created JavaScript files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author ${user}\r\n *\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for vars" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-Jsdoc)\r\n * ${see_to_overridden}\r\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\r\n * ${tags}\r\n * ${see_to_target}\r\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.wst.jsdt.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.wst.jsdt.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.wst.jsdt.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.wst.jsdt.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.wst.jsdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\r\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created function stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated function stub\r\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\r\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.wst.jsdt.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.wst.jsdt.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_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=true
-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_variable_declarations_final=true
-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=true
-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=false
-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=false
-sp_cleanup.use_this_for_non_static_field_access=false
-sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
-sp_cleanup.use_this_for_non_static_method_access=false
-sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
diff --git a/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.ltk.core.refactoring.prefs b/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.ltk.core.refactoring.prefs
deleted file mode 100644
index 7ab03bd..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.ltk.core.refactoring.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Fri Jun 02 15:30:09 PDT 2006
-eclipse.preferences.version=1
-org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=true
diff --git a/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.mylar.tasklist.prefs b/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.mylar.tasklist.prefs
deleted file mode 100644
index a6cf96a..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.mylar.tasklist.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Fri Oct 20 16:54:30 PDT 2006
-eclipse.preferences.version=1
-project.repository.kind=bugzilla
-project.repository.url=https\://bugs.eclipse.org/bugs
diff --git a/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.mylyn.tasklist.prefs b/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.mylyn.tasklist.prefs
deleted file mode 100644
index 0a2cc0b..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.mylyn.tasklist.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Mon Jun 18 17:14:59 PDT 2007
-eclipse.preferences.version=1
-project.repository.kind=bugzilla
-project.repository.url=https\://bugs.eclipse.org/bugs
diff --git a/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.mylyn.tasks.ui.prefs b/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.mylyn.tasks.ui.prefs
deleted file mode 100644
index d8c6d26..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.mylyn.tasks.ui.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Mon Jun 25 03:02:37 GMT 2007
-eclipse.preferences.version=1
-project.repository.kind=bugzilla
-project.repository.url=https\://bugs.eclipse.org/bugs
diff --git a/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.pde.prefs b/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index d0bb657..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,24 +0,0 @@
-#Mon May 19 18:14:28 PDT 2008
-compilers.f.unresolved-features=1
-compilers.f.unresolved-plugins=2
-compilers.incompatible-environment=1
-compilers.p.build=1
-compilers.p.deprecated=2
-compilers.p.discouraged-class=2
-compilers.p.internal=1
-compilers.p.missing-bundle-classpath-entries=1
-compilers.p.missing-packages=2
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=2
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=0
-compilers.p.unknown-identifier=1
-compilers.p.unknown-resource=0
-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
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/org.eclipse.mylyn.examples.monitor.study/META-INF/MANIFEST.MF b/org.eclipse.mylyn.examples.monitor.study/META-INF/MANIFEST.MF
deleted file mode 100644
index 1bd2618..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,26 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Mylyn User Study Example
-Bundle-SymbolicName: org.eclipse.mylyn.monitor.study;singleton:=true
-Bundle-Version: 1.0.0
-Bundle-Activator: org.eclipse.mylyn.examples.monitor.study.MylynUserStudyExamplePlugin
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.mylyn.context.core,
- org.eclipse.core.resources,
- org.eclipse.jdt.ui,
- org.eclipse.pde.ui,
- org.eclipse.ui.editors,
- org.eclipse.jdt.core,
- org.eclipse.jface.text,
- org.eclipse.ui.workbench.texteditor,
- org.eclipse.mylyn.monitor.usage,
- org.eclipse.mylyn.monitor.ui,
- org.eclipse.mylyn.monitor.core,
- org.eclipse.mylyn.commons.net,
- org.eclipse.mylyn.commons.core;bundle-version="[3.0.0,4.0.0)"
-Eclipse-AutoStart: true
-Bundle-ClassPath: mylyn-study.jar
-Export-Package: org.eclipse.mylyn.examples.monitor.study
-Bundle-Vendor: Eclipse.org
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
diff --git a/org.eclipse.mylyn.examples.monitor.study/build.properties b/org.eclipse.mylyn.examples.monitor.study/build.properties
deleted file mode 100644
index 4b54f3e..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/build.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-###############################################################################
-# Copyright (c) 2004, 2008 Tasktop Technologies 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
-###############################################################################
-
-bin.includes = META-INF/,\
- doc/,\
- plugin.xml,\
- icons/,\
- mylyn-study.jar
-src.includes = doc/,\
- plugin.xml,\
- icons/,\
- src/
-jars.compile.order = mylyn-study.jar
-source.mylyn-study.jar = src/
diff --git a/org.eclipse.mylyn.examples.monitor.study/doc/study-ethics.html b/org.eclipse.mylyn.examples.monitor.study/doc/study-ethics.html
deleted file mode 100644
index 0efa935..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/doc/study-ethics.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<HTML>
-
-<head>
-<style>
-<!--
- H4 {
- font:15px/16px Verdana, Arial, Helvetica, sans-serif;
- color:black;
- font-weight:bold;
- margin-left: 10px;
- line-height:140%;
- }
--->
-</style>
-</head>
-
-<BODY>
-
-<P>
-<font size="2">Thank you for downloading the preview release of Mylar. As you work Mylar will monitor your interaction
-with Eclipse (by logging IDs of: views, editors, commands, and preference changes along with their values).
-The log also stores information about the program elements that you edit and navigate, but removes identifying
-information about those elements by obfuscating their names and paths. Approximately once every week you will
-be asked to confirm an upload of this interaction log to a UBC server. Before uploading you will have a chance to
-review the information being sent, and to answer a short questionnaire. You will have the option to remain
-anonymous throughout the study.</font></P>
-
-<P>
-<font color="#999999" size="2">Details: The UBC Study title is Using Interaction History to Determine Interesting Information in a Development
-Environment. There are no known risks associated with this study. After the study, this interaction history
-will be stripped of all information identifying non-anonymous subjects, and we will use this data to determine
-what Mylar views are useful, and to determine whether Mylar makes it easier to work on large systems in Eclipse.
-We also plan on making this anonymous usage data available to other researchers interested in improving the
-IDE user experience. Please note that the data collected will be archived for future use. This data will be
-anonymous and not contain any identification information. This study is being conducted by Mik Kersten
-(beatmik@cs.ubc.ca) as a part of his PhD Thesis and supervised by Dr. Gail Murphy (murphy@cs.ubc.ca). If you
-have any questions about the data being collected or about the study in general please email us or call Mik
-Kersten at 604-822-0193. If you have any concerns about your treatment or rights as a research subject, you
-may contact Research Subject Information Line in the UBC Office of Research Services at the University of
-British Columbia, at 604-822-8598. If this questionnaire is completed it will be assumed that consent has
-been given. This study is being funded by the IBM Centre for Advanced Studies and by NSERC.
-</font>
-</P>
-
-</BODY>
-</HEAD>
diff --git a/org.eclipse.mylyn.examples.monitor.study/doc/study-info.html b/org.eclipse.mylyn.examples.monitor.study/doc/study-info.html
deleted file mode 100644
index feb1654..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/doc/study-info.html
+++ /dev/null
@@ -1,65 +0,0 @@
-<HTML>
-
-<head>
-<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
-<meta http-equiv="Content-Language" content="en-us">
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<link rel="STYLESHEET" href="book.css" charset="ISO-8859-1"
- type="text/css">
-<title>Mylar Documentation</title>
-</head>
-
-<BODY>
-
-<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%" id="table1">
- <tr>
- <td>
- <p class="paragraph"><img border="0" src="images/logo-ubc.gif"></td>
- <td>
- <p align="right" class="smallParagraph">UBC Department of Computer
- Science<br>
- 201-2366 Main Mall, Vancouver, B.C., V6T 1Z4<br>
- <a href="http://www.cs.ubc.ca" style="color: #4756AC">
- http://www.cs.ubc.ca</a> <br>
- Tel: (604) 822-3061 Fax: (604) 822-5485</td>
- </tr>
-</table>
-<h4 align="center">Using Interaction History to Determine Interesting
-Information <br>
-in a Development Environment </h4>
-<P>
-Thank you for downloading the preview release of Mylar. As you work Mylar will
-monitor your interaction with Eclipse (by logging IDs of: views, editors,
-commands, and preference changes along with their values). The log also stores
-information about the program elements that you edit and navigate, but removes
-identifying information about those elements by obfuscating their names and
-paths. Approximately once every week you will be asked to confirm an upload of
-this interaction log to a UBC server. Before uploading you will have a chance to
-review the information being sent, and to answer a short questionnaire. You will
-have the option to remain anonymous throughout the study.</P>
-
-<P>
-<font color="#999999">Details: The UBC Study title is Using Interaction History
-to Determine Interesting Information in a Development Environment. There are no
-known risks associated with this study. After the study, this interaction
-history will be stripped of all information identifying non-anonymous subjects,
-and we will use this data to determine what Mylar views are useful, and to
-determine whether Mylar makes it easier to work on large systems in Eclipse. We
-also plan on making this anonymous usage data available to other researchers
-interested in improving the IDE user experience. Please note that the data
-collected will be archived for future use. This data will be anonymous and not
-contain any identification information. This study is being conducted by Mik
-Kersten (beatmik@cs.ubc.ca) as a part of his PhD Thesis and supervised by Dr.
-Gail Murphy (murphy@cs.ubc.ca). If you have any questions about the data being
-collected or about the study in general please email us or call Mik Kersten at
-604-822-0193. If you have any concerns about your treatment or rights as a
-research subject, you may contact Research Subject Information Line in the UBC
-Office of Research Services at the University of British Columbia, at
-604-822-8598. If this questionnaire is completed it will be assumed that consent
-has been given. This study is being funded by the IBM Centre for Advanced
-Studies and by NSERC.
-</font>
-</P>
-
-</BODY>
-</HEAD>
diff --git a/org.eclipse.mylyn.examples.monitor.study/doc/study-signup.html b/org.eclipse.mylyn.examples.monitor.study/doc/study-signup.html
deleted file mode 100644
index 3fc943b..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/doc/study-signup.html
+++ /dev/null
@@ -1,228 +0,0 @@
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>Mylar</title>
-<!--<link rel="stylesheet" href="http://eclipse.org/proposals/eclipse-webtools/templates/eclipse/eclipse.css">
--->
-<STYLE TYPE="text/css">
-<!--
-
-.indextop { font-size: x-large;; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold}
-.indexsub { font-size: xx-small;; font-family: Verdana, Arial, Helvetica, sans-serif; color: #8080FF}
-
- /*
- BODY {margin-top: 15px; margin-left: 15px; margin-right: 15px;}
- */
-
- A:link {
- color:#4756AC;
- }
- A:visited {
- color:#60657B;
- }
- A:hover {
- color:red
- }
-
- INPUT {font:12px "Courier New", sans-serif;}
-
- H2 {
- font:18px/18px Verdana, Arial, Helvetica, sans-serif;
- color:black;
- font-weight:bold;
- margin-left: 10px;
- line-height:110%;
- }
- H3 {
- font:17px/17px Verdana, Arial, Helvetica, sans-serif;
- color:black;
- //font-weight:bold;
- margin-left: 10px;
- line-height:110%;
- }
- H4 {
- font:15px/16px Verdana, Arial, Helvetica, sans-serif;
- color:black;
- font-weight:bold;
- margin-left: 10px;
- line-height:140%;
- }
- P {
- font:13px/13px Verdana, Arial, Helvetica, sans-serif;
- margin-right: 10px;
- margin-left: 10px;
- line-height:130%;
- }
- .paragraph {
- font:13px/13px Verdana, Arial, Helvetica, sans-serif;
- margin-right: 10px;
- margin-left: 10px;
- line-height:130%;
- }
- .smallParagraph {
- font:11px/11px Verdana, Arial, Helvetica, sans-serif;
- margin-right: 10px;
- margin-left: 10px;
- line-height:130%;
- }
- LI {
- font:13px/13px Verdana, Arial, Helvetica, sans-serif;
- text-align:justify;
- margin-right: 10px;
- margin-left: 15px;
- line-height:120%;
- }
- /*
- UL {
- font:13px/13px Verdana, Arial, Helvetica, sans-serif;
- text-align:justify;
- margin-right: 10px;
- margin-left: 15px;
- line-height:120%;
- }*/
-
- DL {
- font:13px/13px Verdana, Arial, Helvetica, sans-serif;
- text-align:justify;
- margin-right: 10px;
- margin-left: 15px;
- line-height:120%;
- }
- B { font:13px/13px Verdana, Arial, Helvetica, sans-serif;
- font-weight:bold;
- line-height:140%;
- }
- .footer {
- font:10px/10px Verdana, Arial, Helvetica, sans-serif;
- color:#888888;
- text-align:left
- }
- .figureTitle {
- font:13px/13px Verdana, Arial, Helvetica, sans-serif;
- text-align:justify;
- text-align:center
- }
- .copyrightNotice {
- font:10px/10px Verdana, Arial, Helvetica, sans-serif;
- color:#999999;
- line-height:110%;
- }
- .smallHeading {
- font:13px/13px Verdana, Arial, Helvetica, sans-serif;
- font-weight:bold;
- line-height:110%;
- }
- .tinyHeading {
- font:11px/11px Verdana, Arial, Helvetica, sans-serif;
- font-weight:bold;
- line-height:120%;
- }
- .newsText {
- font:11px/11px Verdana, Arial, Helvetica, sans-serif;
- line-height:130%;
- }
- .smallParagraph {
- font:11px/11px Verdana, Arial, Helvetica, sans-serif;
- line-height:130%;
- }
- .fancyHeading {
- font:20px/20px Chantilly, Arial, Helvetica, sans-serif;
- margin-right: 10px;
- color:#6f7a92;
- margin-left: 10px;
- line-height:130%;
- }
-
- h2.title_with_border {
- background:#D4D4D4;
- border-top:1px solid #A3A3A3;
- border-bottom:1px solid #A3A3A3;
- border-left:1px solid #A3A3A3;
- border-right:1px solid #A3A3A3;
-
- }
--->
-</STYLE>
-
-</head>
-<body>
-
-<p align="left"><b><i><span style="background-color: #CCCCFF">consent form</span></i></b></p>
-<hr>
-
-<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%" id="table1">
- <tr>
- <td>
- <p class="paragraph"><img border="0" src="ubc.gif"> Page 1 of 1</td>
- <td>
- <p align="right" class="smallParagraph">UBC Department of Computer
- Science<br>
- 201-2366 Main Mall, Vancouver, B.C., V6T 1Z4<br>
- <a href="http://www.cs.ubc.ca">http://www.cs.ubc.ca</a> <br>
- Tel: (604) 822-3061 Fax: (604) 822-5485</td>
- </tr>
-</table>
-<h4 align="center">Using Interaction History to Determine Interesting
-Information <br>
-in a Development Environment </h4>
-<p align="left">Thank you for downloading the preview release of Mylar. As
-you work Mylar will monitor your interaction with Eclipse (by logging IDs
-of: views, editors, commands, and preference changes
-along with their values). The log also stores information about the program
-elements that you edit and navigate, but removes identifying information about
-those elements by obfuscating their names and paths. Approximately once every week you will be asked to confirm an
-upload of this interaction log to a UBC server. Before uploading you will have
-a chance to review the information being sent, and to answer a short
-questionnaire. You will have the option to remain anonymous throughout the study. </p>
-<p>The UBC Study title is: Using Interaction History to Determine Interesting
-Information in a Development Environment. There are no known risks associated
-with this study. After the study, this interaction history will be stripped of
-all information identifying non-anonymous subjects, and we will use this data to
-determine what Mylar views are useful, and to determine whether Mylar makes it
-easier to work on large systems in Eclipse. We also plan on making this
-anonymous usage data available to other researchers interested in improving the
-IDE user experience. Please note that the data collected will be archived for
-future use. This data will be anonymous and not contain any identification
-information. This study is being conducted by Mik Kersten (beatmik@cs.ubc.ca) as
-a part of his PhD Thesis and supervised by Dr. Gail Murphy (murphy@cs.ubc.ca).
-If you have any questions about the data being collected or about the study in
-general please email us or call Mik Kersten at 604-822-0193. If you have
-any concerns about your treatment or rights as a research subject, you may
-contact Research Subject Information Line in the UBC Office of Research
-Services at the University of British Columbia, at 604-822-8598. If this
-questionnaire is completed it will be assumed that consent has been given.
-This study is being funded by the IBM Centre for Advanced Studies and by NSERC.</p>
-<p>By clicking "I Agree" below you acknowledge that you have received this
-consent form, and are consenting to participate in the study. To
-participate please fill in your name, email address, and date. Incomplete
-submissions will be discarded. Note that your name and email address will not be
-associated with the study ID that you are given, should you wish to remain
-anonymous.</p>
-<form method="POST" action="--WEBBOT-SELF--">
- <!--webbot bot="SaveResults" U-File="fpweb:///_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
- <p>Your name: <input type="text" name="T1" size="20"></p>
- <p>Email address: <input type="text" name="T2" size="20"></p>
- <p>Job function:
- <input type="text" name="T4" size="20"> <br>
- <span style="background-color: #CCCCFF">[choices: Application Developer,
- QA/Testing, Program Director, CIO/CTO, VP Development Systems Integrator,
- Application Architect, Project Manager, Student, Faculty, Business Analyst,
- Database Administrator, Other]</span></p>
- <p>Company size:
- <input type="text" name="T5" size="20"><br>
- <span style="background-color: #CCCCFF">[choices: Individual, <50, 50-100,
- 100-500, 500-1000, 1000-2500, >2500]</span></p>
- <p>Company business: <input type="text" name="T6" size="20"><br>
- <span style="background-color: #CCCCFF">[choices: Financial
- service/insurance, Energy, Government, Hardware Manufacturer, Networking,
- Pharmaceutical/Medical, Automotive, Software Manufacturer, Communications,
- Transportation, Retail, Utilities, Other Manufacturing, Academic/Education]</span></p>
- <p>Today's date: <input type="text" name="T3" size="20"></p>
- <p><input type="submit" value="I Agree" name="B1"> </p>
-</form>
-<hr>
-<p><i>Version: May 16, 2005</i></p>
-
-</body>
-
-</html>
\ No newline at end of file
diff --git a/org.eclipse.mylyn.examples.monitor.study/icons/eview16/wizard-feedback.gif b/org.eclipse.mylyn.examples.monitor.study/icons/eview16/wizard-feedback.gif
deleted file mode 100644
index ef565b3..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/icons/eview16/wizard-feedback.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.mylyn.examples.monitor.study/plugin.xml b/org.eclipse.mylyn.examples.monitor.study/plugin.xml
deleted file mode 100644
index 5659c5c..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/plugin.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<?eclipse version="3.0"?>
-<plugin>
-
- <extension
- name="Mylyn User Study Example"
- point="org.eclipse.ui.startup">
- <startup
- class="org.eclipse.mylyn.examples.monitor.study.MylynUserStudyExamplePlugin$MylynUserStudyExampleStartup"></startup>
- </extension>
-
- <extension
- point="org.eclipse.mylyn.monitor.usage.study">
- <scripts
- url="http://my.server"
- upload="upload.cgi"
- userId="getUID.cgi"
- questionnaire="questionnaire.cgi"/>
- <ui
- title="Mylyn User Study Example"
- daysBetweenUpload="6"
- questionnairePage="org.eclipse.mylyn.examples.monitor.study.QuestionnaireWizardPage"
- consentForm="doc/study-ethics.html"/>
- </extension>
-
- <extension point="org.eclipse.ui.newWizards">
- <wizard
- category="org.eclipse.mylyn.ui.wizards.new"
- class="org.eclipse.mylyn.examples.monitor.study.FeedbackWizard"
- icon="icons/eview16/wizard-feedback.gif"
- id="org.eclipse.mylyn.monitor.ui.ui.wizards.FeedbackWizard"
- name="Feedback Submission">
- </wizard>
- </extension>
-
- <extension point="org.eclipse.ui.newWizards">
- <wizard
- category="org.eclipse.mylyn.ui.wizards.new"
- class="org.eclipse.mylyn.internal.monitor.usage.wizards.UsageSubmissionWizard"
- icon="icons/eview16/wizard-feedback.gif"
- id="org.eclipse.mylyn.monitor.ui.ui.uploadStatistics.StatisticsUploadWizard"
- name="Usage Feedback">
- </wizard>
- </extension>
-
-</plugin>
diff --git a/org.eclipse.mylyn.examples.monitor.study/scripts/getUID.cgi b/org.eclipse.mylyn.examples.monitor.study/scripts/getUID.cgi
deleted file mode 100644
index b70a409..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/scripts/getUID.cgi
+++ /dev/null
@@ -1,526 +0,0 @@
-#!/usr/bin/perl -wT
-
-use Fcntl ':flock';
-
-# START USER EDITS
-
-# absolute path to folder files will be uploaded to.
-# WINDOWS users, your path would like something like : images\\uploads
-# UNIX users, your path would like something like : /home/www/images/uploads
-# do not end the path with any slashes and if you're on a UNIX serv, make sure
-# you CHMOD each folder in the path to 777
-
-$lockfileName = ".lock";
-$logFile = "/.../uploadLog.txt";
-$uidMapFile = "/.../mylarUidMap.txt";
-$nextUidFile = "/.../mylarNextUid.txt";
-$allConsentedUsers = "/.../mylarUsers.txt";
-
-# if you would like to be notified of uploads, enter your email address
-# between the SINGLE quotes. leave this blank if you would not like to be notified
-#$notify = '';
-
-# UNIX users, if you entered a value for $notify, you must also enter your
-# server's sendmail path. It usually looks something like : /usr/sbin/sendmail
-#$send_mail_path = "";
-
-# WINDOWS users, if you entered a value for $notify, you must also enter your
-# server's SMTP path. It usually looks something like : mail.servername.com
-#$smtp_path = "";
-
-
-####################################################################
-# END USER EDITS
-####################################################################
-
-$OS = $^O; # operating system name
-if($OS =~ /darwin/i) { $isUNIX = 1; }
-elsif($OS =~ /win/i) { $isWIN = 1; }
-else {$isUNIX = 1;}
-
-if($isWIN){ $S{S} = "\\\\"; }
-else { $S{S} = "/";} # seperator used in paths
-
-use CGI; # load the CGI.pm module
-my $GET = new CGI; # create a new object
-my @VAL = $GET->param; #get all form field names
-
-my($query_string) = "";
-$query_string = $ENV{'QUERY_STRING'};
-
-my($firstName);
-my($lastName);
-my($email_address);
-my($job_function);
-my($company_size);
-my($company_buisness);
-my($anonymousStr);
-my($uid) = -1;
-my($anonymous) = 0;
-my($first);
-my($second);
-my($third);
-my($fourth);
-my($fifth);
-my($sixth);
-my($seventh);
-
-if($query_string =~ m/^(.+)\&(.+)\&(.+)\&(.+)\&(.+)\&(.+)\&(.+)$/)
-{
- $first = $1;
- $second = $2;
- $third = $3;
- $fourth = $4;
- $fifth = $5;
- $sixth = $6;
- $seventh = $7;
-}
-else
-{
- # error, query string is wrong
- print "Content-type: text/plain", "\n";
- print "Status: 501 Not Implemented", "\n\n";
- exit;
-}
-
-if($first =~ m/^firstName\=(.+)$/){
- $firstName = $1;
-}
-elsif($second =~ m/^firstName\=(.+)$/){
- $firstName = $1;
-}
-elsif ($third =~ m/^firstName\=(.+)$/){
- $firstName = $1;
-}
-elsif ($fourth =~ m/^firstName\=(.+)$/){
- $firstName = $1;
-}
-elsif ($fifth =~ m/^firstName\=(.+)$/){
- $firstName = $1;
-}
-elsif ($sixth =~ m/^firstName\=(.+)$/){
- $firstName = $1;
-}
-elsif ($seventh =~ m/^firstName\=(.+)$/){
- $firstName = $1;
-}
-
-if($first =~ m/^lastName\=(.+)$/){
- $lastName = $1;
-}
-elsif($second =~ m/^lastName\=(.+)$/){
- $lastName = $1;
-}
-elsif ($third =~ m/^lastName\=(.+)$/){
- $lastName = $1;
-}
-elsif ($fourth =~ m/^lastName\=(.+)$/){
- $lastName = $1;
-}
-elsif ($fifth =~ m/^lastName\=(.+)$/){
- $lastName = $1;
-}
-elsif ($sixth =~ m/^lastName\=(.+)$/){
- $lastName = $1;
-}
-elsif ($seventh =~ m/^lastName\=(.+)$/){
- $lastName = $1;
-}
-
-if($first =~ m/^email\=(.+)$/){
- $email_address = $1;
-}
-elsif($second =~ m/^email\=(.+)$/){
- $email_address = $1;
-}
-elsif ($third =~ m/^email\=(.+)$/){
- $email_address = $1;
-}
-elsif ($fourth =~ m/^email\=(.+)$/){
- $email_address= $1;
-}
-elsif ($fifth =~ m/^email\=(.+)$/){
- $email_address= $1;
-}
-elsif ($sixth =~ m/^email\=(.+)$/){
- $email_address = $1;
-}
-elsif ($seventh =~ m/^email\=(.+)$/){
- $email_address= $1;
-}
-
-if($first =~ m/^jobFunction\=(.+)$/){
- $job_function = $1;
-}
-elsif($second =~ m/^jobFunction\=(.+)$/){
- $job_function = $1;
-}
-elsif ($third =~ m/^jobFunction\=(.+)$/){
- $job_function = $1;
-}
-elsif ($fourth =~ m/^jobFunction\=(.+)$/){
- $job_function= $1;
-}
-elsif ($fifth =~ m/^jobFunction\=(.+)$/){
- $job_function = $1;
-}
-elsif ($sixth =~ m/^jobFunction\=(.+)$/){
- $job_function = $1;
-}
-elsif ($seventh =~ m/^jobFunction\=(.+)$/){
- $job_function = $1;
-}
-
-if($first =~ m/^companySize\=(.+)$/){
- $company_size = $1;
-}
-elsif($second =~ m/^companySize\=(.+)$/){
- $company_size = $1;
-}
-elsif ($third =~ m/^companySize\=(.+)$/){
- $company_size = $1;
-}
-elsif ($fourth =~ m/^companySize\=(.+)$/){
- $company_size = $1;
-}
-elsif ($fifth =~ m/^companySize\=(.+)$/){
- $company_size = $1;
-}
-elsif ($sixth =~ m/^companySize\=(.+)$/){
- $company_size = $1;
-}
-elsif ($seventh =~ m/^companySize\=(.+)$/){
- $company_size = $1;
-}
-
-if($first =~ m/^companyBuisness\=(.+)$/){
- $company_buisness = $1;
-}
-elsif($second =~ m/^companyBuisness\=(.+)$/){
- $company_buisness = $1;
-}
-elsif ($third =~ m/^companyBuisness\=(.+)$/){
- $company_buisness = $1;
-}
-elsif ($fourth =~ m/^companyBuisness\=(.+)$/){
- $company_buisness = $1;
-}
-elsif ($fifth =~ m/^companyBuisness\=(.+)$/){
- $company_buisness = $1;
-}
-elsif ($sixth =~ m/^companyBuisness\=(.+)$/){
- $company_buisness = $1;
-}
-elsif ($seventh =~ m/^companyBuisness\=(.+)$/){
- $company_buisness = $1;
-}
-
-
-if($first =~ m/^anonymous\=(.+)$/){
- $anonymousStr = $1;
-}
-elsif($second =~ m/^anonymous\=(.+)$/){
- $anonymousStr = $1;
-}
-elsif ($third =~ m/^anonymous\=(.+)$/){
- $anonymousStr = $1;
-}
-elsif ($fourth =~ m/^anonymous\=(.+)$/){
- $anonymousStr = $1;
-}
-elsif ($fifth =~ m/^anonymous\=(.+)$/){
- $anonymousStr = $1;
-}
-elsif ($sixth =~ m/^anonymous\=(.+)$/){
- $anonymousStr = $1;
-}
-elsif ($seventh =~ m/^anonymous\=(.+)$/){
- $anonymousStr = $1;
-}
-
-if ($anonymousStr =~ "true") {
- $anonymous = 1;
-}
-
-open(USERS, "+<$allConsentedUsers ") || die "Can't open Log File: $!\n";
-seek USERS, 0, 2;
-print USERS "$firstName\t$lastName\t$email_address\t$job_function\t$company_size\t$company_buisness\n";
-close USERS;
-
-if($anonymous != 1){
- # give them the same id as before
- my($old) = &checkExistance($firstName, $lastName, $email_address);
- if($old == -1){
- $uid = &getNewUID($firstName, $lastName, $email_address);
- }
- else{
- $uid = $old;
- }
-}
-else
-{
- $uid = &getNewUID("anonymous", "anonymous", "anonymous");
-}
-
-if($uid != -1)
-{
- print "Content-type: text/plain", "\n";
- print "Status: 200 OK", "\n\n";
- print "UID: $uid" . "\n";
- exit;
-}
-else
-{
- print "Content-type: text/plain", "\n";
- print "Status: 501 Not Implemented", "\n\n";
- print "COULD NOT GET UID" . "\n";
- exit;
-}
-
-
-####################################################################
-
-####################################################################
-
-sub send_mail {
- my ($from_email, $from_name, $to_email, $to_name, $subject, $message ) = @_;
-
- if(open(MAIL, "|$CONFIG{mailprogram} -t")) {
- print MAIL "From: $from_email ($from_name)\n";
- print MAIL "To: $to_email ($to_name)\n";
- print MAIL "Subject: $subject\n";
- print MAIL "$message\n\nSubmitter's IP Address : $ENV{REMOTE_ADDR}";
- close MAIL;
- return(1);
- } else {
- return;
- }
-}
-
-####################################################################
-
-####################################################################
-
-sub send_mail_NT {
-
- my ($from_email, $from_name, $to_email, $to_name, $subject, $message ) = @_;
-
- my ($SMTP_SERVER, $WEB_SERVER, $status, $err_message);
- use Socket;
- $SMTP_SERVER = "$CONFIG{smtppath}";
-
- # correct format for "\n"
- local($CRLF) = "\015\012";
- local($SMTP_SERVER_PORT) = 25;
- local($AF_INET) = ($] > 5 ? AF_INET : 2);
- local($SOCK_STREAM) = ($] > 5 ? SOCK_STREAM : 1);
-# local(@bad_addresses) = ();
- $, = ', ';
- $" = ', ';
-
- $WEB_SERVER = "$CONFIG{smtppath}\n";
- chop ($WEB_SERVER);
-
- local($local_address) = (gethostbyname($WEB_SERVER))[4];
- local($local_socket_address) = pack('S n a4 x8', $AF_INET, 0, $local_address);
-
- local($server_address) = (gethostbyname($SMTP_SERVER))[4];
- local($server_socket_address) = pack('S n a4 x8', $AF_INET, $SMTP_SERVER_PORT, $server_address);
-
- # Translate protocol name to corresponding number
- local($protocol) = (getprotobyname('tcp'))[2];
-
- # Make the socket filehandle
- if (!socket(SMTP, $AF_INET, $SOCK_STREAM, $protocol)) {
- return;
- }
-
- # Give the socket an address
- bind(SMTP, $local_socket_address);
-
- # Connect to the server
- if (!(connect(SMTP, $server_socket_address))) {
- return;
- }
-
- # Set the socket to be line buffered
- local($old_selected) = select(SMTP);
- $| = 1;
- select($old_selected);
-
- # Set regex to handle multiple line strings
- $* = 1;
-
- # Read first response from server (wait for .75 seconds first)
- select(undef, undef, undef, .75);
- sysread(SMTP, $_, 1024);
- #print "<P>1:$_";
-
- print SMTP "HELO $WEB_SERVER$CRLF";
- sysread(SMTP, $_, 1024);
- #print "<P>2:$_";
-
- while (/(^|(\r?\n))[^0-9]*((\d\d\d).*)$/g) { $status = $4; $err_message = $3}
- if ($status != 250) {
- return;
- }
-
- print SMTP "MAIL FROM:<$from_email>$CRLF";
-
- sysread(SMTP, $_, 1024);
- #print "<P>3:$_";
- if (!/[^0-9]*250/) {
- return;
- }
-
- # Tell the server where we're sending to
- print SMTP "RCPT TO:<$to_email>$CRLF";
- sysread(SMTP, $_, 1024);
- #print "<P>4:$_";
- /[^0-9]*(\d\d\d)/;
-
- # Give the server the message header
- print SMTP "DATA$CRLF";
- sysread(SMTP, $_, 1024);
- #print "<P>5:$_";
- if (!/[^0-9]*354/) {
- return;
- }
-
- $message =~ s/\n/$CRLF/ig;
-
- print SMTP qq~From: $from_email ($from_name)$CRLF~;
- print SMTP qq~To: $to_email ($to_name)$CRLF~;
-# if($cc){
-# print SMTP "CC: $cc ($cc_name)\n";
-# }
- print SMTP qq~Subject: $subject$CRLF$CRLF~;
- print SMTP qq~$message~;
-
- print SMTP "$CRLF.$CRLF";
- sysread(SMTP, $_, 1024);
- #print "<P>6:$_";
- if (!/[^0-9]*250/) {
- return;
- } else {
- return(1);
- }
-
- if (!shutdown(SMTP, 2)) {
- return;
- }
-}
-
-####################################################################
-
-####################################################################
-
-sub check_email {
- my($fe_email) = $_[0];
- if($fe_email) {
- if(($fe_email =~ /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)|(\.$)/) ||
- ($fe_email !~ /^.+@\[?(\w|[-.])+\.[a-zA-Z]{2,3}|[0-9]{1,3}\]?$/)) {
- return;
- } else { return(1) }
- } else {
- return;
- }
-}
-####################################################################
-
-####################################################################
-
-sub getNewUID {
- my($firstName, $lastName, $email_address) = @_;
-
- open(LOCKFILE, $lockfileName);
- flock(LOCKFILE, LOCK_EX);
-
- open(NEXTUID, "<$nextUidFile") || die "Can't open Log File: $!\n";
- my($uid) = -1;
- my(@lines) = <NEXTUID>;
- my($line) = "";
- foreach $line (@lines)
- {
- if($line =~ m/^(\d+)$/)
- {
- $uid = $1;
- last;
- }
- }
- close NEXTUID;
-
- my($nextUid) = $uid + 17;
- open(NEXTUID, ">$nextUidFile") || die "Can't open Log File: $!\n";
- print NEXTUID $nextUid;
- close NEXTUID;
-
-
- open(UIDMAP, "+<$uidMapFile") || die "Can't open Log File: $!\n";
- seek UIDMAP, 0, 2;
- print UIDMAP "$uid\t$firstName\t$lastName\t$email_address\n";
- close UIDMAP;
-
- flock(LOCKFILE, LOCK_UN);
- close LOCKFILE;
- return $uid;
-
-}
-####################################################################
-
-####################################################################
-
-sub checkExistance {
- my($firstName, $lastName, $email_address) = @_;
- my($uid) = -1;
-
- open(LOCKFILE, $lockfileName);
- flock(LOCKFILE, LOCK_EX);
-
- open(UIDMAP, $uidMapFile) || die "Can't open Log File: $!\n";
- my(@lines) = <UIDMAP>;
- my($line) = "";
- foreach $line (@lines)
- {
- if($line =~ m/^(\d+)\t$firstName\t$lastName\t$email_address$/)
- {
- $uid = $1;
- last;
- }
- }
- close UIDMAP;
-
- flock(LOCKFILE, LOCK_UN);
- close LOCKFILE;
- return $uid;
-}
-
-####################################################################
-
-####################################################################
-
-sub log {
- open(LOCKFILE, $lockfileName);
- flock(LOCKFILE, LOCK_EX);
-
- open(LOG, "+<$logFile") || die "Can't open Log File: $!\n";
-
- seek LOG, 0, 2;
- print LOG $_[0] . "\t\t";
-
- my ($sec,$min,$hour,$mday,$mon,$year, $wday,$yday,$isdst) = localtime time;
-
- # update the year so that it is correct since it perl
- # has a 1900 yr offset
- $year += 1900;
-
- # update the month since it is 0 based in perl
- $mon += 1;
-
- printf LOG "%02d/%02d/%04d %02d:%02d:%02d\n", $mday, $mon, $year, $hour, $min, $sec;
-
- close LOG;
-
- flock(LOCKFILE, LOCK_UN);
- close LOCKFILE;
-}
diff --git a/org.eclipse.mylyn.examples.monitor.study/scripts/questionnaire.cgi b/org.eclipse.mylyn.examples.monitor.study/scripts/questionnaire.cgi
deleted file mode 100644
index a9d9c4c..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/scripts/questionnaire.cgi
+++ /dev/null
@@ -1,450 +0,0 @@
-#!/usr/bin/perl -w
-
-# START USER EDITS
-
-# absolute path to folder files will be uploaded to.
-# WINDOWS users, your path would like something like : images\\uploads
-# UNIX users, your path would like something like : /home/www/images/uploads
-# do not end the path with any slashes and if you're on a UNIX serv, make sure
-# you CHMOD each folder in the path to 777
-
-$dir = "/.../upload";
-$logFile = "/.../questionnaireLog.txt";
-
-# if you would like to be notified of uploads, enter your email address
-# between the SINGLE quotes. leave this blank if you would not like to be notified
-$notify = '';
-
-# UNIX users, if you entered a value for $notify, you must also enter your
-# server's sendmail path. It usually looks something like : /usr/sbin/sendmail
-$send_mail_path = "";
-
-# WINDOWS users, if you entered a value for $notify, you must also enter your
-# server's SMTP path. It usually looks something like : mail.servername.com
-$smtp_path = "";
-
-# file types allowed, enter each type on a new line
-# Enter the word "ALL" in uppercase, to accept all file types.
-@types = qw~
-txt
-~;
-
-####################################################################
-# END USER EDITS
-####################################################################
-
-$OS = $^O; # operating system name
-if($OS =~ /darwin/i) { $isUNIX = 1; }
-elsif($OS =~ /win/i) { $isWIN = 1; }
-else {$isUNIX = 1;}
-
-if($isWIN){ $S{S} = "\\\\"; }
-else { $S{S} = "/";} # seperator used in paths
-
-unless (-d "$dir"){
- mkdir ("$dir", 0777); # unless the dir exists, make it ( and chmod it on UNIX )
- chmod(0777, "$dir");
-}
-
-
-unless (-d "$dir"){
- # if there still is no dir, the path entered by the user is wrong and the upload will fail
- # send back an error code
- # unauthorized, uid not correct
- exit;
-}
-
-use CGI; # load the CGI.pm module
-my $GET = new CGI; # create a new object
-my @VAL = $GET->param; #get all form field names
-
-foreach(@VAL){
- $FORM{$_} = $GET->param($_); # put all fields and values in hash
-}
-
-my @files;
-foreach(keys %FORM){
- # check for the parameter name
- # This must be MYLARa where is a a number
- if($_ =~ /^MYLAR/){
- push(@files, $_); # place the field NAME in an array
- } else {
- &log( "Filenamed not named MYLARa: ".$_);
- exit;
- }
-}
-
-
-if(!$VAL[0]){
- # no file to upload so exit with an error
- print "Content-type: text/plain", "\n";
- print "Status: 501 Not Implemented", "\n\n";
- print "Upload Failed - no file to upload","\n";
- &log("Upload Failed - no file to upload\n");
- exit;
-}
-
-
-my $failed; # results string = false
-my $selected; # num of files selected by user
-
-####################################################################
-
-####################################################################
-
-foreach (@files){
- # upload each file, pass the form field NAME if it has a value
- if($GET->param($_)){
- # if the form field contains a file name &psjs_upload subroutine
- # the file's name and path are passed to the subroutine
- $returned = &psjs_upload($_);
- if($returned =~ /^Success/i){
- # if the $returned message begins with "Success" the upload was succssful
- # remove the word "Success" and any spaces and we're left with the filename
- $returned =~ s/^Success\s+//;
- push(@success, $returned);
- } else {
- # else if the word "success" is not returned, the message is the error encountered.
- # add the error to the $failed scalar
- $failed .= $returned;
- }
- $selected++; # increment num of files selected for uploading by user
- }
-}
-
-if(!$selected){
- # no files were selected by user, so nothing is returned to either variable
- $failed .= qq~No files were selected for uploading~;
-}
-
-# if no error message is return ed, the upload was successful
-
-my ($fNames, $aa, $bb, @current, @currentfiles );
-
-if($failed){
-
- # file failed to upload return error
- print "Content-type: text/plain", "\n";
- print "Status: 501 Not Implemented", "\n\n";
- print "Upload Failed","\n";
-
-} else {
- # upload was successful
- # log the success and return success code
-
- # send email if valid email was entered
- if(check_email($notify)){
-
- # TODO send an appropriate message
-
- # enter the message you would like to receive
- my $message = qq~
- The following files were uploaded to your server :
- ~;
-
- foreach(@success){
- $message .= qq~
- $dir/$_
- ~;
- }
-
- if($isUNIX){
- $CONFIG{mailprogram} = $send_mail_path;
- # enter your e-mail name here if you like
- # from e-mail, from name, to e-mail, to name, subject, body
- &send_mail($notify, 'Demo Upload', $notify, 'Demo Upload', 'Upload Notification', $message);
-
- } else {
- $CONFIG{smtppath} = $smtp_path;
- &send_mail_NT($notify, 'Your Name', $notify, 'Your Name', 'Upload Notification', $message);
- }
- }
-
- # NEED TO LOG THE UPLOAD
- foreach(@success){
- &log("NONE" . "\t" . "$dir/$_");
- }
-
-
- print "Content-type: text/plain". "\n";
- print "Status: 200 OK", "\n\n";
- print "Upload Success","\n";
-}
-
-####################################################################
-
-####################################################################
-
-sub psjs_upload {
-
- my $filename = $GET->param($_[0]);
- $filename =~ s/.*[\/\\](.*)/$1/;
- my $upload_filehandle = $GET->upload($_[0]);
- # if $file_type matchs one of the types specified, make the $type_ok var true
- for($b = 0; $b < @types; $b++){
- if($filename =~ /^.*\.$types[$b]$/i){
- $type_ok++;
- }
- if($types[$b] eq "ALL"){
- $type_ok++; # if ALL keyword is found, increment $type_ok var.
- }
- }
-
- # if ok, check if overwrite is allowed
- if($type_ok){
- if(open UPLOADFILE, ">$dir/$filename"){
-
- binmode UPLOADFILE;
-
- while ( <$upload_filehandle> )
- {
- print UPLOADFILE;
- }
- close UPLOADFILE;
- }else {
- return qq~Error opening file on the server~;
- }
- } else {
- return qq~Bad file type~;
- }
-
- # check if file has actually been uploaded, by checking the file has a size
- if(-s "$dir/$filename"){
- return qq~Success $filename~; #success
- } else {
- # delete the file as it has no content
- # user probably entered an incorrect path to file
- return qq~Upload failed : No data in $filename. No size on server's copy of file.
- Check the path entered.~;
- }
-}
-
-####################################################################
-
-####################################################################
-
-sub check_existence {
- # $dir,$filename,$newnum are the args passed to this sub
- my ($dir,$filename,$newnum) = @_;
-
- my (@file_type, $file_type, $exists, $bareName);
- # declare some vars we will use later on in this sub always use paranthesis
- # when declaring more than one var! Some novice programmers will tell you
- # this is not necessary. Tell them to learn how to program.
-
- if(!$newnum){$newnum = "0";} # new num is empty in first call, so set it to 0
-
- # read dir and put all files in an array (list)
- opendir(DIR, "$dir");
- @existing_files = readdir(DIR);
- closedir(DIR);
-
- # if the filename passed exists, set $exists to true or 1
- foreach(@existing_files){
- if($_ eq $filename){
- $exists = 1;
- }
- }
-
- # if it exists, we need to rename the file being uploaded and then recheck it to
- # make sure the new name does not exist
- if($exists){
- $newnum++; # increment new number (add 1)
-
- # get the extension
- @file_type = split(/\./, $filename); # split the dots and add inbetweens to a list
- # put the first element in the $barename var
- $bareName = $file_type[0];
- # we can assume everything after the last . found is the extension
- $file_type = $file_type[$#file_type];
- # $#file_type is the last element (note the pound or hash is used)
-
- # remove all numbers from the end of the $bareName
- $bareName =~ s/\d+$//ig;
-
- # concatenate a new name using the barename + newnum + extension
- $filename = $bareName . $newnum . '.' . $file_type;
-
- # reset $exists to 0 because the new file name is now being checked
- $exists = 0;
-
- # recall this subroutine
- &check_existence($dir,$filename,$newnum);
- } else {
- # the $filename, whether the first or one hundreth call, now does not exist
- # so return the name to be used
- return ($filename);
- }
-}
-
-####################################################################
-
-####################################################################
-
-sub send_mail {
- my ($from_email, $from_name, $to_email, $to_name, $subject, $message ) = @_;
-
- if(open(MAIL, "|$CONFIG{mailprogram} -t")) {
- print MAIL "From: $from_email ($from_name)\n";
- print MAIL "To: $to_email ($to_name)\n";
- print MAIL "Subject: $subject\n";
- print MAIL "$message\n\nSubmitter's IP Address : $ENV{REMOTE_ADDR}";
- close MAIL;
- return(1);
- } else {
- return;
- }
-}
-
-####################################################################
-
-####################################################################
-
-sub send_mail_NT {
-
- my ($from_email, $from_name, $to_email, $to_name, $subject, $message ) = @_;
-
- my ($SMTP_SERVER, $WEB_SERVER, $status, $err_message);
- use Socket;
- $SMTP_SERVER = "$CONFIG{smtppath}";
-
- # correct format for "\n"
- local($CRLF) = "\015\012";
- local($SMTP_SERVER_PORT) = 25;
- local($AF_INET) = ($] > 5 ? AF_INET : 2);
- local($SOCK_STREAM) = ($] > 5 ? SOCK_STREAM : 1);
-# local(@bad_addresses) = ();
- $, = ', ';
- $" = ', ';
-
- $WEB_SERVER = "$CONFIG{smtppath}\n";
- chop ($WEB_SERVER);
-
- local($local_address) = (gethostbyname($WEB_SERVER))[4];
- local($local_socket_address) = pack('S n a4 x8', $AF_INET, 0, $local_address);
-
- local($server_address) = (gethostbyname($SMTP_SERVER))[4];
- local($server_socket_address) = pack('S n a4 x8', $AF_INET, $SMTP_SERVER_PORT, $server_address);
-
- # Translate protocol name to corresponding number
- local($protocol) = (getprotobyname('tcp'))[2];
-
- # Make the socket filehandle
- if (!socket(SMTP, $AF_INET, $SOCK_STREAM, $protocol)) {
- return;
- }
-
- # Give the socket an address
- bind(SMTP, $local_socket_address);
-
- # Connect to the server
- if (!(connect(SMTP, $server_socket_address))) {
- return;
- }
-
- # Set the socket to be line buffered
- local($old_selected) = select(SMTP);
- $| = 1;
- select($old_selected);
-
- # Set regex to handle multiple line strings
- $* = 1;
-
- # Read first response from server (wait for .75 seconds first)
- select(undef, undef, undef, .75);
- sysread(SMTP, $_, 1024);
- #print "<P>1:$_";
-
- print SMTP "HELO $WEB_SERVER$CRLF";
- sysread(SMTP, $_, 1024);
- #print "<P>2:$_";
-
- while (/(^|(\r?\n))[^0-9]*((\d\d\d).*)$/g) { $status = $4; $err_message = $3}
- if ($status != 250) {
- return;
- }
-
- print SMTP "MAIL FROM:<$from_email>$CRLF";
-
- sysread(SMTP, $_, 1024);
- #print "<P>3:$_";
- if (!/[^0-9]*250/) {
- return;
- }
-
- # Tell the server where we're sending to
- print SMTP "RCPT TO:<$to_email>$CRLF";
- sysread(SMTP, $_, 1024);
- #print "<P>4:$_";
- /[^0-9]*(\d\d\d)/;
-
- # Give the server the message header
- print SMTP "DATA$CRLF";
- sysread(SMTP, $_, 1024);
- #print "<P>5:$_";
- if (!/[^0-9]*354/) {
- return;
- }
-
- $message =~ s/\n/$CRLF/ig;
-
- print SMTP qq~From: $from_email ($from_name)$CRLF~;
- print SMTP qq~To: $to_email ($to_name)$CRLF~;
-# if($cc){
-# print SMTP "CC: $cc ($cc_name)\n";
-# }
- print SMTP qq~Subject: $subject$CRLF$CRLF~;
- print SMTP qq~$message~;
-
- print SMTP "$CRLF.$CRLF";
- sysread(SMTP, $_, 1024);
- #print "<P>6:$_";
- if (!/[^0-9]*250/) {
- return;
- } else {
- return(1);
- }
-
- if (!shutdown(SMTP, 2)) {
- return;
- }
-}
-
-####################################################################
-
-####################################################################
-
-sub check_email {
- my($fe_email) = $_[0];
- if($fe_email) {
- if(($fe_email =~ /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)|(\.$)/) ||
- ($fe_email !~ /^.+@\[?(\w|[-.])+\.[a-zA-Z]{2,3}|[0-9]{1,3}\]?$/)) {
- return;
- } else { return(1) }
- } else {
- return;
- }
- }
-####################################################################
-
-####################################################################
-
-sub log {
- open(LOG, "+<$logFile") || die "Can't open Log File: $!\n";
-
- seek LOG, 0, 2;
- print LOG $_[0] . "\t\t";
-
- my ($sec,$min,$hour,$mday,$mon,$year, $wday,$yday,$isdst) = localtime time;
-
- # update the year so that it is correct since it perl
- # has a 1900 yr offset
- $year += 1900;
-
- # update the month since it is 0 based in perl
- $mon += 1;
-
- printf LOG "%02d/%02d/%04d %02d:%02d:%02d\n", $mday, $mon, $year, $hour, $min, $sec;
-
- close LOG;
-}
diff --git a/org.eclipse.mylyn.examples.monitor.study/scripts/upload.cgi b/org.eclipse.mylyn.examples.monitor.study/scripts/upload.cgi
deleted file mode 100644
index d74fc2d..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/scripts/upload.cgi
+++ /dev/null
@@ -1,502 +0,0 @@
-#!/usr/bin/perl -w
-
-use Fcntl ':flock';
-
-# START USER EDITS
-
-# absolute path to folder files will be uploaded to.
-# WINDOWS users, your path would like something like : images\\uploads
-# UNIX users, your path would like something like : /home/www/images/uploads
-# do not end the path with any slashes and if you're on a UNIX serv, make sure
-# you CHMOD each folder in the path to 777
-
-$lockfileName = "/.../.lock";
-$logFile = "/.../uploadLog.txt";
-$uidMapFile = "/.../mylarUidMap.txt";
-
-$dir = "/isd/se2/project/mylar/userStudy/upload";
-
-# if you would like to be notified of uploads, enter your email address
-# between the SINGLE quotes. leave this blank if you would not like to be notified
-$notify = '';
-
-# UNIX users, if you entered a value for $notify, you must also enter your
-# server's sendmail path. It usually looks something like : /usr/sbin/sendmail
-$send_mail_path = "";
-
-# WINDOWS users, if you entered a value for $notify, you must also enter your
-# server's SMTP path. It usually looks something like : mail.servername.com
-$smtp_path = "";
-
-# file types allowed, enter each type on a new line
-# Enter the word "ALL" in uppercase, to accept all file types.
-@types = qw~
-zip
-txt
-~;
-
-####################################################################
-# END USER EDITS
-####################################################################
-
-$OS = $^O; # operating system name
-if($OS =~ /darwin/i) { $isUNIX = 1; }
-elsif($OS =~ /win/i) { $isWIN = 1; }
-else {$isUNIX = 1;}
-
-if($isWIN){ $S{S} = "\\\\"; }
-else { $S{S} = "/";} # seperator used in paths
-
-unless (-d "$dir"){
- mkdir ("$dir", 0777); # unless the dir exists, make it ( and chmod it on UNIX )
- chmod(0777, "$dir");
-}
-
-
-unless (-d "$dir"){
- # if there still is no dir, the path entered by the user is wrong and the upload will fail
- # send back an error code
- # unauthorized, uid not correct
- exit;
-}
-
-use CGI; # load the CGI.pm module
-my $GET = new CGI; # create a new object
-my @VAL = $GET->param; #get all form field names
-
-foreach(@VAL){
- $FORM{$_} = $GET->param($_); # put all fields and values in hash
-}
-
-my($uid) = "";
-
-my @files;
-foreach(keys %FORM){
- # check for the parameter name
- # This must be MYLARa where is a a number
- if($_ =~ /^MYLAR(\d+)/){
- $uid = $1;
- if(&checkUID($uid) == 1)
- {
- push(@files, $_); # place the field NAME in an array
- }
- else
- {
- # unauthorized, uid not correct
- print "Content-type: text/plain", "\n";
- print "Status: 401 Unauthorized", "\n\n";
- print "UID Incorrect","\n";
- exit;
- }
- }
-}
-
-
-if(!$VAL[0]){
- # no file to upload so exit with an error
- print "Content-type: text/plain", "\n";
- print "Status: 501 Not Implemented", "\n\n";
- print "Upload Failed - no file to upload","\n";
-
- exit;
-}
-
-
-my $failed; # results string = false
-my $selected; # num of files selected by user
-
-####################################################################
-
-####################################################################
-
-foreach (@files){
- # upload each file, pass the form field NAME if it has a value
- if($GET->param($_)){
- # if the form field contains a file name &psjs_upload subroutine
- # the file's name and path are passed to the subroutine
- $returned = &psjs_upload($_);
- if($returned =~ /^Success/i){
- # if the $returned message begins with "Success" the upload was succssful
- # remove the word "Success" and any spaces and we're left with the filename
- $returned =~ s/^Success\s+//;
- push(@success, $returned);
- } else {
- # else if the word "success" is not returned, the message is the error encountered.
- # add the error to the $failed scalar
- $failed .= $returned;
- }
- $selected++; # increment num of files selected for uploading by user
- }
-}
-
-if(!$selected){
- # no files were selected by user, so nothing is returned to either variable
- $failed .= qq~No files were selected for uploading~;
-}
-
-# if no error message is return ed, the upload was successful
-
-my ($fNames, $aa, $bb, @current, @currentfiles );
-
-if($failed){
-
- # file failed to upload return error
- print "Content-type: text/plain", "\n";
- print "Status: 501 Not Implemented", "\n\n";
- print "Upload Failed","\n";
-
-} else {
- # upload was successful
- # log the success and return success code
-
- # send email if valid email was entered
- if(check_email($notify)){
-
- # TODO send an appropriate message
-
- # enter the message you would like to receive
- my $message = qq~
- The following files were uploaded to your server :
- ~;
-
- foreach(@success){
- $message .= qq~
- $dir/$_
- ~;
- }
-
- if($isUNIX){
- $CONFIG{mailprogram} = $send_mail_path;
- # enter your e-mail name here if you like
- # from e-mail, from name, to e-mail, to name, subject, body
- &send_mail($notify, 'Demo Upload', $notify, 'Demo Upload', 'Upload Notification', $message);
-
- } else {
- $CONFIG{smtppath} = $smtp_path;
- &send_mail_NT($notify, 'Your Name', $notify, 'Your Name', 'Upload Notification', $message);
- }
- }
-
- # NEED TO LOG THE UPLOAD
- foreach(@success){
- &log($uid . "\t" . "$dir/$_");
- }
-
-
- print "Content-type: text/plain". "\n";
- print "Status: 200 OK", "\n\n";
- print "Upload Success","\n";
-}
-
-####################################################################
-
-####################################################################
-
-sub psjs_upload {
-
- my $filename = $GET->param($_[0]);
- $filename =~ s/.*[\/\\](.*)/$1/;
- my $upload_filehandle = $GET->upload($_[0]);
- # if $file_type matchs one of the types specified, make the $type_ok var true
- for($b = 0; $b < @types; $b++){
- if($filename =~ /^.*\.$types[$b]$/i){
- $type_ok++;
- }
- if($types[$b] eq "ALL"){
- $type_ok++; # if ALL keyword is found, increment $type_ok var.
- }
- }
-
- # if ok, check if overwrite is allowed
- if($type_ok){
- if(open UPLOADFILE, ">$dir/$filename"){
-
- binmode UPLOADFILE;
-
- while ( <$upload_filehandle> )
- {
- print UPLOADFILE;
- }
- close UPLOADFILE;
- }else {
- return qq~Error opening file on the server~;
- }
- } else {
- return qq~Bad file type~;
- }
-
- # check if file has actually been uploaded, by checking the file has a size
- if(-s "$dir/$filename"){
- return qq~Success $filename~; #success
- } else {
- # delete the file as it has no content
- # user probably entered an incorrect path to file
- return qq~Upload failed : No data in $filename. No size on server's copy of file.
- Check the path entered.~;
- }
-}
-
-####################################################################
-
-####################################################################
-
-sub check_existence {
- # $dir,$filename,$newnum are the args passed to this sub
- my ($dir,$filename,$newnum) = @_;
-
- my (@file_type, $file_type, $exists, $bareName);
- # declare some vars we will use later on in this sub always use paranthesis
- # when declaring more than one var! Some novice programmers will tell you
- # this is not necessary. Tell them to learn how to program.
-
- if(!$newnum){$newnum = "0";} # new num is empty in first call, so set it to 0
-
- # read dir and put all files in an array (list)
- opendir(DIR, "$dir");
- @existing_files = readdir(DIR);
- closedir(DIR);
-
- # if the filename passed exists, set $exists to true or 1
- foreach(@existing_files){
- if($_ eq $filename){
- $exists = 1;
- }
- }
-
- # if it exists, we need to rename the file being uploaded and then recheck it to
- # make sure the new name does not exist
- if($exists){
- $newnum++; # increment new number (add 1)
-
- # get the extension
- @file_type = split(/\./, $filename); # split the dots and add inbetweens to a list
- # put the first element in the $barename var
- $bareName = $file_type[0];
- # we can assume everything after the last . found is the extension
- $file_type = $file_type[$#file_type];
- # $#file_type is the last element (note the pound or hash is used)
-
- # remove all numbers from the end of the $bareName
- $bareName =~ s/\d+$//ig;
-
- # concatenate a new name using the barename + newnum + extension
- $filename = $bareName . $newnum . '.' . $file_type;
-
- # reset $exists to 0 because the new file name is now being checked
- $exists = 0;
-
- # recall this subroutine
- &check_existence($dir,$filename,$newnum);
- } else {
- # the $filename, whether the first or one hundreth call, now does not exist
- # so return the name to be used
- return ($filename);
- }
-}
-
-####################################################################
-
-####################################################################
-
-sub send_mail {
- my ($from_email, $from_name, $to_email, $to_name, $subject, $message ) = @_;
-
- if(open(MAIL, "|$CONFIG{mailprogram} -t")) {
- print MAIL "From: $from_email ($from_name)\n";
- print MAIL "To: $to_email ($to_name)\n";
- print MAIL "Subject: $subject\n";
- print MAIL "$message\n\nSubmitter's IP Address : $ENV{REMOTE_ADDR}";
- close MAIL;
- return(1);
- } else {
- return;
- }
-}
-
-####################################################################
-
-####################################################################
-
-sub send_mail_NT {
-
- my ($from_email, $from_name, $to_email, $to_name, $subject, $message ) = @_;
-
- my ($SMTP_SERVER, $WEB_SERVER, $status, $err_message);
- use Socket;
- $SMTP_SERVER = "$CONFIG{smtppath}";
-
- # correct format for "\n"
- local($CRLF) = "\015\012";
- local($SMTP_SERVER_PORT) = 25;
- local($AF_INET) = ($] > 5 ? AF_INET : 2);
- local($SOCK_STREAM) = ($] > 5 ? SOCK_STREAM : 1);
-# local(@bad_addresses) = ();
- $, = ', ';
- $" = ', ';
-
- $WEB_SERVER = "$CONFIG{smtppath}\n";
- chop ($WEB_SERVER);
-
- local($local_address) = (gethostbyname($WEB_SERVER))[4];
- local($local_socket_address) = pack('S n a4 x8', $AF_INET, 0, $local_address);
-
- local($server_address) = (gethostbyname($SMTP_SERVER))[4];
- local($server_socket_address) = pack('S n a4 x8', $AF_INET, $SMTP_SERVER_PORT, $server_address);
-
- # Translate protocol name to corresponding number
- local($protocol) = (getprotobyname('tcp'))[2];
-
- # Make the socket filehandle
- if (!socket(SMTP, $AF_INET, $SOCK_STREAM, $protocol)) {
- return;
- }
-
- # Give the socket an address
- bind(SMTP, $local_socket_address);
-
- # Connect to the server
- if (!(connect(SMTP, $server_socket_address))) {
- return;
- }
-
- # Set the socket to be line buffered
- local($old_selected) = select(SMTP);
- $| = 1;
- select($old_selected);
-
- # Set regex to handle multiple line strings
- $* = 1;
-
- # Read first response from server (wait for .75 seconds first)
- select(undef, undef, undef, .75);
- sysread(SMTP, $_, 1024);
- #print "<P>1:$_";
-
- print SMTP "HELO $WEB_SERVER$CRLF";
- sysread(SMTP, $_, 1024);
- #print "<P>2:$_";
-
- while (/(^|(\r?\n))[^0-9]*((\d\d\d).*)$/g) { $status = $4; $err_message = $3}
- if ($status != 250) {
- return;
- }
-
- print SMTP "MAIL FROM:<$from_email>$CRLF";
-
- sysread(SMTP, $_, 1024);
- #print "<P>3:$_";
- if (!/[^0-9]*250/) {
- return;
- }
-
- # Tell the server where we're sending to
- print SMTP "RCPT TO:<$to_email>$CRLF";
- sysread(SMTP, $_, 1024);
- #print "<P>4:$_";
- /[^0-9]*(\d\d\d)/;
-
- # Give the server the message header
- print SMTP "DATA$CRLF";
- sysread(SMTP, $_, 1024);
- #print "<P>5:$_";
- if (!/[^0-9]*354/) {
- return;
- }
-
- $message =~ s/\n/$CRLF/ig;
-
- print SMTP qq~From: $from_email ($from_name)$CRLF~;
- print SMTP qq~To: $to_email ($to_name)$CRLF~;
-# if($cc){
-# print SMTP "CC: $cc ($cc_name)\n";
-# }
- print SMTP qq~Subject: $subject$CRLF$CRLF~;
- print SMTP qq~$message~;
-
- print SMTP "$CRLF.$CRLF";
- sysread(SMTP, $_, 1024);
- #print "<P>6:$_";
- if (!/[^0-9]*250/) {
- return;
- } else {
- return(1);
- }
-
- if (!shutdown(SMTP, 2)) {
- return;
- }
-}
-
-####################################################################
-
-####################################################################
-
-sub check_email {
- my($fe_email) = $_[0];
- if($fe_email) {
- if(($fe_email =~ /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)|(\.$)/) ||
- ($fe_email !~ /^.+@\[?(\w|[-.])+\.[a-zA-Z]{2,3}|[0-9]{1,3}\]?$/)) {
- return;
- } else { return(1) }
- } else {
- return;
- }
-}
-####################################################################
-
-####################################################################
-
-sub checkUID {
- my($uid) = $_[0];
-
- open(LOCKFILE, $lockfileName);
- flock(LOCKFILE, LOCK_EX);
-
- open(UIDMAP, $uidMapFile) || die "Can't open Log File: $!\n";
- my($found) = 0;
- my(@lines) = <UIDMAP>;
- my($line) = "";
- foreach $line (@lines)
- {
- if($line =~ m/^$uid\t(.*)\t(.*)\t(.*)$/)
- {
- $found = 1;
- last;
- }
- }
- close UIDMAP;
-
- flock(LOCKFILE, LOCK_UN);
- close LOCKFILE;
- return $found;
-}
-
-####################################################################
-
-####################################################################
-
-sub log {
- open(LOCKFILE, $lockfileName);
- flock(LOCKFILE, LOCK_EX);
-
- open(LOG, "+<$logFile") || die "Can't open Log File: $!\n";
-
- seek LOG, 0, 2;
- print LOG $_[0] . "\t\t";
-
- my ($sec,$min,$hour,$mday,$mon,$year, $wday,$yday,$isdst) = localtime time;
-
- # update the year so that it is correct since it perl
- # has a 1900 yr offset
- $year += 1900;
-
- # update the month since it is 0 based in perl
- $mon += 1;
-
- printf LOG "%02d/%02d/%04d %02d:%02d:%02d\n", $mday, $mon, $year, $hour, $min, $sec;
-
- close LOG;
-
- flock(LOCKFILE, LOCK_UN);
- close LOCKFILE;
-}
diff --git a/org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/FeedbackWizard.java b/org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/FeedbackWizard.java
deleted file mode 100644
index 7fd83df..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/FeedbackWizard.java
+++ /dev/null
@@ -1,191 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2008 Tasktop Technologies 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:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.examples.monitor.study;
-
-import java.io.File;
-import java.lang.reflect.InvocationTargetException;
-import java.net.NoRouteToHostException;
-import java.net.UnknownHostException;
-import java.util.Calendar;
-
-import org.apache.commons.httpclient.HttpClient;
-import org.apache.commons.httpclient.methods.PostMethod;
-import org.apache.commons.httpclient.methods.multipart.FilePart;
-import org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity;
-import org.apache.commons.httpclient.methods.multipart.Part;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.jface.dialogs.ProgressMonitorDialog;
-import org.eclipse.jface.operation.IRunnableWithProgress;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.wizard.Wizard;
-import org.eclipse.mylyn.commons.core.DateUtil;
-import org.eclipse.mylyn.commons.core.StatusHandler;
-import org.eclipse.mylyn.internal.monitor.usage.UiUsageMonitorPlugin;
-import org.eclipse.mylyn.internal.monitor.usage.wizards.UsageSubmissionWizard;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.ui.INewWizard;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-
-/**
- * A wizard for uploading the Mylyn statistics to a website
- *
- * @author Shawn Minto
- * @author Mik Kersten
- */
-public class FeedbackWizard extends Wizard implements INewWizard {
-
- private final SubmitFeedbackPage feedbackPage;
-
- /**
- * Constructor for SampleNewWizard.
- */
- public FeedbackWizard(UsageSubmissionWizard wizard) {
- super();
- setNeedsProgressMonitor(true);
-
- feedbackPage = new SubmitFeedbackPage(wizard);
- }
-
- public FeedbackWizard() {
- super();
- setNeedsProgressMonitor(true);
- super.setDefaultPageImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin(UiUsageMonitorPlugin.ID_PLUGIN,
- "icons/wizban/banner-user.gif"));
- super.setWindowTitle("Mylyn Feedback");
- feedbackPage = new SubmitFeedbackPage(null);
- }
-
- @Override
- public boolean performFinish() {
- File f = feedbackPage.createFeedbackFile();
- if (f == null) {
- return true;
- }
- upload(f, feedbackPage.getStringUid());
- if (f.exists()) {
- f.delete();
- }
- return true;
- }
-
- private int status;
-
- /**
- * Method to upload a file to a cgi script
- *
- * @param f
- * The file to upload
- */
- private void upload(File f, String uid) {
- String uploadScript;
-
- // XXX: unimplemented
- uploadScript = "<unimplemented>";
- // uploadScript =
- // MylynUsageMonitorPlugin.getDefault().getStudyParameters().getScriptsUrl()
- // +
- // MylynUsageMonitorPlugin.getDefault().getStudyParameters().getScriptsQuestionnaire();
-
- if (f.length() == 0) {
- return;
- }
-
- try {
- final PostMethod filePost = new PostMethod(uploadScript);
-
- Part[] parts;
- Part[] p = { new FilePart("MYLYN" + uid, UiUsageMonitorPlugin.UPLOAD_FILE_LABEL + "-"
- + UiUsageMonitorPlugin.VERSION + "-" + "feedback" + "-" + uid + "-"
- + DateUtil.getIsoFormattedDateTime(Calendar.getInstance()) + ".txt", f) };
- parts = p;
-
- filePost.setRequestEntity(new MultipartRequestEntity(parts, filePost.getParams()));
-
- final HttpClient client = new HttpClient();
- UiUsageMonitorPlugin.getDefault().configureProxy(client, uploadScript);
-
- ProgressMonitorDialog pmd = new ProgressMonitorDialog(Display.getCurrent().getActiveShell());
- pmd.run(false, false, new IRunnableWithProgress() {
- public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
- try {
- status = client.executeMethod(filePost);
- filePost.releaseConnection();
-
- } catch (Exception e) {
- // there was a problem with the file upload so throw up
- // an error
- // dialog to inform the user and log the exception
- if (e instanceof NoRouteToHostException || e instanceof UnknownHostException) {
- MessageDialog.openError(null, "Error Uploading",
- "There was an error uploading the feedback" + ": \n"
- + "No network connection. Please try again later");
- } else {
- MessageDialog.openError(null, "Error Uploading",
- "There was an error uploading the feedback" + ": \n"
- + e.getClass().getCanonicalName());
- ;
- }
- }
- monitor.worked(1);
- monitor.done();
- }
- });
-
- if (status == 401) {
- // The uid was incorrect so inform the user
- MessageDialog.openError(null, "Error Uploading", "There was an error uploading the feedback: \n"
- + "Your uid was incorrect: " + uid + "\n");
- } else if (status == 407) {
- MessageDialog.openError(null, "Error Uploading",
- "Could not upload because proxy server authentication failed. Please check your proxy server settings.");
- } else if (status != 200) {
- // there was a problem with the file upload so throw up an error
- // dialog to inform the user
- MessageDialog.openError(null, "Error Uploading", "There was an error uploading the feedback: \n"
- + "HTTP Response Code " + status + "\n" + "Please try again later");
- } else {
- // the file was uploaded successfully
- }
-
- } catch (Exception e) {
- StatusHandler.log(new Status(IStatus.ERROR, MylynUserStudyExamplePlugin.ID_PLUGIN, "Error uploading", e));
- // there was a problem with the file upload so throw up an error
- // dialog to inform the user and log the exception
- if (e instanceof NoRouteToHostException) {
- MessageDialog.openError(null, "Error Uploading", "There was an error uploading the feedback: \n"
- + "No network connection. Please try again later");
- } else {
- MessageDialog.openError(null, "Error Uploading", "There was an error uploading the feedback: \n"
- + e.getClass().getCanonicalName());
- }
- } finally {
- f.delete();
- }
- }
-
- /**
- * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench,
- * org.eclipse.jface.viewers.IStructuredSelection)
- */
- public void init(IWorkbench workbench, IStructuredSelection selection) {
- // don't need to do any initialization
- }
-
- @Override
- public void addPages() {
- addPage(feedbackPage);
- }
-}
diff --git a/org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/MylynUserStudyExamplePlugin.java b/org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/MylynUserStudyExamplePlugin.java
deleted file mode 100644
index c7a16ea..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/MylynUserStudyExamplePlugin.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2008 Tasktop Technologies 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:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.examples.monitor.study;
-
-import org.eclipse.jdt.internal.ui.JavaPlugin;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.mylyn.internal.context.core.ContextCorePlugin;
-import org.eclipse.mylyn.internal.monitor.ui.MonitorUiPlugin;
-import org.eclipse.mylyn.internal.monitor.usage.UiUsageMonitorPlugin;
-import org.eclipse.pde.internal.ui.PDEPlugin;
-import org.eclipse.ui.IStartup;
-import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.internal.WorkbenchPlugin;
-import org.eclipse.ui.internal.editors.text.EditorsPlugin;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * @author Mik Kersten
- */
-public class MylynUserStudyExamplePlugin extends AbstractUIPlugin {
-
- public static final String ID_PLUGIN = "org.eclipse.mylyn.examples.monitor.study";
-
- private static MylynUserStudyExamplePlugin plugin;
-
- private SelectionMonitor selectionMonitor;
-
- public MylynUserStudyExamplePlugin() {
- plugin = this;
- }
-
- public static class MylynUserStudyExampleStartup implements IStartup {
-
- public void earlyStartup() {
- final IWorkbench workbench = PlatformUI.getWorkbench();
- workbench.getDisplay().asyncExec(new Runnable() {
- public void run() {
- MylynUserStudyExamplePlugin.getDefault().selectionMonitor = new SelectionMonitor();
- MonitorUiPlugin.getDefault().getSelectionMonitors().add(
- MylynUserStudyExamplePlugin.getDefault().selectionMonitor);
-
- UiUsageMonitorPlugin.getDefault().addMonitoredPreferences(
- WorkbenchPlugin.getDefault().getPluginPreferences());
- // MylarUsageMonitorPlugin.getDefault().addMonitoredPreferences(
- // MylarUiPlugin.getDefault().getPluginPreferences());
- UiUsageMonitorPlugin.getDefault().addMonitoredPreferences(
- JavaPlugin.getDefault().getPluginPreferences());
- UiUsageMonitorPlugin.getDefault().addMonitoredPreferences(
- WorkbenchPlugin.getDefault().getPluginPreferences());
- UiUsageMonitorPlugin.getDefault().addMonitoredPreferences(
- EditorsPlugin.getDefault().getPluginPreferences());
- UiUsageMonitorPlugin.getDefault().addMonitoredPreferences(
- PDEPlugin.getDefault().getPluginPreferences());
- }
- });
- }
- }
-
- @Override
- public void start(BundleContext context) throws Exception {
- super.start(context);
- }
-
- @Override
- public void stop(BundleContext context) throws Exception {
- super.stop(context);
- plugin = null;
-
- MonitorUiPlugin.getDefault().getSelectionMonitors().remove(selectionMonitor);
- UiUsageMonitorPlugin.getDefault().removeMonitoredPreferences(
- WorkbenchPlugin.getDefault().getPluginPreferences());
- UiUsageMonitorPlugin.getDefault().removeMonitoredPreferences(
- ContextCorePlugin.getDefault().getPluginPreferences());
- UiUsageMonitorPlugin.getDefault().removeMonitoredPreferences(JavaPlugin.getDefault().getPluginPreferences());
- UiUsageMonitorPlugin.getDefault().removeMonitoredPreferences(
- WorkbenchPlugin.getDefault().getPluginPreferences());
- UiUsageMonitorPlugin.getDefault().removeMonitoredPreferences(EditorsPlugin.getDefault().getPluginPreferences());
- UiUsageMonitorPlugin.getDefault().removeMonitoredPreferences(PDEPlugin.getDefault().getPluginPreferences());
- }
-
- /**
- * Returns the shared instance.
- */
- public static MylynUserStudyExamplePlugin getDefault() {
- return plugin;
- }
-
- /**
- * Returns an image descriptor for the image file at the given plug-in relative path.
- *
- * @param path
- * the path
- * @return the image descriptor
- */
- public static ImageDescriptor getImageDescriptor(String path) {
- return AbstractUIPlugin.imageDescriptorFromPlugin("org.eclipse.mylyn.examples.monitor.study", path);
- }
-}
diff --git a/org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/QuestionnaireWizardPage.java b/org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/QuestionnaireWizardPage.java
deleted file mode 100644
index 393ce47..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/QuestionnaireWizardPage.java
+++ /dev/null
@@ -1,303 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2008 Tasktop Technologies 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:
- * Ken Sueda - initial API and implementation
- * Tasktop Technologies - improvements
- *******************************************************************************/
-
-package org.eclipse.mylyn.examples.monitor.study;
-
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.OutputStream;
-
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.mylyn.commons.core.StatusHandler;
-import org.eclipse.mylyn.monitor.usage.AbstractStudyQuestionnairePage;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Combo;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Text;
-
-/**
- * A wizard for uploading the Mylyn statistics to a website
- *
- * @author Ken Sueda
- * @author Mik Kersten
- */
-public class QuestionnaireWizardPage extends AbstractStudyQuestionnairePage {
-
- private static final String NOT_GOOD = "Not Good";
-
- private static final String GOOD = "Good";
-
- private static final String NOT_WELL = "Not well";
-
- private static final String OK = "OK";
-
- private static final String WELL = "Well";
-
- private static final String UNSURE = "Unsure";
-
- private static final String SELECT = "";
-
- private static final String EXPLORED = "Explored";
-
- private static final String DOCUMENTED = "Documented";
-
- private static final String TESTED = "Tested";
-
- private static final String ADDED_NEW_FEATURES = "Added new features";
-
- private static final String MADE_ENHANCEMENTS = "Made enhancements";
-
- private static final String FIXED_BUGS = "Fixed bugs";
-
- private Combo taskCombo;
-
- private Combo mentalModelCombo;
-
- private Combo integrateCombo;
-
- private Combo doiCombo;
-
- private String taskPerformedFeedback = null;
-
- private String mentalModelFeedback = null;
-
- private String doiModelFeedback = null;
-
- private String integrateFeedback = null;
-
- private String positiveFeedback = null;
-
- private String negativeFeedback = null;
-
- private Text positiveText = null;
-
- private Text negativeText = null;
-
- public QuestionnaireWizardPage() {
- super("Questionnaire Wizard");
- setTitle("Questionnaire");
- }
-
- public void createControl(Composite parent) {
- Composite container = new Composite(parent, SWT.NULL);
- GridLayout layout = new GridLayout();
- container.setLayout(layout);
- layout.numColumns = 1;
- layout.verticalSpacing = 9;
-
- // drop down box, choose from:
- // fixed bugs, made enhancements, added new features, tested,
- // documented, explored
- Label label = new Label(container, SWT.NULL);
- label.setText("What task did you primarily work on this week?");
-
- taskCombo = new Combo(container, SWT.READ_ONLY);
- taskCombo.setText(SELECT);
- taskCombo.add(FIXED_BUGS);
- taskCombo.add(MADE_ENHANCEMENTS);
- taskCombo.add(ADDED_NEW_FEATURES);
- taskCombo.add(TESTED);
- taskCombo.add(DOCUMENTED);
- taskCombo.add(EXPLORED);
- taskCombo.add(UNSURE);
-
- taskCombo.addSelectionListener(new SelectionAdapter() {
- @Override
- public void widgetSelected(SelectionEvent e) {
- taskPerformedFeedback = taskCombo.getText();
- getContainer().updateButtons();
- }
- });
-
- // drop down box, choose from:
- // well, ok, not well
- label = new Label(container, SWT.NULL);
- label.setText("How accurately did the context model match your mental model of interesting elements?");
- mentalModelCombo = new Combo(container, SWT.READ_ONLY);
- mentalModelCombo.setText(SELECT);
- mentalModelCombo.add(WELL);
- mentalModelCombo.add(OK);
- mentalModelCombo.add(NOT_WELL);
- mentalModelCombo.add(UNSURE);
-
- mentalModelCombo.addSelectionListener(new SelectionAdapter() {
-
- @Override
- public void widgetSelected(SelectionEvent e) {
- mentalModelFeedback = mentalModelCombo.getText();
- getContainer().updateButtons();
- }
- });
-
- // drop down box
- // chose from: good, ok, not good
- label = new Label(container, SWT.NULL);
- label.setText("How effective are the Mylyn views at exposing what you are working on?");
- doiCombo = new Combo(container, SWT.READ_ONLY);
- doiCombo.setText(SELECT);
- doiCombo.add(GOOD);
- doiCombo.add(OK);
- doiCombo.add(NOT_GOOD);
- doiCombo.add(UNSURE);
-
- doiCombo.addSelectionListener(new SelectionAdapter() {
-
- @Override
- public void widgetSelected(SelectionEvent e) {
- doiModelFeedback = doiCombo.getText();
- getContainer().updateButtons();
- }
- });
-
- // drop down box
- // chose from: well, ok, not well
- label = new Label(container, SWT.NULL);
- label.setText("How well did Mylyn integrate with your workspace and environment?");
- integrateCombo = new Combo(container, SWT.READ_ONLY);
- integrateCombo.setText(SELECT);
- integrateCombo.add(WELL);
- integrateCombo.add(OK);
- integrateCombo.add(NOT_WELL);
- integrateCombo.add(UNSURE);
-
- integrateCombo.addSelectionListener(new SelectionAdapter() {
-
- @Override
- public void widgetSelected(SelectionEvent e) {
- integrateFeedback = integrateCombo.getText();
- getContainer().updateButtons();
- }
- });
-
- positiveText = createTextWithLabel(container, "What worked well?");
- negativeText = createTextWithLabel(container, "What does not work well?");
- setControl(container);
- }
-
- private Text createTextWithLabel(Composite parent, String label) {
- GridData gd = new GridData();
- gd.horizontalAlignment = GridData.FILL;
- gd.verticalAlignment = GridData.FILL;
- gd.verticalSpan = 10;
- Label searchLabel = new Label(parent, SWT.NONE);
- searchLabel.setText(label);
- Text t = new Text(parent, SWT.BORDER | SWT.MULTI | SWT.WRAP | SWT.V_SCROLL);
- t.setLayoutData(gd);
- return t;
- }
-
- private void finishedSelected() {
- if (this.taskPerformedFeedback == null) {
- this.taskPerformedFeedback = FIXED_BUGS;
- }
- if (this.mentalModelFeedback == null) {
- this.mentalModelFeedback = WELL;
- }
- if (this.doiModelFeedback == null) {
- this.doiModelFeedback = GOOD;
- }
- if (this.integrateFeedback == null) {
- this.integrateFeedback = WELL;
- }
- positiveFeedback = positiveText.getText();
- if (this.positiveFeedback == null) {
- positiveFeedback = "none";
- }
- negativeFeedback = negativeText.getText();
- if (this.negativeFeedback == null) {
- negativeFeedback = "none";
- }
- }
-
- @Override
- public File createFeedbackFile() {
- finishedSelected();
- IPath rootPath = ResourcesPlugin.getWorkspace().getRoot().getLocation();
- String path = rootPath.toString() + File.separator + "questionnaire.txt";
- File questionnaireFile = new File(path);
-
- if (questionnaireFile.exists()) {
- questionnaireFile.delete();
- }
-
- OutputStream outputStream;
- try {
- outputStream = new FileOutputStream(questionnaireFile);
-
- String buffer = "Tasks: " + getTaskPerformedFeedback() + "\r\n";
- outputStream.write(buffer.getBytes());
- buffer = "MentalModel: " + getMentalModelFeedback() + "\r\n";
- outputStream.write(buffer.getBytes());
- buffer = "DOI: " + getDoiModelFeedback() + "\r\n";
- outputStream.write(buffer.getBytes());
- buffer = "Integrate: " + getIntegrateFeedback() + "\r\n";
- outputStream.write(buffer.getBytes());
- buffer = "Positive: " + getPositiveFeedback() + "\r\n";
- outputStream.write(buffer.getBytes());
- buffer = "Negative: " + getNegativeFeedback() + "\r\n";
- outputStream.write(buffer.getBytes());
- outputStream.close();
- return questionnaireFile;
- } catch (IOException e) {
- StatusHandler.log(new Status(IStatus.ERROR, MylynUserStudyExamplePlugin.ID_PLUGIN, "Failed to submit", e));
- }
- return null;
- }
-
- /*******************************************************************************************************************
- * getters Methods
- ******************************************************************************************************************/
- public String getDoiModelFeedback() {
- return doiModelFeedback;
- }
-
- public String getIntegrateFeedback() {
- return integrateFeedback;
- }
-
- public String getMentalModelFeedback() {
- return mentalModelFeedback;
- }
-
- public String getNegativeFeedback() {
- return negativeFeedback;
- }
-
- public String getPositiveFeedback() {
- return positiveFeedback;
- }
-
- public String getTaskPerformedFeedback() {
- return taskPerformedFeedback;
- }
-
- @Override
- public boolean isPageComplete() {
- if (taskCombo.getText().equals(SELECT) || doiCombo.getText().equals(SELECT)
- || mentalModelCombo.getText().equals(SELECT) || integrateCombo.getText().equals(SELECT)) {
- // setErrorMessage("Must complete answers");
- return false;
- } else {
- // setErrorMessage(null);
- return true;
- }
- }
-}
diff --git a/org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/SelectionMonitor.java b/org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/SelectionMonitor.java
deleted file mode 100644
index c6e9d21..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/SelectionMonitor.java
+++ /dev/null
@@ -1,186 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2008 Tasktop Technologies 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:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.examples.monitor.study;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jdt.core.IJavaElement;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jdt.internal.ui.actions.SelectionConverter;
-import org.eclipse.jdt.internal.ui.javaeditor.JavaEditor;
-import org.eclipse.jface.text.TextSelection;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.mylyn.context.core.ContextCore;
-import org.eclipse.mylyn.context.core.IInteractionElement;
-import org.eclipse.mylyn.internal.monitor.ui.MonitorUiPlugin;
-import org.eclipse.mylyn.monitor.core.InteractionEvent;
-import org.eclipse.mylyn.monitor.ui.AbstractUserInteractionMonitor;
-import org.eclipse.ui.IEditorInput;
-import org.eclipse.ui.IPathEditorInput;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.part.EditorPart;
-
-/**
- * Limited to Java selections.
- *
- * @author Mik Kersten
- */
-public class SelectionMonitor extends AbstractUserInteractionMonitor {
-
- private static final String STRUCTURE_KIND_JAVA = "java";
-
- private static final String ID_JAVA_UNKNOWN = "(non-source element)";
-
- public static final String SELECTION_DEFAULT = "selected";
-
- public static final String SELECTION_NEW = "new";
-
- public static final String SELECTION_DECAYED = "decayed";
-
- public static final String SELECTION_PREDICTED = "predicted";
-
- private static final Object ID_JAVA_UNKNOW_OLD = "(non-existing element)";
-
- private IJavaElement lastSelectedElement = null;
-
- // private InteractionEventObfuscator obfuscator = new InteractionEventObfuscator();
-
- @Override
- protected void handleWorkbenchPartSelection(IWorkbenchPart part, ISelection selection, boolean contributeToContext) {
- // ignored, since not using context monitoring facilities
- }
-
- @Override
- public void selectionChanged(IWorkbenchPart part, ISelection selection) {
- String structureKind = InteractionEvent.ID_UNKNOWN;
- // String obfuscatedElementHandle = InteractionEvent.ID_UNKNOWN;
- String elementHandle = InteractionEvent.ID_UNKNOWN;
- InteractionEvent.Kind interactionKind = InteractionEvent.Kind.SELECTION;
- if (selection instanceof StructuredSelection) {
- StructuredSelection structuredSelection = (StructuredSelection) selection;
- Object selectedObject = structuredSelection.getFirstElement();
- if (selectedObject == null) {
- return;
- }
- if (selectedObject instanceof IJavaElement) {
- IJavaElement javaElement = (IJavaElement) selectedObject;
- structureKind = STRUCTURE_KIND_JAVA;
- elementHandle = javaElement.getHandleIdentifier();
- // obfuscatedElementHandle =
- // obfuscateJavaElementHandle(javaElement);
- lastSelectedElement = javaElement;
- } else {
- structureKind = InteractionEvent.ID_UNKNOWN + ": " + selectedObject.getClass();
- if (selectedObject instanceof IAdaptable) {
- IResource resource = (IResource) ((IAdaptable) selectedObject).getAdapter(IResource.class);
- if (resource != null) {
- elementHandle = getHandleIdentifier(resource.getFullPath());
- // obfuscatedElementHandle =
- // obfuscator.obfuscateResourcePath(resource.getProjectRelativePath());
- }
- }
- }
- } else {
- if (selection instanceof TextSelection && part instanceof JavaEditor) {
- TextSelection textSelection = (TextSelection) selection;
- IJavaElement javaElement;
- try {
- javaElement = SelectionConverter.resolveEnclosingElement((JavaEditor) part, textSelection);
- if (javaElement != null) {
- structureKind = STRUCTURE_KIND_JAVA;
- // obfuscatedElementHandle =
- // obfuscateJavaElementHandle(javaElement);
- elementHandle = javaElement.getHandleIdentifier();
- if (javaElement.equals(lastSelectedElement)) {
- interactionKind = InteractionEvent.Kind.EDIT;
- }
- lastSelectedElement = javaElement;
- }
- } catch (JavaModelException e) {
- // ignore unresolved elements
- }
- } else if (part instanceof EditorPart) {
- EditorPart editorPart = (EditorPart) part;
- IEditorInput input = editorPart.getEditorInput();
- if (input instanceof IPathEditorInput) {
- structureKind = "file";
- elementHandle = getHandleIdentifier(((IPathEditorInput) input).getPath());
- // obfuscatedElementHandle =
- // obfuscator.obfuscateResourcePath(((IPathEditorInput)
- // input).getPath());
- }
- }
- }
- IInteractionElement node = ContextCore.getContextManager().getElement(elementHandle);
- String delta = "";
- float selectionFactor = ContextCore.getCommonContextScaling().get(InteractionEvent.Kind.SELECTION);
-
- if (node != null) {
- if (node.getInterest().getEncodedValue() <= selectionFactor
- && node.getInterest().getValue() > selectionFactor) {
- delta = SELECTION_PREDICTED;
- } else if (node.getInterest().getEncodedValue() < selectionFactor
- && node.getInterest().getDecayValue() > selectionFactor) {
- delta = SELECTION_DECAYED;
- } else if (node.getInterest().getValue() == selectionFactor
- && node.getInterest().getDecayValue() < selectionFactor) {
- delta = SELECTION_NEW;
- } else {
- delta = SELECTION_DEFAULT;
- }
- }
-
- InteractionEvent event = new InteractionEvent(interactionKind, structureKind, elementHandle, part.getSite()
- .getId(), "null", delta, 0);
- MonitorUiPlugin.getDefault().notifyInteractionObserved(event);
- }
-
- // private String obfuscateJavaElementHandle(IJavaElement javaElement) {
- // try {
- // StringBuffer obfuscatedPath = new StringBuffer();
- // IResource resource;
- // resource = (IResource) javaElement.getUnderlyingResource();
- // if (resource != null && (resource instanceof IFile)) {
- // IFile file = (IFile) resource;
- // obfuscatedPath.append(obfuscator.obfuscateResourcePath(file.getProjectRelativePath()));
- // obfuscatedPath.append(':');
- // obfuscatedPath.append(obfuscator.obfuscateString(javaElement.getElementName()));
- // return obfuscatedPath.toString();
- // } else {
- // return obfuscator.obfuscateString(javaElement.getHandleIdentifier());
- // }
- // } catch (JavaModelException e) {
- // // ignore non-existing element
- // }
- // return ID_JAVA_UNKNOWN;
- // }
-
- // NOTE: duplicated from ResourceStructureBridge
- private String getHandleIdentifier(IPath path) {
- if (path != null) {
- return path.toPortableString();
- } else {
- return null;
- }
- }
-
- /**
- * Some events do not have a valid handle, e.g. hande is null or ?
- */
- public static boolean isValidStructureHandle(InteractionEvent event) {
- String handle = event.getStructureHandle();
- return handle != null && !handle.trim().equals("") && !handle.equals(SelectionMonitor.ID_JAVA_UNKNOWN)
- && !handle.equals(SelectionMonitor.ID_JAVA_UNKNOW_OLD) && event.isValidStructureHandle();
- }
-}
diff --git a/org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/SubmitFeedbackPage.java b/org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/SubmitFeedbackPage.java
deleted file mode 100644
index f264a71..0000000
--- a/org.eclipse.mylyn.examples.monitor.study/src/org/eclipse/mylyn/examples/monitor/study/SubmitFeedbackPage.java
+++ /dev/null
@@ -1,422 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2008 Tasktop Technologies 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:
- * Tasktop Technologies - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.mylyn.examples.monitor.study;
-
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.OutputStream;
-
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jface.wizard.IWizardPage;
-import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.mylyn.commons.core.StatusHandler;
-import org.eclipse.mylyn.internal.monitor.usage.UiUsageMonitorPlugin;
-import org.eclipse.mylyn.internal.monitor.usage.wizards.UsageSubmissionWizard;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ModifyEvent;
-import org.eclipse.swt.events.ModifyListener;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-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.Group;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Text;
-
-/**
- * Page to submit feedback for the user study
- *
- * @author Shawn Minto
- * @author Mik Kersten
- */
-public class SubmitFeedbackPage extends WizardPage {
-
- private Text firstName;
-
- private Text lastName;
-
- private Text emailAddress;
-
- private Text feedback;
-
- private Text uid;
-
- private Button totallyAnonymous;
-
- private Button identifiedUserStudyId;
-
- private Button identifiedNameEmail;
-
- private String first;
-
- private String last;
-
- private String email;
-
- private String feed;
-
- private int id;
-
- private boolean anon;
-
- private boolean named;
-
- private final UsageSubmissionWizard uploadWizard;
-
- /**
- * Constructor
- */
- public SubmitFeedbackPage(UsageSubmissionWizard uploadWizard) {
- super("Feedback Wizard");
- setTitle("Submit feedback for Mylyn User Study");
- // setDescription(QuestionnaireWizardPage.FEEDBACK_REQUEST);
- this.uploadWizard = uploadWizard;
- }
-
- /**
- * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
- */
- public void createControl(Composite parent) {
- Composite container = new Composite(parent, SWT.NULL);
- GridLayout layout = new GridLayout();
- container.setLayout(layout);
- layout.numColumns = 1;
-
- Composite container2 = null;
-
- if (uploadWizard == null) {
- container2 = new Composite(container, SWT.NULL);
- layout = new GridLayout(2, false);
- container2.setLayout(layout);
-
- container2 = addSubmissionStyleControls(container2);
- } else {
- container2 = new Composite(container, SWT.NULL);
- layout = new GridLayout(2, true);
- container2.setLayout(layout);
- }
-
- Label label = new Label(container2, SWT.NONE);
- // HACK used to make the feedback column a nice width
- label.setText("Feedback: ");
- GridData gd = new GridData(GridData.GRAB_HORIZONTAL | GridData.FILL_BOTH);
- gd.horizontalSpan = 2;
- label.setLayoutData(gd);
-
- feedback = new Text(container2, SWT.BORDER | SWT.V_SCROLL | SWT.WRAP);
- gd = new GridData(GridData.GRAB_HORIZONTAL | GridData.FILL_BOTH | GridData.HORIZONTAL_ALIGN_FILL);
- gd.horizontalSpan = 2;
- gd.verticalSpan = 40;
- feedback.setLayoutData(gd);
- feedback.setEditable(true);
- feedback.addModifyListener(new ModifyListener() {
- public void modifyText(ModifyEvent e) {
- feed = feedback.getText();
- SubmitFeedbackPage.this.setPageComplete(SubmitFeedbackPage.this.isPageComplete());
- }
- });
-
- setControl(container);
- }
-
- private Composite addSubmissionStyleControls(Composite container) {
- totallyAnonymous = new Button(container, SWT.RADIO);
- GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
- totallyAnonymous.setLayoutData(gd);
- totallyAnonymous.setSelection(false);
- totallyAnonymous.addSelectionListener(new SelectionListener() {
- public void widgetSelected(SelectionEvent e) {
- if (e.widget == totallyAnonymous) {
- anon = true;
- named = false;
- boolean edit = !anon;
- firstName.setEditable(edit);
- lastName.setEditable(edit);
- emailAddress.setEditable(edit);
- SubmitFeedbackPage.this.setPageComplete(SubmitFeedbackPage.this.isPageComplete());
- }
- }
-
- public void widgetDefaultSelected(SelectionEvent e) {
- // don't care about default selection
- }
- });
-
- Group anonCont = new Group(container, SWT.SHADOW_ETCHED_IN);
- GridLayout layout = new GridLayout(1, true);
- layout.verticalSpacing = 9;
- layout.horizontalSpacing = 4;
- anonCont.setLayout(layout);
- anonCont.setText("Anonymous");
-
- identifiedUserStudyId = new Button(container, SWT.RADIO);
- gd = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
- identifiedUserStudyId.setLayoutData(gd);
- identifiedUserStudyId.setSelection(false);
- identifiedUserStudyId.addSelectionListener(new SelectionListener() {
- public void widgetSelected(SelectionEvent e) {
- if (e.widget == identifiedUserStudyId) {
- anon = true;
- named = false;
- boolean edit = !anon;
- firstName.setEditable(edit);
- lastName.setEditable(edit);
- emailAddress.setEditable(edit);
- SubmitFeedbackPage.this.setPageComplete(SubmitFeedbackPage.this.isPageComplete());
- }
- }
-
- public void widgetDefaultSelected(SelectionEvent e) {
- // don't care about default selection
- }
- });
-
- Group idUserCont = new Group(container, SWT.SHADOW_ETCHED_IN);
- layout = new GridLayout(2, true);
- layout.verticalSpacing = 9;
- layout.horizontalSpacing = 4;
- idUserCont.setLayout(layout);
- idUserCont.setText("Identified By User Study Id");
-
- Label label = new Label(idUserCont, SWT.NULL);
- label.setText("User Id:");
-
- uid = new Text(idUserCont, SWT.BORDER | SWT.SINGLE);
- gd = new GridData(SWT.FILL, SWT.FILL, true, true);
- gd.horizontalSpan = 1;
- uid.setLayoutData(gd);
- uid.setEditable(false);
- id = UiUsageMonitorPlugin.getDefault().getPreferenceStore().getInt(UiUsageMonitorPlugin.PREF_USER_ID);
- if (id == 0) {
- id = -1;
- }
- uid.setText(id + "");
-
- identifiedNameEmail = new Button(container, SWT.RADIO);
- gd = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
- identifiedNameEmail.setLayoutData(gd);
- identifiedNameEmail.setSelection(false);
- identifiedNameEmail.addSelectionListener(new SelectionListener() {
- public void widgetSelected(SelectionEvent e) {
- if (e.widget == identifiedNameEmail) {
- anon = false;
- named = true;
- boolean edit = !anon;
- firstName.setEditable(edit);
- lastName.setEditable(edit);
- emailAddress.setEditable(edit);
- SubmitFeedbackPage.this.setPageComplete(SubmitFeedbackPage.this.isPageComplete());
- }
- }
-
- public void widgetDefaultSelected(SelectionEvent e) {
- // don't care about default selection
- }
- });
-
- Group idCont = new Group(container, SWT.SHADOW_ETCHED_IN);
- layout = new GridLayout(1, true);
- layout.verticalSpacing = 9;
- layout.horizontalSpacing = 4;
- idCont.setLayout(layout);
- idCont.setText("Identifed By Name and Email");
-
- Composite names = new Composite(idCont, SWT.NULL);
- layout = new GridLayout(6, true);
- layout.verticalSpacing = 9;
- layout.horizontalSpacing = 4;
- names.setLayout(layout);
-
- label = new Label(names, SWT.NULL);
- label.setText("First Name:");
-
- firstName = new Text(names, SWT.BORDER | SWT.SINGLE);
- gd = new GridData(SWT.FILL, SWT.FILL, true, true);
- gd.horizontalSpan = 2;
- firstName.setLayoutData(gd);
- firstName.setEditable(true);
- firstName.addModifyListener(new ModifyListener() {
- public void modifyText(ModifyEvent e) {
- first = firstName.getText();
- SubmitFeedbackPage.this.setPageComplete(SubmitFeedbackPage.this.isPageComplete());
- }
- });
-
- label = new Label(names, SWT.NULL);
- label.setText("Last Name:");
-
- lastName = new Text(names, SWT.BORDER | SWT.SINGLE);
- gd = new GridData(SWT.FILL, SWT.FILL, true, true);
- gd.horizontalSpan = 2;
- lastName.setLayoutData(gd);
- lastName.setEditable(true);
- lastName.addModifyListener(new ModifyListener() {
- public void modifyText(ModifyEvent e) {
- last = lastName.getText();
- SubmitFeedbackPage.this.setPageComplete(SubmitFeedbackPage.this.isPageComplete());
- }
- });
-
- label = new Label(names, SWT.NONE);
- label.setText("Email Address:");
-
- emailAddress = new Text(names, SWT.BORDER | SWT.SINGLE);
- gd = new GridData(GridData.GRAB_HORIZONTAL | GridData.FILL_BOTH);
- gd.horizontalSpan = 5;
- emailAddress.setLayoutData(gd);
- emailAddress.setEditable(true);
- emailAddress.addModifyListener(new ModifyListener() {
- public void modifyText(ModifyEvent e) {
- email = emailAddress.getText();
- boolean valid = vaidateEmail(email);
- if (!valid) {
- SubmitFeedbackPage.this.setErrorMessage("Must be a valid e-mail address");
- } else {
- SubmitFeedbackPage.this.setErrorMessage(null);
- }
- SubmitFeedbackPage.this.setPageComplete(SubmitFeedbackPage.this.isPageComplete());
- }
- });
-
- if (id == -1) {
- identifiedUserStudyId.setEnabled(false);
- identifiedNameEmail.setSelection(true);
- } else {
- identifiedUserStudyId.setSelection(true);
- firstName.setEditable(false);
- lastName.setEditable(false);
- emailAddress.setEditable(false);
- }
- return container;
- }
-
- private boolean vaidateEmail(String emailToVerify) {
- if (emailToVerify.contains("@")) {
- emailToVerify = emailToVerify.substring(emailToVerify.indexOf("@"));
- return emailToVerify.contains(".");
- }
- return false;
- }
-
- public boolean hasAllFields() {
- if (uploadWizard != null) {
- return (((!firstName.getText().equals("") && !lastName.getText().equals("") && !emailAddress.getText()
- .equals("")) || anon) && !feedback.getText().equals(""));
- } else {
- return !feedback.getText().equals("");
- }
- }
-
- @Override
- public boolean isPageComplete() {
- if (hasAllFields() && this.getErrorMessage() == null) {
- return true;
- } else {
- return false;
- }
- }
-
- @Override
- public IWizardPage getNextPage() {
- return super.getNextPage();
-
- }
-
- /** ONLY VALID IF WIZARD NOT STARTED FROM UPLOAD WIZARD */
- public boolean isAnon() {
- return anon;
- }
-
- public int getUid() {
- if (anon || named) {
- return -1;
- }
- return id;
- }
-
- public String getStringUid() {
- if (anon) {
- return "anon";
- } else if (named) {
- return "named";
- } else {
- return "" + getUid();
- }
- }
-
- /** ONLY VALID IF WIZARD NOT STARTED FROM UPLOAD WIZARD */
- public String getEmailAddress() {
- if (anon) {
- return "null";
- }
- return email;
- }
-
- /** ONLY VALID IF WIZARD NOT STARTED FROM UPLOAD WIZARD */
- public String getFirstName() {
- if (anon) {
- return "null";
- }
- return first;
- }
-
- /** ONLY VALID IF WIZARD NOT STARTED FROM UPLOAD WIZARD */
- public String getLastName() {
- if (anon) {
- return "null";
- }
- return last;
- }
-
- /** ONLY VALID IF WIZARD NOT STARTED FROM UPLOAD WIZARD */
- public String getFeedback() {
- return feed;
- }
-
- public File createFeedbackFile() {
- IPath rootPath = ResourcesPlugin.getWorkspace().getRoot().getLocation();
- String path = rootPath.toString() + File.separator + "feedback.txt";
- File feedbackFile = new File(path);
-
- if (feedbackFile.exists()) {
- feedbackFile.delete();
- }
-
- OutputStream outputStream;
- try {
- outputStream = new FileOutputStream(feedbackFile);
-
- String buffer = "First Name: " + getFirstName() + "\r\n";
- outputStream.write(buffer.getBytes());
- buffer = "Last Name: " + getLastName() + "\r\n";
- outputStream.write(buffer.getBytes());
- buffer = "E-mail Address: " + getEmailAddress() + "\r\n";
- outputStream.write(buffer.getBytes());
- buffer = "UID: " + getUid() + "\r\n";
- outputStream.write(buffer.getBytes());
- buffer = "Feedback: " + getFeedback() + "\r\n";
- outputStream.write(buffer.getBytes());
- outputStream.close();
- return feedbackFile;
- } catch (IOException e) {
- StatusHandler.log(new Status(IStatus.ERROR, MylynUserStudyExamplePlugin.ID_PLUGIN, "Failed to submit", e));
- }
- return null;
- }
-
-}