Examples of ISigilBundle


Examples of org.apache.felix.sigil.common.model.eclipse.ISigilBundle

        try
        {
            if (SigilCore.hasProjectNature(project))
            {
                ISigilProjectModel sigil = SigilCore.create(project);
                ISigilBundle bundle = ModelElementFactory.getInstance().newModelElement(
                    ISigilBundle.class);
                bundle.setParent(sigil);
                adapted = bundle;
            }
        }
        catch (CoreException e)
        {
View Full Code Here

Examples of org.apache.felix.sigil.common.model.eclipse.ISigilBundle

        {
            return true;
        }
        else
        {
            ISigilBundle b = sigilProject.getBundle();
            if (b == null)
            {
                // sigil project deleted can't be a dependent
                return false;
            }
            else
            {
                final boolean[] dep = new boolean[1];

                b.visit(new IModelWalker()
                {
                    public boolean visit(IModelElement element)
                    {
                        if (element instanceof IRequirementModelElement)
                        {
View Full Code Here

Examples of org.apache.felix.sigil.common.model.eclipse.ISigilBundle

        return JavaHelper.resolveClasspathEntrys(this, monitor);
    }

    public Version getVersion()
    {
        ISigilBundle bundle = getBundle();
        return bundle == null ? null : bundle.getBundleInfo() == null ? null
            : bundle.getBundleInfo().getVersion();
    }
View Full Code Here

Examples of org.apache.felix.sigil.common.model.eclipse.ISigilBundle

            : bundle.getBundleInfo().getVersion();
    }

    public String getSymbolicName()
    {
        ISigilBundle bundle = getBundle();
        return bundle == null ? null : bundle.getBundleInfo() == null ? null
            : bundle.getBundleInfo().getSymbolicName();
    }
View Full Code Here

Examples of org.apache.felix.sigil.common.model.eclipse.ISigilBundle

            if (sel instanceof ISigilBundle)
            {
                BundleGraph graph = (BundleGraph) view.getBundlegraph();

                ISigilBundle selected = (ISigilBundle) sel;
                Set<ISigilBundle> connected = graph.getTargets(selected);

                highlightLinks(graph, selected, connected);
                highlightBundles(graph, selected, connected);
            }
View Full Code Here

Examples of org.apache.felix.sigil.common.model.eclipse.ISigilBundle

                return view.getLinkText((Link) element);
            }
        }
        else if (element instanceof ISigilBundle)
        {
            ISigilBundle b = (ISigilBundle) element;
            return b.getBundleInfo().getSymbolicName() + ": "
                + b.getBundleInfo().getVersion();
        }
        else if (element instanceof Link.Unsatisfied)
        {
            return "unsatisfied";
        }
View Full Code Here

Examples of org.apache.felix.sigil.common.model.eclipse.ISigilBundle

    {
    }

    public void endResolution(IModelElement requirement, ISigilBundle target)
    {
        ISigilBundle source = requirement.getAncestor(ISigilBundle.class);

        bundles.add(source);
        bundles.add(target);

        LinkedList<Link> links = lookup.get(source);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.