I am new in Java and in SWT.
I created TableViewer to show data of tables.
class myTable : TableViewer
I want when I press on button to open dialog of myTable ( like pop up ) and to choose any item from the TableViewer.
The dialog should have two buttons "OK" and cancel.
Do you know how to do it in java? I mean to open dialog with TableViewer
Does there is standard widget for this?
which component do I need to use?
Do you have any example?
The simplest dialog would be one using
org.eclipse.jface.dialog.Dialog- something like this:In your code you do: