MySQL Forums
Forum List  »  MySQL Workbench

Defining keyboard shortcuts for plugins?
Posted by: Karsten Wutzke
Date: September 03, 2014 03:12AM

Hello,

I currently need to execute a plugin from the Tools -> Catalog sub menu.

I'd like to use Ctrl-J to do that instead of pointing the mouse all the time, which is very annoying at times.

How can it be done?

I remember to have edited some xml file, main_menu.xml for that purpose. Is this the right place?

What do I need to enter for a plugin defined like?:

@ModuleInfo.plugin("wb.catalog.util.export_jpa_annotated_classes",
caption="Export as JPA-Annotated Classes",
input=[wbinputs.currentCatalog()],
pluginMenu='Catalog')
@ModuleInfo.export(grt.INT, grt.classes.db_Catalog)

?

Thanks
Karsten

Options: ReplyQuote


Subject
Views
Written By
Posted
Defining keyboard shortcuts for plugins?
1470
September 03, 2014 03:12AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.