//Open the dialog, we shall try and get whatever it is we are getting...
Object selElement = tableActions.getSelection()[0].getData();
if (selElement instanceof Element) {
Element new_name = (Element) selElement;
EditActionDialog ead = new EditActionDialog(tableActions.getShell());
ead.setSelectedElement((Element)selElement);
ead.open();
}
}