Changes between Version 6 and Version 7 of GritsTutorial_OntologyGritsSampleEditor


Ignore:
Timestamp:
03/24/2017 10:32:34 PM (5 years ago)
Author:
shan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GritsTutorial_OntologyGritsSampleEditor

    v6 v7  
    33
    44== 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 about Sample object. This object has a predefined model that is stored in the ontologies.
     5GRITS 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.
    66
    7 Currently there are two ontologies for sample
     7Currently there are two ontologies for Sample
    88- Standard ontology
    99 - stores information related to samples that is to be used by the sample plugin
     
    1111 - 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.
    1212
    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.
    1614
    1715== Ontology Structure ==
     
    2725
    2826== 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 :
     27Sample 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 :
    3028- ISampleOntologyApi
    3129 - interface that defines the public APIs to be provided by ''SampleOntologyApi'' class
     
    4038Read Javadocs to learn more about specific methods
    4139
     40Sample 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
    4242== Sample Manager Plugin ==
    4343This 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 :
     
    5050
    5151== Updating ontologies ==
    52 You 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.
     52One 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.
    5353
    54 You can also use the Sample Manager plugin to modify the ontologies. For modifying using the Sample Manager, follow the steps described below :
     54One can also use the Sample Manager plugin to modify the ontologies. For modifying using the Sample Manager, follow the steps described below :
    5555- Clean the GRITS Sample config folder ('''.grits-toolbox/org.grits.toolbox.entry.sample''' folder in the home directory)
    5656 - this would ensure that there are no previous local changes prior to modifying the ontology