return sessionManager.getSessions().size() > 1;
}
public Object execute(ExecutionEvent event) throws ExecutionException {
final Shell parentShell = HandlerUtil.getActiveShell(event);
final ISessionManager sm = CoverageTools.getSessionManager();
List<ICoverageSession> sessions = sm.getSessions();
String descr = UIMessages.MergeSessionsDialogDescriptionDefault_value;
descr = MessageFormat.format(descr, new Object[] { new Date() });
final MergeSessionsDialog d = new MergeSessionsDialog(parentShell,
sessions, descr);
if (d.open() == IDialogConstants.OK_ID) {