mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
use core preference settings
This commit is contained in:
parent
11d74c9995
commit
215a710dc7
3 changed files with 4 additions and 6 deletions
|
@ -25,7 +25,7 @@ public class MakeProjectOptionBlock extends TabFolderOptionBlock {
|
|||
protected void addTabs() {
|
||||
addTab(new SettingsBlock(MakeCorePlugin.getDefault().getPluginPreferences(), MakeBuilder.BUILDER_ID));
|
||||
addTab(new ErrorParserBlock(MakeCorePlugin.getDefault().getPluginPreferences()));
|
||||
addTab(new BinaryParserBlock(MakeCorePlugin.getDefault().getPluginPreferences()));
|
||||
addTab(new BinaryParserBlock());
|
||||
addTab(new BuildPathInfoBlock());
|
||||
}
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@ public class NewMakeProjectPreferencePage extends PreferencePage implements IWor
|
|||
* @see org.eclipse.cdt.ui.dialogs.ICOptionContainer#getPreferences()
|
||||
*/
|
||||
public Preferences getPreferences() {
|
||||
return MakeUIPlugin.getDefault().getPluginPreferences();
|
||||
return MakeCorePlugin.getDefault().getPluginPreferences();
|
||||
}
|
||||
|
||||
}
|
|
@ -12,6 +12,7 @@ package org.eclipse.cdt.make.internal.ui.properties;
|
|||
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
|
||||
import org.eclipse.cdt.make.core.MakeCorePlugin;
|
||||
import org.eclipse.cdt.make.internal.ui.MakeProjectOptionBlock;
|
||||
import org.eclipse.cdt.make.internal.ui.MakeUIPlugin;
|
||||
import org.eclipse.cdt.ui.dialogs.ICOptionContainer;
|
||||
|
@ -126,11 +127,8 @@ public class MakePropertyPage extends PropertyPage implements ICOptionContainer
|
|||
return super.isValid();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.ui.dialogs.ICOptionContainer#getPreferences()
|
||||
*/
|
||||
public Preferences getPreferences() {
|
||||
return null;
|
||||
return MakeCorePlugin.getDefault().getPluginPreferences();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue