Package org.eclipse.pde.core.plugin

Examples of org.eclipse.pde.core.plugin.ModelEntry


    private String getBundleId(final IPluginModelBase model) {
        final IPluginBase base = model.getPluginBase();
        final String id = base.getId();
        final StringBuffer buffer = new StringBuffer(id);

        final ModelEntry entry = PluginRegistry.findEntry(id);
        if (entry.getActiveModels().length > 1) {
            buffer.append(VERSION_SEPARATOR);
            buffer.append(model.getPluginBase().getVersion());
        }

        return buffer.toString();
View Full Code Here


        final String[] bundleId = splitBundleId(e);

        final String id = bundleId[0];
        final String version = bundleId[1];

        final ModelEntry entry = PluginRegistry.findEntry(id);
        if(entry == null) {
            return null;
        }

        final IPluginModelBase[] models = entry.getExternalModels();

        return findClosestPluginMatch(version, models);
    }
View Full Code Here

        final String[] bundleId = splitBundleId(e);

        final String id = bundleId[0];
        final String version = bundleId[1];

        final ModelEntry entry = PluginRegistry.findEntry(id);
        if(entry == null) {
            return null;
        }

        final IPluginModelBase[] models = entry.getWorkspaceModels();

        return findClosestPluginMatch(version, models);
    }
View Full Code Here

TOP

Related Classes of org.eclipse.pde.core.plugin.ModelEntry

Copyright © 2018 www.massapicom. 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.