1 11 12 package org.eclipse.ui.internal.intro.impl.model; 13 14 import org.osgi.framework.Bundle; 15 import org.w3c.dom.Element ; 16 17 28 public class IntroContentProvider extends AbstractTextElement { 29 public static final String TAG_CONTENT_PROVIDER = "contentProvider"; 31 private static final String ATT_PLUGIN_ID = "pluginId"; private static final String ATT_CLASS = "class"; 34 private String contentProvider; 35 private String pluginId; 36 37 38 public IntroContentProvider(Element element, Bundle bundle) { 39 super(element, bundle); 40 contentProvider = getAttribute(element, ATT_CLASS); 41 pluginId = getAttribute(element, ATT_PLUGIN_ID); 42 } 43 44 50 public String getClassName() { 51 return contentProvider; 52 } 53 54 59 public String getPluginId() { 60 return pluginId; 61 } 62 63 68 public int getType() { 69 return AbstractIntroElement.CONTENT_PROVIDER; 70 } 71 } 72 | Popular Tags |