1 11 package org.eclipse.core.variables; 12 13 import org.eclipse.core.runtime.CoreException; 14 15 22 public interface IStringVariableManager { 23 24 28 public static final String EXTENSION_POINT_DYNAMIC_VARIABLES = "dynamicVariables"; 30 34 public static final String EXTENSION_POINT_VALUE_VARIABLES = "valueVariables"; 36 41 public IStringVariable[] getVariables(); 42 43 48 public IValueVariable[] getValueVariables(); 49 50 58 public IValueVariable getValueVariable(String name); 59 60 65 public IDynamicVariable[] getDynamicVariables(); 66 67 75 public IDynamicVariable getDynamicVariable(String name); 76 77 87 public String getContributingPluginId(IStringVariable variable); 88 89 99 public String performStringSubstitution(String expression) throws CoreException; 100 101 113 public String performStringSubstitution(String expression, boolean reportUndefinedVariables) throws CoreException; 114 115 122 public void validateStringVariables(String expression) throws CoreException; 123 124 132 public IValueVariable newValueVariable(String name, String description); 133 134 145 public IValueVariable newValueVariable(String name, String description, boolean readOnly, String value); 146 147 154 public void addVariables(IValueVariable[] variables) throws CoreException; 155 156 162 public void removeVariables(IValueVariable[] variables); 163 164 170 public void addValueVariableListener(IValueVariableListener listener); 171 172 178 public void removeValueVariableListener(IValueVariableListener listener); 179 180 191 public String generateVariableExpression(String varName, String arg); 192 193 } 194 | Popular Tags |