Search in sources :

Example 1 with InstallStandin

use of org.eclipse.wst.xsl.jaxp.debug.ui.internal.tabs.processor.InstallStandin in project webtools.sourceediting by eclipse.

the class InstalledProcessorsBlock method fillWithWorkspaceProcessors.

protected void fillWithWorkspaceProcessors() {
    List<InstallStandin> standins = new ArrayList<InstallStandin>();
    IProcessorType[] types = JAXPRuntime.getProcessorTypes();
    for (IProcessorType type : types) {
        IProcessorInstall[] installs = JAXPRuntime.getProcessors(type.getId());
        for (IProcessorInstall install : installs) {
            standins.add(new InstallStandin(install));
        }
    }
    setProcessors(standins.toArray(new IProcessorInstall[standins.size()]));
}
Also used : ArrayList(java.util.ArrayList) IProcessorInstall(org.eclipse.wst.xsl.jaxp.launching.IProcessorInstall) IProcessorType(org.eclipse.wst.xsl.jaxp.launching.IProcessorType) InstallStandin(org.eclipse.wst.xsl.jaxp.debug.ui.internal.tabs.processor.InstallStandin)

Aggregations

ArrayList (java.util.ArrayList)1 InstallStandin (org.eclipse.wst.xsl.jaxp.debug.ui.internal.tabs.processor.InstallStandin)1 IProcessorInstall (org.eclipse.wst.xsl.jaxp.launching.IProcessorInstall)1 IProcessorType (org.eclipse.wst.xsl.jaxp.launching.IProcessorType)1