[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Adding more buttons to TitleAreaDialog?

thanks for that kick! I had not downloaded the source until now (plain ignorance) - I just did, and it was so easy -


protected void createButtonsForButtonBar(Composite parent){ //System.out.println("Creating buttons..."); createButton(parent, IDialogConstants.OK_ID,"Update",true); createButton(parent, IDialogConstants.CANCEL_ID,"Exit",true); createButton(parent, 2,"Delete",true); }


Anima.


Alex Fitzpatrick wrote:
Anima Gupta wrote:

Hi,

Besides the standard "OK" and "Cancel" buttons, I want to add more buttons to my Dialog which extends from TitleAreaDialog, anyone knows how to do this?


Look at the existing sublasses of Dialog.

Use the Source Luke!