Search in sources :

Example 16 with IComponentsFactory

use of org.talend.core.model.components.IComponentsFactory in project tdi-studio-se by Talend.

the class PaletteSettingsDialog method getViewerInput.

private PaletteRoot getViewerInput() {
    IComponentsFactory components = ComponentsFactoryProvider.getInstance();
    PaletteRoot paletteRoot = CoreUIPlugin.getDefault().getDesignerCoreUIService().getAllNodeStructure(components);
    return paletteRoot;
}
Also used : PaletteRoot(org.eclipse.gef.palette.PaletteRoot) IComponentsFactory(org.talend.core.model.components.IComponentsFactory)

Aggregations

IComponentsFactory (org.talend.core.model.components.IComponentsFactory)16 IComponent (org.talend.core.model.components.IComponent)12 Test (org.junit.Test)5 File (java.io.File)3 FileNotFoundException (java.io.FileNotFoundException)2 IOException (java.io.IOException)2 ArrayList (java.util.ArrayList)2 RepositoryContext (org.talend.core.context.RepositoryContext)2 FileFilter (java.io.FileFilter)1 LinkedHashSet (java.util.LinkedHashSet)1 IFile (org.eclipse.core.resources.IFile)1 CoreException (org.eclipse.core.runtime.CoreException)1 IProgressMonitor (org.eclipse.core.runtime.IProgressMonitor)1 IStatus (org.eclipse.core.runtime.IStatus)1 Status (org.eclipse.core.runtime.Status)1 Job (org.eclipse.core.runtime.jobs.Job)1 PaletteRoot (org.eclipse.gef.palette.PaletteRoot)1 PersistenceException (org.talend.commons.exception.PersistenceException)1 ComponentDefinition (org.talend.components.api.component.ComponentDefinition)1 ECodeLanguage (org.talend.core.language.ECodeLanguage)1