Hi Andriy,

the palette of the graph is not part of our officially supported API,  
but rather internal to TBC. There might theoretically be a way to add  
some entries to that menu but I somehow doubt that this is can done in  
a clean way. And your solution might break with the next update, as we  
may change this part of the internal API at any time. The only "clean"  
solution I could think of is to declare your classes as SPARQLMotion  
modules (with SM namespace imported). The algorithm to populate the  
palette will look for all SM module types and create corresponding  
entries for them.

Holger


On Sep 24, 2009, at 7:20 AM, Andriy Sokolov wrote:

>
> Scott,
> Thank you for your answer.
> I think I must explain my question.
> There is this Graph tab in TBC (one of Ressource Editor's tabs), where
> I can with a mouse connect nodes. There is a button "Create node" in
> separate area to the right. In this area I want to create a pull-down
> menu with all ressource types from my ontology (e.g. "person", "male",
> "female", "child") with a button "Create" , so I can create an
> instance of sertain type, without exploring the ontology. Is it
> possible in general to extend TBC views (not menus)?
>
> On 24 Sep., 15:55, Scott Henninger <[email protected]> wrote:
>> Andriy;  In Composer you can define new menu items for operating on
>> RDF resources.  For other menus you will need to consult Eclipse
>> forums.
>>
>> -- Scott
>>
>> On Sep 24, 8:37 am, Andriy Sokolov <[email protected]> wrote:
>>
>>> I'm trying to find out how can I add to Graph tab a pull-down menu
>>> with a button. Is it possible to customise/ extend given views?
>>
>>> Andriy
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to