1 11 12 package org.eclipse.ui.internal.intro.impl.model; 13 14 import org.eclipse.core.runtime.IConfigurationElement; 15 import org.osgi.framework.Bundle; 16 import org.w3c.dom.Element ; 17 18 24 public abstract class AbstractIntroIdElement extends AbstractIntroElement { 25 26 public static final String ATT_ID = "id"; 28 protected String id; 29 30 AbstractIntroIdElement(IConfigurationElement element) { 31 super(element); 32 id = element.getAttribute(ATT_ID); 33 } 34 35 AbstractIntroIdElement(Element element, Bundle bundle) { 36 super(element, bundle); 37 id = getAttribute(element, ATT_ID); 38 } 39 40 AbstractIntroIdElement(Element element, Bundle bundle, String base) { 41 super(element, bundle, base); 42 id = getAttribute(element, ATT_ID); 43 } 44 45 48 public String getId() { 49 return id; 50 } 51 } 52 | Popular Tags |