edu.stanford.smi.protegex.owl.ui.forms
Class AbsoluteFormsLoader
java.lang.Object
edu.stanford.smi.protegex.owl.ui.forms.AbsoluteFormsLoader
- public class AbsoluteFormsLoader
- extends Object
An object capable of loading forms files into a Protege Project.
- Author:
- Holger Knublauch
Method Summary |
private void |
addFormWidget(edu.stanford.smi.protege.widget.ClsWidget clsWidget,
com.hp.hpl.jena.rdf.model.Resource widgetResource)
|
private void |
addFormWidget(com.hp.hpl.jena.rdf.model.Resource formWidget)
|
private int |
getInt(com.hp.hpl.jena.rdf.model.Resource widgetResource,
com.hp.hpl.jena.rdf.model.Property property)
|
private String |
getWidgetClassName(com.hp.hpl.jena.rdf.model.Resource widgetResource)
|
void |
load(InputStream is)
|
void |
load(URL fileURL)
|
void |
loadAll()
|
static void |
main(String[] args)
|
private void |
setWidgetBounds(edu.stanford.smi.protege.model.WidgetDescriptor wd,
com.hp.hpl.jena.rdf.model.Resource widgetResource)
|
static boolean |
useNewFormMechanism_DontUseThisMethod()
Don't use this method - just for testing right now |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
owlModel
private OWLModel owlModel
project
private edu.stanford.smi.protege.model.Project project
AbsoluteFormsLoader
public AbsoluteFormsLoader(OWLModel owlModel)
load
public void load(URL fileURL)
throws IOException
- Throws:
IOException
load
public void load(InputStream is)
throws IOException
- Throws:
IOException
loadAll
public void loadAll()
throws Exception
- Throws:
Exception
addFormWidget
private void addFormWidget(com.hp.hpl.jena.rdf.model.Resource formWidget)
addFormWidget
private void addFormWidget(edu.stanford.smi.protege.widget.ClsWidget clsWidget,
com.hp.hpl.jena.rdf.model.Resource widgetResource)
getInt
private int getInt(com.hp.hpl.jena.rdf.model.Resource widgetResource,
com.hp.hpl.jena.rdf.model.Property property)
getWidgetClassName
private String getWidgetClassName(com.hp.hpl.jena.rdf.model.Resource widgetResource)
setWidgetBounds
private void setWidgetBounds(edu.stanford.smi.protege.model.WidgetDescriptor wd,
com.hp.hpl.jena.rdf.model.Resource widgetResource)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
useNewFormMechanism_DontUseThisMethod
public static boolean useNewFormMechanism_DontUseThisMethod()
- Don't use this method - just for testing right now