java - Copy and paste MessageDialog message -


i creating messagedialog information.

messagedialog.openinformation(getshell(), "success", "change "+getnumber()+" has been created."); 

i wanting able copy number in dialog can paste somewhere else. there way set messagedialog can accomplish this?

the api can found here. have not found in api helps me out.

no, messagedialog uses label display message. in order allow c&p, you'd need text widget instead. have create own subclass of org.eclipse.jface.dialogs.dialog.

you may @ source code of inputdialog example. in order make text widget read-only, create swt.read_only style flag.


Comments

Popular posts from this blog

android - Sent Blob results empty -

javascript - Bootstrap Popover: iOS Safari strange behaviour -