fr.techad.edc.popover.internal.EdcHelpImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of edc-popover Show documentation
Show all versions of edc-popover Show documentation
Java Popover to display a summary of the documentation published by edc
package fr.techad.edc.popover.internal;
import fr.techad.edc.popover.EdcHelp;
import fr.techad.edc.popover.model.HelpConfiguration;
import javax.inject.Inject;
/**
* Edc Help Implementation.
*/
public class EdcHelpImpl implements EdcHelp {
private final HelpConfiguration helpConfiguration;
@Inject
public EdcHelpImpl(HelpConfiguration helpConfiguration) {
this.helpConfiguration = helpConfiguration;
}
@Override
public void setIconPath(String iconPath) {
helpConfiguration.setIconPath(iconPath);
}
@Override
public void setCloseIconPath(String iconPath) {
helpConfiguration.setCloseIconPath(iconPath);
}
@Override
public void setLanguageCode(String languageCode) {
helpConfiguration.setLanguageCode(languageCode);
}
@Override
public void setTooltipLabel(String label) {
helpConfiguration.setTooltipLabel(label);
}
@Override
public void setSummaryDisplay(boolean enable) {
helpConfiguration.setSummaryDisplay(enable);
}
@Override
public void setInternalBrowser(boolean state) {
helpConfiguration.setInternalBrowser(state);
}
@Override
public void setAutoDisabledMode(boolean state) {
helpConfiguration.setAutoDisabledInMissingContent(state);
}
protected HelpConfiguration getHelpConfiguration() {
return helpConfiguration;
}
}