bndtools.model.resolution.CapReqMapContentProvider Maven / Gradle / Ivy
The newest version!
package bndtools.model.resolution;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Comparator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.Viewer;
import org.osgi.framework.namespace.BundleNamespace;
import org.osgi.framework.namespace.HostNamespace;
import org.osgi.framework.namespace.IdentityNamespace;
import org.osgi.framework.namespace.PackageNamespace;
import org.osgi.resource.Capability;
import aQute.bnd.unmodifiable.Sets;
import aQute.libg.glob.Glob;
public class CapReqMapContentProvider implements ITreeContentProvider {
private static final Object[] EMPTY = new Object[0];
private static final Set NAMESPACES = Sets.of(BundleNamespace.BUNDLE_NAMESPACE,
IdentityNamespace.IDENTITY_NAMESPACE, HostNamespace.HOST_NAMESPACE, PackageNamespace.PACKAGE_NAMESPACE);
private final Comparator
© 2015 - 2024 Weber Informatics LLC | Privacy Policy