summaryrefslogtreecommitdiffstats
path: root/org.rtems.cdt.toolchain2/org/rtems/cdt/properties/PropertyPage.java
diff options
context:
space:
mode:
Diffstat (limited to 'org.rtems.cdt.toolchain2/org/rtems/cdt/properties/PropertyPage.java')
-rw-r--r--org.rtems.cdt.toolchain2/org/rtems/cdt/properties/PropertyPage.java27
1 files changed, 3 insertions, 24 deletions
diff --git a/org.rtems.cdt.toolchain2/org/rtems/cdt/properties/PropertyPage.java b/org.rtems.cdt.toolchain2/org/rtems/cdt/properties/PropertyPage.java
index e6973ce..11b5018 100644
--- a/org.rtems.cdt.toolchain2/org/rtems/cdt/properties/PropertyPage.java
+++ b/org.rtems.cdt.toolchain2/org/rtems/cdt/properties/PropertyPage.java
@@ -16,10 +16,8 @@ import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.jface.preference.DirectoryFieldEditor;
-import org.eclipse.jface.preference.ComboFieldEditor;
import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.jface.preference.StringFieldEditor;
import org.eclipse.ui.IWorkbenchPropertyPage;
import org.eclipse.cdt.core.model.ICElement;
import org.rtems.cdt.Activator;
@@ -41,7 +39,7 @@ public class PropertyPage extends FieldEditorPreferencePage implements IWorkbenc
mStore = new VolatilePreferenceStore();
setPreferenceStore( mStore);
- setDescription( "You can change the RTEMS base installation path, the RTEMS version, the target architecture and the board support package (BSP) installation path. This affects only the current project.");
+ setDescription( "You can change the RTEMS base installation path and the board support package (BSP) installation path. This affects only the current project.");
}
private void setupStoreValue( IPreferenceStore defaultStore, String key) {
@@ -61,8 +59,6 @@ public class PropertyPage extends FieldEditorPreferencePage implements IWorkbenc
// Setup store values
setupStoreValue( store, Constants.BASE_PATH_KEY);
- setupStoreValue( store, Constants.VERSION_KEY);
- setupStoreValue( store, Constants.TARGET_KEY);
setupStoreValue( store, Constants.BSP_PATH_KEY);
// Add field editors
@@ -72,21 +68,6 @@ public class PropertyPage extends FieldEditorPreferencePage implements IWorkbenc
"Base path:",
getFieldEditorParent()
)
- );
- addField(
- new StringFieldEditor(
- Constants.VERSION_KEY,
- "Version:",
- getFieldEditorParent()
- )
- );
- addField(
- new ComboFieldEditor(
- Constants.TARGET_KEY,
- "Target:",
- Constants.TARGETS,
- getFieldEditorParent()
- )
);
addField(
new DirectoryFieldEditor(
@@ -106,12 +87,10 @@ public class PropertyPage extends FieldEditorPreferencePage implements IWorkbenc
// Set the new properties
setProperty( Constants.BASE_PATH_KEY);
- setProperty( Constants.VERSION_KEY);
- setProperty( Constants.TARGET_KEY);
setProperty( Constants.BSP_PATH_KEY);
- // Reload BSP information
- Storage.reloadBSPInformation( mProject);
+ // Update tools
+ Storage.updateTools( mProject);
return true;
}