Search in sources :

Example 1 with StandaloneJobRepositorySettingNode

use of org.talend.designer.maven.job.setting.repository.standalone.node.StandaloneJobRepositorySettingNode in project tdi-studio-se by Talend.

the class StandaloneJobRepositoryMavenSetting method createMavenScriptsChildren.

/*
     * (non-Javadoc)
     * 
     * @see
     * org.talend.designer.maven.ui.setting.repository.RepositoryMavenSetting#createMavenScriptsChildren(org.eclipse
     * .jface.preference.IPreferenceNode, org.talend.repository.model.RepositoryNode)
     */
@Override
public void createMavenScriptsChildren(IPreferenceNode parentNode, RepositoryNode node) {
    StandaloneJobRepositorySettingNode standaloneJobNode = new StandaloneJobRepositorySettingNode(parentNode.getId(), node);
    parentNode.add(standaloneJobNode);
    IFolder nodeFolder = DesignerMavenUiHelper.getNodeFolder(node);
    List<IPreferenceNode> standaloneJobChildrenNodes = createStandaloneJobChildrenNodes(nodeFolder, node, standaloneJobNode.getId(), true);
    for (IPreferenceNode n : standaloneJobChildrenNodes) {
        standaloneJobNode.add(n);
    }
}
Also used : StandaloneJobRepositorySettingNode(org.talend.designer.maven.job.setting.repository.standalone.node.StandaloneJobRepositorySettingNode) IPreferenceNode(org.eclipse.jface.preference.IPreferenceNode) IFolder(org.eclipse.core.resources.IFolder)

Aggregations

IFolder (org.eclipse.core.resources.IFolder)1 IPreferenceNode (org.eclipse.jface.preference.IPreferenceNode)1 StandaloneJobRepositorySettingNode (org.talend.designer.maven.job.setting.repository.standalone.node.StandaloneJobRepositorySettingNode)1