org.ikasan.dashboard.ui.visualisation.component.InvokerConfigurationDialog Maven / Gradle / Ivy
package org.ikasan.dashboard.ui.visualisation.component;
import com.vaadin.flow.component.UI;
import org.ikasan.dashboard.ui.general.component.AbstractConfigurationDialog;
import org.ikasan.dashboard.ui.visualisation.model.flow.Module;
import org.ikasan.spec.module.client.ConfigurationService;
public class InvokerConfigurationDialog extends AbstractConfigurationDialog
{
/**
* Constructor
*
* @param module
* @param flowName
* @param componentName
* @param configurationRestService
*/
public InvokerConfigurationDialog(Module module, String flowName, String componentName
, ConfigurationService configurationRestService)
{
super(module, flowName, componentName, configurationRestService);
super.title.setText(getTranslation("header.invoker-configuration", UI.getCurrent().getLocale()));
super.setWidth("800px");
super.setHeight("520px");
}
@Override
protected boolean loadConfigurationMetaData()
{
this.configurationMetaData = this.configurationRestService
.getComponentInvoker(module.getUrl(), module.getName(), flowName, componentName);
return this.configurationMetaData != null;
}
}