//If it's a non-interactive point activate all activities
if (!triggerPoint.getBooleanHint(ITriggerPoint.HINT_INTERACTIVE)) {
return identifier.getActivityIds();
}
EnablementDialog dialog = new EnablementDialog(Util.getShellToParentOn(), identifier
.getActivityIds(), strings);
if (dialog.open() == Window.OK) {
Set activities = dialog.getActivitiesToEnable();
if (dialog.getDontAsk()) {
PrefUtil.getInternalPreferenceStore().setValue(
IPreferenceConstants.SHOULD_PROMPT_FOR_ENABLEMENT,
false);
WorkbenchPlugin.getDefault().savePluginPreferences();
}