use of org.talend.core.runtime.dynamic.DynamicFactory in project tbd-studio-se by Talend.
the class AbstractDynamicDistributionTemplateTest method beforeTest.
@Before
public void beforeTest() throws Exception {
DynamicFactory factory = DynamicFactory.getInstance();
IDynamicPlugin dynamicPlugin = factory.createDynamicPlugin();
IDynamicPluginConfiguration dynamicPluginConfiguration = DynamicFactory.getInstance().createDynamicPluginConfiguration();
dynamicPluginConfiguration.setDistribution(DISTRIBUTION);
// $NON-NLS-1$
dynamicPluginConfiguration.setVersion("v1");
dynamicPlugin.setPluginConfiguration(dynamicPluginConfiguration);
dynamicPluginAdapter = new DynamicPluginAdapter(dynamicPlugin, DynamicCDHDistributionPreferenceFactory.getInstance().getDynamicDistributionPreference(ProjectManager.getInstance().getCurrentProject()), null);
}
Aggregations