.isStatisticSubmissionAllowed();
boolean errorLogSubmissionAllowed = configurationSettingsWizardPage
.isErrorLogSubmissionAllowed();
if (this.jid != null) {
this.jid.setContent(new IllustratedText(ImageManager.ELCL_SPACER,
jid.getBase()));
}
if (this.autoConnection != null) {
if (autoConnect) {
this.autoConnection.setContent(new IllustratedText(
ImageManager.ELCL_XMPP_CONNECTED, de.fu_berlin.inf.dpp.ui.Messages.ConfigurationSummaryWizardPage_connect_auto));
} else {
this.autoConnection.setContent(new IllustratedText(
ImageManager.DLCL_XMPP_CONNECTED,
de.fu_berlin.inf.dpp.ui.Messages.ConfigurationSummaryWizardPage_connect_auto_not));
}
}
if (this.uPnPOption != null) {
if (uPnPEnabled) {
this.uPnPOption.setContent(new IllustratedText(
ImageManager.ICON_UPNP, de.fu_berlin.inf.dpp.ui.Messages.ConfigurationSummaryWizardPage_use_upnp));
} else {
Image disabledUPnP = null;
try {
disabledUPnP = new Image(null, ImageManager.ICON_UPNP,
SWT.IMAGE_DISABLE);
} catch (Exception e) {
log.debug("Unable to convert image:" + e.getMessage()); //$NON-NLS-1$
}
if (disabledUPnP != null)
this.uPnPOption.setContent(new IllustratedText(
disabledUPnP, de.fu_berlin.inf.dpp.ui.Messages.ConfigurationSummaryWizardPage_use_upnp_not));
}
}
if (this.skypeUsername != null) {
if (!skypeUsername.isEmpty()) {
this.skypeUsername.setContent(new IllustratedText(
ImageManager.ELCL_BUDDY_SKYPE_CALL, MessageFormat.format(
de.fu_berlin.inf.dpp.ui.Messages.ConfigurationSummaryWizardPage_skype_show_username, skypeUsername)));
} else {
this.skypeUsername.setContent(new IllustratedText(
ImageManager.DLCL_BUDDY_SKYPE_CALL,
de.fu_berlin.inf.dpp.ui.Messages.ConfigurationSummaryWizardPage_skype_show_username_not));
}
}
if (this.statisticSubmission != null) {
if (statisticSubmissionAllowed) {
this.statisticSubmission
.setContent(new IllustratedText(
ImageManager.ETOOL_STATISTIC,
Messages
.getString("feedback.statistic.page.statistic.submission"))); //$NON-NLS-1$
} else {
this.statisticSubmission
.setContent(new IllustratedText(
ImageManager.DTOOL_STATISTIC,
Messages
.getString("feedback.statistic.page.statistic.noSubmission"))); //$NON-NLS-1$
}
}
if (this.errorLogSubmission != null) {
if (errorLogSubmissionAllowed) {
this.errorLogSubmission.setContent(new IllustratedText(
ImageManager.ETOOL_CRASH_REPORT, Messages
.getString("feedback.statistic.page.error.log"))); //$NON-NLS-1$
} else {
this.errorLogSubmission.setContent(new IllustratedText(
ImageManager.DTOOL_CRASH_REPORT, Messages
.getString("feedback.statistic.page.error.noLog"))); //$NON-NLS-1$
}
}