project35.soa.ontology.views
Interface OntologyTermSelectionListener

All Known Implementing Classes:
DefaultOntologyTermSelectionListener, PostAnnotationPlugin

public interface OntologyTermSelectionListener

describes a class responsible for doing some action when users finish selecting terms in an OntologyViewer The action will commonly be one and/or both things:

project35.metaData.PostAnnotationPlugin implements the interface differently. It uses the meta data to produce new records which are added to a list field in the Project35 Meta Data editor.


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

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.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Method Summary
 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)
          indicates user has finished selecting terms in an OntologyViewer
 

Method Detail

termsSelected

void termsSelected(OntologyViewer ontologyViewer)
indicates user has finished selecting terms in an OntologyViewer

Parameters:
ontologyViewer - a Java class that implements OntologyViewer interface; the class that renders ontology terms for the end-user

termSelected

void termSelected(OntologyTerm ontologyTerm,
                  OntologySource ontologySource)
indicates user has finished selecting an ontology term.

Parameters:
ontologyTerm - the ontology term that has been selected
ontologySource - a Java class that implements OntologySource

termSelected

void termSelected(OntologyTermProvenance ontologyTermProvenance)
indicates that an existing ontology term has been selected

Parameters:
ontologyTermProvenance - holds all the data about an ontology term used for markup