*/
public class ConsolePortVariableResolver implements IDynamicVariableResolver {
public String resolveValue(IDynamicVariable variable, String argument)
throws CoreException {
IScopeContext context = new InstanceScope();
IEclipsePreferences preferences = context.getNode(OsgiPlugin.PLUGIN_ID);
return preferences.get(OsgiPlugin.PORT_PREFERENCE_KEY,
OsgiPlugin.DEFAULT_PORT);
}