1 11 package org.eclipse.pde.internal.core.text.plugin; 12 13 import org.eclipse.jface.text.IDocument; 14 import org.eclipse.osgi.service.resolver.BundleDescription; 15 import org.eclipse.pde.core.plugin.IFragment; 16 import org.eclipse.pde.core.plugin.IFragmentModel; 17 18 public class FragmentModel extends PluginModelBase implements IFragmentModel{ 19 20 public FragmentModel(IDocument document, boolean isReconciling) { 21 super(document, isReconciling); 22 } 23 24 27 public IFragment getFragment() { 28 return (IFragment)getPluginBase(); 29 } 30 31 34 public boolean isFragmentModel() { 35 return true; 36 } 37 38 41 public BundleDescription getBundleDescription() { 42 return null; 43 } 44 45 48 public void setBundleDescription(BundleDescription description) { 49 } 50 } 51 | Popular Tags |