Search Mailing List Archives
[protege-owl] inelegant visualization of owl class name in the jtree
tar at ISI.EDU
Mon Apr 30 11:46:17 PDT 2007
On Apr 30, 2007, at 3:37 AM, giuseppe wrote:
> no, it doesn't work because the toString is made automatically from
> constructor and i can't operate on
So you have two choices:
1) Use your own specialized TreeNode that doesn't rely on toString
to get the name of the UserObject to print.
2) Use your own wrapper object around the OWL class object and
have its toString method invoke either getName() or getBrowserText().
More information about the protege-owl