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