core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/api/sdk/ui/SBSv1PlatformFilterComposite.java
changeset 266 c7ecdd0b9f52
parent 0 fb279309251b
child 1362 a5748c5d7b31
equal deleted inserted replaced
265:5ef4ece72700 266:c7ecdd0b9f52
   189 		
   189 		
   190 		// update data structures that are passed back to the sdk.core
   190 		// update data structures that are passed back to the sdk.core
   191 		getPlatFilterPrefsStore();
   191 		getPlatFilterPrefsStore();
   192 	}
   192 	}
   193 	
   193 	
       
   194 	public void setDefaults(){
       
   195 		enableBSFScanner.setSelection(false);
       
   196 		platEKA2_WINSCW.setSelection(true);
       
   197 		platEKA2_GCCE.setSelection(true);
       
   198 		platEKA2_ARMV5.setSelection(true);
       
   199 		platEKA2_ARMV5_ABIV2.setSelection(false);
       
   200 		platEKA2_ARMV5_ABIV1.setSelection(false);
       
   201 		
       
   202 		platEKA1_WINSCW.setSelection(true);
       
   203 		platEKA1_THUMB.setSelection(true);
       
   204 		platEKA1_ARMI.setSelection(true);
       
   205 		platEKA1_ARM4.setSelection(true);
       
   206 	}
       
   207 	
   194 	private void writePlatFilterOptionSetting(String platFilterIdName, boolean value){
   208 	private void writePlatFilterOptionSetting(String platFilterIdName, boolean value){
   195 		IPreferenceStore prefsStore = SDKUIPlugin.getDefault().getPreferenceStore();
   209 		IPreferenceStore prefsStore = SDKUIPlugin.getDefault().getPreferenceStore();
   196 		
   210 		
   197 		if (platFilterIdName.equals(SDKUIPreferenceConstants.ENABLE_BSF_SCANNER)){
   211 		if (platFilterIdName.equals(SDKUIPreferenceConstants.ENABLE_BSF_SCANNER)){
   198 			prefsStore.setValue(SDKUIPreferenceConstants.ENABLE_BSF_SCANNER, value);
   212 			prefsStore.setValue(SDKUIPreferenceConstants.ENABLE_BSF_SCANNER, value);