/** * @RDE_HEADER@ * GUI Plugin for FileManagement - FlmComboBox * $Id$ * $HeadURL$ * $Author$ * Created by Iuliana Ojog, SLSE, 2017-05-29 */ #include "flm_combobox_gui_plugin.h" namespace FileManagement { std::shared_ptr GuiPlugin::createGuiInterface(LtsSession::LtsSession *session) { return std::make_shared(session); } InterfaceImpl::InterfaceImpl(LtsSession::LtsSession *session) : GuiPluginBase::Interface(session, getLogger("Plugins.Gui.FlmCombobox")) {} bool InterfaceImpl::fetchInterfaces() { return true; } void InterfaceImpl::clearInterfaces() { } bool InterfaceImpl::fillFileCategoryComboBox(LtsWidgets::LtsComboBox *cbx) { return fillFlmComboBox(cbx, FlmComboBoxType::CbFileCategory); } bool InterfaceImpl::fillFileStatusComboBox(LtsWidgets::LtsComboBox *cbx) { return fillFlmComboBox(cbx, FlmComboBoxType::CbFileStatus); } bool InterfaceImpl::fillFileTypeComboBox(LtsWidgets::LtsComboBox *cbx) { return fillFlmComboBox(cbx, FlmComboBoxType::CbFileType); } //private bool InterfaceImpl::fillFlmComboBox(LtsWidgets::LtsComboBox *cbx, FlmComboBoxType type) { return FlmComboBox::fill(cbx, type); } } // namespace FileManagement