1 11 package org.eclipse.core.internal.variables; 12 13 import org.eclipse.core.runtime.IConfigurationElement; 14 import org.eclipse.core.variables.IStringVariable; 15 16 19 public abstract class StringVariable implements IStringVariable { 20 21 24 private String fName; 25 26 29 private String fDescription; 30 31 34 private IConfigurationElement fConfigurationElement; 35 36 43 public StringVariable(String name, String description, IConfigurationElement configurationElement) { 44 fName = name; 45 fDescription = description; 46 fConfigurationElement = configurationElement; 47 } 48 49 52 public String getName() { 53 return fName; 54 } 55 56 59 public String getDescription() { 60 return fDescription; 61 } 62 63 69 protected IConfigurationElement getConfigurationElement() { 70 return fConfigurationElement; 71 } 72 73 77 public void setDescription(String description) { 78 fDescription = description; 79 } 80 81 } 82 | Popular Tags |