store.setDefault(PREF_SPELLING_USER_DICTIONARY_ENCODING.getName(), defaultEncoding); String encoding= getValue(PREF_SPELLING_USER_DICTIONARY_ENCODING); if (encoding != null && encoding.length() > 0)
store.setDefault(PREF_SPELLING_USER_DICTIONARY_ENCODING.getName(), defaultEncoding); String encoding= getValue(PREF_SPELLING_USER_DICTIONARY_ENCODING); if (encoding != null && encoding.length() > 0)
store.setDefault(PREF_SPELLING_USER_DICTIONARY_ENCODING.getName(), defaultEncoding); String encoding= getValue(PREF_SPELLING_USER_DICTIONARY_ENCODING); if (encoding != null && encoding.length() > 0)
/** * Set the context of this participant. This method must be invoked * before a page is obtained from the participant. * @param context the context for this participant */ protected void initializeContext(SynchronizationContext context) { this.context = context; mergingEnabled = context instanceof IMergeContext; SubscriberDiffTreeEventHandler handler = getHandler(); if (handler != null) { preferences.setDefault(StartupPreferencePage.PROP_STARTUP_ACTION, StartupPreferencePage.STARTUP_ACTION_NONE); if (isSynchronizeOnStartup()) { run(null); // TODO: Would like to get the Sync view part if possible } else if (isPopulateOnStartup()) { handler.initializeIfNeeded(); } } }
/** * Set the context of this participant. This method must be invoked * before a page is obtained from the participant. * @param context the context for this participant */ protected void initializeContext(SynchronizationContext context) { this.context = context; mergingEnabled = context instanceof IMergeContext; SubscriberDiffTreeEventHandler handler = getHandler(); if (handler != null) { preferences.setDefault(StartupPreferencePage.PROP_STARTUP_ACTION, StartupPreferencePage.STARTUP_ACTION_NONE); if (isSynchronizeOnStartup()) { run(null); // TODO: Would like to get the Sync view part if possible } else if (isPopulateOnStartup()) { handler.initializeIfNeeded(); } } }
FieldEditor field = null; if (arg instanceof Connector.IntegerArgument) { store.setDefault(arg.name(), ((Connector.IntegerArgument)arg).intValue()); field = new IntegerFieldEditor(arg.name(), getLabel(arg.label()), fArgumentComposite); } else if (arg instanceof Connector.SelectedArgument) { count++; store.setDefault(arg.name(), arg.value()); field = new ComboFieldEditor(arg.name(), getLabel(arg.label()), namesAndValues, fArgumentComposite); } else if (arg instanceof Connector.StringArgument) { store.setDefault(arg.name(), arg.value()); field = new StringFieldEditor(arg.name(), getLabel(arg.label()), fArgumentComposite); } else if (arg instanceof Connector.BooleanArgument) { store.setDefault(arg.name(), ((Connector.BooleanArgument)arg).booleanValue()); field = new BooleanFieldEditor(arg.name(), getLabel(arg.label()), fArgumentComposite);