示例#1
0
 @SuppressWarnings("boxing")
 public void load() throws BackingStoreException {
   autoActivate = helper.getBoolean(CodeAssistPreferencesConstants.AUTO_ACTIVATE, true);
   delayInMS = helper.getInt(CodeAssistPreferencesConstants.DELAY_IN_MS, 50);
   erlangTriggers = helper.getString(CodeAssistPreferencesConstants.ERLANG_TRIGGERS, ":#?");
   eDocTriggers = helper.getString(CodeAssistPreferencesConstants.EDOC_TRIGGERS, "");
 }
示例#2
0
 public void store() throws BackingStoreException {
   helper.putBoolean(CodeAssistPreferencesConstants.AUTO_ACTIVATE, autoActivate);
   helper.putInt(CodeAssistPreferencesConstants.DELAY_IN_MS, delayInMS);
   helper.putString(CodeAssistPreferencesConstants.ERLANG_TRIGGERS, erlangTriggers);
   helper.putString(CodeAssistPreferencesConstants.EDOC_TRIGGERS, eDocTriggers);
   helper.flush();
 }
示例#3
0
 public boolean hasOptionsAtLowestScope() {
   return helper.hasAnyAtLowestScope();
 }
示例#4
0
 public CodeAssistPreferences() {
   helper = PreferencesHelper.getHelper(QUALIFIER);
 }