Protégé-OWL 3.3.1

edu.stanford.smi.protegex.owl.swrl.ui
Class SWRLProjectPlugin

java.lang.Object
  extended by edu.stanford.smi.protege.plugin.AbstractPlugin
      extended by edu.stanford.smi.protege.plugin.AbstractProjectPlugin
          extended by edu.stanford.smi.protege.plugin.ProjectPluginAdapter
              extended by edu.stanford.smi.protegex.owl.swrl.ui.SWRLProjectPlugin
All Implemented Interfaces:
edu.stanford.smi.protege.plugin.Plugin, edu.stanford.smi.protege.plugin.ProjectPlugin, edu.stanford.smi.protege.util.Disposable

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

Constructor Summary
SWRLProjectPlugin()
           
 
Method Summary
static void adjustGUI(edu.stanford.smi.protege.model.Project p)
           
static void adjustWidgets(edu.stanford.smi.protege.model.Project project)
           
 void afterLoad(edu.stanford.smi.protege.model.Project p)
           
static boolean isSWRLImported(OWLModel owlModel)
           
 
Methods inherited from class edu.stanford.smi.protege.plugin.ProjectPluginAdapter
afterCreate, afterSave, afterShow, beforeClose, beforeHide, beforeSave
 
Methods inherited from class edu.stanford.smi.protege.plugin.AbstractPlugin
dispose, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.stanford.smi.protege.plugin.Plugin
getName
 
Methods inherited from interface edu.stanford.smi.protege.util.Disposable
dispose
 

Constructor Detail

SWRLProjectPlugin

public SWRLProjectPlugin()
Method Detail

adjustWidgets

public static void adjustWidgets(edu.stanford.smi.protege.model.Project project)

afterLoad

public void afterLoad(edu.stanford.smi.protege.model.Project p)
Specified by:
afterLoad in interface edu.stanford.smi.protege.plugin.ProjectPlugin
Overrides:
afterLoad in class edu.stanford.smi.protege.plugin.ProjectPluginAdapter

adjustGUI

public static void adjustGUI(edu.stanford.smi.protege.model.Project p)

isSWRLImported

public static boolean isSWRLImported(OWLModel owlModel)

Protégé-OWL 3.3.1

Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.