1 Mar 2003 14:17
Re: Adding custom buttons to the Tool-Bar
Basti Best <basti <at> basti-best.de>
2003-03-01 13:17:18 GMT
2003-03-01 13:17:18 GMT
Thanks for your answer! Now the problem is that when I do the following lines in the initialize()-method of my tab-widget: ImportFromDatabaseAction ifd = new ImportFromDatabaseAction(); this.addMainWindowToolBarButton(ifd); I get the following warning when including my Tab in Protege: Warning: ModelEditorTab.addMainWindowToolBarButton(model_editor.util.ImportFromDataba seAction <at> fee4f) Cannot find window tool bar - AbstractWidget(null,null,null) 66B06B Is something wrong with my Tab-widget? ----- Original Message ----- From: "Ray Fergerson" <fergerson <at> SMI.Stanford.EDU> To: <protege-discussion <at> SMI.Stanford.EDU> Sent: Friday, February 28, 2003 11:26 PM Subject: [protege-discussion] Re: Adding custom buttons to the Tool-Bar | | The two methods you want are: | | JButton AbstractWidget.addMainWindowToolBarButton(Action action) | void AbstractWidget.removeMainWindowToolBarButton(JButton button) |(Continue reading)
RSS Feed