|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object project35.soa.plugins.AbstractProject35Plugin project35.metaData.PostAnnotationPlugin
public class PostAnnotationPlugin
plugin that is activated when user wants to add new ontology terms for the field meta data record
Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.
Field Summary |
---|
Fields inherited from class project35.soa.plugins.AbstractProject35Plugin |
---|
initialisationParameters, resourceDirectory |
Constructor Summary | |
---|---|
PostAnnotationPlugin()
|
Method Summary | |
---|---|
void |
execute(Project35FormContext metaDataFormContext)
execute the plugin |
boolean |
isSuitableForRecordModel(java.lang.String modelStamp,
java.lang.String recordClassName)
|
java.lang.String |
isWorking()
Interface: Project35Plugin |
void |
termSelected(OntologyTerm ontologyTerm,
OntologySource ontologySource)
indicates user has finished selecting an ontology term. |
void |
termSelected(OntologyTermProvenance ontologyTermProvenance)
indicates that an existing ontology term has been selected |
void |
termsSelected(OntologyViewer ontologyViewer)
Interface: Ontology Term Selection Listener |
Methods inherited from class project35.soa.plugins.AbstractProject35Plugin |
---|
getDescription, getDisplayName, getHelpLink, getInitialisationParameters, initialiseService, setDescription, setDisplayName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface project35.soa.plugins.Project35Plugin |
---|
getHelpLink |
Methods inherited from interface project35.soa.ServiceClass |
---|
getInitialisationParameters, initialiseService |
Constructor Detail |
---|
public PostAnnotationPlugin()
Method Detail |
---|
public void termsSelected(OntologyViewer ontologyViewer)
termsSelected
in interface OntologyTermSelectionListener
ontologyViewer
- a Java class that implements OntologyViewer
interface; the class that renders ontology terms for the end-userpublic void termSelected(OntologyTerm ontologyTerm, OntologySource ontologySource)
OntologyTermSelectionListener
termSelected
in interface OntologyTermSelectionListener
ontologyTerm
- the ontology term that has been selectedontologySource
- a Java class that implements OntologySource
public void termSelected(OntologyTermProvenance ontologyTermProvenance)
OntologyTermSelectionListener
termSelected
in interface OntologyTermSelectionListener
ontologyTermProvenance
- holds all the data about an ontology term
used for markuppublic java.lang.String isWorking()
public boolean isSuitableForRecordModel(java.lang.String modelStamp, java.lang.String recordClassName)
isSuitableForRecordModel
in interface Project35Plugin
modelStamp
- - is the model stamp currently being
used by the application.recordClassName
- - the record class of a target
record model, usually the currently displayed one.public void execute(Project35FormContext metaDataFormContext)
Project35Plugin
execute
in interface Project35Plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |