Protege 4.1.0

org.protege.editor.core.plugin
Interface ProtegePluginInstance

All Superinterfaces:
Disposable
All Known Subinterfaces:
InconsistentOntologyPluginInstance, OntologyBuilder, OWLClassExpressionEditor, OWLModelManagerEntityRenderer, ProtegeOWLReasonerInfo
All Known Implementing Classes:
AbstractActiveOntologyViewComponent, AbstractByRendererMenu, AbstractFontSizeAction, AbstractOntologyRenderingViewComponent, AbstractOntologySelectionStrategyAction, AbstractOWLAnnotationPropertyViewComponent, AbstractOWLClassExpressionEditor, AbstractOWLClassHierarchyViewComponent, AbstractOWLClassViewComponent, AbstractOWLDataPropertyViewComponent, AbstractOWLDataTypeViewComponent, AbstractOWLEntityHierarchyViewComponent, AbstractOWLEntityRenderer, AbstractOWLIndividualViewComponent, AbstractOWLObjectPropertyViewComponent, AbstractOWLPropertyHierarchyViewComponent, AbstractOWLPropertyViewComponent, AbstractOWLSelectionViewComponent, AbstractOWLViewComponent, AbstractProtegeOWLReasonerInfo, AbstractRestrictionCreatorPanel, AbstractSuperClassHierarchyViewComponent, ActiveOntologyStrategyAction, ActiveOntologyView, AddCoveringAxiomAction, AllOntologiesStrategyAction, AltStartupAction, AmalgamateDisjointClassesAction, AmalgamateSuperClassesAction, AnnotationPreferencesPanel, AnonymousClassesView, AxiomMetricsViewComponent, BasicBlackboxExplanationService, CatalogEntryManager, ChangeOntologyIRI, CheckPluginsAction, CheckPluginsAction, CloseAction, CloseOntologiesAction, CoerceDataPropertyValuesIntoPropertyRangeAction, ConfigureReasonerAction, ConfigureRenderer, ConvertAssertionsOnPunsToAnnotations, ConvertEntityURIsToLabels, ConvertMinOneToSomeValuesFromAction, ConvertToDefinedClassAction, ConvertToPrimitiveClassAction, CopyAction, CreateClassHierarchyAction, CreateEmptyOntologyAction, CreateInstanceOfSelectedClassAction, CreateInstanceOfThingAction, CreateNewChildAction, CreateNewObjectAction, CreateNewSiblingAction, CreateTabAction, CutAction, DecreaseFontSizeAction, DeleteAction, DeleteCustomTabsAction, DeleteEntityAction, DIGReasonerPreferencesPanel, DisplayedInferencesPreferencePanel, DLMetricsViewComponent, DuplicateSelectedClassAction, EditActiveOntologyLibraryAction, EditOntologyLibraryAction, EditorKitHook, ExplainInconsistentOntologyAction, ExplanationService, ExportInferredOntologyAction, ExportTabAction, FindAction, FocusedComponentAction, FolderGroupManager, GatherOntologiesAction, GeneralPreferencesPanel, ImportsClosureOntologyStrategyAction, ImportTabAction, InconsistentOntologyManager, IncreaseFontSizeAction, InferredAxiomsViewComponent, InferredObjectPropertyHierarchyViewComponent, InferredOWLClassHierarchyViewComponent, InferredSuperClassHierarchyViewComponent, IOListenerPluginInstance, LoadIntoCurrentModelAction, MakeAllIndividualsDifferent, MakePrimitiveSiblingsDisjoint, ManchesterSyntaxFrameView, ManchesterSyntaxRenderingViewComponent, MergeOntologiesAction, MoveAxiomsByProfileKit, MoveAxiomsByReferenceKit, MoveAxiomsByTypeKit, MoveAxiomsKit, MoveAxiomsToOntologyAction, NewAction, NewEntitiesPreferencesPanel, NextCatalogManager, NoOpReasonerInfo, NullMenuAction, ObjectSelectorViewComponent, OntoGrafImportView, OntoGrafView, OntologyPreferencesPanel, OntologyRepositoryFactory, OpenAction, OpenFromURLAction, OpenRecentAction, OpenURLMenuAction, OWLAnnotationPropertyAnnotationsViewComponent, OWLAnnotationPropertyDescriptionViewComponent, OWLAnnotationPropertyHierarchyViewComponent, OWLAnnotationPropertyUsageViewComponent, OWLAxiomAnnotationsView, OWLClassAnnotationsViewComponent, OWLClassDescriptionViewComponent, OWLClassExpressionExpressionEditor, OWLClassSelectorWrapper, OWLClassUsageViewComponent, OWLDataPropertyAnnotationsViewComponent, OWLDataPropertyCharacteristicsViewComponent, OWLDataPropertyDescriptionViewComponent, OWLDataPropertyDomainsAndRangesViewComponent, OWLDataPropertyHierarchyViewComponent, OWLDataPropertyUsageViewComponent, OWLDataRestrictionCreatorPanel, OWLDataTypeAnnotationsViewComponent, OWLDataTypeDescriptionViewComponent, OWLDataTypeUsageViewComponent, OWLDataTypeViewComponent, OWLDisjointClassesViewComponent, OWLEditorKitHook, OWLEntityAnnotationValueRenderer, OWLEntityColorProvider, OWLEntityFinderViewComponent, OWLEntityQNameRenderer, OWLEntityRendererImpl, OWLEntityUsageViewComponent, OWLEntityViewComponent, OWLFunctionalSyntaxRenderingViewComponent, OWLGeneralAxiomsViewComponent, OWLImportsDeclarationsViewComponent, OWLIndividualAnnotationsViewComponent, OWLIndividualDescriptionViewComponent, OWLIndividualListViewComponent, OWLIndividualPropertyAssertionsViewComponent, OWLIndividualsByInferredTypeViewComponent, OWLIndividualsByTypeViewComponent, OWLIndividualUsageViewComponent, OWLInferredMemberListViewComponent, OWLMembersListViewComponent, OWLObjectPropertyAnnotationsViewComponent, OWLObjectPropertyCharacteristicsViewComponent, OWLObjectPropertyDescriptionViewComponent, OWLObjectPropertyDomainsAndRangesViewComponent, OWLObjectPropertyHierarchyViewComponent, OWLObjectPropertyUsageViewComponent, OWLObjectRestrictionCreatorPanel, OWLOntologyAnnotationViewComponent, OWLPreferencesPanel, OWLTreePreferencesPanel, OWLViewAction, OWLVizAxiomView, OWLVizImportsViewComponent, OWLVizPreferencesPane, OWLVizView, OWLWorkspaceTab, OWLWorkspaceViewsTab, OWLXMLRenderingViewComponent, PasteAction, PluginPreferencesPanel, PrecomputeAction, PrecomputePreferencesPanel, PreferencesPanel, PrefixedOWLEntityAnnotationValueRenderer, PrefixMapperView, ProtegeAction, ProtegeDynamicAction, ProtegeHeuristics, ProtegeOWLAction, ProtegeOWLReasonerFactoryAdapter, RDFXMLRenderingViewComponent, RedoAction, RemoveAllDisjointAxiomsAction, RemoveLocalDisjointAxiomsAction, RenameEntitiesBySearchAndReplaceAction, RenameEntityAction, RenderById, RenderByLabel, RenderByProperty, RenderByQualifiedName, RendererPreferencesPanel, ResetCurrentTabAction, ResetPreferencesAction, SaveAction, SaveAllTabsAction, SaveAsAction, SavePreferencesPanel, SelectedEntityCardView, SelectedObjectViewComponent, SelectedOWLClassAction, SelectedOWLDataPropertyAction, SelectedOWLEntityAction, SelectedOWLObjectPropertyAction, ShowOntologyLocationsAction, ShowPreferencesAction, ShowUsageAction, SplitDisjointClassesAction, SplitSubClassAxiomsAction, SWRLRulesViewComponent, TabbedReasonerPreferencesPanel, TabsMenuAction, TimestampOutputAction, ToldOWLClassHierarchyViewComponent, ToldSuperClassHierarchyViewComponent, TONESRepositoryFactory, UndoAction, UriEntryManager, ViewAction, ViewActionAdapter, ViewComponent, ViewMenuAction, VisibilityManagerOntologySelectionStrategyAction, WorkspaceTab, WorkspaceViewsTab

public interface ProtegePluginInstance
extends Disposable

Author: Matthew Horridge
The University Of Manchester
Medical Informatics Group
Date: Mar 22, 2006

matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm

The base interface for plugins. This interface has methods to manage the plugin life cycle. dispose() is called at the end of a plugin life cycle, when the plugin needs to be removed from the system. Plugins should remove any listeners that they setup and perform other cleanup, so that the plugin can be garbage collected.


Method Summary
 void initialise()
          The initialise method is called at the start of a plugin instance life cycle.
 
Methods inherited from interface org.protege.editor.core.Disposable
dispose
 

Method Detail

initialise

void initialise()
                throws Exception
The initialise method is called at the start of a plugin instance life cycle. This method is called to give the plugin a chance to initialise itself. All plugin initialisation should be done in this method rather than the plugin constructor, since the initialisation might need to occur at a point after plugin instance creation, and a each plugin must have a zero argument constructor.

Throws:
Exception

Protege 4.1.0

Submit a bug report or feature request

For further API reference and developer documentation, see Protege 4 Developer Documentation.

Copyright © 2010 Stanford Center for Biomedical Informatics Research