Changes between Version 5 and Version 6 of GritsTutorial_OntologyGritsSampleEditor


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

--

Legend:

Unmodified
Added
Removed
Modified
  • GritsTutorial_OntologyGritsSampleEditor

    v5 v6  
    2424[[BR]]
    2525
     26For more details also look into the owl files in the sample plugin.
    2627
    2728== Classes in Sample plugin for Ontology management ==
    28 Sample 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 :
     29Sample 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 :
    2930- ISampleOntologyApi
    3031 - interface that defines the public APIs to be provided by ''SampleOntologyApi'' class
     
    3738 - used by upper layer classes in the same package
    3839
     40Read Javadocs to learn more about specific methods
    3941
    4042== Sample Manager Plugin ==
    4143This 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 :
    4244- '''User Mode'''
     45 - it displays both Standard and Local ontology
    4346 - in this mode only local ontology can be modified
    44 - '''Manager Mode'''
    45  - in this mode standard ontology can be modified
     47- '''Admin Mode'''
     48 - only displays Standard ontology
     49 - in this mode only Standard ontology can be modified
    4650
     51== Updating ontologies ==
     52You 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.
    4753
     54You can also use the Sample Manager plugin to modify the ontologies. For modifying using the Sample Manager, follow the steps described below :
     55- Clean the GRITS Sample config folder ('''.grits-toolbox/org.grits.toolbox.entry.sample''' folder in the home directory)
     56 - this would ensure that there are no previous local changes prior to modifying the ontology
     57- Start a GRITS product that has the Sample Manager plugin
     58 - currently ''"Grits.all.dev.product"'' product file has the Sample Manager plugin while the ''"Grits.all.product"'' product file does not include this plugin
     59- After GRITS is started
     60 - use menu '''Manager->User Mode''' to modify the Local ontology
     61 - use menu '''Manager->Admin Mode''' to modify the Standard ontology
     62- Save the changes in the editor
     63 - changes would be saved in the ontologies of GRITS Sample config folder ('''.grits-toolbox/org.grits.toolbox.entry.sample''' folder in the home directory)
     64  - when GRITS is started and it does not find the ontologies in the GRITS Sample config folder then it copies the two ontologies from sample plugin to GRITS Sample config folder
     65- Copy back the ontologies from GRITS Sample config folder ('''.grits-toolbox/org.grits.toolbox.entry.sample''' folder in the home directory) to '''ontology''' folder of the ''"org.grits.toolbox.entry.sample"'' plugin
     66- Update the files to svn
     67