Changes between Version 4 and Version 5 of GritsTutorial_OntologyGritsSampleEditor


Ignore:
Timestamp:
03/24/2017 06:14:45 PM (5 years ago)
Author:
shan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GritsTutorial_OntologyGritsSampleEditor

    v4 v5  
    33
    44== General Information ==
    5 Currently there are two ontologies for sample plugins
     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. 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.
     6
     7Currently there are two ontologies for sample
    68- Standard ontology
    79 - stores information related to samples that is to be used by the sample plugin
     
    911 - 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.
    1012
    11 Classes that manage ontologies in sample plugin are first supposed to look into the Standard ontology for information and if information is missing or additional information is required then it should look into the local ontology.
     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.__
    1214
    13 Currently there are two sample plugins
    14 - [https://svn.grits-toolbox.org/trunk/eclipse/org.grits.toolbox.entry.sample Sample Plugin]
    15 - [https://svn.grits-toolbox.org/trunk/eclipse/org.grits.toolbox.editor.sample Sample Manager Plugin]
    16 
     15The 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.
    1716
    1817== Ontology Structure ==
     
    2524[[BR]]
    2625
    27 == Sample Plugin ==
    28 This plugin is the main plugin for adding a ''sample'' entry to GRITS. It defines the properties of ''sample entry'' and other related information. This plugin adds an editor for sample entry to add and modify sample information. The object model that is represented for a sample is stored in a ''.xml'' file. This object has a predefined model that is stored in the ontology shown above. This plugin cannot modify ontologies, except for
    29 - creating templates in the local ontology
     26
     27== Classes in Sample plugin for Ontology management ==
     28Sample plugin can only read from the two ontologies. It can also '''create templates in the local ontology'''. These read and templat creation is managed by these classes :
     29- ISampleOntologyApi
     30 - interface that defines the public APIs to be provided by ''SampleOntologyApi'' class
     31- SampleOntologyApi
     32 - implements the public methods defined in ''ISampleOntologyApi''
     33 - calls methods from ''SampleOntologyManager'' class to read/write information in ontologies
     34- SampleOntologyManager
     35 - uses Jena Ontology API to read/write information in ontologies
     36 - only protected and private methods
     37 - used by upper layer classes in the same package
    3038
    3139
    3240== Sample Manager Plugin ==
    33 This 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 :
     41This 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 :
    3442- '''User Mode'''
    3543 - in this mode only local ontology can be modified