1 11 package org.eclipse.pde.internal.core.plugin; 12 13 import org.eclipse.pde.core.plugin.IFragment; 14 import org.eclipse.pde.core.plugin.IFragmentModel; 15 import org.eclipse.pde.core.plugin.IPluginBase; 16 17 public class ExternalFragmentModel extends ExternalPluginModelBase implements 18 IFragmentModel { 19 20 private static final long serialVersionUID = 1L; 21 22 public IPluginBase createPluginBase() { 23 PluginBase base = new Fragment(); 24 base.setModel(this); 25 return base; 26 } 27 28 public IFragment getFragment() { 29 return (IFragment) getPluginBase(); 30 } 31 32 public boolean isFragmentModel() { 33 return true; 34 } 35 36 } 37 | Popular Tags |