@Override public void initializeDefaultPreferences() { IPreferenceStore store = Activator.getDefault().getPreferenceStore(); // By default, java me apps are NOT signed. try { store.setDefault(JAVAME_DO_SIGN, false); KeystoreCertificateInfo defaultCert = KeystoreCertificateInfo.createDefault(); ArrayList<KeystoreCertificateInfo> defaultCerts = new ArrayList<KeystoreCertificateInfo>(); defaultCerts.add(defaultCert); KeystoreCertificateInfo.store( defaultCerts, JAVAME_KEYSTORE_CERT_INFOS, new PreferenceStorePropertyOwner(store, true), CoreMoSyncPlugin.getDefault().getSecureProperties()); } catch (SecurePropertyException e) { CoreMoSyncPlugin.getDefault().log(e); } }
@Override protected IPackager getPackager() { return CoreMoSyncPlugin.getDefault().getPackagerById(IPhoneOSPackager.ID); }