1 11 package org.eclipse.pde.internal.core.bundle; 12 13 import org.eclipse.core.resources.IFile; 14 import org.eclipse.pde.core.plugin.IPlugin; 15 import org.eclipse.pde.core.plugin.IPluginBase; 16 import org.eclipse.pde.core.plugin.IPluginModel; 17 18 public class WorkspaceBundlePluginModel extends WorkspaceBundlePluginModelBase implements IPluginModel{ 19 20 private static final long serialVersionUID = 1L; 21 22 public WorkspaceBundlePluginModel(IFile manifestFile, IFile pluginFile) { 23 super(manifestFile, pluginFile); 24 } 25 26 public IPluginBase createPluginBase() { 27 BundlePlugin base = new BundlePlugin(); 28 base.setModel(this); 29 return base; 30 } 31 32 public IPlugin getPlugin() { 33 return (IPlugin) getPluginBase(); 34 } 35 36 } 37 | Popular Tags |