Code example for Dictionary

Methods: get, put

0
	protected void doReport(int severity, String[] categories, String message,
			Dictionary properties)
	{ 
		if (properties == null)
			properties = new Hashtable();
		if (properties.get("scope") == null) //$NON-NLS-1$
			properties.put("scope", "process"); //$NON-NLS-1$ //$NON-NLS-2$
		properties.put("process.id", getProcessID()); //$NON-NLS-1$
		descriptor.report(severity, categories, message, properties);
	} 
 
	/* 
	 * (non-Javadoc) 
	 *  
	 * @see org.eclipse.vtp.framework.core.IReporter#isSeverityEnabled(int) 
	 */ 
	public boolean isSeverityEnabled(int severity)
	{ 
		return descriptor.isSeverityEnabled(severity);
	}