1 11 12 package org.eclipse.ui.internal.intro.impl.model; 13 14 import org.eclipse.core.runtime.IConfigurationElement; 15 16 21 public class IntroURLAction extends AbstractIntroElement { 22 23 public static final String TAG_ACTION = "action"; 25 private static final String ATT_NAME = "name"; private static final String ATT_REPLACES = "replaces"; 28 private String name; 29 private String replaces; 30 31 32 36 public IntroURLAction(IConfigurationElement element) { 37 super(element); 38 name = element.getAttribute(ATT_NAME); 39 replaces = element.getAttribute(ATT_REPLACES); 40 } 41 42 45 public String getName() { 46 return name; 47 } 48 49 52 public String getReplaceValue() { 53 return replaces; 54 } 55 56 61 public int getType() { 62 return 0; 64 } 65 } 66 | Popular Tags |