edu.stanford.smi.protegex.owl.swrl.ui
Class SWRLProjectPlugin
java.lang.Object
edu.stanford.smi.protege.plugin.AbstractPlugin
edu.stanford.smi.protege.plugin.AbstractProjectPlugin
edu.stanford.smi.protege.plugin.ProjectPluginAdapter
edu.stanford.smi.protegex.owl.swrl.ui.SWRLProjectPlugin
- All Implemented Interfaces:
- edu.stanford.smi.protege.util.Disposable, edu.stanford.smi.protege.plugin.Plugin, edu.stanford.smi.protege.plugin.ProjectPlugin
- public class SWRLProjectPlugin
- extends edu.stanford.smi.protege.plugin.ProjectPluginAdapter
A Project Plugin that does some initialization after a SWRL project
has been loaded. The idea is that SWRL support is activated iff
the ontology imports the SWRL namespace. This triggers the installation
of a specific FrameFactory so that SWRL-specific API classes are used
automatically.
- Author:
- Martin O'Connor , Holger Knublauch
Methods inherited from class edu.stanford.smi.protege.plugin.ProjectPluginAdapter |
afterCreate, afterShow, beforeClose, beforeHide, beforeSave |
Methods inherited from class edu.stanford.smi.protege.plugin.AbstractPlugin |
dispose, getName, toString |
Methods inherited from interface edu.stanford.smi.protege.plugin.Plugin |
getName |
Methods inherited from interface edu.stanford.smi.protege.util.Disposable |
dispose |
SWRLProjectPlugin
public SWRLProjectPlugin()
adjustWidgets
public static void adjustWidgets(edu.stanford.smi.protege.model.Project project)
afterLoad
public void afterLoad(edu.stanford.smi.protege.model.Project p)
isSWRLImported
public static boolean isSWRLImported(OWLModel owlModel)