ISelection selection = _table.getSelection();
Object obj = ((IStructuredSelection) selection).getFirstElement();
if (obj instanceof WGARuntime) {
WGARuntime runtime = (WGARuntime)obj;
try {
runtime.openEditor();
}
catch (PartInitException e) {
WorkbenchUtils.showErrorDialog(WGADesignerPlugin.getDefault(), getViewSite().getShell(), "Open runtime configuration failed", "Unable to open runtime configuration.", e);
}
}