Search in sources :

Example 1 with LocalRepositoryFactory

use of org.talend.repository.localprovider.model.LocalRepositoryFactory in project tdq-studio-se by Talend.

the class AbstractCommonActionProviderTest method beforeAllTests.

@BeforeClass
public static void beforeAllTests() {
    Context ctx = CoreRuntimePlugin.getInstance().getContext();
    RepositoryContext repositoryContext = (RepositoryContext) ctx.getProperty(Context.REPOSITORY_CONTEXT_KEY);
    if (repositoryContext != null) {
        originalProject = repositoryContext.getProject();
    }
    repositoryFactory = new LocalRepositoryFactory();
}
Also used : AnalysisContext(org.talend.dataquality.analysis.AnalysisContext) ActionContext(org.eclipse.ui.actions.ActionContext) Context(org.talend.core.context.Context) RepositoryContext(org.talend.core.context.RepositoryContext) RepositoryContext(org.talend.core.context.RepositoryContext) LocalRepositoryFactory(org.talend.repository.localprovider.model.LocalRepositoryFactory) BeforeClass(org.junit.BeforeClass)

Aggregations

ActionContext (org.eclipse.ui.actions.ActionContext)1 BeforeClass (org.junit.BeforeClass)1 Context (org.talend.core.context.Context)1 RepositoryContext (org.talend.core.context.RepositoryContext)1 AnalysisContext (org.talend.dataquality.analysis.AnalysisContext)1 LocalRepositoryFactory (org.talend.repository.localprovider.model.LocalRepositoryFactory)1