Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Using Individual Editor Interface from JAVA API

Ana Rossello Busquet aros at fotonik.dtu.dk
Fri Jul 9 05:03:34 PDT 2010


Hi Thomas,

I tried to do the following:
A-
Project proj = owlModel.getProject();
RDFResource lamp2RDF = owlModel.getRDFResource(myBaseUri+ "lamp2");
JFrame frame = proj.show(lamp1RDF);
frame.setBounds(100, 100, 300, 300);
frame.setVisible(true);

and I also tried to use:
B-
ProtegeUI.show(lamp1RDF);

("lamp1RDF" is an instance of two different classes)
When I run A or B I obtain the same window, where I can see that lamp1 is an instance of two classes but I cannot see the properties or edit anything.

Below I attach the window I want to use and the window I obtain.

[cid:image005.jpg at 01CB1F6F.848F8420][cid:image006.jpg at 01CB1F6F.848F8420]

I have been looking around and also tried to use OWLIndivdualsTab, without success.

I would appreciate any further help! THANKS!

Regards,

Ana


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20100709/a56ce792/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 19918 bytes
Desc: image005.jpg
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20100709/a56ce792/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 4361 bytes
Desc: image006.jpg
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20100709/a56ce792/attachment-0001.jpg>


More information about the protege-owl mailing list