下面列出了org.eclipse.ui.keys.IBindingService#savePreferences ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
/**
* 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);
}
}
/**
* 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);
}
}
/**
* 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);
}
}