I have just discover that TBCME now supports a keyboard shortcut for executing SPARQL queries. Thank you guys! I hope you remember what you did to make it work because I like to see the same in thing in TBCME3. :-)
Have a great Weekend! Marco On Wed, Nov 14, 2007 at 12:47 AM, Gokhan Soydan <[email protected]> wrote: > > Hello Marco, > > Yes, you can assign that key binding for yourself. However, unfortunately > you cannot assign a "low-level" command like executing SPARQL queries from > key preferences. You could do the assignment programmatically by building an > Eclipse extension point in an Eclipse plugin. > > You could find more information on creating key bindings in the Help page > (Help > Help Contents). At the Help dialog, please open Platform Plug-in > Developer Guide > Programmer's Guide > Plugging into the workbench > Basic > workbench extension points using commands. After you create your handler, > you can get the SPARQLView by the static function "SPARQLView.get()" at > org.topbraidcomposer.sparql.view. And then you can call the > "SPARQLView.executeQuery()". > > I am sorry that it is not trivial to implement it. However, we may assign a > key command ourselves for executing SPARQL queries, although not very soon. > > Gokhan > > > > -----Original Message----- > From: Marco Neumann [mailto:[email protected]] > Sent: Tuesday, November 13, 2007 7:59 PM > To: [email protected] > Subject: [tbc-users] Re: keyboard shortcut for "Execute SPARQL"? > > > Hi Gokhan, > > ctrl+shift+v > > seems to be available. Can I set the "Execute SPARQL" command in the > key preferences myself ? > > Best, > Marco > > On Oct 24, 2007 5:17 PM, Gokhan Soydan <[email protected]> wrote: >> >> Marco, >> >> All the key shortcuts used in Eclipse can be found by clicking on Window > >> Preferences. At the Preferences dialog, open General > Keys, where you > will >> see a list of all the keyboard shortcuts in Eclipse. As you can see Ctrl + > E >> is assigned for switching between editors. I would suggest not overriding >> this shortcut, because maybe some of our users already use this shortcut > for >> this purpose. >> >> If you would like to suggest a shortcut that is not in that list, you are >> more than welcome. :-) >> >> Thanks, >> Gokhan >> >> >> >> >> -----Original Message----- >> From: Holger Knublauch [mailto:[email protected]] >> Sent: Wednesday, October 24, 2007 9:50 AM >> To: [email protected] >> Subject: [tbc-users] Re: keyboard shortcut for "Execute SPARQL"? >> >> >> Marco Neumann wrote: >> > Now I have license, >> >> That's appreciated, welcome on board! >> >> >> > make it work! ;-) >> >> Sounds easy, but it's not. I tried it for 15 minutes but there are some >> complexities in Eclipse that prevent a simple solution here. The >> obvious keyboard shortcuts such as CTRL-E are all captured by Eclipse >> itself for other features. We have put on our list for now. >> >> Holger >> >> >> >> > >> > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
