All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ikasan.dashboard.ui.visualisation.component.InvokerConfigurationDialog Maven / Gradle / Ivy

There is a newer version: 4.0.1
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy