Java Code Examples for org.eclipse.ui.keys.IBindingService#savePreferences()

The following examples show how to use org.eclipse.ui.keys.IBindingService#savePreferences() . 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: KeyController2.java    From translationstudio8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Replaces all the current bindings with the bindings in the local copy of the binding manager.
 * @param bindingService
 *            The binding service that saves the changes made to the local copy of the binding manager
 */
public void saveBindings(IBindingService bindingService) {
	try {
		bindingService.savePreferences(fBindingManager.getActiveScheme(), fBindingManager.getBindings());
	} catch (IOException e) {
		logPreferenceStoreException(e);
	}
}
 
Example 2
Source File: KeyController2.java    From tmxeditor8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Replaces all the current bindings with the bindings in the local copy of the binding manager.
 * @param bindingService
 *            The binding service that saves the changes made to the local copy of the binding manager
 */
public void saveBindings(IBindingService bindingService) {
	try {
		bindingService.savePreferences(fBindingManager.getActiveScheme(), fBindingManager.getBindings());
	} catch (IOException e) {
		logPreferenceStoreException(e);
	}
}
 
Example 3
Source File: KeyController2.java    From tmxeditor8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Replaces all the current bindings with the bindings in the local copy of the binding manager.
 * @param bindingService
 *            The binding service that saves the changes made to the local copy of the binding manager
 */
public void saveBindings(IBindingService bindingService) {
	try {
		bindingService.savePreferences(fBindingManager.getActiveScheme(), fBindingManager.getBindings());
	} catch (IOException e) {
		logPreferenceStoreException(e);
	}
}