ACSProjectElement[] open =
getContext().getProjectManager().getOpen();
if(open != null && open.length > 0) {
getContext().getEventBus().postEvent(
new ProjectSelectedEvent(getContext(), open[0]));
}
}
} catch (java.io.IOException e) {
e.printStackTrace();
}