private void createActionBars() {
loadAction = new Action() {
@Override
public void run() {
final DirectoryDialog dialog = new DirectoryDialog(PlatformUI
.getWorkbench().getDisplay().getActiveShell(), SWT.OPEN);
dialog.setFilterPath(ResourcesPlugin.getWorkspace().getRoot()
.getLocation().toString());
// dialog.setFilterExtensions(new String[] { "*.*" });
dialog.setText("Load trace data...");
final String selected = dialog.open();
if (selected != null) {
task = new RunnableWithProgress("Load trace data...") {
@Override
public void doAction() {
TraceBackend.getInstance().loadFile(selected);