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", "action"); //$NON-NLS-1$ //$NON-NLS-2$
		properties.put("action.id", getActionID()); //$NON-NLS-1$
		properties.put("action.name", getActionName()); //$NON-NLS-1$
		executionContext.report(severity, categories, message, properties);
	} 
 
	/* 
	 * (non-Javadoc) 
	 *  
	 * @see org.eclipse.vtp.framework.core.IReporter#isSeverityEnabled(int) 
	 */ 
	public boolean isSeverityEnabled(int severity)
	{ 
		return executionContext.isSeverityEnabled(severity);
	}