Changes between Version 6 and Version 7 of GritsTutorial_OntologyGritsSampleEditor
- Timestamp:
- 03/24/2017 10:32:34 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GritsTutorial_OntologyGritsSampleEditor
v6 v7 3 3 4 4 == General Information == 5 GRITS has a ''sample'' entry. This entry provides tools for management of sample related information. This entry is contributed and managed by [https://svn.grits-toolbox.org/trunk/eclipse/org.grits.toolbox.entry.sample Sample Plugin]. The Sample plugin defines the properties of ''sample entry'' and its related information. This plugin also adds an editor for sample entry to display or modify sample information. The object representing a sample is stored in a ''.xml'' file. Read [wiki:GritsTutorial_ObjectModelGritsSampleEditor this] to learn more aboutSample object. This object has a predefined model that is stored in the ontologies.5 GRITS has a ''sample'' entry. This entry provides tools for management of sample related information. This entry is contributed and managed by [https://svn.grits-toolbox.org/trunk/eclipse/org.grits.toolbox.entry.sample Sample Plugin]. The Sample plugin defines the properties of ''sample entry'' and its related information. This plugin also adds an editor for sample entry to display or modify sample information. An object that is used to represent a sample is stored in a ''.xml'' file. Read [wiki:GritsTutorial_ObjectModelGritsSampleEditor this] to learn more about this Sample object. This object has a predefined model that is stored in the ontologies. 6 6 7 Currently there are two ontologies for sample7 Currently there are two ontologies for Sample 8 8 - Standard ontology 9 9 - stores information related to samples that is to be used by the sample plugin … … 11 11 - an additional ontology that has the same structure as the Standard ontology and has no additional information when GRITS is installed initially. When GRITS is used on a system, the information that is generated and saved is saved locally in this ontology. 12 12 13 __Classes that manage ontologies in Sample plugin are first supposed to look into the Standard ontology for any information and if some information is missing or additional information is required then it should look into the Local ontology.__ 14 15 The Sample plugin cannot modify ontologies, except for '''creating templates in the local ontology'''. There is another [https://svn.grits-toolbox.org/trunk/eclipse/org.grits.toolbox.editor.samplemanager Sample Manager Plugin] that is used for editing information stored in the ontologies. 13 __Note:__Classes that manage ontologies in Sample plugin are first supposed to look into the Standard ontology for any information and if some information is missing or additional information is required then it should look into the Local ontology. 16 14 17 15 == Ontology Structure == … … 27 25 28 26 == Classes in Sample plugin for Ontology management == 29 Sample plugin can only read from the two ontologies. It can also'''create templates in the local ontology'''. Reading and template creation is managed by the following classes that are in the '''ontologymanager''' package :27 Sample plugin can read information from the two ontologies. For writing it can only '''create templates in the local ontology'''. Reading and template creation is managed by the following classes that are in the '''ontologymanager''' package : 30 28 - ISampleOntologyApi 31 29 - interface that defines the public APIs to be provided by ''SampleOntologyApi'' class … … 40 38 Read Javadocs to learn more about specific methods 41 39 40 Sample plugin is not allowed to modify ontologies (except for creating templates in the local ontology) but there is another [https://svn.grits-toolbox.org/trunk/eclipse/org.grits.toolbox.editor.samplemanager Sample Manager Plugin] that can be used for editing information stored in the ontologies. 41 42 42 == Sample Manager Plugin == 43 43 This Sample Manager plugin is an additional plugin that can be used to edit information stored in ontologies. This plugin can modify both standard and local ontologies. It has two modes of operation : … … 50 50 51 51 == Updating ontologies == 52 Youcan directly modify the ontologies that are there in the '''ontology''' folder of the ''org.grits.toolbox.entry.sample'' plugin. After updating an ontology submit it to the svn.52 One can directly modify the ontologies that are there in the '''ontology''' folder of the ''org.grits.toolbox.entry.sample'' plugin. After updating an ontology submit it to the svn. 53 53 54 Youcan also use the Sample Manager plugin to modify the ontologies. For modifying using the Sample Manager, follow the steps described below :54 One can also use the Sample Manager plugin to modify the ontologies. For modifying using the Sample Manager, follow the steps described below : 55 55 - Clean the GRITS Sample config folder ('''.grits-toolbox/org.grits.toolbox.entry.sample''' folder in the home directory) 56 56 - this would ensure that there are no previous local changes prior to modifying the ontology