use of org.eclipse.ui.preferences.IWorkingCopyManager in project xtext-eclipse by eclipse.
the class PropertyAndPreferencePage method getWorkingCopyManager.
protected IWorkingCopyManager getWorkingCopyManager() {
IWorkbenchPreferenceContainer container = (IWorkbenchPreferenceContainer) getContainer();
IWorkingCopyManager manager;
if (container == null) {
manager = new WorkingCopyManager();
} else {
manager = container.getWorkingCopyManager();
}
return manager;
}
Aggregations