org.eclipse.core.commands.IParameterValues Java Examples

The following examples show how to use org.eclipse.core.commands.IParameterValues. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ICEExtensionContributionFactory.java    From ice with Eclipse Public License 1.0 5 votes vote down vote up
@Override
public IParameterValues getValues() throws ParameterValuesException {
	return new IParameterValues() {
		@Override
		public Map getParameterValues() {
			HashMap<String, String> map = new HashMap<String, String>();
			map.put(getId(), getName());
			return map;
		};
	};
}
 
Example #2
Source File: Handler.java    From elexis-3-core with Eclipse Public License 1.0 5 votes vote down vote up
public IParameterValues getValues() throws ParameterValuesException{
	return new IParameterValues() {
		
		public Map getParameterValues(){
			return new HashMap<String, String>();
		}
	};
	
}