Commit 1f704696 authored by Kerstin Bach's avatar Kerstin Bach Committed by Kerstin Bach
Browse files

Initial commit of the myCBR 3 project.

parents
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" path="external-libs/postgresql-9.1-901.jdbc4.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
.idea/
bin/**/*
*.iml
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>myCBR3</name>
<comment>@key 32303037303533312D31303030206D79434252322F7A696C6C6573 </comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.soyatec.additional.Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>com.soyatec.additional.Nature</nature>
</natures>
</projectDescription>
#Sat Apr 11 11:47:53 CEST 2009
eclipse.preferences.version=1
encoding/<project>=UTF-8
#Tue May 12 14:27:07 CEST 2009
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
#Thu Apr 02 16:40:22 CEST 2009
eclipse.preferences.version=1
org.eclipse.jdt.ui.javadoc=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\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*\r\n * myCBR License 2.0\r\n *\r\n * Copyright (c) 2009\r\n * Thomas Roth-Berghofer, Armin Stahl &amp; Deutsches Forschungszentrum f&amp;uuml;r K&amp;uuml;nstliche Intelligenz DFKI GmbH\r\n * Further contributors\: myCBR Team (see http\://mycbr-project.net/contact.html for further information \r\n * about the myCBR Team). \r\n * All rights reserved.\r\n *\r\n * myCBR is free software; you can redistribute it and/or modify\r\n * it under the terms of the GNU General Public License as published by\r\n * the Free Software Foundation; either version 2 of the License, or\r\n * (at your option) any later version.\r\n *\r\n * This program is distributed in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n * GNU General Public License for more details.\r\n *\r\n * You should have received a copy of the GNU General Public License\r\n * along with this program; if not, write to the Free Software\r\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\r\n *\r\n * Since myCBR uses some modules, you should be aware of their licenses for\r\n * which you should have received a copy along with this program, too.\r\n * \r\n * endOfLic */\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 myCBR Team\r\n *\r\n * ${tags}\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\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-Javadoc)\r\n * ${see_to_overridden}\r\n */</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\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\r\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\r\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\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.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
#Sat Apr 11 11:47:53 CEST 2009
eclipse.preferences.version=1
org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
<?xml version = "1.0" encoding = "utf-8"?>
<project name = "myCBR jar" default = "build" basedir = ".">
<property name = "mycbr_bin" value = "${user.dir}/bin"/>
<property name = "mycbr_src" value = "${user.dir}/src"/>
<property name = "mycbr_dist" value = "${user.dir}/dist"/>
<property name = "mycbr_doc" value = "${user.dir}/doc"/>
<property name = "targetVM" value = "1.5"/>
<property name = "version" value = "3.0.0BETA"/>
<property name = "jarName" value = "myCBR${version}.jar"/>
<property name = "zipName" value = "myCBR${version}.zip"/>
<!-- generates a jar file -->
<!-- =================================================================== -->
<target name = "generate_jar">
<mkdir dir="${mycbr_bin}"/>
<delete file="../de.dfki.mycbr.gui/lib/mycbr.jar" />
<jar destfile="../de.dfki.mycbr.gui/lib/mycbr.jar" >
<fileset dir="${mycbr_bin}">
<exclude name="**/junittest/**" />
</fileset>
</jar>
<mkdir dir="${mycbr_dist}"/>
<delete file="${mycbr_dist}/${jarName}" />
<jar destfile="${mycbr_dist}/${jarName}" >
<fileset dir="${mycbr_bin}">
<exclude name="**/junittest/**" />
</fileset>
</jar>
</target>
<!-- =================================================================== -->
<target name = "zip_sources">
<delete file="${mycbr_dist}/${zipName}" />
<zip destfile="${mycbr_dist}/${zipName}">
<fileset dir="${mycbr_src}">
<exclude name="**/junittest/**" />
</fileset>
</zip>
</target>
<target name="javadoc">
<mkdir dir="${mycbr_doc}"/>
<javadoc destdir="${mycbr_doc}" access="public">
<fileset dir="${mycbr_src}">
<exclude name="**/junittest/**" />
</fileset>
</javadoc>
</target>
<target name = "build" depends = "generate_jar,zip_sources" />
</project>
; Wed Nov 18 17:47:05 CET 2009
;
;+ (version "3.3.1")
;+ (build "Build 430")
([multipleTest_Instance_10] of Car
(equip radio sunroof))
([multipleTest_Instance_11] of Car
(equip radio air_conditioning))
([multipleTest_Instance_12] of Car
(equip radio sunroof air_conditioning electric_window_lift))
; Wed Nov 18 17:47:05 CET 2009
;
;+ (version "3.3.1")
;+ (build "Build 430")
(defclass %3ACLIPS_TOP_LEVEL_SLOT_CLASS "Fake class to save top-level slot information"
(is-a USER)
(role abstract)
(single-slot comment
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot weight
(type FLOAT)
(range 0.5 5.0)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot new
(type SYMBOL)
(allowed-values FALSE TRUE)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot temp
(type INTEGER)
(range -100 100)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot doors
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot color
(type SYMBOL)
(allowed-values green black blue white yellow red pink brown darkgreen darkblue)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot ccm
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot dealer
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(multislot equip
(type SYMBOL)
(allowed-values radio sunroof air_conditioning electric_window_lift)
(create-accessor read-write)))
(defclass Car
(is-a %3ASYSTEM-CLASS)
(role concrete)
(single-slot comment
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot weight
(type FLOAT)
(range 0.5 5.0)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot new
(type SYMBOL)
(allowed-values FALSE TRUE)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot temp
(type INTEGER)
(range -100 100)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot doors
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot color
(type SYMBOL)
(allowed-values green black blue white yellow red pink brown darkgreen darkblue)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot ccm
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot dealer
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(multislot equip
(type SYMBOL)
(allowed-values radio sunroof air_conditioning electric_window_lift)
(create-accessor read-write)))
\ No newline at end of file
; Wed Nov 18 17:47:05 CET 2009
;
;+ (version "3.3.1")
;+ (build "Build 430")
([ANNOTATED_INSTANCE_WIDGET] of Widget
(name ":ANNOTATED-INSTANCE"))
([ANNOTATION_TEXT_WIDGET] of Widget
(height 100)
(is_hidden FALSE)
(name ":ANNOTATION-TEXT")
(widget_class_name "edu.stanford.smi.protege.widget.YellowStickyWidget")
(width 200)
(x 0)
(y 0))
([BROWSER_SLOT_NAMES] of Property_List
(properties
[multipleTest_ProjectKB_Instance_63]
[multipleTest_ProjectKB_Instance_64]
[multipleTest_ProjectKB_Instance_65]))
([CLSES_TAB] of Widget
(is_hidden FALSE)
(widget_class_name "edu.stanford.smi.protege.widget.ClsesTab"))
([CREATION_TIMESTAMP_WIDGET] of Widget
(name ":CREATION-TIMESTAMP"))
([CREATOR_WIDGET] of Widget
(name ":CREATOR"))
([FORMS_TAB] of Widget
(is_hidden FALSE)
(widget_class_name "edu.stanford.smi.protege.widget.FormsTab"))
([INSTANCE_ANNOTATION_FORM_WIDGET] of Widget
(height 476)
(is_hidden FALSE)
(name ":INSTANCE-ANNOTATION")
(property_list [INSTANCE_ANNOTATION_PROPERTY_LIST])
(widget_class_name "edu.stanford.smi.protege.widget.FormWidget")
(width 603)
(x 0)
(y 0))
([INSTANCE_ANNOTATION_PROPERTY_LIST] of Property_List
(properties
[ANNOTATED_INSTANCE_WIDGET]
[CREATOR_WIDGET]
[CREATION_TIMESTAMP_WIDGET]
[ANNOTATION_TEXT_WIDGET]))
([INSTANCES_TAB] of Widget
(is_hidden FALSE)
(widget_class_name "edu.stanford.smi.protege.widget.InstancesTab"))
([KB_133776_Instance_0] of String
(name "factory_class_name")
(string_value "edu.stanford.smi.protege.storage.clips.ClipsKnowledgeBaseFactory"))
([KB_133776_Instance_1] of Options
(confirm_on_remove FALSE)
(display_abstract_class_icon TRUE)
(display_hidden_classes TRUE)
(display_multi_parent_class_icon TRUE)
(is_readonly FALSE)
(tabbed_instance_form_layout FALSE)
(undo_enabled TRUE)
(update_modification_slots FALSE))
([KB_133776_Instance_10] of Widget
(is_hidden FALSE)
(property_list [KB_133776_Instance_11])
(widget_class_name "de.dfki.mycbr.modelprovider.protege.explanation.MyCbr_Explanation_Tab"))
([KB_133776_Instance_11] of Property_List
)
([KB_133776_Instance_12] of Widget
(is_hidden TRUE)
(property_list [KB_133776_Instance_13])
(widget_class_name "edu.stanford.smi.protege.widget.ClsesAndInstancesTab"))
([KB_133776_Instance_13] of Property_List
)
([KB_133776_Instance_14] of Property_List
(properties
[KB_133776_Instance_15]
[KB_133776_Instance_16]))
([KB_133776_Instance_15] of Boolean
(boolean_value FALSE)
(name "ButtonDisplayed-View References to Value"))
([KB_133776_Instance_16] of Boolean
(boolean_value FALSE)
(name "ButtonDisplayed-Delete Instance"))
([KB_133776_Instance_17] of Property_List
)
([KB_133776_Instance_18] of Property_List
)
([KB_133776_Instance_19] of Property_List
(properties
[KB_133776_Instance_20]
[KB_133776_Instance_21]))
([KB_133776_Instance_2] of Widget
(is_hidden FALSE)
(property_list [KB_133776_Instance_3])
(widget_class_name "de.dfki.mycbr.modelprovider.protege.retrieval.MyCbr_Retrieval_Tab"))
([KB_133776_Instance_20] of Boolean
(boolean_value FALSE)
(name "ButtonDisplayed-Move up"))
([KB_133776_Instance_21] of Boolean
(boolean_value FALSE)
(name "ButtonDisplayed-Move down"))
([KB_133776_Instance_22] of Property_List
)
([KB_133776_Instance_23] of Property_List
(name "layout properties"))
([KB_133776_Instance_24] of Property_List
)
([KB_133776_Instance_25] of Property_List
)
([KB_133776_Instance_26] of Property_List
)
([KB_133776_Instance_27] of Property_List
)
([KB_133776_Instance_28] of Property_List
)
([KB_133776_Instance_29] of Property_List
)
([KB_133776_Instance_3] of Property_List
)
([KB_133776_Instance_30] of Property_List
)
([KB_133776_Instance_31] of Property_List
)
([KB_133776_Instance_32] of Property_List
)
([KB_133776_Instance_33] of Property_List
)
([KB_133776_Instance_34] of Property_List
)
([KB_133776_Instance_35] of Property_List
(properties [multipleTest_ProjectKB_Instance_38]))
([KB_133776_Instance_36] of String
(name "classes_file_name")
(string_value "multipleTest.pont"))
([KB_133776_Instance_37] of String
(name "instances_file_name")
(string_value "multipleTest.pins"))
([KB_133776_Instance_4] of Widget
(is_hidden FALSE)
(property_list [KB_133776_Instance_5])
(widget_class_name "de.dfki.mycbr.modelprovider.protege.similaritymodeling.MyCbr_Similarities_Tab"))
([KB_133776_Instance_5] of Property_List
)
([KB_133776_Instance_6] of Widget
(is_hidden TRUE)
(property_list [KB_133776_Instance_7])
(widget_class_name "edu.stanford.smi.protege.widget.ProtegePropertiesTab"))
([KB_133776_Instance_7] of Property_List
)
([KB_133776_Instance_8] of Widget
(is_hidden TRUE)
(property_list [KB_133776_Instance_9])
(widget_class_name "edu.stanford.smi.protege.widget.KAToolTab"))
([KB_133776_Instance_9] of Property_List
)
([LAYOUT_PROPERTIES] of Property_List
(name "layout properties")
(properties [VERTICAL_STRETCHER]))
([multipleTest_ProjectKB_Instance_38] of String
(name "SearchTab_Query"))
([multipleTest_ProjectKB_Instance_63] of String
(name ":PAL-CONSTRAINT")
(string_value "%3APAL-NAME"))
([multipleTest_ProjectKB_Instance_64] of String
(name ":INSTANCE-ANNOTATION")
(string_value "%3AANNOTATION-TEXT"))
([multipleTest_ProjectKB_Instance_65] of String
(name ":META-CLASS")
(string_value "%3ANAME"))
([multipleTest_ProjectKB_Instance_66] of Map
(entries
[multipleTest_ProjectKB_Instance_67]
[multipleTest_ProjectKB_Instance_68]))
([multipleTest_ProjectKB_Instance_67] of Map_Entry
(key "add_name_on_instance_form")
(key_class "java.lang.String")
(value "false")
(value_class "java.lang.String"))
([multipleTest_ProjectKB_Instance_68] of Map_Entry
(key "change_tracking_active")
(key_class "java.lang.String")
(value "false")
(value_class "java.lang.String"))
([PAL_DESCRIPTION_WIDGET] of Widget
(height 180)
(is_hidden FALSE)
(label "Description")
(name ":PAL-DESCRIPTION")
(widget_class_name "edu.stanford.smi.protege.widget.TextAreaWidget")
(width 250)
(x 275)
(y 0))
([PAL_FORM_WIDGET] of Widget
(height 476)
(is_hidden FALSE)
(name ":PAL-CONSTRAINT")
(property_list [PAL_PROPERTY_LIST])
(widget_class_name "edu.stanford.smi.protege.widget.FormWidget")
(width 603)
(x 0)
(y 0))
([PAL_NAME_WIDGET] of Widget
(height 60)
(is_hidden FALSE)
(label "Name")
(name ":PAL-NAME")
(widget_class_name "edu.stanford.smi.protege.widget.TextFieldWidget")
(width 275)
(x 0)
(y 0))
([PAL_PROPERTY_LIST] of Property_List
(properties
[PAL_NAME_WIDGET]
[PAL_RANGE_WIDGET]
[PAL_DESCRIPTION_WIDGET]
[PAL_STATEMENT_WIDGET]))
([PAL_RANGE_WIDGET] of Widget
(height 180)
(is_hidden FALSE)
(label "Range")
(name ":PAL-RANGE")
(widget_class_name "edu.stanford.smi.protegex.widget.pal.constraint.PalRangeWidget")
(width 250)
(x 275)
(y 180))
([PAL_STATEMENT_WIDGET] of Widget
(height 300)
(is_hidden FALSE)
(label "Statement")
(name ":PAL-STATEMENT")
(widget_class_name "edu.stanford.smi.protegex.widget.pal.constraint.PalConstraintWidget")
(width 275)
(x 0)
(y 60))
([PROJECT] of Project
(browser_slot_names [BROWSER_SLOT_NAMES])
(customized_instance_widgets
[PAL_FORM_WIDGET]
[STANDARD_CLASS_FORM_WIDGET]
[INSTANCE_ANNOTATION_FORM_WIDGET]
[STANDARD_SLOT_FORM_WIDGET]
[STANDARD_FACET_FORM_WIDGET])
(default_cls_metaclass ":STANDARD-CLASS")
(default_facet_metaclass ":STANDARD-FACET")
(default_instance_widget_class_name "edu.stanford.smi.protege.widget.FormWidget")
(default_slot_metaclass ":STANDARD-SLOT")
(journaling_enabled FALSE)
(next_frame_number 0)
(options [KB_133776_Instance_1])
(property_map [multipleTest_ProjectKB_Instance_66])
(sources [SOURCES])
(tabs
[CLSES_TAB]
[SLOTS_TAB]
[FORMS_TAB]
[INSTANCES_TAB]
[QUERIES_TAB]
[KB_133776_Instance_12]
[KB_133776_Instance_8]
[KB_133776_Instance_10]
[KB_133776_Instance_2]
[KB_133776_Instance_4]
[KB_133776_Instance_6]))
([QUERIES_TAB] of Widget
(is_hidden FALSE)
(property_list [KB_133776_Instance_35])
(widget_class_name "edu.stanford.smi.protegex.queries_tab.QueriesTab"))
([SLOTS_TAB] of Widget
(is_hidden FALSE)
(widget_class_name "edu.stanford.smi.protege.widget.SlotsTab"))
([SOURCES] of Property_List
(properties
[KB_133776_Instance_0]
[KB_133776_Instance_36]
[KB_133776_Instance_37]))
([STANDARD_CLASS_CONSTRAINTS_WIDGET] of Widget
(height 120)
(label "Constraints")
(name ":SLOT-CONSTRAINTS")
(property_list [KB_133776_Instance_14])
(widget_class_name "edu.stanford.smi.protege.widget.ConstraintsWidget")
(width 200)
(x 400)
(y 0))