Skip to content

Commit

Permalink
added support for more SKOS annotations (definition, editorial note, …
Browse files Browse the repository at this point in the history
…change note, example, history and scope) in the annotation frame
  • Loading branch information
simon.jupp committed Sep 5, 2012
1 parent 1d01845 commit 987c534
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 20 deletions.
28 changes: 9 additions & 19 deletions org.protege.skoseditor/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,28 +1,18 @@
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.2
Created-By: 1.6.0_26-b03-384-10M3425 (Apple Inc.)
Bundle-ManifestVersion: 2
Bundle-Name: Protege SKOS plugin
Bundle-SymbolicName: org.protege.skoseditor;singleton:=true
Bundle-Category: protege
Bundle-Description: Plugin for viewing SKOS vocabularies in Protege
Bundle-Vendor: Sealife project
Bundle-DocURL: http://cs.man.ac.uk/~sjupp
Bundle-ClassPath: .,
lib/skosapi-3-bin.jar,
icons/,
resources/
Update-Url: http://skoseditor.googlecode.com/svn/trunk/org.sealife.skos/skos-update.properties
Import-Package: org.osgi.framework,
org.apache.log4j,
javax.swing,
javax.swing.event,
javax.swing.tree,
javax.swing.border,
javax.swing.table
Bundle-Version: 2.0
Bundle-ClassPath: ., lib/skosapi-3-bin.jar, icons/, resources/
Update-Url: http://skoseditor.googlecode.com/svn/trunk/org.sealife.sko
s/skos-update.properties
Import-Package: org.osgi.framework,org.apache.log4j,javax.swing,javax.
swing.event,javax.swing.tree,javax.swing.border,javax.swing.table
Bundle-Version: 1.1.2
Bundle-Activator: org.protege.editor.core.plugin.DefaultPluginActivator
Require-Bundle: org.eclipse.equinox.registry,
org.eclipse.equinox.common,
org.protege.editor.core.application;bundle-version="4.1",
org.protege.editor.owl;bundle-version="4.1",
org.semanticweb.owl.owlapi;bundle-version="3.1"

Require-Bundle: org.eclipse.equinox.registry,org.eclipse.equinox.common,org.protege.editor.core.application;bundle-version="4.1",org.protege.editor.owl;bundle-version="4.1",org.semanticweb.owl.owlapi;bundle-version="3.1"
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ public SKOSAnnotationFrame(OWLEditorKit man) {
man.getModelManager().getOWLDataFactory().getOWLAnnotationProperty(IRI.create(SKOSRDFVocabulary.ALTLABEL.getURI()))));
addSection(new SKOSAnnotationFrameSection(man, this, "Hidden label",
man.getModelManager().getOWLDataFactory().getOWLAnnotationProperty(IRI.create(SKOSRDFVocabulary.HIDDENLABEL.getURI()))));
// addSection(new OWLAnnotationFrameSection(man, this));
addSection(new SKOSAnnotationFrameSection(man, this, "Definition", man.getModelManager().getOWLDataFactory().getOWLAnnotationProperty(IRI.create(SKOSRDFVocabulary.DEFINITION.getURI()))));
addSection(new SKOSAnnotationFrameSection(man, this, "Editorial note", man.getModelManager().getOWLDataFactory().getOWLAnnotationProperty(IRI.create(SKOSRDFVocabulary.EDITORIALNOTE.getURI()))));
addSection(new SKOSAnnotationFrameSection(man, this, "Change note", man.getModelManager().getOWLDataFactory().getOWLAnnotationProperty(IRI.create(SKOSRDFVocabulary.CHANGENOTE.getURI()))));
addSection(new SKOSAnnotationFrameSection(man, this, "Example", man.getModelManager().getOWLDataFactory().getOWLAnnotationProperty(IRI.create(SKOSRDFVocabulary.EXAMPLE.getURI()))));
addSection(new SKOSAnnotationFrameSection(man, this, "History note", man.getModelManager().getOWLDataFactory().getOWLAnnotationProperty(IRI.create(SKOSRDFVocabulary.HISTORYNOTE.getURI()))));
addSection(new SKOSAnnotationFrameSection(man, this, "Scope note", man.getModelManager().getOWLDataFactory().getOWLAnnotationProperty(IRI.create(SKOSRDFVocabulary.SCOPENOTE.getURI()))));
}
}

0 comments on commit 987c534

Please sign in to comment.